2008-10-26 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-26  Dan Williams  <dcbw@redhat.com>
2
3         * src/supplicant-manager/nm-supplicant-interface.c
4           src/supplicant-manager/nm-supplicant-interface.h
5           src/supplicant-manager/nm-supplicant-manager.c
6           src/supplicant-manager/nm-supplicant-manager.h
7                 - Add state-to-string conversion functions
8
9         * src/nm-device-wifi.c
10           src/nm-device-ethernet.c
11                 - Normalize state info logging and use strings instead of numbers
12
13 2008-10-26  Dan Williams  <dcbw@redhat.com>
14
15         * src/NetworkManagerPolicy.c
16                 - (update_routing_and_dns): ignore host routes when determining whether
17                         a VPN connection should own the default route (bgo #552594)
18
19 2008-10-24  Dan Williams  <dcbw@redhat.com>
20
21         * src/nm-gsm-device.c
22                 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
23
24 2008-10-23  Dan Williams  <dcbw@redhat.com>
25
26         * src/ppp-manager/nm-ppp-manager.c
27                 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
28                         add really important stuff to the command line to ensure that NM
29                         overrides /etc/ppp/options (bgo #556781)
30
31 2008-10-22  Dan Williams  <dcbw@redhat.com>
32
33         * src/NetworkManagerSystem.c
34           src/nm-device.c
35                 - Use the device's IP interface where appropriate (Per Hallsmark)
36
37 2008-10-22  Dan Williams  <dcbw@redhat.com>
38
39         * src/nm-gsm-device.c
40                 - (schedule_automatic_registration_again): use a short timeout here
41                         instead of an idle handler to avoid using too much CPU polling for
42                         something we should be waiting a bit for anyway
43
44 2008-10-22  Dan Williams  <dcbw@redhat.com>
45
46         * include/NetworkManager.h
47           introspection/nm-device.xml
48                 - Add device state change reason for carrier changes
49
50         * src/nm-device-ethernet.c
51                 - (set_carrier): use the carrier change reason when changing device
52                         state in response to carrier changes
53
54 2008-10-21  Dan Williams  <dcbw@redhat.com>
55
56         * src/NetworkManagerPolicy.c
57                 - (update_etc_hosts): don't leak errors, and ensure that
58                         g_file_set_contents() gets a valid error placeholder (rh #461933)
59
60 2008-10-21  Dan Williams  <dcbw@redhat.com>
61
62         * src/nm-manager.c
63                 - (free_get_settings_info): don't use the DBusGProxy which could be
64                         disposed of by the time the function is called
65                 - (internal_new_connection_cb): save connection scope
66                 - (connection_get_settings_cb): don't replace a connection unless it's
67                         actually different from the existing one; fixes an issue where
68                         killing the settings service wouldn't deactivate an active connection
69                         provided by that settings service, because it was using a connection
70                         that had already been replaced in the system or user hash
71
72 2008-10-21  Dan Williams  <dcbw@redhat.com>
73
74         * src/NetworkManager.c
75                 - (main): keep the DHCP manager around since it's a singleton; fixes
76                         a use-after-free exposed by r4196 since the DHCP manager singleton
77                         variable isn't cleared when the DHCP manager object is finalized
78
79 2008-10-20  Dan Williams  <dcbw@redhat.com>
80
81         * libnm-util/nm-setting-wireless-security.c
82                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
83
84 2008-10-20  Dan Williams  <dcbw@redhat.com>
85
86         * src/supplicant-manager/nm-supplicant-config.c
87                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
88
89 2008-10-20  Dan Williams  <dcbw@redhat.com>
90
91         * src/dhcp-manager/nm-dhcp-manager.c
92                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
93                         manager object already refs it once
94                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
95                         also get cleaned up by nm_dhcp_device_destroy() to prevent
96                         double-frees
97
98 2008-10-20  Dan Williams  <dcbw@redhat.com>
99
100         * src/nm-manager.c
101                 - (initial_get_connections): use private dbus manager, don't keep
102                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
103                         manager object.
104
105 2008-10-18  Dan Williams  <dcbw@redhat.com>
106
107         * libnm-glib/nm-settings.c
108           libnm-glib/nm-settings.h
109                 - Rename the "get_secrets" virtual function "service_get_secrets" to
110                         clarify when it's used; NMExportedConnetion is a base-class for both
111                         the client and service side, which is sort of confusing, and
112                         get_secrets only makes sense on the service side.
113
114         * libnm-glib/nm-dbus-connection.c
115                 - (get_secrets): remove, unused, and clients need to do extra work to
116                         get secrets anyway since the call can block on the remote side
117
118         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
119           system-settings/plugins/keyfile/nm-keyfile-connection.c
120                 - Fix up for get_secrets -> service_get_secrets
121
122 2008-10-16  Dan Williams  <dcbw@redhat.com>
123
124         * src/nm-device-wifi.c
125                 - (constructor): correctly determine encryption capabilities
126
127 2008-10-15  Dan Williams  <dcbw@redhat.com>
128
129         * src/nm-device-wifi.c
130                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
131                         (Johannes Berg)
132
133 2008-10-15  Dan Williams  <dcbw@redhat.com>
134
135         * src/NetworkManagerSystem.c
136                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
137                         if the ip4_dest is in a smaller subnet contained within a subnet
138                         the machine is currently on, the destination is in the same subnet
139                 - (nm_system_device_set_ip4_route): move subnet checks to callers
140                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
141                         subnet as the parent device, and if so, don't add the direct
142                         host route via the parent device's gateway (bgo #481620)
143                 - (nm_system_apply_ip4_config): check whether the route to be added
144                         is contained within a subnet the device is already on
145
146 2008-10-11  Dan Williams  <dcbw@redhat.com>
147
148         * include/NetworkManager.h
149           introspection/nm-device.xml
150           include/NetworkManagerVPN.h
151                 - Add a few more state reasons for the device deactivated state
152
153         * src/nm-device-interface.c
154           src/nm-device-interface.h
155                 - (nm_device_interface_deactivate): add a 'reason' argument
156
157         * src/nm-device.c
158           src/nm-device.h
159                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
160                 - (nm_device_state_changed): pass the state change reason to
161                         nm_device_take_down()
162                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
163                         to the state change function
164
165         * src/nm-manager.c
166           src/nm-manager.h
167                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
168                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
169                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
170                         something reasonable along to VPN deactivation
171
172         * src/vpn-manager/nm-vpn-manager.c
173           src/vpn-manager/nm-vpn-manager.h
174                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
175                         pass that along to nm_vpn_connection_disconnect()
176
177 2008-10-11  Dan Williams  <dcbw@redhat.com>
178
179         * src/nm-device-wifi.c
180                 - (can_scan): remove old madwifi hack for not scanning while connected
181
182 2008-10-11  Dan Williams  <dcbw@redhat.com>
183
184         Add support for VPN subnet gateways (bgo #549196)
185
186         * include/NetworkManager.h
187                 - Add key for internal VPN subnet gateway
188
189         * src/vpn-manager/nm-vpn-connection.c
190                 - (ip_address_to_string): return a const from a static buffer so we
191                         don't leak a lot of strings
192                 - (print_vpn_config): print internal VPN gateway as well
193                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
194                         VPN service too
195                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
196
197         * src/NetworkManagerSystem.c
198           src/NetworkManagerSystem.h
199                 - (nm_system_device_replace_default_ip4_route): split into two, one for
200                         VPN connections and one for normal devices
201                 - (replace_default_ip4_route): break out route stuff into its own function
202                 - (nm_system_replace_default_ip4_route_vpn,
203                    nm_system_replace_default_ip4_route): simplify by having two cases,
204                         one for VPNs and one for normal devices
205
206         * src/NetworkManagerPolicy.c
207                 - (update_routing_and_dns): simplify, use split default route replacement
208                         functions
209
210 2008-10-10  Dan Williams  <dcbw@redhat.com>
211
212         Rework default route handling to consolidate decisions in the policy,
213         and to take active VPN connections into account when changing the default
214         route (bgo #545912)
215
216         * src/NetworkManager.c
217                 - (main): pass the vpn_manager to the policy so it knows about active
218                         VPN connections; clean up the named manager which wasn't done before
219
220         * src/NetworkManagerPolicy.c
221           src/NetworkManagerPolicy.h
222                 - (nm_policy_new): get a clue about the vpn_manager
223                 - (update_default_route): remove, fold into update_routing_and_dns()
224                 - (update_routing_and_dns): handle active VPN connections too; an
225                         active VPN connection becomes the default route if it does not have
226                         server-specified or user-specified custom routes.  Otherwise, the
227                         best active device gets the default route
228                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
229                    nm_policy_destroy): track VPN connection activation and deactivation
230                         and update the default route when appropriate
231
232         * src/NetworkManagerSystem.c
233           src/NetworkManagerSystem.h
234                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
235                         in the VPN connection itself
236                 - (nm_system_vpn_device_set_from_ip4_config,
237                    nm_system_device_set_from_ip4_config): merge together to make
238                         nm_system_apply_ip4_config()
239                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
240                         via the parent device
241                 - (nm_system_apply_ip4_config): simplify
242                 - (add_ip4_route_to_gateway): new function; add a direct route to the
243                         gateway if needed
244                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
245                         route stuff out into add_ip4_route_to_gateway() for clarity
246
247         * src/nm-device.c
248                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
249
250         * src/vpn-manager/nm-vpn-connection.c
251           src/vpn-manager/nm-vpn-connection.h
252                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
253                    nm_vpn_connection_get_parent_device): add
254                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
255                         device explicit
256                 - (connection_state_changed): update the named manager now that
257                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
258                         useful on errors
259
260         * src/vpn-manager/nm-vpn-manager.c
261           src/vpn-manager/nm-vpn-manager.h
262                 - Add a 'connection-activated' signal
263                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
264                         policy to find out about active VPN connections
265
266 2008-10-10  Tambet Ingo  <tambet@gmail.com>
267
268         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
269         a daemon to prevent NM logging spew on console on startup and shutdown (due
270         to dependency loop between NM and syslog).
271
272 2008-10-10  Alexander Sack  <asac@ubuntu.com>
273
274         Implement managed mode. We bind devices configured in /etc/network/interfaces
275         to their connections by updating wired/wireless setting with the
276         mac address of the device.
277
278         * system-settings/plugins/ifupdown/plugin.c
279                 - (get_net_address_for_udi): implement function to retrieve MAC
280                         address of udi from hal in GByteArray format
281                 - (bind_device_to_connection): bind mac address of device to
282                         wired/wireless system connection
283                 - (hal_device_added_cb): call bind_device_to_connection for
284                         system connections with a matching interface.name
285                 - (hal_device_added_cb): ensure that all code paths
286                         properly free the "iface" string.
287
288 2008-10-10  Alexander Sack  <asac@ubuntu.com>
289
290         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
291         mode of the ifupdown system config plugin.
292
293         * system-settings/plugins/ifupdown/plugin.c
294                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
295                         private unmanage_well_known state field accordingly
296
297 2008-10-10  Alexander Sack  <asac@ubuntu.com>
298
299         Implement unmanaged mode that will prevent all devices in the
300         well_known_udis set from being touched by NetworkManager
301
302         * system-settings/plugins/ifupdown/plugin.c
303                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
304                         unmanage_well_known field used to turn on/off unmanaged
305                         mode
306                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
307                         signal when well_known_udis get added/removed
308                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
309                         if we are in unmanaged mode
310
311 2008-10-10  Alexander Sack  <asac@ubuntu.com>
312
313         Add support to track network devices that have a configuration
314         with a matching interface.name in /etc/network/interfaces
315
316         * system-settings/plugins/ifupdown/plugin.c
317                 - (typedef struct SCPluginIfupdownPrivate): add hash table
318                         to track |well_known_udis|
319                 - (get_iface_for_udi): helper function to get interface.name
320                         for a udi
321                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
322                         that add and remove devices to and from the well_known_udis
323                         set depending on whether their |interface.name| matches
324                         any interface definition in /etc/network/interfaces
325                 - (SCPluginIfupdown_init): connect callbacks from above with
326                         hal_mgr and setup well_known_udis hashtable
327                 - (GObject__dispose): destroy well_known_udis hashtable
328                 - (hal_device_added_cb2): implement wrapper callback with GFunc
329                         signature. user_data is supposed to be a triple (hal_mgr,
330                         config and devtype)
331                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
332                         startup and call hal_device_added_cb2
333
334 2008-10-10  Alexander Sack  <asac@ubuntu.com>
335
336         Remove implementation for not used NMSystemConfigInterface callback functions
337         in ifupdown plugin
338
339         * system-settings/plugins/ifupdown/plugin.c
340                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
341                 - (SCPluginIfupdown_connection_added): removed
342
343 2008-10-08  Dan Williams  <dcbw@redhat.com>
344
345         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
346
347         * src/NetworkManagerUtils.c
348                 - (nm_utils_call_dispatcher): add a 'hostname' action
349
350         * src/NetworkManagerPolicy.c
351                 - (set_system_hostname): dispatch hostname changes
352
353         * callouts/nm-dispatcher-action.c
354                 - (nm_dispatcher_action): handle 'hostname' actions
355
356 2008-10-08  Dan Williams  <dcbw@redhat.com>
357
358         * src/NetworkManagerSystem.c
359                 - (find_route): ref the route so it doesn't get destroyed when the cache
360                         is cleared
361                 - (nm_system_device_set_priority): unref the route here after it's done
362                         being used
363
364 2008-10-08  Dan Williams  <dcbw@redhat.com>
365
366         * src/nm-serial-device.c
367                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
368
369 2008-10-08  Tambet Ingo  <tambet@gmail.com>
370
371         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
372         connection with new settings before saving it.
373
374 2008-10-06  Dan Williams  <dcbw@redhat.com>
375
376         * src/nm-ip4-config.c
377           src/nm-ip4-config.h
378                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
379
380         * src/nm-device-interface.c
381                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
382                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
383                         by using '/' for the object path
384
385         * src/nm-device.c
386                 - (src/nm-device.c): marshal missing/unexported ip4-config through
387                         dbus as '/' since dbus-glib can't handle NULL objects nor can
388                         dbus handle NULL object paths
389
390 2008-10-03  Alexander Sack  <asac@ubuntu.com>
391
392         Implement system hostname support for debian/ubuntu
393
394         * system-settings/plugins/ifupdown/plugin.c
395                 - (GObject__get_property): extend announced capabilities; add
396                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
397                 - (GObject__set_property,write_system_hostname): implement
398                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
399                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
400                    update_system_hostname, get_hostname):
401                         implement hostname property that watches and
402                         parses /etc/hostname
403
404 2008-10-03  Alexander Sack  <asac@ubuntu.com>
405
406         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
407           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
408           system-settings/plugins/ifcfg-fedora/Makefile.am
409           system-settings/src/nm-inotify-helper.c
410           system-settings/src/nm-inotify-helper.h
411           src/Makefile.am
412                 - Move ifcfg-fedora inotify helpers to the system settings service so
413                         they are available to all plugins
414
415 2008-10-03  Alexander Sack  <asac@ubuntu.com>
416
417         Implement support for wep-tx-keyidx in ifupdown system
418         config plugin.
419
420         * system-settings/plugins/ifupdown/parser.c
421                 - (update_wireless_security_setting_from_if_block): introduce
422                         free_type_mapping func table; rename a few local
423                         variables to improve readability; add wpa security mapping
424                         for wep-tx-keyidx property
425                 - (string_to_gpointerint): new function used for the auto_type_mapping
426                         of new wep-tx-keyidx property
427                 - (slist_free_all): free func used for mapped slist types
428
429 2008-10-03  Alexander Sack  <asac@ubuntu.com>
430
431         * system-settings/src/main.c:
432                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
433                         always used as the hash key; fixes a crash when removing wired
434                         devices
435
436 2008-10-02  Dan Williams  <dcbw@redhat.com>
437
438         * src/nm-gsm-device.c
439                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
440                         pass the required GSM secret along via user_data rather than keeping
441                         it around in the private data where it sometimes didn't get cleared
442                 - (real_get_ppp_name): implement using the GSM username
443
444 2008-10-02  Dan Williams  <dcbw@redhat.com>
445
446         * src/ppp-manager/nm-ppp-manager.c
447           src/ppp-manager/nm-ppp-manager.h
448                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
449                         the settings daemon for completely new ones
450                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
451                         local PPP peer name; allow PPP debuging by launching NM with
452                         the environment variable NM_PPP_DEBUG defined
453                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
454                         create_pppd_cmd_line()
455
456         * src/nm-serial-device.c
457           src/nm-serial-device.h
458                 - New 'get_ppp_name' function for subclasses to implement to return the
459                         local PPP peer name
460                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
461                         and pass that name to the PPP manager
462
463         * src/nm-device-ethernet.c
464                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
465                         the local peer name
466
467         * src/nm-cdma-device.c
468                 - (real_get_ppp_name): implement using the CDMA username
469
470 2008-10-02  Dan Williams  <dcbw@redhat.com>
471
472         Patch from Alexander Sack <asac ubuntu com>
473
474         * system-settings/plugins/ifupdown/parser.c
475                 - Implement more graceful ip4 config parsing for cases where
476                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
477                   by using default values
478
479 2008-10-02  Dan Williams  <dcbw@redhat.com>
480
481         * src/NetworkManagerPolicy.c
482                 - (device_state_changed): when marking a connection invalid, clear its
483                         secrets too so that fresh secrets get requested the next time
484
485 2008-10-01  Dan Williams  <dcbw@redhat.com>
486
487         * system-settings/src/dbus-settings.c
488                 - (nm_sysconfig_settings_init): cache system hostname on startup as
489                         a fallback if no plugin provides a hostname
490                 - (get_property): fall back to cached hostname if no plugin provides
491                         a hostname
492
493 2008-10-01  Dan Williams  <dcbw@redhat.com>
494
495         Fix setting value comparison issue that caused some settings to look the
496         same when they were really different (rh #464417)
497
498         * libnm-util/nm-param-spec-specialized.c
499                 - (type_is_fixed_size): return fundamental size of the fixed type too
500                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
501                         in the comparison so that the _entire_ fixed type collection gets
502                         compared rather than just the first 'len1' bytes
503
504 2008-09-30  Dan Williams  <dcbw@redhat.com>
505
506         * src/NetworkManagerPolicy.c
507                 - (lookup_thread_worker): don't store the idle handler ID becuase the
508                         idle handler could have already run and freed the LookupThread
509                         structure
510
511 2008-09-30  Tambet Ingo  <tambet@gmail.com>
512
513         * src/nm-device.c (nm_device_get_priority): Implement.
514         (nm_device_set_ip4_config): Send the device priority to system ip4 
515         config setter.
516
517         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
518         Add priority argument and if it's >= 0, set the priority of the network
519         route added automatically by netlink (or kernel?).
520         (nm_system_device_set_priority): Implement.
521
522         * src/NetworkManagerPolicy.c (get_best_device): Use 
523         nm_device_get_priority() instead of home-grown version. Revert the
524         meaning, best priority is the lowest one.
525
526 2008-09-29  Dan Williams  <dcbw@redhat.com>
527
528         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
529         when it returns EAGAIN (rh #362421)
530
531         * src/nm-device-wifi.c
532                 - (wireless_get_range): try GIWRANGE a few times until the card responds
533                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
534
535 2008-09-28  Dan Williams  <dcbw@redhat.com>
536
537         * src/nm-serial-device.c
538           src/nm-serial-device.h
539                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
540                         cleaned at the right times when subclasses close the serial port too
541                 - (nm_serial_device_send_command): use a default send delay; don't
542                         spin forever on EAGAIN
543                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
544                         remove, no longer used
545                 - (find_response): return the matched response if any
546                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
547                         while doing so
548                 - (wait_for_reply_done): pass the matched response to the callback
549                 - (wait_for_reply_got_data): save the matched response; simplify timeout
550                         handling
551                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
552                         const since they never get modified
553                 - (cleanup_device): split out common cleanup stuff to a new function
554                 - (real_deactivate_quickly, finalize): use cleanup_device()
555
556         * src/nm-gsm-device.c
557                 - (modem_get_reply): remove, unused
558                 - (set_apn): give the card a bit more time to respond
559                 - (manual_registration_again, schedule_manual_registration_again,
560                    manual_registration_response, manual_registration): handle manual
561                         registration timeouts better by retrying registration a few times
562                         because cards are a bit slow after CFUN=1
563                 - (automatic_registration_get_network, get_network_response): use
564                         modem_wait_for_reply() because it interacts better with the serial
565                         buffer and does more intelligent matching; need to wait for 'OK'
566                         rather than just matching terminators
567                 - (schedule_automatic_registration_again,
568                    automatic_registration_response, automatic_registration): retry
569                         registration a few times on timeout or "searching" because cards
570                         take a bit to find a network after being powered up with CFUN=1
571                 - (power_up_response, power_up, init_full_done, enter_pin,
572                    check_pin_done): power up the card with CFUN=1 before trying to
573                         register with the network
574                 - (init_modem_full, init_modem): use more standard 3G init strings
575
576         * src/nm-hso-gsm-device.c
577                 - (modem_get_reply): remove, unused
578                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
579                         modem_wait_for_reply() to match actual responses instead of single
580                         termination characters; it doesn't leave stuff in the serial buffer
581                         that might confuse later calls
582                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
583                         to ensure that the call is really disconnected and not leave extra
584                         stuff in the serial buffer
585
586         * src/nm-cdma-device.c
587                 - (power_up_response, power_up, init_done): try Sierra-style modem
588                         power up before attempting to connect
589
590 2008-09-27  Dan Williams  <dcbw@redhat.com>
591
592         * libnm-util/nm-setting-gsm.c
593                 - (verify): verify GSM network ID
594
595 2008-09-25  Dan Williams  <dcbw@redhat.com>
596
597         * libnm-util/nm-setting-gsm.c
598           libnm-util/nm-setting-gsm.h
599                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
600                         technology terms (bgo #551361)
601
602 2008-09-25  Dan Williams  <dcbw@redhat.com>
603
604         Fix bgo #549401 (inspired by patch from Alexander Sack)
605
606         * src/nm-device-ethernet.c
607                 - (finish_supplicant_task): clean up scheduled tasks and free memory
608                 - (remove_supplicant_interface_error_handler): remove the supplicant
609                         error idle callback too
610                 - (supplicant_interface_release): rename from supplicant_interface_clean
611                         to match nm-device-wifi.c; clean up supplicant interface-related
612                         state tasks when the supplicant interface is disposed of
613                 - (schedule_state_handler): add scheduled tasks to a list so they can
614                         be cleaned up later
615                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
616                    supplicant_iface_connection_state_cb_handler): use
617                         finish_supplicant_task() to clean up each completed task
618                 - (supplicant_iface_connection_error_cb_handler,
619                    supplicant_connection_timeout_cb): clear source id when the task is
620                         complete
621                 - (supplicant_iface_connection_error_cb): save scheduled task id for
622                         later cleanup
623                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
624                         tasks
625
626         * src/nm-device-wifi.c
627                 - (finish_supplicant_task): clean up scheduled tasks and free memory
628                 - (remove_supplicant_interface_error_handler): remove the supplicant
629                         error idle callback too
630                 - (supplicant_interface_release): clean up supplicant interface-related
631                         state tasks when the supplicant interface is disposed of
632                 - (schedule_state_handler): add scheduled tasks to a list so they can
633                         be cleaned up later
634                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
635                    supplicant_iface_connection_state_cb_handler): use
636                         finish_supplicant_task() to clean up each completed task
637                 - (supplicant_iface_connection_error_cb_handler): clear source id when
638                         the task is complete
639                 - (supplicant_iface_connection_error_cb): save scheduled task id for
640                         later cleanup
641                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
642
643 2008-09-24  Tambet Ingo  <tambet@gmail.com>
644
645         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
646         method and get/set hostname property.
647
648 2008-09-24  Tambet Ingo  <tambet@gmail.com>
649
650         * src/supplicant-manager/nm-supplicant-interface.c
651         (nm_supplicant_interface_disconnect): Don't increment the reference 
652         count when disconnecting. The problem is on shutdown, when the replies
653         to these commands do not arrive before NM exits, resulting on never
654         calling supplicant interface's dispose(), which removes the interface
655         from supplicant.
656
657 2008-09-24  Tambet Ingo  <tambet@gmail.com>
658
659         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
660         all the public function arguments.
661
662 2008-09-22  Tambet Ingo  <tambet@gmail.com>
663
664         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
665         "Failure" signal from VPN plugins, store the failure reason, and
666         use it when the state is changed to failure.
667
668         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
669         description.
670
671         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
672         reason to the end of the list to not break the API.
673         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
674         so it can be shared by plugins and daemon.
675
676 2008-09-18  Dan Williams  <dcbw@redhat.com>
677
678         Patch from Alexander Sack <asac@ubuntu.com>
679
680         * configure.in
681           system-settings/plugins/Makefile.am
682           system-settings/plugins/ifupdown/Makefile.am
683           system-settings/plugins/ifupdown/interface_parser.c
684           system-settings/plugins/ifupdown/interface_parser.h
685           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
686           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
687           system-settings/plugins/ifupdown/parser.c
688           system-settings/plugins/ifupdown/parser.h
689           system-settings/plugins/ifupdown/plugin.c
690           system-settings/plugins/ifupdown/plugin.h
691                 - Implement a Debian/Ubuntu legacy network configuration plugin
692                         (gnome.org #551941)
693
694 2008-09-18  Dan Williams  <dcbw@redhat.com>
695
696         Implement support for honoring configured and automatic hostnames, and for
697         setting the configured hostname.
698
699         * introspection/nm-ip4-config.xml
700           src/nm-ip4-config.c
701           src/nm-ip4-config.h
702           src/dhcp-manager/nm-dhcp-manager.c
703                 - Remove useless hostname property; it's not really part of the IPv4
704                         config
705
706         * introspection/nm-settings-system.xml
707           libnm-glib/nm-dbus-settings-system.c
708           libnm-glib/nm-dbus-settings-system.h
709                 - Add SetHostname() call to system settings D-Bus interface
710                 - Add Hostname property to system settings D-Bus interface
711                 - (nm_dbus_settings_system_save_hostname,
712                    nm_dbus_settings_system_get_hostname): implement
713
714         * src/nm-device.c
715           src/nm-device.h
716                 - (nm_device_get_dhcp4_config): implement
717
718         * src/nm-manager.c
719           src/nm-manager.h
720                 - Fetch and track system settings service hostname changes, and proxy
721                         the changes via a GObject property of the manager
722
723         * system-settings/src/nm-system-config-interface.c
724           system-settings/src/nm-system-config-interface.h
725                 - Replace nm_system_config_interface_supports_add() with a capabilities
726                         bitfield
727
728         * system-settings/src/nm-system-config-error.c
729           system-settings/src/nm-system-config-error.h
730                 - Add additional errors
731
732         * system-settings/src/dbus-settings.c
733           system-settings/src/dbus-settings.h
734                 - (get_property, nm_sysconfig_settings_class_init): add hostname
735                         property; first plugin returning a hostname wins
736                 - (impl_settings_add_connection): use plugin capabilities instead of
737                         nm_system_config_interface_supports_add()
738                 - (impl_settings_save_hostname): implement hostname saving
739
740         * src/NetworkManagerPolicy.c
741                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
742                    lookup_thread_die): implement an asynchronous hostname lookup thread
743                         which given an IPv4 address tries to look up the hostname for that
744                         address with reverse DNS
745                 - (get_best_device): split out best device code from
746                         update_routing_and_dns()
747                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
748                         to preserve the 127.0.0.1 reverse mapping that so many things require
749                 - (set_system_hostname): set a given hostname
750                 - (update_system_hostname): implement hostname policy; a configured
751                         hostname (from the system settings service) is used if available,
752                         otherwise an automatically determined hostname from DHCP, VPN, etc.
753                         If there was no automatically determined hostname, reverse DNS of
754                         the best device's IP address will be used, and as a last resort the
755                         hostname 'localhost.localdomain' is set.
756                 - (update_routing_and_dns): use get_best_device(); update the system
757                         hostname when the network config changes
758                 - (hostname_changed): update system hostname if the system settings
759                         service signals a hostname change
760                 - (nm_policy_new): list for system settings service hostname changes
761                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
762                         gets told to die
763
764         * system-settings/plugins/keyfile/plugin.c
765           system-settings/plugins/ifcfg-suse/plugin.c
766                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
767                         capabilities properties
768
769         * system-settings/plugins/ifcfg-fedora/shvar.c
770                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
771                         writes out /etc/sysconfig/network now
772
773         * system-settings/plugins/ifcfg-fedora/plugin.c
774                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
775                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
776                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
777                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
778                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
779                         hostname get/set and capabilities get
780
781 2008-09-18  Dan Williams  <dcbw@redhat.com>
782
783         * libnm-util/nm-setting-wireless.c
784                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
785                         group ciphers if the wireless-security setting explicitly specified
786                         them, effectively making the default be "all ciphers"  (idea from
787                         Alexander Sack)
788
789 2008-09-15  Dan Williams  <dcbw@redhat.com>
790
791         Patch from Alexander Sack <asac@ubuntu.com>
792
793         * src/named-manager/nm-named-manager.c
794                 - (dispatch_resolvconf): respect resolvconf exit code
795
796 2008-09-12  Tambet Ingo  <tambet@gmail.com>
797
798         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
799         again. Add some debugging.
800
801 2008-09-11  Dan Williams  <dcbw@redhat.com>
802
803         * system-settings/plugins/keyfile/plugin.c
804                 - (update_connection_settings): update connection manually, since
805                         nm_exported_connection_update() does authentication
806                 - (dir_changed): update_connection_settings() doesn't need to return
807                         an error
808
809 2008-09-09  Dan Williams  <dcbw@redhat.com>
810
811         * libnm-glib/nm-vpn-plugin-ui-interface.c
812           libnm-glib/nm-vpn-plugin-ui-interface.h
813           libnm-glib/libnm_glib_vpn.ver
814                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
815                         should clean up resources related to the connection (like keyring
816                         secrets)
817                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
818                         should save user-scope secrets (like to the keyring)
819
820 2008-09-08  Dan Williams  <dcbw@redhat.com>
821
822         Patch from Alexander Sack <asac@ubuntu.com>
823
824         * libnm-util/crypto_gnutls.c
825           libnm-util/crypto_nss.c
826                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
827
828         * libnm-util/nm-utils.c
829           libnm-util/nm-utils.h
830           libnm-util/libnm-util.ver
831                 - (nm_utils_init): initialize libnm-util
832                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
833
834         * libnm-util/nm-setting-8021x.c
835                 - (nm_setting_802_1x_class_init): init libnm-util when needed
836
837 2008-09-05  Dan Williams  <dcbw@redhat.com>
838
839         Patch from Roy Marples <roy@marples.name> and others
840
841         * configure.in
842           src/named-manager/nm-named-manager.c
843                 - Add support for resolvconf; use --with-resolvconf at configure time
844                         to enable it
845
846 2008-09-05  Dan Williams  <dcbw@redhat.com>
847
848         * libnm-util/crypto_nss.c
849           libnm-util/crypto_gnutls.c
850           libnm-util/crypto.h
851                 - (crypto_init): return error when init fails
852
853 2008-09-05  Dan Williams  <dcbw@redhat.com>
854
855         * libnm-glib/nm-device-wifi.c
856                 - (access_point_removed_proxy): clean up the active access point too
857                         just in case the active ap changed signal didn't come through yet
858                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
859
860 2008-09-05  Dan Williams  <dcbw@redhat.com>
861
862         * libnm-glib/nm-client.c
863                 - (constructor): get initial state after we know whether NM is running
864                         or not
865
866 2008-09-05  Dan Williams  <dcbw@redhat.com>
867
868         * libnm-glib/nm-ip4-config.c
869           libnm-glib/nm-dhcp4-config.c
870                 - (finalize): clean up the DBusGProxy
871
872 2008-09-04  Dan Williams  <dcbw@redhat.com>
873
874         * src/nm-ip4-config.c
875           src/nm-ip4-config.h
876                 - (nm_ip4_config_new): don't export over D-Bus here
877                 - (nm_ip4_config_export): new function; export the config over D-Bus
878                 - (nm_ip4_config_is_exported): new function
879
880         * src/nm-device.c
881                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
882                         objects by balancing the IP4Config constructor; the device holds
883                         a reference to the IP4Config already
884                 - (nm_device_set_ip4_config): export the IP4Config when needed
885
886 2008-09-04  Dan Williams  <dcbw@redhat.com>
887
888         * src/supplicant-manager/nm-supplicant-settings-verify.c
889                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
890
891 2008-09-04  Dan Williams  <dcbw@redhat.com>
892
893         * libnm-util/nm-setting-vpn.c
894           libnm-util/nm-setting-vpn.h
895                 - Split VPN secrets from VPN data so that settings services can actually
896                         figure out that they are secrets and store them accordingly
897
898         * system-settings/plugins/keyfile/nm-keyfile-connection.c
899           system-settings/plugins/keyfile/reader.c
900           system-settings/plugins/keyfile/reader.h
901           system-settings/plugins/keyfile/writer.c
902                 - Store VPN secrets separately from VPN data so that they can be fetched
903                         on demand
904                 - Implement the get_secrets() call so that (a) secrets don't leak out
905                         to unprivileged callers, and (b) secrets can be sent to privileged
906                         callers when needed
907
908         * vpn-daemons/vpnc/src/nm-vpnc-service.c
909                 - Handle split VPN secrets
910
911 2008-08-27  Dan Williams  <dcbw@redhat.com>
912
913         * system-settings/plugins/ifcfg-fedora/reader.c
914                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
915
916 2008-08-27  Dan Williams  <dcbw@redhat.com>
917
918         Ensure zombie children get cleaned up.  To get notifications when children
919         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
920         that requires calling waitpid() yourself if you've removed the child watch
921         handler before the process has actually died, which NM needs to do in a few
922         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
923         cleans up after the child when required.  Should fix problems trying to
924         activate mobile broadband connections after a previous failure.
925
926         * src/dhcp-manager/nm-dhcp-dhclient.c
927           src/dhcp-manager/nm-dhcp-dhcpcd.c
928                 - Use G_SPAWN_DO_NOT_REAP_CHILD
929
930         * src/dhcp-manager/nm-dhcp-manager.c
931                 - (nm_dhcp_device_destroy): ensure child is cleaned up
932                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
933                         block on child quitting, since the non-blocking functionality was
934                         never actually used
935
936         * src/dnsmasq-manager/nm-dnsmasq-manager.c
937                 - (dm_watch_cb): child is already reaped here
938                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
939
940         * src/nm-device.c
941                 - (aipd_cleanup): block until child is dead
942
943         * src/named-manager/nm-named-manager.c
944                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
945                         event bothering to watch the child
946
947         * src/ppp-manager/nm-ppp-manager.c
948                 - (ppp_watch_cb): child is already reaped here
949                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
950
951         * src/vpn-manager/nm-vpn-service.c
952                 - (vpn_service_watch_cb): child is already reaped here
953                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
954                         status of the child is actually tracked
955                 - (ensure_killed, finalize): block until child is dead
956
957 2008-08-26  Dan Williams  <dcbw@redhat.com>
958
959         * system-settings/plugins/keyfile/nm-keyfile-connection.c
960                 - (update): Update filename of the connection if the connection id
961                         was changed
962
963         * system-settings/plugins/keyfile/plugin.c
964                 - (dir_changed): first pass at handling connection renames correctly
965
966         * system-settings/plugins/keyfile/writer.c
967           system-settings/plugins/keyfile/writer.h
968                 - (write_connection): replace '/' with '*' when writing out the filename
969                         from the connection id
970
971 2008-08-26  Dan Williams  <dcbw@redhat.com>
972
973         Add connection UUIDs, since connection names can be changed, and since
974         old-style connection IDs could change over the life of the connection.  The
975         UUID should be assigned at connection creation time, be stable for a given
976         connection, and should be unique among all connections for a given settings
977         service.
978
979         * configure.in
980           libnm-util/Makefile.am
981                 - Require libuuid
982
983         * introspection/nm-exported-connection.xml
984                 - Remove "GetID" method
985
986         * libnm-glib/nm-dbus-connection.c
987           libnm-glib/nm-settings.c
988           libnm-glib/nm-settings.h
989                 - Remove id-related stuff
990
991         * libnm-util/nm-utils.c
992           libnm-util/nm-utils.h
993           libnm-util/libnm-util.ver
994                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
995                         utility functions to generate UUIDs
996
997         * libnm-util/nm-setting-connection.c
998           libnm-util/nm-setting-connection.h
999                 - Add 'uuid' member to the connection setting
1000                 - (verify): require valid 'uuid' for a valid connection
1001
1002         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1003           system-settings/plugins/ifcfg-fedora/reader.c
1004           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1005           system-settings/plugins/ifcfg-suse/parser.c
1006           system-settings/plugins/keyfile/nm-keyfile-connection.c
1007           system-settings/src/main.c
1008                 - Remove id-related stuff
1009                 - Give connections UUIDs where needed
1010
1011 2008-08-25  Dan Williams  <dcbw@redhat.com>
1012
1013         * libnm-util/crypto_gnutls.c
1014           libnm-util/crypto_nss.c
1015                 - (crypto_init, crypto_deinit): refcount init/deinit
1016                 - (crypto_md5_hash): allow NULL salt
1017
1018 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
1019
1020         * libnm-glib/Makefile.am
1021           libnm-util/Makefile.am
1022           libnm-glib/libnm_glib.ver
1023           libnm-glib/libnm_glib_vpn.ver
1024           libnm-util/libnm-util.ver
1025                 - Use linker version scripts to control the list of exported 
1026                 symbols. List each exported symbol explicitely.
1027         * libnm-util/Makefile.am
1028                 - Fix compilation of the test-crypto binary. The crypto
1029                 functions are no longer part of the libnm-util API. Add 
1030                 crypto_*.c to test_crypto_SOURCES and link against the correct
1031                 crypto libraries.
1032
1033 2008-08-19  Dan Williams  <dcbw@redhat.com>
1034
1035         * configure.in
1036           test/Makefile.am
1037                 - Don't build test/test-common
1038                 - Remove unused stuff
1039
1040         * test/nm-set-fallback
1041           test/nmtestdevices.c
1042           test/test-common/.cvsignore
1043           test/test-common/Makefile.am
1044           test/test-common/test-common.c
1045           test/test-common/test-common.h
1046                 - delete
1047
1048 2008-08-18  Dan Williams  <dcbw@redhat.com>
1049
1050         * libnm-util/nm-utils.c
1051           libnm-util/nm-utils.h
1052                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1053                         export anything that needs to be converted with this function
1054
1055         * src/dhcp-manager/nm-dhcp-manager.c
1056                 - (garray_to_string): convert a byte array to a UTF-8 string with
1057                         minimal validation; the DHCP client sends it in ASCII anyway
1058                 - (get_option, copy_option): use garray_to_string()
1059
1060 2008-08-18  Dan Williams  <dcbw@redhat.com>
1061
1062         * include/NetworkManager.h
1063           introspection/nm-device.xml
1064                 - Add a "missing firmware" device state reason
1065
1066         * src/NetworkManagerSystem.c
1067           src/NetworkManagerSystem.h
1068                 - (nm_system_device_set_up_down): add a no_firmware argument
1069                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1070                         IFF_UP is ENOENT, that almost always means missing firmware
1071
1072         * src/backends/NetworkManagerGeneric.c
1073           src/nm-device-ethernet.c
1074           src/nm-device-private.h
1075           src/nm-device-wifi.c
1076           src/nm-device.c
1077           src/nm-device.h
1078           src/nm-hso-gsm-device.c
1079           src/vpn-manager/nm-vpn-connection.c
1080                 - Pass no_firmware along; check it where appropriate
1081
1082 2008-08-18  Dan Williams  <dcbw@redhat.com>
1083
1084         Patch from Robert Buchholz <rbu@gentoo.org>
1085
1086         * autogen.sh
1087           configure.in
1088                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1089                         1003.1-1988, allowing for file names longer than 99 characters
1090
1091 2008-08-17  Dan Williams  <dcbw@redhat.com>
1092
1093         * include/NetworkManager.h
1094           introspection/nm-device.xml
1095           src/nm-gsm-device.c
1096                 - Finer-grained GSM registration failure error codes
1097
1098 2008-08-17  Dan Williams  <dcbw@redhat.com>
1099
1100         * callouts/Makefile.am
1101           src/Makefile.am
1102                 - Move dispatcher directory creation to callouts/Makefile.am
1103
1104         * system-settings/plugins/keyfile/Makefile.am
1105                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1106
1107 2008-08-15  Dan Williams  <dcbw@redhat.com>
1108
1109         Do connection sharing in a cleaner manner; all required iptables rules
1110         are now stored in the activation request and pertain only to the device
1111         which is being shared to other computers. (rh #458625)
1112
1113         * src/nm-activation-request.c
1114           src/nm-activation-request.h
1115                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1116                         the activation request which will get torn down automatically when
1117                         the activation request dies
1118                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1119                         is started, and tear them down when sharing is stopped
1120
1121         * src/nm-device.c
1122                 - (start_sharing): start up sharing by doing the required iptables magic
1123                 - (share_init): poke the right bits of the kernel and load the right
1124                         modules for NAT
1125                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1126                         connection if it's a 'shared' connection
1127
1128         * src/NetworkManagerPolicy.c
1129                 - Remove all sharing stuff; done in the device code itself
1130
1131 2008-08-15  Dan Williams  <dcbw@redhat.com>
1132
1133         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1134                 - (create_dm_cmd_line): send the right router address
1135
1136 2008-08-15  Dan Williams  <dcbw@redhat.com>
1137
1138         * src/ppp-manager/nm-ppp-manager.c
1139                 - (pppd_timed_out): ensure timeouts fail the connection
1140
1141 2008-08-14  Dan Williams  <dcbw@redhat.com>
1142
1143         * src/nm-properties-changed-signal.c
1144           src/nm-properties-changed-signal.h
1145                 - Add a property spec flag for "don't export this property" in
1146                         property changed signals
1147
1148         * src/nm-hso-gsm-device.c
1149           src/nm-gsm-device.c
1150           src/nm-cdma-device.c
1151                 - Don't export monitor interface or netdev interface properties
1152
1153 2008-08-14  Dan Williams  <dcbw@redhat.com>
1154
1155         * src/NetworkManagerPolicy.c
1156                 - (update_routing_and_dns): 'hso' devices can be default even if they
1157                         don't have a gateway
1158
1159 2008-08-14  Dan Williams  <dcbw@redhat.com>
1160
1161         * src/nm-device.c
1162                 - (nm_device_deactivate_quickly): tear down activation request after
1163                         calling device-specific deactivation
1164
1165         * src/nm-hso-gsm-device.c
1166                 - (real_deactivate_quickly): terminate connection when deactivating
1167
1168 2008-08-14  Dan Williams  <dcbw@redhat.com>
1169
1170         * src/nm-activation-request.h
1171                 - Add HSO secrets caller
1172
1173         * src/nm-gsm-device.c
1174           src/nm-gsm-device.h
1175                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1176                         something to the callback function
1177                 - (set_apn, set_apn_done): call class dial function, not a static one
1178                 - (nm_gsm_device_class_init): add a class 'dial' function
1179
1180         * src/nm-hal-manager.c
1181                 - (get_hso_netdev): find the hso-driven hardware's net device
1182                 - (modem_device_creator): recognize hso-driven hardware and create the
1183                         right type of device object for it
1184
1185         * src/Makefile.am
1186           src/nm-hso-gsm-device.c
1187           src/nm-hso-gsm-device.h
1188                 - Implement support for devices driven by the 'hso' driver as a subclass
1189                         of NMGsmDevice
1190
1191 2008-08-14  Dan Williams  <dcbw@redhat.com>
1192
1193         * src/NetworkManagerSystem.c
1194                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1195                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1196                         success if the operation really was successful
1197
1198 2008-08-14  Dan Williams  <dcbw@redhat.com>
1199
1200         * src/nm-netlink-monitor.c
1201           src/nm-netlink-monitor.h
1202           src/nm-device-ethernet.c
1203                 - (nm_netlink_monitor_request_status): return an error on failure
1204                 - (constructor): don't segfault on missing error
1205
1206 2008-08-13  Dan Williams  <dcbw@redhat.com>
1207
1208         * callouts/nm-dispatcher-action.c
1209                 - Add IP4 config info to script environment
1210
1211 2008-08-12  Dan Williams  <dcbw@redhat.com>
1212
1213         * src/nm-device.c
1214                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1215                         that want to use DHCP hostnames should use dispatcher scripts
1216                         for that
1217
1218         * src/NetworkManagerSystem.h
1219           src/backends/NetworkManagerArch.c
1220           src/backends/NetworkManagerDebian.c
1221           src/backends/NetworkManagerFrugalware.c
1222           src/backends/NetworkManagerGeneric.c
1223           src/backends/NetworkManagerGeneric.h
1224           src/backends/NetworkManagerGentoo.c
1225           src/backends/NetworkManagerMandriva.c
1226           src/backends/NetworkManagerPaldo.c
1227           src/backends/NetworkManagerRedHat.c
1228           src/backends/NetworkManagerSlackware.c
1229           src/backends/NetworkManagerSuSE.c
1230                 - Remove nm_system_set_hostname(), no longer used
1231           
1232         * src/backends/Makefile.am
1233           src/backends/shvar.c
1234           src/backends/shvar.h
1235                 - Remove shvar.*; no longer used
1236
1237 2008-08-12  Dan Williams  <dcbw@redhat.com>
1238
1239         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1240         hostname is updated at runtime.  Distros or users who want hostname updates
1241         can use dispatcher scripts to update the hostname if they need it.
1242
1243 2008-08-12  Dan Williams  <dcbw@redhat.com>
1244
1245         * introspection/nm-settings-system.xml
1246           system-settings/src/dbus-settings.c
1247           system-settings/src/dbus-settings.h
1248                 - Add a 'Hostname' property (rw) which represents the configured
1249                         hostname and domain of the system, if any
1250
1251         * system-settings/src/nm-system-config-error.c
1252           system-settings/src/nm-system-config-error.h
1253           system-settings/src/nm-system-config-interface.c
1254           system-settings/src/nm-system-config-interface.h
1255                 - Add a 'hostname' property to the plugin interface
1256                 - Add a method to send updated hostname to plugins to save in their
1257                         backing configuration store
1258
1259         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1260           system-settings/plugins/keyfile/plugin.c
1261           system-settings/plugins/keyfile/writer.c
1262           system-settings/plugins/keyfile/writer.h
1263           system-settings/plugins/ifcfg-suse/plugin.c
1264                 - Add minimal hostname support
1265
1266         * system-settings/plugins/ifcfg-fedora/plugin.c
1267                 - Add support for updating system hostname in /etc/sysconfig/network
1268
1269 2008-08-12  Dan Williams  <dcbw@redhat.com>
1270
1271         * system-settings/plugins/ifcfg-fedora/shvar.c
1272           system-settings/plugins/ifcfg-fedora/shvar.c
1273                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1274
1275 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1276
1277         * Makefile.am: Fix distcheck.
1278
1279 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1280
1281         * libnm-glib/*.c. Document some more.
1282
1283 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1284
1285         Start documenting libnm-glib public API using gtk-doc.
1286
1287         * libnm-glib/nm-serial-device.c: 
1288         * libnm-glib/nm-object.c: 
1289         * libnm-glib/nm-gsm-device.c: 
1290         * libnm-glib/nm-device.c: 
1291         * libnm-glib/nm-device-wifi.c: 
1292         * libnm-glib/nm-device-ethernet.c: 
1293         * libnm-glib/nm-client.c: 
1294         * libnm-glib/nm-cdma-device.c: Document the public API.
1295
1296         * docs/libnm-glib/libnm-glib.types: Implement.
1297
1298         * docs/libnm-glib/Makefile.am: Implement.
1299
1300         * autogen.sh: 
1301         * configure.in: 
1302         * Makefile.am: Add gtk-doc support.
1303
1304 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1305
1306         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1307
1308         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1309         the composite result of all the IP4 configurations and call a distro
1310         specific update_resolv_conf().
1311         (update_resolv_conf): Implement one for directly writing to 
1312         /etc/resolv.conf and one for opensuse to call netconfig.
1313
1314 2008-08-11  Dan Williams  <dcbw@redhat.com>
1315
1316         * src/ppp-manager/nm-ppp-manager.c
1317                 - (impl_ppp_manager_need_secrets): pass interface as required
1318
1319 2008-08-11  Dan Williams  <dcbw@redhat.com>
1320
1321         Merge the vpn-properties setting with the vpn setting since it was pointless
1322         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1323         of string:string (instead of string:variant) so that system settings plugins
1324         can have an easier time dealing with the arbitrary key/value pairs.
1325
1326 2008-08-11  Dan Williams  <dcbw@redhat.com>
1327
1328         * libnm-util/nm-utils.c
1329                 - (nm_utils_register_value_transformations): add value transform for
1330                         a hash table of string:string
1331
1332 2008-08-10  Dan Williams  <dcbw@redhat.com>
1333
1334         * libnm-glib/nm-vpn-plugin.c
1335                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1336                         an idle handler so the Connect reply gets delivered before the
1337                         stop StateChanged signal
1338
1339 2008-08-10  Dan Williams  <dcbw@redhat.com>
1340
1341         * src/nm-ip4-config.c
1342                 - (get_property): use common ip4 address/route conversion functions
1343                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1344                         copy the new route here, not take ownership
1345
1346 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1347
1348         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1349         Update the IP4 setting's method name.
1350
1351 2008-08-07  Dan Williams  <dcbw@redhat.com>
1352
1353         * introspection/nm-ip4-config.xml
1354           libnm-glib/libnm-glib-test.c
1355           libnm-glib/nm-ip4-config.c
1356           libnm-glib/nm-ip4-config.h
1357           src/NetworkManagerSystem.h
1358           src/backends/NetworkManagerArch.c
1359           src/backends/NetworkManagerDebian.c
1360           src/backends/NetworkManagerFrugalware.c
1361           src/backends/NetworkManagerGeneric.c
1362           src/backends/NetworkManagerGeneric.h
1363           src/backends/NetworkManagerGentoo.c
1364           src/backends/NetworkManagerMandriva.c
1365           src/backends/NetworkManagerPaldo.c
1366           src/backends/NetworkManagerRedHat.c
1367           src/backends/NetworkManagerSlackware.c
1368           src/backends/NetworkManagerSuSE.c
1369           src/dhcp-manager/nm-dhcp-manager.c
1370           src/nm-device.c
1371           src/nm-ip4-config.c
1372           src/nm-ip4-config.h
1373                 - Remove NIS logic; should be done from dispatcher scripts instead
1374
1375 2008-08-07  Dan Williams  <dcbw@redhat.com>
1376
1377         * src/dhcp-manager/nm-dhcp-manager.c
1378                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1379                         mis-handling of DHCP responses that returned more than one router
1380                         (found by Grant Williamson)
1381
1382 2008-08-07  Dan Williams  <dcbw@redhat.com>
1383
1384         * callouts/nm-dispatcher-action.c
1385                 - (nm_dispatcher_action): grab device path and create the device; pass
1386                         the device's DHCP4 config to script caller
1387                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1388                         scripts
1389
1390         * libnm-glib/nm-dhcp4-config.c
1391           libnm-glib/nm-dhcp4-config.h
1392                 - (nm_dhcp4_config_get_options): expose
1393                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1394
1395 2008-08-07  Dan Williams  <dcbw@redhat.com>
1396
1397         * include/NetworkManager.h
1398                 - Add the DHCP4Config D-Bus interface
1399
1400         * libnm-glib/Makefile.am
1401           libnm-glib/nm-dhcp4-config.c
1402           libnm-glib/nm-dhcp4-config.h
1403                 - Handle DHCP4 config objects exported by NM over D-Bus
1404
1405         * libnm-glib/nm-device.c
1406           libnm-glib/nm-device.h
1407                 - Add a 'dhcp4-config' property
1408
1409         * libnm-glib/libnm-glib-test.c
1410                 - Print out DHCP4 config for devices
1411                 - Fix some crashes when no connections are active
1412
1413         * src/nm-device-interface.c
1414           src/nm-device.c
1415           src/nm-dhcp4-config.c
1416           src/nm-dhcp4-config.h
1417                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1418                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1419                         doesn't let us do when the property type is G_TYPE_OBJECT
1420
1421 2008-08-07  Dan Williams  <dcbw@redhat.com>
1422
1423         * src/NetworkManager.c
1424           src/NetworkManagerSystem.h
1425           src/backends/NetworkManagerArch.c
1426           src/backends/NetworkManagerDebian.c
1427           src/backends/NetworkManagerFrugalware.c
1428           src/backends/NetworkManagerGeneric.c
1429           src/backends/NetworkManagerGeneric.h
1430           src/backends/NetworkManagerGentoo.c
1431           src/backends/NetworkManagerMandriva.c
1432           src/backends/NetworkManagerPaldo.c
1433           src/backends/NetworkManagerRedHat.c
1434           src/backends/NetworkManagerSlackware.c
1435           src/backends/NetworkManagerSuSE.c
1436                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1437
1438 2008-08-06  Dan Williams  <dcbw@redhat.com>
1439
1440         * libnm-glib/nm-ip4-config.c
1441           libnm-glib/nm-ip4-config.h
1442                 - Add 'routes' property
1443
1444         * libnm-util/nm-setting-vpn.c
1445           libnm-util/nm-setting-vpn.h
1446                 - Remove 'routes' property
1447
1448         * libnm-util/nm-setting-ip4-config.c
1449           libnm-util/nm-setting-ip4-config.h
1450                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1451                 - Add 'ignore-auto-routes' property
1452                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1453                         accomodate route metrics
1454                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1455
1456         * libnm-util/nm-utils.c
1457           libnm-util/nm-utils.h
1458                 - Add helpers for marshalling IP4 routes
1459
1460         * src/NetworkManagerUtils.c
1461                 - (nm_utils_merge_ip4_config): handle property renames and new route
1462                         structure
1463
1464         * src/NetworkManagerSystem.c
1465                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1466                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1467
1468         * src/dhcp-manager/nm-dhcp-manager.c
1469                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1470
1471         * system-settings/plugins/ifcfg-fedora/reader.c
1472           system-settings/plugins/ifcfg-fedora/writer.c
1473                 - Handle routes separately from addresses now that routes have a different
1474                         format
1475
1476         * introspection/nm-ip4-config.xml
1477           src/nm-ip4-config.c
1478           src/nm-ip4-config.h
1479                 - Rename internal routing functions
1480                 - 'static-routes' renamed to 'routes'
1481
1482 2008-08-04  Dan Williams  <dcbw@redhat.com>
1483
1484         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1485
1486         * src/NetworkManager.c
1487           src/nm-manager.c
1488           src/nm-manager.h
1489                 - More explicitly make the NMManager a singleton
1490
1491 2008-08-04  Dan Williams  <dcbw@redhat.com>
1492
1493         * libnm-util/nm-connection.c
1494           libnm-util/nm-connection.h
1495                 - (nm_connection_verify): return error on missing 'connection' setting
1496                         (found by Sjoerd Simons)
1497
1498 2008-08-04  Dan Williams  <dcbw@redhat.com>
1499
1500         Handle multiple concurrent PPP connections.
1501
1502         * src/ppp-manager/nm-ppp-manager.c
1503           src/ppp-manager/nm-ppp-manager.h
1504                 - (constructor): only PPP Manager request bus name once; each
1505                         NMPPPManager object gets a unique object path
1506                 - (nm_ppp_manager_class_init, get_property, set_property,
1507                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1508                         at construct time
1509                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1510                         remove timeout until PPP manager gets an IP4 config
1511                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1512                         the plugin can call back to this specific PPP manager instance
1513
1514         * src/nm-device-ethernet.c
1515           src/nm-serial-device.c
1516                 - Pass parent device in nm_ppp_manager_new()
1517
1518         * src/nm-gsm-device.c
1519           src/nm-cdma-device.c
1520                 - (device_state_changed): don't close serial device on NEED_AUTH
1521                         state changed, that's not a failure case like the rest are
1522
1523         * src/ppp-manager/nm-pppd-plugin.c
1524                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1525                         binds one interface to any pppd process, thus the correct index
1526                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1527                         problems; try harder to get a peer address in spite of pppd
1528                 - (plugin_init): use 'ipparam' as the object path back to our specific
1529                         PPP manager instance
1530
1531 2008-08-04  Dan Williams  <dcbw@redhat.com>
1532
1533         * src/ppp-manager/nm-ppp-manager.c
1534                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1535                         since the GSM and CDMA settings now implement need_secrets, we can
1536                         rely on them to do the right thing.  Where secrets are not required,
1537                         just pass empty strings back to the pppd plugin.
1538                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1539                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1540                         on successful IP4 config receipt
1541
1542 2008-08-04  Dan Williams  <dcbw@redhat.com>
1543
1544         * libnm-util/nm-setting-cdma.c
1545           libnm-util/nm-setting-gsm.c
1546                 - (verify): validate username & password if they exist
1547                 - (need_secrets): if username given, require a password too
1548
1549 2008-08-04  Dan Williams  <dcbw@redhat.com>
1550
1551         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1552                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1553                         manpage says about --listen-address without --interface
1554                         (bgo #546033)
1555
1556 2008-08-01  Dan Williams  <dcbw@redhat.com>
1557
1558         * libnm-glib/nm-device.c
1559                 - (proxy_get_string): util function for querying a HAL property
1560                 - (get_ancestor_device): split out from get_product_and_vendor()
1561                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1562                         from PCI devices by querying subsys properties
1563                 - (nm_device_update_description): simplify
1564
1565 2008-08-01  Dan Williams  <dcbw@redhat.com>
1566
1567         * libnm-util/nm-setting-ip4-config.c
1568           libnm-util/nm-setting-ip4-config.h
1569                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1570                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1571                         settings, and they don't necessarily use DHCP.
1572
1573         * src/NetworkManagerPolicy.c
1574           src/nm-device.c
1575           system-settings/plugins/ifcfg-fedora/reader.c
1576           system-settings/plugins/ifcfg-suse/parser.c
1577                 - Fixup for method changes
1578
1579 2008-07-31  Dan Williams  <dcbw@redhat.com>
1580
1581         * src/nm-activation-request.c
1582           src/vpn-manager/nm-vpn-connection.c
1583                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1584                         itself should be attached to the activation request or the VPN
1585                         connection, not the NMConnection object, since the call is not
1586                         expected to live as long as the NMConnection itself
1587
1588 2008-07-31  Dan Williams  <dcbw@redhat.com>
1589
1590         * src/nm-device-wifi.c
1591                 - (real_act_stage2_config): fix issue where association would continue
1592                         even though secrets were needed; 'goto out' was in wrong scope and
1593                         result of handle_auth_or_fail() should have been dumped directly to
1594                         'ret' to ensure that the association was postponed until secrets
1595                         are available
1596
1597 2008-07-31  Dan Williams  <dcbw@redhat.com>
1598
1599         * system-settings/plugins/ifcfg-fedora/plugin.c
1600           system-settings/plugins/ifcfg-fedora/reader.c
1601                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1602                         valid NM connection
1603
1604 2008-07-29  Dan Williams  <dcbw@redhat.com>
1605
1606         * src/nm-gsm-device.c
1607                 - (automatic_registration_response, automatic_registration): recognize
1608                         denied registration and reorder responses
1609
1610 2008-07-29  Dan Williams  <dcbw@redhat.com>
1611
1612         * src/nm-serial-device.c
1613                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1614                         time(2) is used for current time, which returns seconds, we shouldn't
1615                         be multiplying by 1000.
1616
1617 2008-07-28  Dan Williams  <dcbw@redhat.com>
1618
1619         Patch from Fabrice Bellet <fabrice@bellet.info>
1620
1621         * src/NetworkManagerSystem.c
1622                 - (route_in_same_subnet): mask addresses and compare them so that the
1623                         function actually does what it says it's going to do (rh #456685)
1624
1625 2008-07-27  Dan Williams  <dcbw@redhat.com>
1626
1627         * libnm-util/nm-setting-ip6-config.c
1628                 - (set_property): add missing break that caused routes to be overwritten
1629                         with addresses
1630
1631         * libnm-util/nm-setting-ip6-config.c
1632                 - (verify): validate routes and return GError everywhere on invalid setting
1633                 - (finalize): don't leak routes
1634                 - (set_property): add missing break that caused routes to be overwritten
1635                         with addresses
1636
1637 2008-07-27  Dan Williams  <dcbw@redhat.com>
1638
1639         * libnm-util/*
1640                 - Relicense to LGPLv2+
1641
1642 2008-07-27  Dan Williams  <dcbw@redhat.com>
1643
1644         * system-settings/plugins/ifcfg-fedora/reader.c
1645                 - (make_ip4_setting): fix parsing automatic configs
1646
1647 2008-07-27  Dan Williams  <dcbw@redhat.com>
1648
1649         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1650           src/nm-device.c
1651           src/ppp-manager/nm-ppp-manager.c
1652                 - Ensure child process gets reaped.  The child watch function may be
1653                         removed from the mainloop before the child gets killed, so we have
1654                         to make sure the child is reaped when it's told to die intentionally
1655
1656 2008-07-27  Dan Williams  <dcbw@redhat.com>
1657
1658         Patch from Roy Marples <roy@marples.name>
1659
1660         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1661                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1662
1663 2008-07-27  Dan Williams  <dcbw@redhat.com>
1664
1665         * src/nm-gsm-device.c
1666                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1667                         Huawei devices turn echo back on after CPIN (rh #456770)
1668
1669 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1670
1671         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1672         format argument to g_set_error() call.
1673
1674         * src/backends/interface_parser.[ch]: Remove.
1675
1676         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1677
1678 2008-07-21  Dan Williams  <dcbw@redhat.com>
1679
1680         * src/ppp-manager/nm-ppp-manager.c
1681                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1682                         to prevent pppd from picking up some random local address from an
1683                         interface that doesn't have anything to do with the one we're
1684                         interested in (rh #455348)
1685
1686 2008-07-17  Dan Williams  <dcbw@redhat.com>
1687
1688         * libnm-util/nm-utils.c
1689                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1690                         by locale
1691                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1692                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1693
1694 2008-07-17  Dan Williams  <dcbw@redhat.com>
1695
1696         * introspection/Makefile.am
1697           introspection/nm-device.xml
1698           introspection/nm-dhcp4-config.xml
1699                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1700                         itself
1701         * src/nm-device-interface.c
1702           src/nm-device-interface.h
1703                 - Add the DHCP4Config property
1704
1705         * src/nm-device.c
1706                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1707                         D-Bus clients when it changes
1708
1709         * src/nm-dhcp4-config.c
1710           src/nm-dhcp4-config.h
1711                 - Simple object to store DHCP4 options, export them over D-Bus, and
1712                         notify when they change
1713
1714         * src/dhcp-manager/nm-dhcp-manager.c
1715           src/dhcp-manager/nm-dhcp-manager.h
1716                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1717                         filter server-returned DHCP options into an NMDHCP4Config object
1718
1719 2008-07-16  Dan Williams  <dcbw@redhat.com>
1720
1721         * introspection/nm-device.xml
1722                 - Add device state reasons
1723
1724 2008-07-16  Dan Williams  <dcbw@redhat.com>
1725
1726         Patch from Roy Marples <roy@marples.name>
1727
1728         * configure.in
1729                 - Add --with-dhcp-client option
1730
1731         * src/dhcp-manager/Makefile.am
1732                 - pass DHCP_CLIENT_PATH on compile line
1733
1734         * src/dhcp-manager/nm-dhcp-manager.c
1735           src/dhcp-manager/nm-dhcp-manager.h
1736                 - Genericize for both dhcpcd and dhclient
1737
1738         * src/dhcp-manager/nm-dhcp-dhclient.c
1739                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1740
1741         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1742                 - Implement support for dhcpcd too
1743
1744 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1745
1746         * system-settings/src/nm-system-config-interface.c 
1747         (nm_system_config_interface_supports_add): Implement.
1748         (nm_system_config_interface_add_connection): Return a boolean to notify
1749         of errors.
1750
1751         * system-settings/src/nm-polkit-helpers.c: 
1752         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1753         a separate file.
1754
1755         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1756         Return an error when none of the plugins support add or if addition
1757         failed for some reason.
1758
1759         * system-settings/src/nm-system-config-error.h: 
1760         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1761         here from nm-polkit-helpers.[ch].
1762
1763         * system-settings/src/Makefile.am: Build new files.
1764
1765         * system-settings/plugins/keyfile/reader.c 
1766         (read_array_of_array_of_uint): Make it more general so that it would
1767         work for routes as well.
1768
1769         * system-settings/plugins/keyfile/writer.c
1770         (write_array_of_array_of_uint): Ditto.
1771         Fix the netmask/prefix writing.
1772
1773         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1774         boolean to notify errors.
1775
1776         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1777         Return more specific error.
1778         (delete): Ditto.
1779
1780 2008-07-11  Dan Williams  <dcbw@redhat.com>
1781
1782         Modify the NMDevice::state-changed signal to include the previous state
1783         and reason. Enables the applet to provide more information why device
1784         activation failed.
1785
1786 2008-07-09  Dan Williams  <dcbw@redhat.com>
1787
1788         * callouts/Makefile.am
1789           callouts/nm-avahi-autoipd-action.c
1790           callouts/nm-avahi-autoipd.conf
1791                 - avahi-autoipd callout to send options back to NM
1792
1793         * src/autoip.c
1794           src/autoip.h
1795                 - remove
1796
1797         * src/nm-device.c
1798           src/nm-device-private.h
1799           src/nm-manager.c
1800                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1801                         old custom stuff
1802
1803 2008-07-07  Dan Williams  <dcbw@redhat.com>
1804
1805         * system-settings/plugins/ifcfg-fedora/reader.c
1806                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1807                         handle PREFIX too; clean up
1808
1809 2008-07-07  Dan Williams  <dcbw@redhat.com>
1810
1811         Convert to using IPv4 prefixes instead of netmasks.
1812
1813 2008-07-03  Dan Williams  <dcbw@redhat.com>
1814
1815         * libnm-util/nm-setting-ip4-config.c
1816           libnm-util/nm-setting-ip4-config.h
1817                 - Add properties for DHCP Client Identifier and DHCP Hostname
1818
1819         * src/dhcp-manager/nm-dhcp-manager.c
1820           src/dhcp-manager/nm-dhcp-manager.h
1821                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1822                         setting as an argument to pass on to the dhclient config file
1823                         creation function
1824                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1825                         DHCP is torn down
1826                 - (dhclient_run): punt config file handling to create_dhclient_config()
1827                 - (create_dhclient_config): create an interface-specific dhclient
1828                         config file since there may need to be interface-specific options
1829                         passed to dhclient
1830                 - (merge_dhclient_config): merge normal distro dhclient config file and
1831                         add options from the connection
1832                 - (nm_dhcp_device_new): generate the interface specific dhclient
1833                         config file path once
1834                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1835                         dhclient config file path
1836
1837         * src/nm-device.c
1838                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1839                         DHCP manager when starting DHCP
1840
1841 2008-07-02  Dan Williams  <dcbw@redhat.com>
1842
1843         * libnm-util/nm-setting-8021x.c
1844                 - (verify): allow forcing the PEAP label to 0
1845
1846 2008-07-02  Dan Williams  <dcbw@redhat.com>
1847
1848         * introspection/nm-active-connection.xml
1849           introspection/nm-vpn-connection.xml
1850           libnm-glib/nm-active-connection.c
1851           src/nm-activation-request.c
1852           src/nm-active-connection.h
1853           src/vpn-manager/nm-vpn-connection.c
1854                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1855                         and libnm-glib API since sharing didn't get implemented that way
1856
1857 2008-07-02  Dan Williams  <dcbw@redhat.com>
1858
1859         * src/nm-device-wifi.c
1860                 - (can_scan): don't scan when a shared connection is activated since
1861                         that makes drivers mad (causing disconnects); also NM doesn't need
1862                         to hedge against disconnects by keeping up-to-date network topology
1863                         because the connection originates from the local machine, and thus
1864                         there should be no disconnects
1865
1866 2008-07-01  Dan Williams  <dcbw@redhat.com>
1867
1868         Fix mobile broadband username/password issues.  NM was never requesting
1869         mobile broadband secrets, nor was it passing back the username and password
1870         if it had them.
1871
1872         * marshallers/nm-marshal.list
1873                 - Add some new types for activation request objects
1874
1875         * src/nm-activation-request.c
1876           src/nm-activation-request.h
1877                 - (get_secrets_cb): pass the caller type in the signal
1878                 - (nm_act_request_request_connection_secrets): take a caller type, so
1879                         that GetSecrets() reply handlers know who asked for the secrets in
1880                         the first place; use secret hints too so the settings service can
1881                         figure out exactly what NM wants (ie, PIN or the PPP password)
1882
1883         * src/ppp-manager/nm-ppp-manager.c
1884           src/ppp-manager/nm-ppp-manager.h
1885                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1886                         detect needed secrets when the secret could be blank, like GSM/CDMA
1887                         passwords.  So always ask for secrets, and send a hint as to what
1888                         secret we really want.
1889                 - (nm_ppp_manager_update_secrets): make function more generic by making
1890                         the device specific class figure out the username and password, and
1891                         accept an error argument to return back over D-Bus
1892
1893         * src/nm-device-wifi.c
1894                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1895                         nm_act_request_request_connection_secrets()
1896                 - (real_connection_secrets_updated): update for 'caller' changes
1897
1898         * src/nm-device.c
1899           src/nm-device.h
1900                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1901                         for 'caller' changes
1902
1903         * src/nm-device-ethernet.c
1904                 - (real_connection_secrets_updated): update for 'caller' changes and
1905                         move logic for getting PPPoE username and password here before
1906                         calling nm_ppp_manager_update_secrets()
1907                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1908                         nm_act_request_request_connection_secrets()
1909
1910         * src/nm-cdma-device.c
1911                 - (real_connection_secrets_updated): pass username and password back
1912                         to the PPP manager when required
1913
1914         * src/nm-gsm-device.c
1915                 - (enter_pin): send the required secret name to the settings service
1916                 - (real_connection_secrets_updated): pass username and password back
1917                         to the PPP manager when required
1918
1919 2008-06-30  Dan Williams  <dcbw@redhat.com>
1920
1921         * src/nm-device-wifi.c
1922                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1923
1924 2008-06-30  Dan Williams  <dcbw@redhat.com>
1925
1926         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1927         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1928         priv->supplicant.iface.  When either condition is false, the device should
1929         transition back to UNAVAILABLE because it cannot be used.
1930
1931         * src/nm-device-wifi.c
1932                 - (constructor): cleanup; connect to supplicant manager here since the
1933                         supplicant manager is always around
1934                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1935                         ensure the supplicant manager is in the IDLE state
1936                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1937                         cancel any pending scans too
1938                 - (real_bring_up): don't set up the supplicnat interface here, because
1939                         we need the supplicant interface at times when the device may not
1940                         be "up"
1941                 - (real_take_down): just remove the periodic source
1942                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1943                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1944                         do anything if there's no supplicant interface
1945                 - (cleanup_association_attempt): cleanup
1946                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1947                         the interface enters the READY state; transition to UNAVAILABLE
1948                         state when the interface goes down because the device can't be used
1949                         without a supplicant interface
1950                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1951                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1952                         acquire the supplicant interface and transition to DISCONNECTED
1953                         if the radio isn't killed
1954                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1955                 - (state_changed_cb): release any existing supplicant interface; if the
1956                         radio is enabled then try to acquire a new supplicant interface;
1957                         if the radio is enabled and a supplicant interface has been acquired,
1958                         we can transition to DISCONNECTED
1959                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1960                         don't enable the radio, because HAL probably lied to us about the
1961                         killswitch being off.  If bringing the hardware up worked, then
1962                         try to grab a supplicant interface, and if that was successful,
1963                         transition to DISCONNECTED
1964
1965 2008-06-30  Dan Williams  <dcbw@redhat.com>
1966
1967         * src/supplicant-manager/nm-supplicant-interface.c
1968                 - (request_scan_results, nm_supplicant_interface_dispose,
1969                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1970                         the id of the timeout, not a GSource
1971
1972 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1973
1974         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1975         bunch of typoes introduced by "Patch from David Cantrell 
1976         <dcantrell@redhat.com> and me".
1977
1978 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1979
1980         * src/nm-serial-device.c: 
1981         * src/nm-gsm-device.c: 
1982         * src/nm-cdma-device.c: Move the pending call handling to a common location
1983         in serial device. Handle setting device state to failed in one place as well.
1984
1985 2008-06-29  Dan Williams <dcbw@redhat.com>
1986
1987         * src/nm-hal-manager.c
1988                 - Rework killswitch handling to query killswitch status immediately
1989                         when the first killswitch is added, so that rfkill state is
1990                         known as early as possible
1991                 - Also treat failure of GetPower() as rfkill when the dbus method
1992                         call times out (but not when the HAL callout returns an error)
1993
1994 2008-06-26  Dan Williams <dcbw@redhat.com>
1995
1996         Patch from David Cantrell <dcantrell@redhat.com> and me
1997
1998         * include/nm-dbus-glib-types.h
1999                 - Add IP6 address types
2000
2001         * libnm-util/Makefile.am
2002           libnm-util/nm-setting-ip6-config.c
2003           libnm-util/nm-setting-ip6-config.h
2004                 - Add IP6 settings object
2005
2006         * libnm-util/nm-connection.c
2007                 - (register_default_settings): register ip6 settings object
2008
2009         * libnm-util/nm-utils.c
2010           libnm-util/nm-utils.h
2011                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2012                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2013                         ip6 address conversion functions
2014         
2015 2008-06-26  Dan Williams <dcbw@redhat.com>
2016
2017         Patch from David Cantrell <dcantrell@redhat.com>
2018         
2019         * Use inet_ntop() and inet_pton() everwhere and check for errors
2020
2021 2008-06-26  Dan Williams <dcbw@redhat.com>
2022
2023         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2024
2025 2008-06-26  Dan Williams <dcbw@redhat.com>
2026
2027         Patch from Adel Gadllah <adel.gadllah@gmail.com>
2028
2029         * src/nm-device-wifi.c
2030                 - (link_timeout_cb): don't ignore disconnects due to scanning
2031                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2032                         a longer timeout when scanning; avoids case where supplicant can't
2033                         find the AP and just keeps scanning forever but isn't connected
2034
2035 2008-06-26  Dan Williams <dcbw@redhat.com>
2036
2037         Patch from Michael Biebl <biebl@debian.org>
2038
2039         * Clean up build system stuff
2040
2041 2008-06-23  Christian Persch  <chpe@gnome.org>
2042
2043         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2044         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2045         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2046         (impl_get_object):
2047         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2048         (impl_get_object):
2049         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2050         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2051         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2052         (impl_get_object):
2053         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2054         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2055         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2056         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2057         * vpn-daemons/pptp/properties/vpnui_opt.c:
2058         (vpnui_opt_connect_signals):
2059         * vpn-daemons/pptp/properties/vpnui_opt.h:
2060         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2061         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2062         deprecated gtk type macros. Bug #539325.
2063
2064 2008-06-20  Dan Williams  <dcbw@redhat.com>
2065
2066         * libnm-glib/nm-vpn-plugin-ui-interface.c
2067           libnm-glib/nm-vpn-plugin-ui-interface.h
2068                 - 'validity-changed' -> 'changed' to work better with the connection
2069                         editor.  Plugin UI widgets should emit 'changed' whenever their
2070                         UI values change in a meaningful way.
2071                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2072                         update_connection member now returns validity of the UI widget
2073
2074 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2075
2076         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2077
2078 2008-06-17  Dan Williams  <dcbw@redhat.com>
2079
2080         * libnm-glib/nm-vpn-plugin-ui-interface.c
2081           libnm-glib/nm-vpn-plugin-ui-interface.h
2082                 - Add "desc" property for longer descriptions of the VPN plugin
2083
2084 2008-06-16  Dan Williams  <dcbw@redhat.com>
2085
2086         * configure.in
2087           libnm-glib/libnm_glib_vpn.pc.in
2088                 - add a .pc file for libnm_glib_vpn
2089
2090         * libnm-glib/nm-vpn-plugin-ui-interface.c
2091           libnm-glib/nm-vpn-plugin-ui-interface.h
2092                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2093                         rework it substantially
2094
2095 2008-06-12  Dan Williams  <dcbw@redhat.com>
2096
2097         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2098         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2099         returns a descriptive GError when verification fails.
2100
2101 2008-06-11  Dan Williams  <dcbw@redhat.com>
2102
2103         Patch from Tambet Ingo <tambet@gmail.com>
2104
2105         * libnm-util/nm-setting-gsm.c
2106                 - (verify): validate APN
2107
2108         * src/nm-gsm-device.c
2109                 - (manual_registration_done): start setting APN if needed
2110                 - (set_apn, set_apn_done): set the APN
2111                 - (do_dial): use the APN when dialing
2112
2113 2008-06-11  Dan Williams  <dcbw@redhat.com>
2114
2115         * src/NetworkManagerSystem.c
2116                 - (nm_system_device_set_ip4_route,
2117                    nm_system_device_replace_default_ip4_route): check for the right
2118                         return value from rtnl_route_add() to know when to add a gateway
2119                         route (from Tambet)
2120
2121 2008-06-11  Dan Williams  <dcbw@redhat.com>
2122
2123         * src/NetworkManagerPolicy.c
2124                 - do_ipt_cmd -> do_cmd
2125                 - (sharing_init): use do_cmd() instead of system()
2126
2127 2008-06-10  Dan Williams  <dcbw@redhat.com>
2128
2129         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2130         and use "wifi" everwhere instead.
2131
2132 2008-06-10  Dan Williams  <dcbw@redhat.com>
2133
2134         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2135
2136 2008-06-10  Dan Williams  <dcbw@redhat.com>
2137
2138         Patch from Tambet Ingo <tambet@gmail.com>
2139
2140         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2141                 changes.
2142
2143         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2144                 a signal to emit these changes over dbus.
2145
2146         * src/Makefile.am: Genereate nm-serial-device-glue.
2147
2148         * libnm-glib/nm-serial-device.[ch]: Implement.
2149
2150         * libnm-glib/nm-cdma-device.[ch]
2151           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2152
2153         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2154
2155         * introspection/nm-device-serial.xml: Implement.
2156
2157         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2158
2159         * introspection/Makefile.am: Add nm-device-serial.xml.
2160
2161         * include/NetworkManager.h: Add a DBus interface for serial device.
2162
2163 2008-06-10  Dan Williams  <dcbw@redhat.com>
2164
2165         * configure.in
2166                 - Add TARGET_* define to config.h to distinguish distros
2167
2168         * src/dhcp-manager/nm-dhcp-manager.c
2169                 - (dhclient_run): use distro-specific path for dhclient config file
2170
2171 2008-06-09  Dan Williams  <dcbw@redhat.com>
2172
2173         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2174           src/dnsmasq-manager/nm-dnsmasq-manager.h
2175                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2176                         calculate the addresses passed to dnsmasq instead of hard-coding
2177                         them
2178
2179         * src/nm-device.c
2180                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2181                         IP addresses for shared connections to guard against shared
2182                         connection address collisions
2183                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2184                         error conditions
2185                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2186                         the dnsmasq manager
2187
2188 2008-06-09  Dan Williams  <dcbw@redhat.com>
2189
2190         * src/NetworkManagerPolicy.c
2191                 - (update_routing_and_dns): set the default connection _after_ unsetting
2192                         default on all non-default connections so that two connections can
2193                         never be default at the same time
2194                 - (device_state_changed): start and stop connection sharing when
2195                         needed
2196                 - (active_connection_default_changed): restart or stop sharing when
2197                         the default connection changes to keep shared connections always
2198                         NAT-ed through the default connection
2199                 - (check_sharing): handle activation/deactivation of shared connections
2200                 - (sharing_restart): atom-bomb approach to connection sharing until we
2201                         can use libnl; reinit all sharing when the default connection or
2202                         shared connections change
2203                 - (sharing_init, sharing_stop): evil functions that init and deinit
2204                         iptables
2205
2206 2008-06-09  Dan Williams  <dcbw@redhat.com>
2207
2208         * src/nm-activation-request.c
2209           src/nm-activation-request.h
2210                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2211                    nm_act_request_get_device): new functions to facilitate connection
2212                         sharing
2213
2214 2008-06-09  Dan Williams  <dcbw@redhat.com>
2215
2216         * src/nm-device.c
2217                 - (clear_act_request): unset the 'default' property of the activation
2218                         request when clearing it to ensure the property changed signal gets
2219                         delivered and handled
2220
2221 2008-06-09  Dan Williams  <dcbw@redhat.com>
2222
2223         * libnm-glib/nm-device-802-11-wireless.c
2224                 - (access_point_removed_proxy): actually unref the AP after removing
2225                         it from the device's AP list.  Fixes refcounting bug for APs that
2226                         caused them to get mixed up in the applet's menu.
2227
2228 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2229
2230         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2231         (nm_dhcp_device_destroy): Destroy the device options hash table.
2232
2233 2008-06-06  Dan Williams <dcbw@redhat.com>
2234
2235         * system-settings/src/nm-polkit-helpers.c
2236                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2237                         unref the context if the initialization fails; also avoid spew when
2238                         the error isn't set
2239
2240 2008-06-06  Dan Williams <dcbw@redhat.com>
2241
2242         Patch from Tambet Ingo  <tambet@gmail.com>
2243
2244         * src/NetworkManagerSystem.c
2245           src/NetworkManagerSystem.h
2246                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2247                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2248                 - (nm_system_device_set_ip4_route): clean up
2249                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2250
2251         * src/nm-device.c
2252                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2253
2254         * src/vpn-manager/nm-vpn-connection.c
2255                 - (ip_address_to_string): new function
2256                 - (print_vpn_config): use ip_address_to_string
2257                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2258                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2259
2260         * include/NetworkManagerVPN.h
2261                 - Add 'routes' key
2262
2263 2008-06-05  Dan Williams <dcbw@redhat.com>
2264
2265         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2266
2267         * test/nm-tool.c
2268                 - Show which device is the default device
2269
2270 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2271
2272         Fix memory leaks.
2273
2274         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2275         Free data returned from dbus method call.
2276
2277         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2278         dbus_g_method_get_sender() returns a duplicated string, free it 
2279         when done.
2280         (check_polkit_privileges): Looks like policykit sometimes returns
2281         error and non-null return value, don't leak errors in that case.
2282
2283         * system-settings/src/main.c (find_plugin): Don't leak existing 
2284         plugin names.
2285         (load_stuff): Don't leak device list and list items.
2286         (have_connection_for_device): Don't leak connection list.
2287
2288         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2289         Free the data received from g_keyfile_get_*.
2290
2291         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2292         the key when the security object is updated.
2293
2294         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2295         Free data returned from dbus method call.
2296         (iface_state_cb): Ditto.
2297         (add_network_cb): Ditto.
2298         (nm_supplicant_interface_add_cb): Don't make another copy of already
2299         duplicated object path.
2300         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2301         when done.
2302
2303         * src/supplicant-manager/nm-supplicant-config.c 
2304         (ADD_STRING_LIST_VAL): Fix a memory leak.
2305
2306         * src/nm-manager.c (free_get_settings_info): Free the allocated
2307         memory slice.
2308         (list_connections_cb): Free data returned from dbus method call.
2309         (system_settings_get_unmanaged_devices_cb): Ditto.
2310
2311         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2312
2313         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2314         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2315         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2316         of the GList.
2317
2318         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2319         arguments after the object is created.
2320
2321 2008-06-04  Dan Williams <dcbw@redhat.com>
2322
2323         * libnm-util/Makefile.am
2324                 - Don't distribute nm-param-spec-specialized.h
2325
2326 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2327
2328         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2329
2330         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2331         NMIP4Address, update the getters and setters.
2332
2333         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2334         Use the updated NMIP4Config routes api.
2335
2336         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2337         static routes as well.
2338
2339         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2340         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2341         routes api.
2342
2343 2008-05-30  Dan Williams <dcbw@redhat.com>
2344
2345         * src/named-manager/nm-named-manager.c
2346           src/named-manager/nm-named-manager.h
2347                 - Remove stale/obsolete bits for controlling bind over DBus
2348
2349 2008-05-29  Dan Williams <dcbw@redhat.com>
2350
2351         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2352           src/dnsmasq-manager/nm-dnsmasq-manager.h
2353                 - (nm_dnsmasq_manager_new): move iface argument here
2354                 - (constructor): remove, not needed
2355                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2356                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2357
2358         * src/nm-device.c
2359                 - (real_act_stage4_get_ip4_config,
2360                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2361                         changes
2362
2363 2008-05-29  Dan Williams <dcbw@redhat.com>
2364
2365         * src/nm-device.c
2366                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2367                         something happens to dnsmasq
2368                 - (nm_device_new_ip4_shared_config): new function; create a new
2369                         ip4-config for shared connections.  Shared connections always use a
2370                         fixed static IP address.
2371                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2372                         autoip connections by actually using the returned ip4-config and
2373                         not leaking it
2374                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2375                         connections
2376                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2377                         if its active
2378
2379 2008-05-29  Dan Williams <dcbw@redhat.com>
2380
2381         * src/nm-device-802-11-wireless.c
2382                 - (real_get_best_auto_connection): auto-activate 'shared' method
2383                         connections too
2384
2385 2008-05-29  Dan Williams <dcbw@redhat.com>
2386
2387         * libnm-util/nm-setting-ip4-config.c
2388           libnm-util/nm-setting-ip4-config.h
2389                 - Add a 'shared' method to indicate that this connection should be
2390                         brought up with a DHCP and proxy DNS server to facilitate
2391                         connection sharing.
2392                 - (verify): 'shared' method doesn't allow DNS or searches either
2393
2394 2008-05-29  Dan Williams <dcbw@redhat.com>
2395
2396         * configure.in
2397           src/Makefile.am
2398           src/dnsmasq-manager/Makefile.am
2399           src/dnsmasq-manager/nm-dnsmasq-manager.c
2400           src/dnsmasq-manager/nm-dnsmasq-manager.h
2401                 - Add a dnsmasq daemon manager to facilitate connection sharing
2402
2403 2008-05-29  Dan Williams <dcbw@redhat.com>
2404
2405         * src/nm-device-private.h
2406                 - Remove unused prototypes and clean up
2407
2408         * src/nm-device.c
2409                 - Remove anything related to system_config_data, which is no longer used
2410                 - (nm_device_new_ip4_autoip_config): make static
2411
2412 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2413
2414         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2415         (file_changed): Fix a bug where suse system settings plugin didn't
2416         update the connections automatically when the files changed.
2417
2418 2008-05-28  Dan Williams  <dcbw@redhat.com>
2419
2420         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2421
2422 2008-05-28  Dan Williams  <dcbw@redhat.com>
2423
2424         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2425
2426         * src/NetworkManagerSystem.c
2427                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2428                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2429                         was causing -EINVAL errors since the libnl code actually does flush
2430                         the routes on VPN interfaces now
2431
2432         * src/backends/NetworkManagerArch.c
2433           src/backends/NetworkManagerDebian.c
2434           src/backends/NetworkManagerFrugalware.c
2435           src/backends/NetworkManagerGeneric.c
2436           src/backends/NetworkManagerGentoo.c
2437           src/backends/NetworkManagerMandriva.c
2438           src/backends/NetworkManagerPaldo.c
2439           src/backends/NetworkManagerRedHat.c
2440           src/backends/NetworkManagerSlackware.c
2441           src/backends/NetworkManagerSuSE.c
2442                 - (nm_system_device_flush_ip4_routes,
2443                    nm_system_device_flush_ip4_routes_with_iface): remove
2444
2445 2008-05-28  Dan Williams  <dcbw@redhat.com>
2446
2447         * libnm-util/nm-setting-wireless.c
2448           libnm-util/nm-setting-wireless.h
2449                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2450                         'adhoc-create' property, which when TRUE indicates that NM should
2451                         create this connection as an adhoc wifi network if it's not found
2452                         as an adhoc network during scanning.  Can be used to auto-create
2453                         adhoc networks when used in combination with autoconnect.
2454
2455 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2456
2457         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2458
2459         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2460         checked, it doesn't work on some devices.
2461
2462 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2463
2464         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2465         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2466
2467         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2468         Use inet_aton() everywhere to improve error detection.
2469         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2470         provided.
2471
2472 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2473
2474         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2475         Fix a typo.
2476
2477 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2478
2479         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2480         reference counting issue.
2481
2482 2008-05-23  Dan Williams  <dcbw@redhat.com>
2483
2484         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2485
2486         * src/backends/NetworkManagerGeneric.c
2487                 - (nm_generic_enable_loopback): use libnl
2488
2489 2008-05-23  Dan Williams  <dcbw@redhat.com>
2490
2491         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2492
2493         * src/NetworkManagerSystem.h
2494           src/backends/NetworkManagerArch.c
2495           src/backends/NetworkManagerDebian.c
2496           src/backends/NetworkManagerFrugalware.c
2497           src/backends/NetworkManagerGentoo.c
2498           src/backends/NetworkManagerMandriva.c
2499           src/backends/NetworkManagerPaldo.c
2500           src/backends/NetworkManagerRedHat.c
2501           src/backends/NetworkManagerSlackware.c
2502           src/backends/NetworkManagerSuSE.c
2503                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2504                    nm_system_flush_arp_cache): remove, unused
2505
2506         * src/backends/NetworkManagerGeneric.c
2507           src/backends/NetworkManagerGeneric.h
2508                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2509                    nm_generic_flush_arp_cache): remove, unused
2510
2511 2008-05-23  Dan Williams  <dcbw@redhat.com>
2512
2513         * system-settings/plugins/ifcfg-fedora/reader.c
2514                 - (make_ip4_setting): honor PEERDNS setting
2515
2516 2008-05-23  Dan Williams  <dcbw@redhat.com>
2517
2518         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2519
2520         * src/NetworkManagerSystem.c
2521                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2522                         libnl
2523
2524         * src/backends/NetworkManagerArch.c
2525           src/backends/NetworkManagerDebian.c
2526           src/backends/NetworkManagerFrugalware.c
2527           src/backends/NetworkManagerGentoo.c
2528           src/backends/NetworkManagerMandriva.c
2529           src/backends/NetworkManagerPaldo.c
2530           src/backends/NetworkManagerRedHat.c
2531           src/backends/NetworkManagerSlackware.c
2532           src/backends/NetworkManagerSuSE.c
2533                 - (nm_system_device_flush_ip4_addresses,
2534                    nm_system_device_flush_ip4_addresses_with_iface): remove
2535
2536         * src/backends/NetworkManagerGeneric.c
2537                 - (nm_generic_device_flush_ip4_addresses,
2538                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2539
2540 2008-05-23  Dan Williams  <dcbw@redhat.com>
2541
2542         * src/supplicant-manager/nm-supplicant-settings-verify.c
2543                 - Switch 'bssid' from bytes to keyword type
2544                 - (validate_type_keyword): allow NULL keyword lists
2545
2546         * src/supplicant-manager/nm-supplicant-config.c
2547                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2548                         a byte array to string form, which is what the supplicant expects
2549
2550 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2551
2552         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2553         information received from DHCP.
2554
2555         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2556         to make it possible to ignore the DNS information (both servers and 
2557         searches) returned by DHCP server.
2558
2559         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2560         name servers and searches if "ignore_dhcp_dns" is set.
2561
2562         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2563         (nm_ip4_config_reset_searches): Implement.
2564
2565 2008-05-22  Dan Williams  <dcbw@redhat.com>
2566
2567         Remove anything mDNS related.  This is better done from a distro-specific
2568         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2569         avahi, since avahi can handle interface changes just fine using netlink.
2570
2571         * configure.in
2572                 - Remove --with-mdns-provider
2573
2574         * src/NetworkManagerPolicy.c
2575                 - (global_state_changed): don't restart the mdns provider
2576
2577         * src/NetworkManagerSystem.h
2578           src/backends/NetworkManagerArch.c
2579           src/backends/NetworkManagerDebian.c
2580           src/backends/NetworkManagerFrugalware.c
2581           src/backends/NetworkManagerGentoo.c
2582           src/backends/NetworkManagerMandriva.c
2583           src/backends/NetworkManagerPaldo.c
2584           src/backends/NetworkManagerRedHat.c
2585           src/backends/NetworkManagerSlackware.c
2586           src/backends/NetworkManagerSuSE.c
2587                 - (nm_system_restart_mdns_responder): remove
2588
2589         * src/backends/NetworkManagerGeneric.c
2590           src/backends/NetworkManagerGeneric.h
2591                 - (nm_generic_restart_mdns_responder): remove
2592
2593 2008-05-22  Dan Williams  <dcbw@redhat.com>
2594
2595         * configure.in
2596                 - clean up crypto options; just use --with-crypto=nss or
2597                         --with-crypto=gnutls
2598
2599 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2600
2601         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2602         anymore, do it right away.
2603
2604 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2605
2606         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2607         serial device open when we're not connecting or connected.
2608
2609         * src/nm-cdma-device.c (device_state_changed): Ditto.
2610
2611 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2612
2613         Don't remove all devices on waking up, sync with HAL.
2614
2615         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2616         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2617         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2618
2619 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2620
2621         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2622         If the default gateway is unreachable, add a route to gateway and try
2623         again.
2624
2625 2008-05-20  Dan Williams  <dcbw@redhat.com>
2626
2627         * system-settings/plugins/ifcfg-fedora/reader.c
2628                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2629
2630 2008-05-19  Dan Williams  <dcbw@redhat.com>
2631
2632         * system-settings/plugins/ifcfg-fedora/reader.c
2633                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2634                         if the ifcfg doesn't specify one (rh #446527)
2635
2636 2008-05-19  Dan Williams  <dcbw@redhat.com>
2637
2638         Make the system settings service exit when the bus goes away.  Since it's
2639         a bus-activated service, it's lifetime is limited to the bus that activated
2640         it (rh #444976).
2641
2642         * system-settings/src/Makefile.am
2643           system-settings/src/nm-system-config-hal-manager-private.h
2644                 - Remove nm-system-config-hal-manager-private.h
2645
2646         * system-settings/src/nm-system-config-hal-manager.c
2647                 - (nm_system_config_hal_manager_reinit_dbus,
2648                    nm_system_config_hal_manager_deinit_dbus): remove
2649
2650         * system-settings/src/main.c
2651                 - (dbus_reconnect): remove
2652                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2653                 - (destroy_cb): just quit when the bus goes away
2654                 - (start_dbus_service, dbus_init): simplify
2655                 - (main): destroy the wired devices hash table after destroying
2656                         the HAL manager so we don't have to disconnect signals from the
2657                         HAL manager
2658
2659 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2660
2661         Move crypto functions from nm-applet to libnm-util.
2662
2663         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2664         (nm_setting_802_1x_set_client_cert)
2665         (nm_setting_802_1x_set_phase2_ca_cert)
2666         (nm_setting_802_1x_set_phase2_client_cert)
2667         (nm_setting_802_1x_set_private_key)
2668         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2669         file (or private key and it's password), read the certificate data.
2670
2671         * libnm-util/crypto_nss.c: 
2672         * libnm-util/crypto_gnutls.c: 
2673         * libnm-util/crypto.[ch]: Move here from nm-applet.
2674
2675         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2676
2677         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2678         Imlement WPA-EAP configuration reading from sysconfig.
2679
2680 2008-05-16  Dan Williams  <dcbw@redhat.com>
2681
2682         * src/nm-device-802-11-wireless.c
2683                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2684                         wireless
2685
2686 2008-05-14  Dan Williams  <dcbw@redhat.com>
2687
2688         Fix Linus' bug in rh #134886
2689
2690         * src/nm-device-802-3-ethernet.c
2691                 - (constructor): request initial carrier state
2692
2693         * src/nm-netlink-monitor.c
2694                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2695                         signals after refilling the link cache.  Because the refill is a 
2696                         synchronous operation, the normal message hander won't get called
2697                         since libnl has already consumed the messages.
2698                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2699
2700 2008-05-14  Dan Williams  <dcbw@redhat.com>
2701
2702         * src/NetworkManagerSystem.c
2703                 - (nm_system_device_is_up_with_iface): clean up
2704
2705 2008-05-13  Dan Williams  <dcbw@redhat.com>
2706
2707         Fix refcounting issues over sleep/wake when a VPN connection was active that
2708         caused NM to try registering an object path for a device upon wake that was
2709         the same as an already registered object path.
2710
2711         * src/nm-device.c
2712                 - (nm_device_take_down): properly handle cases where the device is
2713                         no longer active but was just active, and therefore must be
2714                         deactivated.  When a device moves to unmanaged mode, this function
2715                         previously would not deactivate the device, because the state was
2716                         already unmanaged by the time this function was called.
2717
2718         * src/vpn-manager/nm-vpn-connection.c
2719                 - (device_state_changed): properly handle multiple devices states in
2720                         which the device is now deactivated.  Code previously didn't handle
2721                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2722                         UNMANAGED states.
2723
2724 2008-05-13  Dan Williams  <dcbw@redhat.com>
2725
2726         * src/nm-device-private.h
2727           src/nm-device.c
2728                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2729
2730         * src/nm-device-802-11-wireless.c
2731                 - (nm_device_802_11_wireless_set_enabled): take devices up
2732                         and down as appropriate for the rfkill state
2733
2734 2008-05-13  Dan Williams  <dcbw@redhat.com>
2735
2736         * marshallers/nm-marshal.list
2737                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2738
2739         * system-settings/plugins/ifcfg-fedora/Makefile.am
2740           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2741           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2742                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2743                         events.  Solely for use watching ifcfg files to pick up changes
2744                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2745
2746         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2747                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2748                         file contents change
2749                 - (finalize): clean up inotify watches
2750                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2751                         and the connection ifcfg for changes on their hardlinks
2752                 - (files_changed_cb): proxy the changed signal back out to listeners
2753
2754         * system-settings/plugins/ifcfg-fedora/plugin.c
2755                 - (dir_changed): 
2756                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2757                         changes
2758                 - (read_one_connection): connect to change signals on the new connection
2759                 - (dir_changed, connection_changed_handler,
2760                    handle_connection_remove_or_new): break out connection change
2761                         handling and connection new/remove handling so it can be used from
2762                         both the GFileMonitor callback and the NMIfcfgConnection changed
2763                         signals
2764
2765         * system-settings/plugins/ifcfg-fedora/reader.c
2766           system-settings/plugins/ifcfg-fedora/reader.h
2767                 - (connection_from_file): return the keyfile path the connection would use
2768
2769 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2770
2771         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2772         single PolKitContext which is shared by all. PolKitContext::unref leaks
2773         just about everything, including all open file descriptiors and results
2774         in 99% cpu usage when data arrives to any of the fds that don't belong
2775         to any context anymore.
2776
2777 2008-05-12  Dan Williams  <dcbw@redhat.com>
2778
2779         * gfilemonitor/glocaldirectorymonitor.c
2780           gfilemonitor/glocaldirectorymonitor.h
2781                 - (g_local_directory_monitor_constructor): actually subscribe to the
2782                         watch
2783                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2784
2785         * gfilemonitor/glocalfilemonitor.c
2786           gfilemonitor/glocalfilemonitor.h
2787                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2788                 - (_g_local_file_monitor_new): ensure that inotify is started up
2789
2790 2008-05-11  Dan Williams  <dcbw@redhat.com>
2791
2792         * configure.in
2793                 - record PolicyKit version
2794
2795         * system-settings/src/nm-polkit-helpers.c
2796                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2797                         with PolicyKit <= 0.6
2798
2799 2008-05-11  Dan Williams  <dcbw@redhat.com>
2800
2801         Update Fedora system-settings plugin to support latest API and use
2802         GFileMonitor rather than home-rolled inotify code.
2803
2804         * system-settings/plugins/ifcfg-fedora/Makefile.am
2805           system-settings/plugins/ifcfg-fedora/common.h
2806           system-settings/plugins/ifcfg-fedora/plugin.c
2807                 - Update to latest system settings plugin API; use GIO instead of
2808                         custom inotify code; use NMIfcfgConnection objects instead of
2809                         ConnectionData structures tacked onto NMConnection objects
2810
2811         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2812           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2813                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2814                         connections
2815
2816         * system-settings/plugins/ifcfg-fedora/reader.c
2817           system-settings/plugins/ifcfg-fedora/reader.h
2818                 - Move ifcfg parsing bits here from parser.c
2819
2820         * system-settings/plugins/ifcfg-fedora/parser.c
2821           system-settings/plugins/ifcfg-fedora/parser.h
2822                 - Remove; most code moved to reader.c
2823
2824 2008-05-11  Dan Williams  <dcbw@redhat.com>
2825
2826         * configure.in
2827           Makefile.am
2828           gfilemonitor/*
2829                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2830                         implementation, so that the same change monitoring code can be used
2831                         on systems without glib-2.14 (like Fedora 8)
2832
2833         * system-settings/plugins/keyfile/Makefile.am
2834           system-settings/plugins/keyfile/plugin.c
2835           system-settings/plugins/ifcfg-suse/Makefile.am
2836           system-settings/plugins/ifcfg-suse/plugin.c
2837                 - Use private gfilemonitor code if GIO is not present
2838
2839 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2840
2841         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2842         NMExportedConnection's 'update' and 'delete' and return error with
2843         descriptive message.
2844
2845 2008-05-08  Dan Williams  <dcbw@redhat.com>
2846
2847         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2848
2849         * src/nm-gsm-device.c
2850           src/nm-cdma-device.c
2851                 - (real_get_best_auto_connection): implement; allow autoconnection
2852                         to GSM & CDMA devices
2853
2854 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2855
2856         Use PolicyKit to authorize the system settings' AddConnection method
2857         and the system settings connections' Update and Delete methods.
2858         
2859         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2860         (impl_exported_connection_delete, nm_exported_connection_update)
2861         (nm_exported_connection_delete): Return boolean and fill GError
2862         to notify the callers of the reasons why it might have failed.
2863
2864         * libnm-glib/nm-dbus-settings-system.c
2865         (nm_dbus_settings_system_add_connection): Return the error from dbus
2866         call so that the callers can see why it failed.
2867
2868         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2869         signatures.
2870
2871         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2872
2873         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2874         abstract base class that checks PolicyKit permissions.
2875
2876         * system-settings/src/dbus-settings.c:
2877         (impl_settings_add_connection): Check the policy before carring out
2878         the request.
2879
2880         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2881         Inherit from NMSysconfigConnection, check the policies before
2882         allowing updating or removing.
2883
2884         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2885         Inherit from NMSysconfigConnection.
2886
2887         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2888         "Delete" methods with async flag so that the implementations can get
2889         access to DBusGMethodInvocation.
2890
2891         * system-settings/src/dbus-settings.c 
2892         (settings_add_connection_check_privileges): Implement.
2893         (impl_settings_add_connection): Check the privileges before adding a new
2894         connection. Improve error reporting.
2895
2896         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2897         async so that the implementation can access DBusGMethodInvocation.
2898
2899         * configure.in: Check for PolicyKit.
2900
2901         * policy/org.freedesktop.network-manager-settings.system.policy: 
2902         New file.
2903
2904         * policy/Makefile.am: Install the policy file.
2905
2906         * configure.in: Add 'policy' subdir.
2907
2908 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2909
2910         Rewrite the suse system settings plugin.
2911
2912         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2913
2914         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2915
2916         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2917
2918         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2919
2920         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2921
2922         * system-settings/src/main.c (load_plugins): Improve error reporting.
2923
2924         * system-settings/src/sha1.[ch] Add.
2925
2926         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2927
2928 2008-05-07  Dan Williams  <dcbw@redhat.com>
2929
2930         * system-settings/plugins/keyfile/reader.c
2931                 - (read_one_setting_value): handle IP address items separately
2932                 - (read_array_of_uint): read IPv4 DNS option as a string array
2933                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2934                         array
2935
2936         * system-settings/plugins/keyfile/writer.c
2937                 - (write_setting_value): handle IP address items separately
2938                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2939                         not an array of uint, so that it's user-editable
2940                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2941                         arrays, so they are user-editable
2942
2943 2008-05-07  Dan Williams  <dcbw@redhat.com>
2944
2945         * system-settings/plugins/keyfile/Makefile.am
2946                 - Change location of the keyfile plugin settings to
2947                         /etc/NetworkManager/system-connections
2948
2949 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2950
2951         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2952
2953         * system-settings/plugins/keyfile/plugin.c: Work with
2954         NMKeyfileConnections.
2955
2956         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2957         Plugins are supposed to return NMExportedConnections now and handle the
2958         updated(), removed(), and GetSecrets().
2959         Store the internal list of connections in hash table to make it easier
2960         to find duplicates.
2961
2962 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2963
2964         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2965         for multiple IP addresses.
2966
2967 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2968
2969         Patch from André Lemos.
2970
2971         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2972         corruption.
2973
2974 2008-05-06  Dan Williams  <dcbw@redhat.com>
2975
2976         * src/dhcp-manager/nm-dhcp-manager.c
2977                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2978                         NMIP4Config to support multiple IP addresses
2979
2980         * src/NetworkManagerUtils.c
2981                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2982
2983         * src/nm-ip4-config.c
2984           src/nm-ip4-config.h
2985                 - Store a list of IPv4 address/netmask/gateway tuples
2986                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2987                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2988                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2989                    nm_ip4_config_set_address): remove
2990                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2991                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2992                         new functions; handle multiple IPv4 addresses
2993
2994         * src/nm-device.c
2995           src/ppp-manager/nm-ppp-manager.c
2996           src/vpn-manager/nm-vpn-connection.c
2997           src/NetworkManagerPolicy.c
2998           test/nm-tool.c
2999           libnm-glib/libnm-glib-test.c
3000                 - update for changes to NMIP4Config for multiple IPv4 addresses
3001
3002         * src/NetworkManagerSystem.c
3003                 - (nm_system_device_set_ip4_route): don't add the route if any address
3004                         is on the same subnet as the destination
3005                 - (check_one_address): ignore the exact match, just match family and
3006                         interface index
3007                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3008                         an interface
3009                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3010                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3011
3012         * introspection/nm-ip4-config.xml
3013                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3014                 - Add 'addresses' property which is an array of (uuu) tuples of
3015                         address/netmask/gateway
3016
3017         * libnm-util/nm-setting-ip4-config.c
3018                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3019
3020         * libnm-glib/nm-ip4-config.c
3021           libnm-glib/nm-ip4-config.h
3022                 - Handle D-Bus interface changes to support multiple IP addresses
3023
3024 2008-05-06  Dan Williams  <dcbw@redhat.com>
3025
3026         * libnm-util/nm-utils.c
3027           libnm-util/nm-utils.h
3028                 - (nm_utils_ip4_addresses_from_gvalue,
3029                    nm_utils_ip4_addresses_to_gvalue): new functions
3030
3031 2008-05-06  Tambet Ingo  <tambet@gmail.com>
3032
3033         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3034         the returned connection paths.
3035
3036 2008-05-05  Tambet Ingo  <tambet@gmail.com>
3037
3038         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
3039         "PropertiesChanged" signal signature.
3040
3041         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3042         defined in nm-dbus-glib-types.h.
3043         Don't register the connection on dbus, we're a proxy class to 
3044         communicate with an already registered connection over dbus.
3045
3046 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3047
3048         Implement new subclasses of NMSettings and NMExportedConnection to make
3049         it easier for the applet to access and modify system settings.
3050
3051         * libnm-glib/nm-dbus-connection.[ch]:
3052         * libnm-glib/nm-dbus-settings.[ch]:
3053         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3054
3055         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3056         bindings and glue.
3057
3058         * include/NetworkManager.h: Define the system settings DBus interface.
3059
3060 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3061
3062         Implement additional C API for exported connections to make them identical
3063         with the DBus API. Change the (list_connections) virtual function to be
3064         more usable from C - instead of requiring implementers to return a GPtrArray
3065         of dbus paths, return a list of connections.
3066
3067         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3068         (nm_settings_list_connections):
3069         (nm_exported_connection_new):
3070         (nm_exported_connection_update):
3071         (nm_exported_connection_delete): Implement.
3072
3073         (impl_settings_list_connections):
3074         (impl_exported_connection_update):
3075         (impl_exported_connection_delete): Use the new public functions to make 
3076         sure the C and dbus interfaces stay in sync.
3077
3078         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3079         connections.
3080
3081 2008-05-02  Dan Williams  <dcbw@redhat.com>
3082
3083         * system-settings/plugins/ifcfg-fedora/plugin.c
3084                 - (dispose): use right unref call on the DBusGConnection
3085
3086 2008-05-02  Dan Williams  <dcbw@redhat.com>
3087
3088         * src/nm-serial-device.c
3089                 - (find_terminator): don't compare the whole line, just the size of the
3090                         terminator, since some modems put stuff after the terminator, like
3091                         "CONNECT 9600"
3092
3093 2008-05-01  Dan Williams  <dcbw@redhat.com>
3094
3095         Patch from Michael Biebl <biebl@debian.org>
3096
3097         * callouts/Makefile.am
3098           callouts/org.freedesktop.nm_dispatcher.service.in
3099           system-settings/src/Makefile.am
3100           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3101                 - use the right install location for dbus-activated stuff
3102
3103 2008-04-30  Dan Williams  <dcbw@redhat.com>
3104
3105         * src/nm-gsm-device.c
3106                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3107                         PIN or PUK
3108
3109 2008-04-30  Dan Williams  <dcbw@redhat.com>
3110
3111         * src/nm-manager.c
3112                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3113
3114 2008-04-30  Dan Williams  <dcbw@redhat.com>
3115
3116         * src/nm-device-802-3-ethernet.c
3117           src/nm-device-802-11-wireless.c
3118                 - (real_is_up): return true instead of chaining up to unimplemented
3119                         parent method
3120
3121 2008-04-30  Dan Williams  <dcbw@redhat.com>
3122
3123         * src/NetworkManagerSystem.c
3124           src/NetworkManagerSystem.h
3125                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3126                         functions to check device flags for IFF_UP
3127
3128         * src/nm-serial-device.c
3129                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3130                         implement is_up
3131
3132         * src/nm-device-802-3-ethernet.c
3133           src/nm-device-802-11-wireless.c
3134                 - (real_hw_is_up): call nm_system_device_is_up()
3135
3136         * src/nm-device.c
3137                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3138                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3139                         does not implement
3140
3141 2008-04-29  Dan Williams  <dcbw@redhat.com>
3142
3143         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3144
3145         * marshallers/nm-marshal.list
3146                 - Add marshaller
3147
3148         * src/NetworkManager.c
3149                 - (main): let the NMManager handle the NMHalManager
3150
3151         * src/nm-hal-manager.c
3152           src/nm-hal-manager.h
3153                 - convert to a GObject, and emit singals when stuff changes.  Let the
3154                         NMManager handle the signals, instead of the NMHalManager calling
3155                         into the NMManager.  
3156
3157         * src/nm-manager.c
3158           src/nm-manager.h
3159                 - (remove_one_device): consolidate device removals here
3160                 - (dispose): use remove_one_device()
3161                 - (nm_manager_get_device_by_udi): make static
3162                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3163                         manager for devices at startup or wakeup time
3164                 - (nm_manager_new): create and monitor the HAL manager
3165                 - (hal_manager_udi_added_cb): new function; do what
3166                         nm_manager_add_device() used to do when signalled by the hal manager
3167                 - (hal_manager_udi_removed_cb): new function; do what
3168                         nm_manager_remove_device() used to do when signalled by the hal
3169                         manager
3170                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3171                         hal manager
3172                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3173                         in our device list that aren't known to HAL
3174                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3175                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3176                         commits ago
3177                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3178                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3179                    nm_manager_wireless_hardware_enabled,
3180                    nm_manager_set_wireless_hardware_enabled): remove, unused
3181
3182 2008-04-28  Dan Williams  <dcbw@redhat.com>
3183
3184         Fix the device up/down ambiguities.  Up/down state used to be a
3185         conglomeration of hardware state (IFF_UP) and any device-specific things
3186         (supplicant, periodic timers, etc) that the device used to indicate
3187         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3188         reason, then the device specific stuff wouldn't get run, and the device
3189         would be stuck.
3190
3191         * src/nm-device.c
3192           src/nm-device.h
3193                 - Create hw_is_up, hw_bring_up, and hw_take_down
3194                 - Rename bring_down -> take_down
3195                 - (real_hw_is_up): check interface flags for IFF_UP
3196                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3197                 - (nm_device_is_up): make static; only used locally
3198                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3199                         if the device is already up; if the device isn't up, bring it up
3200                 - (nm_device_hw_take_down): just take down hardware
3201                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3202                 - (nm_device_take_down): always deactivate device when called; always
3203                         try to take hardware down too
3204                 - (nm_device_state_changed): take device down when entering unmanaged
3205                         state from a higher state
3206
3207         * src/nm-device-802-11-wireless.c
3208                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3209                         check IFF_UP really
3210                 - (real_take_down, supplicant_iface_state_cb_handler, 
3211                    supplicant_iface_connection_state_cb_handler,
3212                    supplicant_mgr_state_cb_handler): fix some messages
3213
3214         * src/nm-device-802-3-ethernet.c
3215                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3216                         check IFF_UP really
3217
3218 2008-04-28  Dan Williams  <dcbw@redhat.com>
3219
3220         * src/nm-manager.c
3221           src/nm-manager.h
3222                 - (nm_manager_error_get_type): add new error
3223                 - (nm_manager_remove_device): don't bother taking down the device here,
3224                         the state change from unmanaging the device will do it
3225                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3226                         uses it; when going to sleep, just unmanage the device instead of
3227                         taking it down, because stuff will cleaned up correctly when the
3228                         device gets unmanaged
3229
3230 2008-04-28  Dan Williams  <dcbw@redhat.com>
3231
3232         * src/nm-hal-manager.c
3233                 - (add_initial_devices): convert to a GSourceFunc prototype
3234                 - (nm_manager_state_changed): when coming out of sleep, punt the
3235                         device re-addition to an idle handler to let D-Bus events go out
3236                         first, fixing a potential dbus-glib assert if the old device was
3237                         not yet disposed (due to references held while emitting the D-Bus
3238                         signals) but the new device was found, because the mainloop didn't
3239                         run between signal emission and add_initial_devices()
3240
3241 2008-04-27  Dan Williams  <dcbw@redhat.com>
3242
3243         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3244
3245         * initscript/paldo/NetworkManager.in
3246           initscript/SUSE/networkmanager.in
3247                 - Remove last bits of dhcdbd
3248
3249 2008-04-27  Dan Williams  <dcbw@redhat.com>
3250
3251         * src/nm-device-802-11-wireless.c
3252                 - (link_timeout_cb): don't ask for secrets when disconnected during
3253                         association/authentication phase, drivers are still just too crappy
3254
3255 2008-04-27  Dan Williams  <dcbw@redhat.com>
3256
3257         * Makefile.am
3258           configure.in
3259           dispatcher-daemon/Makefile.am
3260           dispatcher-daemon/NetworkManagerDispatcher.c
3261           initscript/Arch/Makefile.am
3262           initscript/Arch/networkmanager-dispatcher.in
3263           initscript/Gentoo/Makefile.am
3264           initscript/Gentoo/NetworkManagerDispatcher.in
3265           initscript/Mandriva/Makefile.am
3266           initscript/Mandriva/networkmanagerdispatcher.in
3267           initscript/RedHat/Makefile.am
3268           initscript/RedHat/NetworkManagerDispatcher.in
3269           initscript/SUSE/Makefile.am
3270           initscript/SUSE/networkmanager-dispatcher.in
3271           initscript/Slackware/Makefile.am
3272           initscript/Slackware/rc.networkmanager-dispatcher.in
3273           initscript/paldo/Makefile.am
3274           initscript/paldo/NetworkManagerDispatcher.in
3275           man/Makefile.am
3276           man/NetworkManagerDispatcher.8.in
3277                 - Remove the dispatcher daemon
3278
3279 2008-04-27  Dan Williams  <dcbw@redhat.com>
3280
3281         * callouts/Makefile.am
3282           callouts/nm-dispatcher-action.c
3283           callouts/nm-dispatcher-action.h
3284           callouts/nm-dispatcher.conf
3285           callouts/nm-dispatcher.xml
3286           callouts/org.freedesktop.nm_dispatcher.service
3287                 - Re-implement the dispatcher as a system-bus activated service that
3288                         NM calls on-demand, rather than an always running daemon
3289
3290         * src/Makefile.am
3291                 - Add callouts dir to includes to pick up dispatcher defines
3292
3293         * src/nm-device.c
3294                 - (nm_device_state_changed): call dispatcher on device activated/
3295                         deactivated
3296
3297         * src/vpn-manager/nm-vpn-connection.c
3298                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3299                         go up and down
3300
3301         * src/NetworkManagerUtils.c
3302           src/NetworkManagerUtils.h
3303                 - (nm_utils_call_dispatcher): helper to call dispatcher
3304
3305 2008-04-27  Dan Williams  <dcbw@redhat.com>
3306
3307         * src/NetworkManagerUtils.c
3308           src/NetworkManagerUtils.h
3309                 - remove unneeded includes
3310                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3311                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3312                    nm_timeval_cmp, nm_timeval_add): remove, unused
3313                 - clean up formatting
3314                 - (nm_spawn_process): de-uglify
3315
3316         * src/nm-device-802-11-wireless.c
3317                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3318
3319 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3320
3321         * initscript/Gentoo/NetworkManager.in:
3322                 Fix for starting the daemon.
3323
3324 2008-04-25  Dan Williams  <dcbw@redhat.com>
3325
3326         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3327
3328         * src/NetworkManagerSystem.c
3329                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3330
3331 2008-04-25  Dan Williams  <dcbw@redhat.com>
3332
3333         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3334
3335         * src/NetworkManagerSystem.c
3336                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3337                         implementation of nm_system_device_replace_default_route()
3338
3339         * src/NetworkManagerPolicy.c
3340                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3341
3342         * src/backends/NetworkManagerArch.c
3343           src/backends/NetworkManagerDebian.c
3344           src/backends/NetworkManagerFrugalware.c
3345           src/backends/NetworkManagerGeneric.c
3346           src/backends/NetworkManagerGeneric.h
3347           src/backends/NetworkManagerGentoo.c
3348           src/backends/NetworkManagerMandriva.c
3349           src/backends/NetworkManagerPaldo.c
3350           src/backends/NetworkManagerRedHat.c
3351           src/backends/NetworkManagerSlackware.c
3352           src/backends/NetworkManagerSuSE.c
3353                 - (nm_system_device_replace_default_route): remove
3354
3355 2008-04-25  Dan Williams  <dcbw@redhat.com>
3356
3357         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3358
3359         * src/NetworkManagerSystem.c
3360                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3361                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3362                         replace nm_system_device_add_route_via_device_with_iface() in the
3363                         backends
3364
3365         * src/backends/NetworkManagerArch.c
3366           src/backends/NetworkManagerDebian.c
3367           src/backends/NetworkManagerFrugalware.c
3368           src/backends/NetworkManagerGeneric.c
3369           src/backends/NetworkManagerGeneric.h
3370           src/backends/NetworkManagerGentoo.c
3371           src/backends/NetworkManagerMandriva.c
3372           src/backends/NetworkManagerPaldo.c
3373           src/backends/NetworkManagerRedHat.c
3374           src/backends/NetworkManagerSlackware.c
3375           src/backends/NetworkManagerSuSE.c
3376                 - Remove nm_system_device_add_route_via_device_with_iface()
3377
3378 2008-04-25  Dan Williams  <dcbw@redhat.com>
3379
3380         * system-settings/plugins/ifcfg-fedora/parser.c
3381                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3382
3383 2008-04-24  Dan Williams  <dcbw@redhat.com>
3384
3385         * dispatcher-daemon/NetworkManagerDispatcher.c
3386                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3387
3388 2008-04-24  Dan Williams  <dcbw@redhat.com>
3389
3390         * initscript/RedHat/NetworkManager.in
3391           initscript/RedHat/NetworkManagerDispatcher.in
3392                 - Be active at runlevel 2
3393                 - Adjust priorities earlier
3394
3395 2008-04-22  Dan Williams  <dcbw@redhat.com>
3396
3397         * src/NetworkManagerPolicy.c
3398                 - (update_routing_and_dns): when checking for a gateway, look at the
3399                         composite IP4 config, not the connection's ip4-config setting, which
3400                         doesn't include DHCP-returned information
3401
3402 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3403
3404         Implement GKeyFile system settings plugin.
3405         Implement writing system settings (currently supported only by GKeyFile plugin).
3406
3407         * system-settings/src/main.c: 
3408         * system-settings/src/dbus-settings.c: Move the communication with plugins
3409         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3410         plugins for adding/updating/removing connections.
3411
3412         * system-settings/src/nm-system-config-interface.c
3413         (nm_system_config_interface_add_connection): Implement
3414         (nm_system_config_interface_update_connection): Implement.
3415         (nm_system_config_interface_remove_connection): Implement.
3416
3417         * system-settings/plugins/keyfile/Makefile.am:
3418         * system-settings/plugins/keyfile/plugin.[ch]:
3419         * system-settings/plugins/keyfile/writer.[ch]:
3420         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3421
3422         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3423
3424         * configure.in: Generate GKeyFile Makefile.
3425
3426         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3427         corruption, need to duplicate the returned string.
3428         (impl_exported_connection_update): Implement.
3429         (impl_exported_connection_delete): Implement.
3430
3431         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3432
3433         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3434
3435 2008-04-22  Dan Williams  <dcbw@redhat.com>
3436
3437         Patch from Charles R. Anderson (cra@wpi.edu)
3438
3439         * src/NetworkManagerPolicy.c
3440                 - (update_routing_and_dns): don't select devices without a gateway
3441                         as having the default route (rh #437338)
3442
3443 2008-04-21  Dan Williams  <dcbw@redhat.com>
3444
3445         * src/nm-activation-request.c
3446           src/nm-activation-request.h
3447                 - (dispose): ensure to disconnect from the device's state-changed signal
3448                         when appropriate so the signal doesn't get handled by an already
3449                         disposed NMActRequest
3450                 - (device_state_changed): update is_default here too just to make sure
3451                         default is only True when the child device is activated
3452                 - (nm_act_request_set_default): new function
3453
3454         * src/NetworkManagerPolicy.c
3455                 - (update_routing_and_dns): set 'default' on the active connection which
3456                         has the default route and DNS
3457
3458 2008-04-21  Dan Williams  <dcbw@redhat.com>
3459
3460         * src/NetworkManagerPolicy.c
3461                 - (device_state_changed): update routing and DNS when a device goes
3462                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3463
3464 2008-04-21  Dan Williams  <dcbw@redhat.com>
3465
3466         * include/NetworkManager.h
3467                 - Add NMActiveConnectionState enum
3468
3469         * introspection/nm-active-connection.xml
3470           introspection/nm-vpn-connection.xml
3471                 - Add 'State' property for overall active connection state
3472                 - Add 'Default' property, when True means this active connection
3473                         has the default route
3474                 - Add PropertyChanged signals so changes actually go out over the bus
3475
3476         * src/nm-active-connection.h
3477                 - Add defines for State & Default properties
3478
3479         * src/nm-activation-request.c
3480                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3481                         signal to determine active connection state
3482
3483         * src/vpn-manager/nm-vpn-connection.c
3484           src/vpn-manager/nm-vpn-connection.h
3485           src/vpn-manager/nm-vpn-manager.c
3486           src/vpn-manager/nm-vpn-service.c
3487                 - Rename old 'state' to 'vpn-state'
3488                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3489                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3490                         'vpn-state-changed' signal
3491
3492         * libnm-glib/nm-active-connection.c
3493           libnm-glib/nm-active-connection.h
3494                 - Add new 'state' and 'default' properties and accessors
3495
3496         * libnm-glib/nm-vpn-connection.c
3497           libnm-glib/nm-vpn-connection.h
3498                 - Rename old 'state' property to 'vpn-state'
3499                 - Add new 'state' and 'default' properties and accessors
3500
3501 2008-04-21  Dan Williams  <dcbw@redhat.com>
3502
3503         * src/nm-ip4-config.c
3504                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3505                         not specified (rh #443474)
3506
3507 2008-04-20  Dan Williams  <dcbw@redhat.com>
3508
3509         * src/NetworkManagerUtils.c
3510           src/NetworkManagerUtils.h
3511                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3512                         NMSettingIP4Config to an NMIP4Config object
3513
3514         * src/nm-device.c
3515                 - (merge_ip4_config): move to NetworkManagerUtils.c
3516
3517         * src/vpn-manager/nm-vpn-connection.c
3518                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3519                         too
3520
3521 2008-04-18  Dan Williams  <dcbw@redhat.com>
3522
3523         * libnm-util/nm-setting-ppp.c
3524           libnm-util/nm-setting-ppp.h
3525                 - Add 'no-vj-comp' option for TCP header compression
3526                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3527                         uint32
3528
3529 2008-04-18  Dan Williams  <dcbw@redhat.com>
3530
3531         * libnm-util/nm-setting-ppp.c
3532           libnm-util/nm-setting-ppp.h
3533           src/ppp-manager/nm-ppp-manager.c
3534                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3535
3536 2008-04-18  Dan Williams  <dcbw@redhat.com>
3537
3538         * libnm-util/nm-setting-ppp.c
3539           libnm-util/nm-setting-ppp.h
3540           src/ppp-manager/nm-ppp-manager.c
3541                 - Remove the 'usepeerdns' option and always request DNS servers from
3542                         the PPP server; the connection chooses to use/override/ignore the
3543                         DNS servers returned from the PPP server
3544
3545 2008-04-18  Dan Williams  <dcbw@redhat.com>
3546
3547         * libnm-util/nm-setting-ppp.c
3548           libnm-util/nm-setting-ppp.h
3549           src/ppp-manager/nm-ppp-manager.c
3550                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3551                         it seems to have been an erroneous addition to the PPTP plugin in
3552                         the first place (from which the ppp-manager is derived)
3553
3554 2008-04-17  Dan Williams  <dcbw@redhat.com>
3555
3556         * libnm-util/nm-setting-pppoe.c
3557                 - (verify): require a PPP setting too
3558
3559         * src/ppp-manager/nm-ppp-manager.c
3560                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3561                         segfaulting
3562
3563 2008-04-17  Dan Williams  <dcbw@redhat.com>
3564
3565         * src/nm-device.c
3566                 - (nm_device_state_changed): do deactivation and and promotion to
3567                         unavailable here, so that the device gets cleaned up before the
3568                         manager runs and starts emitting signals; do the
3569                         FAILED->DISCONNECTED transition from an idle handler rather than
3570                         immediately to guard against recursion
3571                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3572                         FAILED->DISCONNECTED handler if it's scheduled
3573
3574 2008-04-17  Dan Williams  <dcbw@redhat.com>
3575
3576         * src/nm-device-802-11-wireless.c
3577                 - (state_changed_cb): clear AP list when device transitions to
3578                         unavailable or unmanaged
3579                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3580                         since this is already done in device_cleanup()
3581                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3582                         isn't available or managed
3583                 - (device_cleanup): use remove_all_aps()
3584                 - (remove_all_aps): consolidate code removing all APs
3585
3586 2008-04-17  Dan Williams  <dcbw@redhat.com>
3587
3588         * src/nm-serial-device.c
3589           src/nm-serial-device.h
3590                 - (wait_for_reply_got_data): break input into lines, and search each
3591                         line for responses _and_ terminator strings; also make sure that
3592                         the read loop doesn't continue after the timeout is supposed to fire
3593                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3594
3595         * src/nm-gsm-device.c
3596           src/nm-cdma-device.c
3597                 - Send terminators to nm_serial_device_wait_for_reply()
3598
3599 2008-04-16  Dan Williams  <dcbw@redhat.com>
3600
3601         Patch from 陈鑫 <znscnchen@gmail.com>
3602
3603         * src/ppp-manager/nm-pppd-plugin.c
3604                 - (get_credentials): return correct value for success; handle case where
3605                         pppd just does some checking but doesn't want a password
3606                 - (plugin_init): make CHAP work too
3607
3608 2008-04-16  Dan Williams  <dcbw@redhat.com>
3609
3610         Patch from 陈鑫 <znscnchen@gmail.com>
3611
3612         * src/ppp-manager/nm-ppp-manager.c
3613                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3614
3615 2008-04-16  Dan Williams  <dcbw@redhat.com>
3616
3617         Patch from 陈鑫 <znscnchen@gmail.com>
3618
3619         * src/nm-device-802-3-ethernet.c
3620                 - (real_deactivate_quickly): clear the IP interface name on
3621                         deactivation, otherwise the wrong interface might get used later
3622                         for routing and IP management
3623
3624 2008-04-15  Dan Williams  <dcbw@redhat.com>
3625
3626         * libnm-glib/nm-device.c
3627                 - (get_product_and_vendor): handle serial devices correctly
3628                 - (nm_device_update_description): pass device to get_product_and_vendor()
3629
3630 2008-04-15  Dan Williams  <dcbw@redhat.com>
3631
3632         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3633
3634         * src/NetworkManagerSystem.h
3635           src/backends/NetworkManagerArch.c
3636           src/backends/NetworkManagerDebian.c
3637           src/backends/NetworkManagerFrugalware.c
3638           src/backends/NetworkManagerGeneric.c
3639           src/backends/NetworkManagerGeneric.h
3640           src/backends/NetworkManagerGentoo.c
3641           src/backends/NetworkManagerMandriva.c
3642           src/backends/NetworkManagerPaldo.c
3643           src/backends/NetworkManagerRedHat.c
3644           src/backends/NetworkManagerSlackware.c
3645           src/backends/NetworkManagerSuSE.c
3646           src/nm-device.c
3647                 - (nm_generic_device_add_ip6_link_address,
3648                    nm_system_device_add_ip6_link_address): remove
3649
3650 2008-04-15  Dan Williams  <dcbw@redhat.com>
3651
3652         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3653
3654         * src/backends/NetworkManagerArch.c
3655           src/backends/NetworkManagerDebian.c
3656           src/backends/NetworkManagerFrugalware.c
3657           src/backends/NetworkManagerGeneric.c
3658           src/backends/NetworkManagerGeneric.h
3659           src/backends/NetworkManagerGentoo.c
3660           src/backends/NetworkManagerMandriva.c
3661           src/backends/NetworkManagerPaldo.c
3662           src/backends/NetworkManagerRedHat.c
3663           src/backends/NetworkManagerSlackware.c
3664           src/backends/NetworkManagerSuSE.c
3665           src/NetworkManagerSystem.h
3666                 - flush_routes -> flush_ip4_routes
3667                 - flush_addresses -> flush_ip4_addresses
3668
3669         * src/NetworkManagerSystem.c
3670           src/nm-device.c
3671           src/vpn-manager/nm-vpn-connection.c
3672                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3673
3674 2008-04-15  Dan Williams  <dcbw@redhat.com>
3675
3676         Remove exposure of wireless-tools mode types in the API.
3677
3678         * include/NetworkManager.h
3679                 - Define NM80211Mode enum
3680
3681         * introspection/generic-types.xml
3682                 - Describe NM_802_11_MODE enum
3683                 - Remove IW_MODE_* enum
3684
3685         * introspection/nm-access-point.xml
3686           libnm-glib/nm-access-point.c
3687           libnm-glib/nm-access-point.h
3688                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3689
3690         * introspection/nm-device-802-11-wireless.xml
3691           libnm-glib/nm-device-802-11-wireless.c
3692           libnm-glib/nm-device-802-11-wireless.h
3693                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3694
3695         * libnm-util/nm-setting-wireless.c
3696           src/NetworkManagerAP.c
3697           src/NetworkManagerAP.h
3698           src/nm-device-802-11-wireless.c
3699           src/nm-device-802-11-wireless.h
3700           test/nm-tool.c
3701                 - Use NM80211Mode not IW_MODE_*
3702
3703 2008-04-15  Dan Williams  <dcbw@redhat.com>
3704
3705         Enhance nm-online based on a patch from Bill Nottingham.
3706
3707         * test/nm-online.c
3708                 - Add a '-q' option
3709                 - Add help messages and option summary
3710                 - Add long-format options
3711                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3712
3713 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3714
3715         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3716
3717         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3718
3719 2008-04-15  Dan Williams  <dcbw@redhat.com>
3720
3721         * nm-setting-ip4-config.c
3722                 - (ip4_addresses_from_gvalue): handle NULL address array
3723
3724         * nm-setting-8021x.c
3725                 - (verify_tls, verify_ttls): warn on failed verification
3726
3727 2008-04-10  Dan Williams  <dcbw@redhat.com>
3728
3729         * src/nm-gsm-device.c
3730                 - (automatic_registration): accept "+CREG: 0,0"
3731                 - (automatic_registration_response): fail on "+CREG: 0,0"
3732
3733 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3734
3735         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3736
3737 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3738
3739         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3740         Make it compile again by commenting out broken code that at first didn't work and
3741         now didn't compile either.
3742
3743 2008-04-08  Dan Williams  <dcbw@redhat.com>
3744
3745         * libnm-glib/nm-object-cache.c
3746           libnm-glib/nm-settings.c
3747           src/dhcp-manager/nm-dhcp-manager.c
3748           system-settings/plugins/ifcfg-fedora/plugin.c
3749           system-settings/plugins/ifcfg-suse/plugin.c
3750           system-settings/src/nm-system-config-hal-manager.c
3751           libnm-util/nm-utils.c
3752                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3753                         not threadsafe anyway
3754
3755 2008-04-08  Dan Williams  <dcbw@redhat.com>
3756
3757         * system-settings/src/main.c
3758                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3759                         callbacks take a device type too
3760
3761 2008-04-08  Dan Williams  <dcbw@redhat.com>
3762
3763         The system settings service will now create a new default DHCP connection
3764         for wired devices that have no existing applicable connection.
3765
3766         * system-settings/src/nm-system-config-hal-manager.c
3767           system-settings/src/nm-system-config-hal-manager.h
3768                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3769
3770         * system-settings/src/dbus-settings.c
3771           system-settings/src/dbus-settings.h
3772                 - (nm_sysconfig_settings_get_connections): new function
3773                 - (nm_sysconfig_settings_is_device_managed): new function
3774
3775         * system-settings/src/main.c
3776                 - (load_stuff): check for wired devices that need a default connection
3777                 - (get_details_for_udi): get interface and MAC address from HAL
3778                 - (add_default_dhcp_connection): add a default connection for a wired
3779                         device if needed
3780                 - (device_added_cb, device_removed_cb): do the right thing with
3781                         wired devices and their default connections on HAL device events
3782
3783 2008-04-07  Dan Williams  <dcbw@redhat.com>
3784
3785         * libnm-glib/nm-device.c
3786           libnm-glib/nm-device.h
3787                 - Proxy the 'managed' property
3788
3789 2008-04-07  Dan Williams  <dcbw@redhat.com>
3790
3791         * src/nm-gsm-device.c
3792           src/nm-cdma-device.c
3793                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3794                         handler to transition to DISCONNECTED
3795
3796 2008-04-07  Dan Williams  <dcbw@redhat.com>
3797
3798         Patch from Bill Nottingham
3799
3800         * dispatcher-daemon/NetworkManagerDispatcher.c
3801                 - ignore backup/packaging crufy (rh #440143)
3802
3803 2008-04-07  Dan Williams  <dcbw@redhat.com>
3804
3805         * include/NetworkManager.h
3806                 - Remove the DOWN and CANCELLED device states
3807                 - Add UNMANAGED and UNAVAILABLE device states
3808                 - Document the device states
3809
3810         * introspection/nm-device.xml
3811           src/nm-device-interface.c
3812           src/nm-device-interface.h
3813                 - Add the 'managed' property
3814
3815         * test/nm-tool.c
3816                 - (detail_device): print out device state
3817
3818         * src/NetworkManagerSystem.h
3819           src/backends/NetworkManagerArch.c
3820           src/backends/NetworkManagerDebian.c
3821           src/backends/NetworkManagerFrugalware.c
3822           src/backends/NetworkManagerGentoo.c
3823           src/backends/NetworkManagerMandriva.c
3824           src/backends/NetworkManagerPaldo.c
3825           src/backends/NetworkManagerRedHat.c
3826           src/backends/NetworkManagerSlackware.c
3827           src/backends/NetworkManagerSuSE.c
3828                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3829                    nm_system_device_free_system_config): remove; they were unused and
3830                         their functionality should be re-implemented in each distro's
3831                         system settings service plugin 
3832
3833         * src/nm-gsm-device.c
3834           src/nm-gsm-device.h
3835           src/nm-cdma-device.c
3836           src/nm-cdma-device.h
3837                 - (*_new): take the 'managed' argument
3838
3839         * src/nm-device.c
3840                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3841                 - (nm_device_init): start in unmanaged state, not disconnected
3842                 - (constructor): don't start device until the system settings service
3843                         has had a chance to figure out if the device is managed or not
3844                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3845                         don't set device state here, let callers handle that as appropriate
3846                 - (nm_device_dispose): don't touch the device if it's not managed
3847                 - (set_property, get_property, nm_device_class_init): implement the
3848                         'managed' property
3849                 - (nm_device_state_changed): bring the device up if its now managed,
3850                         and deactivate it if it used to be active
3851                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3852                         with the managed state
3853
3854         * src/nm-hal-manager.c
3855                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3856                         take initial managed state and pass it along to device constructors
3857                 - (create_device_and_add_to_list): get managed state and pass to
3858                         type creators
3859
3860         * src/nm-device-802-11-wireless.c
3861                 - (real_can_activate): fold in most of
3862                         nm_device_802_11_wireless_can_activate()
3863                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3864                 - (link_timeout_cb): instead of deactivating, change device state and
3865                         let the device state handler to it
3866                 - (real_update_hw_address): clean up
3867                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3868                         handler to transition to DISCONNECTED if the device isn't rfkilled
3869
3870         * src/nm-device-802-3-ethernet.c
3871                 - (set_carrier): move above callers and get rid of prototype
3872                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3873                         idle handler to transition to DISCONNECTED if the device has a
3874                         carrier
3875                 - (real_update_hw_address): clean up
3876                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3877                         deactivation directly as deactivation doesn't change state anymore
3878
3879         * src/NetworkManagerPolicy.c
3880                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3881                         the NMManager and wireless devices work that out themselves now
3882                 - (device_state_changed): change to a switch and update for new device
3883                         states
3884                 - (device_carrier_changed): remove; device handles this now through
3885                         state changes
3886                 - (device_added): don't care about carrier any more; the initial
3887                         activation check will happen when the device transitions to
3888                         DISCONNECTED
3889
3890         * src/nm-manager.c
3891                 - (dispose): clear unmanaged devices
3892                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3893                         the managed property on each device when needed
3894                 - (system_settings_properties_changed_cb): handle signals from the
3895                         system settings service
3896                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3897                         getting the unmanaged device list method call
3898                 - (query_unmanaged_devices): ask the system settings service for its
3899                         list of unmanaged devices
3900                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3901                         devices
3902                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3903                         devices directly and let them handle the necessary state transitions
3904                 - (manager_device_state_changed): update for new device states
3905                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3906                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3907                 - (nm_manager_activate_connection): return error if the device is
3908                         unmanaged
3909                 - (nm_manager_sleep): handle new device states correctly; don't change
3910                         the state of unavailable/unmanaged devices
3911
3912         * libnm-glib/nm-device-802-11-wireless.c
3913                 - (state_changed_cb): update for new device states
3914
3915 2008-04-07  Dan Williams  <dcbw@redhat.com>
3916
3917         * marshallers/nm-marshal.list
3918                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3919
3920 2008-04-07  Dan Williams  <dcbw@redhat.com>
3921
3922         * system-settings/src/main.c
3923                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3924                         plugins to the dbus settings object
3925                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3926                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3927                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3928                 - (main): switch default logging to syslog with a 'debug' option to
3929                         output to console; start up the HAL manager
3930
3931 2008-04-07  Dan Williams  <dcbw@redhat.com>
3932
3933         * introspection/nm-settings-system.xml
3934           introspection/Makefile.am
3935                 - Define the unmanaged devices interface for the system settings service
3936
3937         * system-settings/src/nm-system-config-hal-manager.c
3938           system-settings/src/nm-system-config-hal-manager.h
3939           system-settings/src/nm-system-config-hal-manager-private.h
3940           system-settings/src/Makefile.am
3941                 - Add a lightweight HAL manager object for tracking network devices for
3942                         the purpose of determining unmanaged devices and which devices need
3943                         the default DHCP connections
3944
3945         * system-settings/src/nm-system-config-interface.c
3946           system-settings/src/nm-system-config-interface.h
3947                 - (nm_system_config_interface_init): add the HAL manager as an argument
3948                 - (nm_system_config_interface_get_unmanaged_devices): implement
3949                 - Define 'unmanaged-devices-changed' signal
3950
3951         * system-settings/src/dbus-settings.c
3952           system-settings/src/dbus-settings.h
3953                 - Implement the unmanaged devices interface; some cleanups
3954
3955         * system-settings/plugins/ifcfg-suse/plugin.c
3956                 - Fixup for plugin interface changes
3957
3958         * system-settings/plugins/ifcfg-fedora/plugin.c
3959                 - (get_ether_device_udi): new function; find the device that has
3960                         a specified MAC address and return its UDI
3961                 - (get_udi_for_connection): new function; try to find the specific
3962                         device a connection is locked to, if any
3963                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3964                         response to HAL events
3965                 - (get_unmanaged_devices): new function; return unmanaged device list
3966                 - (build_one_connection): set the connection's locked device, if any
3967                 - (write_auto_wired_connection): remove
3968                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3969                 - (handle_connection_changed): alert listeners that the unmanaged device
3970                         list has changed
3971                 - (init): fixup for plugin interface changes, implement unmanaged devices
3972
3973         * system-settings/plugins/ifcfg-fedora/parser.c
3974           system-settings/plugins/ifcfg-fedora/parser.h
3975                 - (connection_data_free): clean up connection UDI
3976
3977 2008-04-07  Dan Williams  <dcbw@redhat.com>
3978
3979         * system-settings/plugins/ifcfg-fedora/parser.c
3980                 - (make_ip4_setting): fix parsing of DNS servers
3981
3982 2008-04-05  Dan Williams  <dcbw@redhat.com>
3983
3984         * Makefile.am
3985           configure.in
3986           marshallers/Makefile.am
3987           marshallers/nm-marshal-main.c
3988           marshallers/nm-marshal.list
3989                 - Consolidate marshallers
3990
3991         * libnm-glib/nm-marshal-main.c
3992           libnm-glib/nm-marshal.list
3993           src/marshallers/Makefile.am
3994           src/marshallers/nm-marshal-main.c
3995           src/marshallers/nm-marshal.list
3996                 - Remove
3997
3998         * libnm-glib/Makefile.am
3999           src/Makefile.am
4000           src/dhcp-manager/Makefile.am
4001           src/ppp-manager/Makefile.am
4002           src/supplicant-manager/Makefile.am
4003           src/vpn-manager/Makefile.am
4004                 - Use consolidated marshallers
4005
4006 2008-04-04  Dan Williams  <dcbw@redhat.com>
4007
4008         * src/nm-hal-manager.c
4009           src/nm-hal-manager.h
4010                 - (hal_init): don't look for hardware here
4011                 - (nm_hal_manager_start): new function; look for hardware here instead,
4012                         which can be done at a later time than hal_init()
4013
4014         * src/NetworkManager.c
4015                 - (main): start HAL manager after entering the main loop
4016
4017 2008-04-03  Dan Williams  <dcbw@redhat.com>
4018
4019         * libnm-glib/nm-settings.c
4020           libnm-glib/nm-settings.h
4021             - (nm_exported_connection_get_id): new function
4022                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4023
4024 2008-04-02  Dan Williams  <dcbw@redhat.com>
4025
4026         * src/nm-device-interface.c
4027           src/nm-device-interface.h
4028           src/nm-device.c
4029           src/nm-device.h
4030                 - Rename check_connection_conflicts() to check_connection_compatible()
4031
4032         * src/nm-device-802-11-wireless.c
4033                 - (real_check_connection_conflicts): remove
4034                 - (real_check_connection_compatible): implement; match MAC address
4035
4036         * src/nm-device-802-3-ethernet.c
4037                 - (real_check_connection_conflicts): remove
4038                 - (real_check_connection_compatible): implement; match MAC address
4039                 - (real_get_best_auto_connection): correctly handle PPPoE cases
4040
4041         * src/nm-manager.c
4042                 - (check_connection_allowed): remove; unused until PolicyKit integration
4043                 - (internal_activate_device): check whether the connection is compatible
4044                         with the device before trying to activate it
4045
4046 2008-04-02  Dan Williams  <dcbw@redhat.com>
4047
4048         * system-settings/plugins/ifcfg-fedora/parser.c
4049                 - (read_mac_address): new function; read in MAC address and stuff it
4050                         into the connection
4051                 - (add_one_wep_key): remove debug spew
4052                 - (make_wireless_security_setting): validate the default TX key; don't
4053                         add the wireless-security setting if the connection doesn't need
4054                         security; don't leak the keys shvarFile on error cases
4055                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4056                         address
4057
4058 2008-04-02  Dan Williams  <dcbw@redhat.com>
4059
4060         * libnm-util/nm-setting-connection.c
4061           libnm-util/nm-setting-connection.h
4062                 - (set_property, get_property, nm_setting_connection_class_init): remove
4063                         the 'lockdown' property; it's functionality will be replaced by
4064                         PolicyKit instead
4065
4066 2008-04-01  Dan Williams  <dcbw@redhat.com>
4067
4068         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4069
4070         * configure.in
4071           initscript/Makefile.am
4072           initscript/Mandriva/Makefile.am
4073           initscript/Mandriva/networkmanager.in
4074           initscript/Mandriva/networkmanagerdispatcher.in
4075           src/backends/Makefile.am
4076           src/backends/NetworkManagerMandriva.c
4077           system-settings/plugins/Makefile.am
4078                 - Add Mandriva support
4079
4080 2008-03-31  Dan Williams  <dcbw@redhat.com>
4081
4082         * src/vpn-manager/nm-vpn-service.c
4083                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4084                         errors can be passed back to the caller; also no longer scheduled
4085                         as an idle handler, but called directly; and bump up VPN service
4086                         spawn timeout, 2s is really short
4087                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4088                         but call it directly so that errors are reported on return from
4089                         ActivateConnection() and don't get lost.  If scheduled as an idle
4090                         handler, clients don't have the time to query NM for the new VPN
4091                         connection's properties before the VPN connection is torn down again
4092                         if the service couldn't be launched, and therefore launch errors
4093                         get lost.
4094
4095 2008-03-31  Dan Williams  <dcbw@redhat.com>
4096
4097         * src/vpn-manager/nm-vpn-connection.c
4098                 - (device_state_changed): send correct state on device failure too
4099                 - (plugin_state_changed): failed state means unexpected disconnection,
4100                         thus if the service goes away while the VPN connection is activated
4101                         that's a failure too
4102
4103 2008-03-31  Dan Williams  <dcbw@redhat.com>
4104
4105         * src/vpn-manager/nm-vpn-manager.c
4106           src/vpn-manager/nm-vpn-manager.h
4107                 - Make VPNManager errors more available; add a service-start-failed error
4108
4109 2008-03-31  Dan Williams  <dcbw@redhat.com>
4110
4111         * libnm-glib/nm-client.c
4112           libnm-glib/nm-client.h
4113                 - (activate_cb): pass the new active connection to callback; fix
4114                         message when no callback is specified
4115
4116 2008-03-30  Dan Williams  <dcbw@redhat.com>
4117
4118         * libnm-util/nm-setting-wireless-security.c
4119                 - (need_secrets): only require key0 if the transmit key index is also
4120                         0
4121                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4122
4123 2008-03-29  Dan Williams  <dcbw@redhat.com>
4124
4125         * libnm-util/nm-setting-8021x.c
4126           libnm-util/nm-setting-ip4-config.c
4127           libnm-util/nm-setting-vpn-properties.c
4128           libnm-util/nm-setting-vpn.c
4129           libnm-util/nm-setting-wireless-security.c
4130           libnm-util/nm-setting-wireless.c
4131           libnm-util/nm-utils.c
4132           src/dhcp-manager/nm-dhcp-manager.c
4133           src/nm-activation-request.c
4134           src/nm-ip4-config.c
4135           src/nm-manager.c
4136           src/nm-properties-changed-signal.c
4137           src/ppp-manager/nm-pppd-plugin.c
4138           src/supplicant-manager/nm-supplicant-interface.c
4139           src/vpn-manager/nm-vpn-connection.c
4140                 - consistently use nm-dbus-glib-types.h
4141
4142 2008-03-29  Dan Williams  <dcbw@redhat.com>
4143
4144         * src/vpn-manager/nm-vpn-connection.c
4145                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4146                         not string
4147
4148         * src/nm-activation-request.c
4149                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4150                         not string
4151
4152 2008-03-29  Dan Williams  <dcbw@redhat.com>
4153
4154         * libnm-glib/nm-device-802-11-wireless.c
4155                 - (access_point_added_proxy): create new APs if not found
4156
4157 2008-03-29  Dan Williams  <dcbw@redhat.com>
4158
4159         * libnm-glib/nm-client.c
4160                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4161                         before freeing them
4162
4163 2008-03-29  Dan Williams  <dcbw@redhat.com>
4164
4165         * system-settings/plugins/ifcfg-fedora/parser.c
4166                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4167                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4168
4169 2008-03-29  Dan Williams  <dcbw@redhat.com>
4170
4171         * system-settings/plugins/ifcfg-fedora/parser.c
4172                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4173
4174 2008-03-27  Dan Williams  <dcbw@redhat.com>
4175
4176         * nm-object.c
4177                 - (nm_object_queue_notify): don't notify multiple times for the same
4178                         property
4179
4180         * nm-object-private.h
4181                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4182                         if it has zero elements
4183
4184         * nm-ip4-config.c
4185                 - (finalize): use g_ptr_array_foreach() when freeing domains
4186                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4187
4188         * nm-active-connection.c
4189                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4190
4191         * nm-device-802-11-wireless.c
4192           nm-device-802-11-wireless.h
4193                 - (nm_device_802_11_wireless_get_access_points): return const; use
4194                         handle_ptr_array_return()
4195
4196         * nm-types.c
4197                 - (nm_object_array_demarshal): always create an array, even of length
4198                         zero, to distinguish between "NM returned no items" and "haven't
4199                         asked NM yet"
4200
4201         * nm-client.c
4202                 - (dispose): free active connections too
4203                 - (proxy_name_owner_changed): free active connections too when NM goes
4204                         away
4205                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4206                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4207
4208 2008-03-26  Dan Williams  <dcbw@redhat.com>
4209
4210         Rework VPN connection handling for a more consistent D-Bus API.  The
4211         VPNManager object has been removed, and active VPN connections are now the
4212         same as any other active connection.  The Manager object's ActivateConnection
4213         and DeactivateConnection methods are used to start and stop a VPN connection,
4214         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4215         When activating a VPN connection, pass the path of the active connection
4216         to which the VPN connection is tied in the 'specific_object' argument.
4217
4218         Consequently, the libnm-glib API has been reworked to match this arrangement,
4219         with the VPNManager object removed, and the NMVPNConnection objects now
4220         being subclasses of NMActiveConnection.
4221
4222 2008-03-25  Dan Williams  <dcbw@redhat.com>
4223
4224         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4225
4226         * initscript/Arch/networkmanager.in
4227           initscript/Arch/networkmanager-dispatcher.in
4228                 - Updates for Arch Linux (gnome.org #523701)
4229
4230 2008-03-25  Dan Williams  <dcbw@redhat.com>
4231
4232         * libnm-glib/nm-ip4-config.c
4233           libnm-glib/nm-active-connection.c
4234           libnm-glib/nm-access-point.c
4235                 - Use nm_object_queue_notify() instead of g_object_notify()
4236
4237         * libnm-glib/nm-device.c
4238                 - (demarshal_ip4_config): distinguish between successful but missing
4239                         ip4-config request, and unsuccessful and missing ip4-config request
4240                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4241                         path
4242                 - Use nm_object_queue_notify() instead of g_object_notify()
4243
4244         * libnm-glib/nm-device-802-11-wireless.c
4245                 - (demarshal_active_ap): distinguish between successfull but missing
4246                         active-ap request, and unsuccessful and missing active-ap request
4247                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4248                         code
4249                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4250                         for the NMClient to notify the device that wireless is disabled,
4251                         and therefore to clear the AP list and active AP
4252                 - Use nm_object_queue_notify() instead of g_object_notify()
4253
4254         * libnm-glib/nm-client.c
4255                 - (poke_wireless_devices_with_rf_status): new function
4256                 - (update_wireless_status): notify wireless devices of the rfkill status
4257                         so they can clean up if needed
4258                 - Use nm_object_queue_notify() instead of g_object_notify()
4259
4260 2008-03-25  Dan Williams  <dcbw@redhat.com>
4261
4262         * libnm-glib/nm-object.c
4263           libnm-glib/nm-object-private.h
4264                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4265                         signals to an idle handler
4266                 - (nm_object_get_property): add a timeout to the D-Bus method call
4267
4268 2008-03-25  Dan Williams  <dcbw@redhat.com>
4269
4270         * introspection/nm-device-cdma.xml
4271           introspection/nm-device-gsm.xml
4272           introspection/Makefile.am
4273           introspection/all.xml
4274                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4275
4276         * src/nm-gsm-device.h
4277           src/nm-gsm-device.c
4278           src/nm-cdma-device.h
4279           src/nm-cdma-device.c
4280           src/Makefile.am
4281                 - Implement PropertiesChanged signals
4282
4283         * libnm-glib/nm-cdma-device.c
4284           libnm-glib/nm-cdma-device.c
4285                 - Attach to PropertiesChanged signals
4286
4287 2008-03-24  Dan Williams  <dcbw@redhat.com>
4288
4289         * libnm-glib/nm-client.c
4290                 - (client_device_added_proxy): add new devices to the internal device
4291                         list so they appear to clients
4292
4293 2008-03-24  Dan Williams  <dcbw@redhat.com>
4294
4295         Massive fixup of libnm-glib to:
4296         a) have all objects (with the exception of VPN) cache their properties and
4297                 update them asynchronously on PropertiesChanged signals from NM
4298         b) return internal const data for most attributes/properties instead of
4299                 allocated values that the caller must free
4300         c) cache wrapped objects such that a given D-Bus path will always map to the
4301                 same GObject returned by libnm-glib
4302         d) remove a few signals and move them to GObject property notifications
4303         e) match recent NM D-Bus API changes for activation/deactivation
4304         f) remove some private functions from libnm-glib headers
4305
4306 2008-03-20  Dan Williams  <dcbw@redhat.com>
4307
4308         * src/nm-manager.c
4309                 - (nm_manager_update_state, manager_device_state_changed,
4310                    nm_manager_activate_device, connection_added_default_handler,
4311                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4312                         queue PropertyChanged singals when the active connections change
4313
4314 2008-03-20  Dan Williams  <dcbw@redhat.com>
4315
4316         * introspection/nm-manager.xml
4317           introspection/nm-manager-client.xml
4318                 - (ActivateConnection): return the object path of the active connection
4319                         on success
4320                 - (GetActiveConnections): remove
4321                 - (DeactivateConnection): new function; deactivate a currently active
4322                         connection
4323                 - Add an ActiveConnections property which returns an array of
4324                         active connection object paths
4325
4326         * introspection/nm-device.xml
4327                 - (Deactivate): remove
4328
4329         * introspection/all.xml
4330                 - Add ActiveConnection introspection
4331
4332         * introspection/nm-active-connection.xml
4333                 - Add the ActiveConnection object
4334
4335         * include/NetworkManager.h
4336                 - Add the Connection.Active D-Bus interface
4337
4338         * src/nm-device-interface.c
4339                 - (impl_device_deactivate): remove
4340
4341         * src/nm-activation-request.c
4342           src/nm-activation-request.c
4343           src/Makefile.am
4344                 - Implement the Connection.Active D-Bus interface
4345
4346         * src/nm-manager.c
4347                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4348                 - (nm_manager_activate_device): return the active connection path
4349                 - (connection_added_default_handler, impl_manager_activate_connection):
4350                         return the active connection to the caller
4351                 - (add_one_connection_element, impl_manager_get_active_connections):
4352                         remove
4353                 - (impl_manager_deactivate_connection): new function; deactivate an
4354                         active connection
4355
4356         * libnm-glib/nm-device.c
4357           libnm-glib/nm-device.h
4358                 - Remove Deactivate() function
4359
4360 2008-03-19  Dan Williams  <dcbw@redhat.com>
4361
4362         * introspection/nm-manager.xml
4363           introspection/nm-manager-client.xml
4364                 - Rename the ActivateDevice method to ActivateConnection to better
4365                         reflect it's usage; it's arguments get reordered a bit too
4366                 - Convert GetActiveConnections method return from a struct to a dict
4367
4368         * include/NetworkManager.h
4369                 - Define the dict keys for return value of GetActiveConnections
4370
4371         * src/nm-manager.c
4372                 - impl_manager_activate_device -> impl_manager_activate_connection
4373                 - (add_one_connection_element): return a populated hash table, not
4374                         a structure
4375
4376         * libnm-glib/nm-client.c
4377           libnm-glib/nm-client.h
4378                 - nm_client_activate_device -> nm_client_activate_connection
4379                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4380                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4381                         instead of the custom structures.  Each element of the returned list
4382                         must be freed with nm_client_free_active_connections_element()
4383
4384 2008-03-18  Dan Williams  <dcbw@redhat.com>
4385
4386         * system-settings/plugins/ifcfg-fedora/parser.c
4387           system-settings/plugins/ifcfg-fedora/parser.h
4388           system-settings/plugins/ifcfg-fedora/plugin.c
4389                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4390                         profiles.  DNS servers and searches must now be stored in the ifcfg
4391                         files themselves
4392
4393 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4394
4395         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4396         print out username and password, it's supposed to be a secret.
4397
4398         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4399         request and set the device state accordingly.
4400
4401 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4402
4403         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4404
4405         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4406
4407 2008-03-18  Dan Williams  <dcbw@redhat.com>
4408
4409         * src/vpn-manager/nm-vpn-connection.c
4410                 - (get_secrets_cb): handle new GetSecrets return format
4411
4412 2008-03-18  Dan Williams  <dcbw@redhat.com>
4413
4414         Adapt system settings service for split 802.1x.
4415
4416         * system-settings/src/nm-system-config-interface.h
4417                 - clarify return value of get_secrets()
4418
4419         * system-settings/src/dbus-settings.c
4420                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4421                 - (check_for_secrets): check if there actually secrets returned by a
4422                         plugin
4423                 - (exported_connection_get_secrets): just return the plugin-returned
4424                         hash of settings' secrets if it looks valid
4425
4426         * system-settings/plugins/ifcfg-fedora/plugin.c
4427                 - (get_secrets): add split secrets with correct format to reply hash
4428
4429         * system-settings/plugins/ifcfg-fedora/parser.c
4430           system-settings/plugins/ifcfg-fedora/parser.h
4431                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4432                    connection_data_free, connection_data_add): keep secrets for
4433                         different settings in different hashes
4434
4435 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4436
4437         Clean up activating device deactivation.
4438
4439         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4440         should be done whether the device activation gets cancelled or the device
4441         is just getting deactivated.
4442         (nm_device_activation_cancel): Remove.
4443         (nm_device_deactivate_quickly): Handle the case where device is activating.
4444
4445         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4446         It does the exact same thing as real_deactivate_quickly().
4447
4448 2008-03-17  Dan Williams  <dcbw@redhat.com>
4449
4450         Split the 802.1x bits out of the wireless-security setting so they are
4451         generalized enough for wired 802.1x to use too.
4452
4453         * introspection/nm-exported-connection.xml
4454                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4455                         of just a hash of the secrets for one setting
4456
4457         * libnm-util/nm-setting-wireless-security.c
4458           libnm-util/nm-setting-wireless-security.h
4459                 - Remove 802.1x-specific stuff
4460                 - Added leap-username and leap-password properties for old-school LEAP
4461
4462         * src/nm-device.c
4463           src/nm-device.h
4464                 - (connection_secrets_updated_cb): take a list of updated settings names,
4465                         not just one
4466
4467         * src/supplicant-manager/nm-supplicant-config.c
4468           src/supplicant-manager/nm-supplicant-config.h
4469                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4470                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4471                         to nm_supplicant_config_add_setting_8021x()
4472                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4473                         the supplicant config
4474
4475         * src/nm-device-802-11-wireless.c
4476                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4477                 - (real_connection_secrets_updated): take a list of updated settings
4478                         names, not just one
4479
4480         * src/nm-device-802-3-ethernet.c
4481           src/nm-cdma-device.c
4482           src/nm-gsm-device.c
4483                 - (real_connection_secrets_updated_cb): take a list of updated settings
4484                         names, not just one
4485
4486         * src/nm-activation-request.c
4487           src/nm-activation-request.h
4488                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4489                         now passes a list of updated settings names, not just one
4490                 - (update_one_setting): new function; handle one updated setting
4491                 - (get_secrets_cb): handle multiple settings returned from the
4492                         settings service; have to be careful of ordering here as there are
4493                         some dependencies between settings (ex. wireless-security and 802.1x
4494                         in some cases)
4495
4496         * src/marshallers/nm-marshal.list
4497                 - new marshaller for connection-secrets-updated signal
4498
4499         * libnm-util/nm-setting-8021x.c
4500                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4501                         methods
4502                 - (verify): a valid 'eap' property is now required
4503
4504         * libnm-util/nm-connection.c
4505                 - (register_default_settings): add priorities to settings; there are
4506                         some dependencies between settings, and during the need_secrets
4507                         calls this priority needs to be respected.  For example, only the
4508                         wireless-security setting knows whether or not the connection is
4509                         going to use 802.1x or now, so it must be asked for secrets before
4510                         any existing 802.1x setting is
4511                 - (nm_connection_lookup_setting_type): expose
4512
4513         * libnm-util/nm-setting-wireless.c
4514                 - (verify): should verify even if all_settings is NULL; otherwise won't
4515                         catch the case where there is missing security
4516
4517         * libnm-util/nm-setting-wireless-security.c
4518                 - Remove everything to do with 802.1x
4519                 - Add old-school LEAP specific properties for username and password
4520                 - (need_secrets): rework LEAP secrets checking
4521                 - (verify): rework for LEAP and 802.1x verification
4522
4523 2008-03-17  Dan Williams  <dcbw@redhat.com>
4524
4525         * src/NetworkManagerPolicy.c
4526                 - (auto_activate_device): always remove the current activation check
4527                         from the pending activation list, otherwise when the policy gets
4528                         destroyed on NM exit it will attempt to free the already freed
4529                         activation check
4530
4531 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4532
4533         * src/backends/NetworkManagerSlackware.c 
4534         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4535
4536         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4537
4538 2008-03-14  Dan Williams  <dcbw@redhat.com>
4539
4540         * src/nm-manager.c
4541                 - (nm_device_interface_get_iface): g_object_get() will return an
4542                         allocated value, so this function must not return const
4543                 - (nm_device_interface_activate): free returned iface
4544
4545 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4546
4547         * libnm-util/Makefile.am: Add new files to build.
4548
4549         * libnm-util/nm-connection.c: Register NMSetting8021x.
4550
4551         * libnm-util/nm-setting-8021x.c
4552         * libnm-util/nm-setting-8021x.h: Implement.
4553
4554 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4555
4556         * libnm-util/Makefile.am: Add new files to build.
4557
4558         * libnm-util/nm-connection.c: Register NMSetting8021x.
4559
4560         * libnm-util/nm-setting-8021x.c
4561         * libnm-util/nm-setting-8021x.h: Implement.
4562
4563 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4564
4565         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4566         data.
4567
4568 2008-03-14  Dan Williams  <dcbw@redhat.com>
4569
4570         * include/wireless-helper.h
4571           include/Makefile.am
4572                 - One place for all the junk needed for #including wireless.h
4573
4574         * test/nm-tool.c
4575           src/NetworkManagerAP.c
4576           src/wpa.c
4577           src/Makefile.am
4578           libnm-util/nm-utils.c
4579           libnm-util/nm-setting-wireless.c
4580           libnm-glib/nm-device-802-11-wireless.c
4581           libnm-glib/nm-access-point.c
4582           libnm-glib/libnm-glib-test.c
4583                 - include wireless-helper.h, not iwlib.h
4584
4585         * configure.in
4586                 - Don't need libiw really, just need to check for wireless.h
4587
4588         * src/kernel-types.h
4589                 - Remove; used types moved into wpa.c
4590
4591         * src/nm-device-802-11-wireless.c
4592                 - (nm_device_802_11_wireless_update_signal_strength,
4593                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4594                    nm_device_802_11_wireless_set_mode,
4595                    nm_device_802_11_wireless_get_frequency,
4596                    nm_device_802_11_wireless_get_ssid,
4597                    nm_device_802_11_wireless_set_ssid,
4598                    nm_device_802_11_wireless_get_bitrate,
4599                    nm_device_802_11_wireless_get_bssid,
4600                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4601                         instead of iwlib functions
4602
4603 2008-03-14  Dan Williams  <dcbw@redhat.com>
4604
4605         * src/ppp-manager/nm-ppp-manager.c
4606                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4607                         should only take the DBusGMethodInvocation argument, not user/pass
4608                         too.  With dbus-glib, async functions only take 2 C arguments since
4609                         the real dbus method arguments get passed back with
4610                         dbus_g_method_return()
4611
4612 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4613
4614         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4615         Adapt the changes of NMSettingIP4Config.
4616
4617 2008-03-13  Dan Williams  <dcbw@redhat.com>
4618
4619         * src/NetworkManagerUtils.c
4620           src/NetworkManagerUtils.h
4621                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4622
4623         * src/NetworkManagerAP.c
4624           src/nm-device-802-11-wireless.c
4625           src/nm-device-802-3-ethernet.c
4626                 - s/iw_ether_ntop/nm_ether_ntop/g
4627
4628 2008-03-13  Dan Williams  <dcbw@redhat.com>
4629
4630         * src/NetworkManagerPolicy.c
4631                 - (update_routing_and_dns): never set the default route through an
4632                         IPv4LL addressed device
4633
4634 2008-03-13  Dan Williams  <dcbw@redhat.com>
4635
4636         * NetworkManagerUtils.c
4637           NetworkManagerUtils.h
4638                 - Remove NMSock stuff
4639                 - Remove the completion stuff
4640
4641         * nm-device.c
4642           nm-device.h
4643           NetworkManager.c
4644           NetworkManagerSystem.c
4645           autoip.c
4646           nm-device-802-11-wireless.c
4647           nm-device-802-3-ethernet.c
4648                 - Remove NMSock and completion stuff
4649                 - Remove nm_ioctl_info()
4650
4651 2008-03-12  Dan Williams  <dcbw@redhat.com>
4652
4653         * src/nm-device.c
4654                 - (merge_ip4_config): avoid duplicates
4655
4656 2008-03-12  Dan Williams  <dcbw@redhat.com>
4657
4658         * libnm-util/nm-setting-ip4-config.c
4659           libnm-util/nm-setting-ip4-config.h
4660                 - Remove 'manual' and 'autoip' properties
4661                 - Add 'method' property
4662                 - (verify): fix verification with 'method'
4663                 - (finalize): free 'method'
4664                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4665                         up for 'method'
4666
4667         * src/nm-device.c
4668                 - (real_act_stage3_ip_config_start): check IP4Config method
4669                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4670                         the future
4671                 - (merge_ip4_config): IP settings are valid with DHCP too
4672                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4673                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4674
4675         * src/nm-device-802-11-wireless.c
4676                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4677                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4678                         only on demand
4679
4680         * system-settings/plugins/ifcfg-fedora/parser.c
4681           system-settings/plugins/ifcfg-suse/parser.c
4682                 - (make_ip4_setting): fix up for 'method'
4683
4684 2008-03-12  Dan Williams  <dcbw@redhat.com>
4685
4686         * system-settings/plugins/ifcfg-fedora/parser.c
4687           system-settings/plugins/ifcfg-fedora/parser.h
4688                 - (get_ifcfg_name): ignore more file suffixes
4689                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4690
4691 2008-03-12  Dan Williams  <dcbw@redhat.com>
4692
4693         * configure.in
4694                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4695
4696 2008-03-12  Dan Williams  <dcbw@redhat.com>
4697
4698         * system-settings/plugins/ifcfg-fedora/plugin.c
4699                 - (write_auto_wired_connection): new function; write out an auto
4700                         wired connection file since the applet isn't doing it any more
4701                 - (reload_all_connections): write out the auto wired connection file
4702                         if there aren't any wired connections already
4703                 - (init): don't leak a GError
4704
4705 2008-03-12  Dan Williams  <dcbw@redhat.com>
4706
4707         * src/nm-device-interface.c
4708                 - (nm_device_interface_activate): print the ID of the connection
4709                         that's about to be activated
4710
4711 2008-03-12  Dan Williams  <dcbw@redhat.com>
4712
4713         Harmonize the 802.11 bitrate API
4714
4715         * introspection/nm-access-point.xml
4716                 - 'Rate' -> 'MaxBitrate'; clarify units
4717
4718         * introspection/nm-device-802-11-wireless.xml
4719                 - Clarify units of 'Bitrate'
4720
4721         * src/NetworkManagerAP.c
4722           src/NetworkManagerAP.h
4723                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4724                         property to 'max-bitrate'
4725                 - (foreach_property_cb): convert rate to Kb/s
4726
4727         * src/nm-device-802-11-wireless.c
4728                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4729
4730         * libnm-glib/nm-access-point.c
4731           libnm-glib/nm-access-point.h
4732                 - 'rate' -> 'max-bitrate'
4733
4734         * test/nm-tool.c
4735           libnm-glib/libnm-glib-test.c
4736                 - Fix up for these changes
4737
4738 2008-03-12  Dan Williams  <dcbw@redhat.com>
4739
4740         * src/nm-device.c
4741                 - (nm_device_set_ip4_config): don't send property notifications when
4742                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4743                         which dbus-glib can't parse because the value is NULL, which isn't
4744                         a legal object path.  Setting the IP4 config to NULL is only
4745                         valid when deactivating a device anyway, so the device state change
4746                         will alert listeners that the ip4 config is invalid.
4747
4748 2008-03-12  Dan Williams  <dcbw@redhat.com>
4749
4750         * src/nm-properties-changed-signal.c
4751                 - (add_to_string): better handling of NULL objects
4752
4753 2008-03-12  Dan Williams  <dcbw@redhat.com>
4754
4755         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4756         convert the libnm-glib NMDevice8023Ethernet to cached properties
4757
4758         * introspection/nm-device-802-3-ethernet.xml
4759                 - New 'Carrier' property
4760                 - New 'PropertiesChanged' signal
4761
4762         * introspection/nm-device.xml
4763                 - Remove 'Carrier' property
4764                 - Remove 'CarrierChanged' signal
4765
4766         * src/nm-device-interface.c
4767           src/nm-device-interface.h
4768                 - (nm_device_interface_init): remove 'carrier' property and
4769                         'carrier-changed' signal
4770
4771         * src/nm-device.c
4772           src/nm-device.h
4773                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4774                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4775                         the link here; wired device will handle that
4776                 - (handle_dhcp_lease_change): don't bother updating link here
4777                 - (get_property, nm_device_class_init): remove carrier property
4778
4779         * src/nm-device-802-11-wireless.c
4780                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4781                         real_update_link(); wireless devices don't use carrier at all
4782                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4783                    supplicant_iface_connection_state_cb_handler,
4784                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4785
4786         * src/nm-device-802-3-ethernet.c
4787           src/nm-device-802-3-ethernet.h
4788                 - (nm_device_802_3_ethernet_carrier_on,
4789                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4790                         instead of nm_device_set_carrier()
4791                 - (device_state_changed): update link from sysfs on activation;
4792                         replaces real_update_link()
4793                 - (real_update_link): remove, replaced by device_state_changed()
4794                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4795                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4796                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4797                         new get_carrier function
4798                 - (get_property): add 'carrier' property
4799                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4800                         hook into property-changed signal helper
4801
4802         * src/NetworkManagerPolicy.c
4803                 - (device_carrier_changed): will only ever be called with a wired device
4804                 - (device_added): only hook up to carrier-changed for wired devices
4805
4806         * libnm-glib/nm-device.c
4807           libnm-glib/nm-device.h
4808                 - (constructor, nm_device_class_init): remove carrier-changed signal
4809                 - (device_carrier_changed_proxy): remove; unused
4810                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4811
4812         * libnm-glib/nm-device-802-3-ethernet.c
4813           libnm-glib/nm-device-802-3-ethernet.h
4814                 - Convert to cached properties like AP and Wireless objects
4815                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4816                         instead of a 'char *', return value should not be freed
4817                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4818                 - (constructor): hook into properties-changed helper
4819                 - (set_property, get_property): new functions
4820                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4821
4822         * test/nm-tool.c
4823                 - (detail_device): strdup the wired hardware address too since it's
4824                         cached now
4825
4826         * libnm-glib/libnm-glib-test.c
4827                 - (dump_wired): strdup the wired hardware address too since it's
4828                         cached now
4829
4830 2008-03-12  Dan Williams  <dcbw@redhat.com>
4831
4832         * libnm-util/nm-setting-ip4-config.c
4833           libnm-util/nm-setting-ip4-config.h
4834                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4835                         the 'autoip' property from the spec
4836
4837 2008-03-11  Dan Williams  <dcbw@redhat.com>
4838
4839         * src/backends/NetworkManagerGeneric.c
4840           src/backends/NetworkManagerGeneric.h
4841                 - (nm_generic_device_get_use_dhcp): remove
4842
4843 2008-03-11  Dan Williams  <dcbw@redhat.com>
4844
4845         * src/nm-device.c
4846                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4847                         already in nm_device_set_ip4_config()
4848                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4849                         due to a DHCP rebind fails
4850                 - (nm_device_set_ip4_config): send property notifications when the
4851                         ip4 config changes
4852                 - (get_property): only report IP4Config property during valid states
4853
4854         * src/NetworkManagerPolicy.c
4855                 - (update_routing_and_dns): ignore devices that don't have an ip4
4856                         config; add parameter 'force_update' to allow callers to specify
4857                         that changes should be made even if the default device doesn't change
4858                 - (device_ip4_config_changed): update DNS and routing when the device's
4859                         IP4Config changes, like for DHCP updates
4860                 - (device_added): listen for ip4-config property changes
4861
4862 2008-03-11  Dan Williams  <dcbw@redhat.com>
4863
4864         Fix address handling as a result of DHCP rebind/renew/reboot.
4865
4866         * src/NetworkManagerSystem.c
4867                 - (check_one_address): delete an address if it doesn't match a given
4868                         one for the same interface
4869                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4870                         be smarter about flushing addresses (only flush ones that don't
4871                         match the one we're about to apply)
4872
4873         * src/backends/NetworkManagerDebian.c
4874           src/backends/NetworkManagerSuSE.c
4875           src/backends/NetworkManagerArch.c
4876           src/backends/NetworkManagerSlackware.c
4877           src/backends/NetworkManagerRedHat.c
4878           src/backends/NetworkManagerPaldo.c
4879           src/backends/NetworkManagerFrugalware.c
4880           src/backends/NetworkManagerGentoo.c
4881                 - (nm_system_delete_default_route): remove
4882
4883         * src/backends/NetworkManagerGeneric.c
4884           src/backends/NetworkManagerGeneric.h
4885                 - (nm_generic_enable_loopback): fix the loopback device label
4886                 - (nm_generic_delete_default_route): remove; no longer used
4887
4888 2008-03-11  Dan Williams  <dcbw@redhat.com>
4889
4890         * src/nm-device-interface.h
4891                 - Delimit property name words with '-', otherwise g_object_notify()
4892                         doesn't work the way we expect
4893
4894 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4895
4896         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4897
4898 2008-03-11  Dan Williams  <dcbw@redhat.com>
4899
4900         * src/NetworkManagerPolicy.c
4901                 - (update_routing_and_dns): don't change anything if the default device
4902                         hasn't changed; print something out when switching the default route
4903                         and DNS
4904
4905 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4906
4907         Implement PPPoE.
4908
4909         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4910         setting. Use "nic-$eth".
4911
4912         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4913         the device is activating here to fix a race condition.
4914
4915         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4916
4917         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4918         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4919         (nm_ppp_manager_start): Take activation request instead of connection, we might
4920         need it for asking secrets.
4921         (nm_ppp_manager_update_secrets): Implement.
4922
4923         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4924         ppp manager start. It might be needed for asking secrets.
4925
4926         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4927         (ppp_state_changed): Handle pppd daemon disappearing.
4928         (pppoe_stage2_config): Send activation request to ppp manager start.
4929
4930         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4931
4932         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4933         username and password.
4934         
4935 2008-03-10  Dan Williams  <dcbw@redhat.com>
4936
4937         * src/nm-device.c
4938                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4939                         response to a DHCP lease change
4940                 - (dhcp_state_changed): handle DHCP lease changes while activated
4941                 - (nm_device_set_ip4_config): remove a previously set named config
4942                         when setting an ip4 config
4943
4944 2008-03-10  Dan Williams  <dcbw@redhat.com>
4945
4946         * src/nm-serial-device.c
4947                 - (nm_serial_device_send_command): report errno on error
4948                 - (get_reply_got_data): limit the size of the overall buffer
4949                 - (wait_for_reply_info_destroy): destroy result string
4950                 - (wait_for_reply_got_data): append received data to an overall buffer
4951                         until timeout, filled buffer, or error instead of keeping a per-call
4952                         buffer.  Some devices send data slowly enough that this function
4953                         gets called multiple times for the same command stream.
4954                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4955                         wait_for_reply_got_data() here
4956
4957 2008-03-10  Dan Williams  <dcbw@redhat.com>
4958
4959         * src/nm-cdma-device.c
4960                 - (do_dial, init_modem): handle errors from
4961                         nm_serial_device_send_command_string()
4962
4963         * src/nm-gsm-device.c
4964                 - (do_dial, manual_registration, automatic_registration_get_network,
4965                    automatic_registration, enter_pin, check_pin, init_modem): handle
4966                         errors from nm_serial_device_send_command_string()
4967
4968 2008-03-10  Dan Williams  <dcbw@redhat.com>
4969
4970         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4971
4972         * src/named-manager/nm-named-manager.c
4973                 - (compute_searches): prefer searches before domains
4974                 - (compute_domain): new function
4975                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4976                 - (merge_one_ip4_config): if there are no searches in the source config,
4977                         merge domains of the source config into the target config
4978                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4979
4980 2008-03-10  Dan Williams  <dcbw@redhat.com>
4981
4982         * src/nm-serial-device.c
4983                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4984                 - (wait_for_reply_got_data): try to handle slower serial devices where
4985                         the reply is broken up into multiple reads by concatenating replies
4986                         together until either an error is received or the search string is
4987                         found
4988
4989 2008-03-10  Dan Williams  <dcbw@redhat.com>
4990
4991         * src/nm-device.c
4992                 - (nm_device_bring_down): deactivate the device if it's activating too,
4993                         not just if it's already activated.  This makes sure that everything
4994                         from an association attempt is cleaned up (like DHCP for example)
4995
4996 2008-03-10  Dan Williams  <dcbw@redhat.com>
4997
4998         * src/nm-serial-device.c
4999                 - (config_fd): report error from TCSETA
5000                 - (nm_serial_device_open): fail when config_fd() fails
5001
5002 2008-03-10  Dan Williams  <dcbw@redhat.com>
5003
5004         * src/nm-ip4-config.c
5005                 - (nm_ip4_config_init): allocate searches list
5006                 - (finalize): free searches list
5007
5008 2008-03-09  Dan Williams  <dcbw@redhat.com>
5009
5010         Patch from Bas Zoetekouw <bas@debian.org>
5011
5012         * src/dhcp-manager/nm-dhcp-manager.c
5013                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5014
5015 2008-03-09  Dan Williams  <dcbw@redhat.com>
5016
5017         Patch from Bas Zoetekouw <bas@debian.org>
5018
5019         * src/nm-ip4-config.c
5020           src/nm-ip4-config.h
5021                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5022                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
5023                         domains.  'searches' is the correct way to store multiple search
5024                         domains, whereas 'domains' is really just supposed to store one
5025                         domain.  Some sites abuse the DHCP 'domain-name' option to push
5026                         search domains to the client.
5027                 - (nm_ip4_config_add_domain): group with related functions (my patch)
5028
5029 2008-03-09  Dan Williams  <dcbw@redhat.com>
5030
5031         * src/dhcp-manager/nm-dhcp-manager.c
5032                 - (dhclient_run): send interface-specific config files to dhclient
5033
5034 2008-03-07  Dan Williams  <dcbw@redhat.com>
5035
5036         * system-settings/plugins/ifcfg-fedora/parser.c
5037                 - (is_wireless_device): new function; test a device for wireless
5038                         extensions
5039                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5040                         test the device for wireless extensions to determine the type
5041
5042 2008-03-07  Dan Williams  <dcbw@redhat.com>
5043
5044         Change manager's StateChange signal to StateChanged for consistency.
5045
5046         * introspection/nm-manager.xml
5047                 - Add 'StateChanged' signal
5048                 - Move 'StateChange' down to the deprecated section
5049
5050         * src/nm-hal-manager.c
5051                 - (nm_hal_manager_new): connect to 'state-changed' instead
5052
5053         * src/NetworkManagerPolicy.c
5054                 - (nm_policy_new): connect to 'state-changed' instead
5055
5056         * src/nm-manager.c
5057           src/nm-manager.h
5058                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5059                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5060                         of 'state-change'
5061
5062         * libnm-glib/nm-client.c
5063           libnm-glib/nm-client.h
5064                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5065                         track and proxy 'state-changed' instead of 'state-change'
5066
5067 2008-03-07  Dan Williams  <dcbw@redhat.com>
5068
5069         First pass of multiple active device support.  Expect bugs.
5070
5071         * src/nm-ip4-config.c
5072           src/nm-ip4-config.h
5073                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5074                         there are better ways to do this in the named manager
5075
5076         * src/nm-device.c
5077           src/nm-device.h
5078                 - (nm_device_can_activate): return whether the device can activate a
5079                         connection right now; taking into account things like carrier state
5080                         and rfkill state
5081                 - (nm_device_get_best_auto_connection): renamed from
5082                         nm_device_get_best_connection
5083                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5084                         device subclasses themselves, so that each device can override the
5085                         MTU from it's NMSetting subclass if needed
5086                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5087                         in NetworkManagerSystem.c, not here
5088
5089         * src/named-manager/nm-named-manager.c
5090           src/named-manager/nm-named-manager.h
5091                 - (nm_named_manager_name_owner_changed,
5092                    nm_named_manager_dbus_connection_changed): fix for changes to
5093                         rewrite_resolv_conf()
5094                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5095                         from parameter list
5096                 - (merge_one_ip4_config): new function; merge ip4 configs together
5097                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5098                         ip4 configs; the VPN config takes precedence, then the best
5099                         device config, then the rest of the configs
5100                 - (get_domain_for_config): take the NMNamedManager as an argument
5101                         to check whether the config is the VPN config
5102                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5103                         attribute from ip4 configs
5104                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5105                 - (remove_ip4_config_from_named): fix for changes to
5106                         get_domain_for_config()
5107                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5108                         based on its type; callers must pass in the type now
5109                 - (get_last_default_domain): remove, unused
5110                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5111
5112         * src/nm-device-802-11-wireless.c
5113                 - (real_can_activate): new function
5114                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5115                 - (real_act_stage4_get_ip4_config): handle MTU override
5116
5117         * src/nm-device-802-3-ethernet.c
5118                 - (real_can_activate): new function
5119                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5120                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5121
5122         * src/vpn-manager/nm-vpn-connection.c
5123                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5124                         attribute on the ip4 config
5125
5126         * src/NetworkManagerPolicy.c
5127                 - (nm_policy_auto_get_best_device): remove
5128                 - (nm_policy_device_change_check): remove
5129                 - (update_default_route): new function; set the default route via
5130                         the specified device
5131                 - (get_device_priority): new function; return the priority number of
5132                         a device type WRT which one should have the default route.  Order is
5133                         (highest to lowest)  wired, wireless, GSM, CDMA.
5134                 - (update_routing_and_dns): new function; determine which device should
5135                         have the default route, then update the routing table and DNS
5136                 - (maybe_auto_activate_device): new function; if a device is now
5137                         available for activation, find out what connection it would like to
5138                         activate and do it
5139                 - (schedule_activate_check): new function; if a device can be activated
5140                         now, schedule the activation.  Each device may have only one
5141                         pending activation at a given time.
5142                 - (device_state_changed): if activation was canceled, try again,
5143                         possibly with another connection; if the device was activated,
5144                         update routing and DNS; if the device was deactivated, try again
5145                         with another connection
5146                 - (device_carrier_changed): if there is no carrier, deactivate the
5147                         device; otherwise schedule an activation check for the device
5148                 - (wireless_networks_changed): schedule an activation check for the
5149                         device
5150                 - (device_added): keep track of the signal handler IDs so they can
5151                         be removed when the device goes away
5152                 - (device_removed): remove any signal handlers that might be attached
5153                         to the device; update routing and DNS
5154                 - (schedule_activate_all): new function
5155                 - (connections_added, connection_added, connection_updated): when
5156                         connections change, schedule all devices for an activation check
5157                 - (connection_removed): when a device is deactivated because its
5158                         connection was removed, schedule another activation check for it
5159                 - (nm_policy_destroy): destroy pending activations and disconnect
5160                         all device signal handlers
5161
5162         * src/nm-manager.c
5163                 - (nm_manager_activate_device): if the device was already actived,
5164                         deactivate it
5165                 - (deactivate_old_device): remove
5166                 - (connection_added_default_handler, impl_manager_activate_device):
5167                         don't deactivate other devices when activating this one
5168
5169         * src/backends/NetworkManagerGentoo.c
5170           src/backends/NetworkManagerFrugalware.c
5171           src/backends/NetworkManagerPaldo.c
5172           src/backends/NetworkManagerRedHat.c
5173           src/backends/NetworkManagerSlackware.c
5174           src/backends/NetworkManagerArch.c
5175           src/backends/NetworkManagerSuSE.c
5176           src/backends/NetworkManagerDebian.c
5177                 - (nm_system_get_mtu): remove; MTU should be provided through the
5178                         distro's system settings service plugin instead
5179                 - (nm_system_device_add_default_route_via_device): remove
5180                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5181                 - (nm_system_device_replace_default_route): new function; call
5182                         generic implementation
5183
5184         * src/backends/NetworkManagerGeneric.c
5185           src/backends/NetworkManagerGeneric.h
5186                 - (nm_generic_device_add_default_route_via_device,
5187                    nm_generic_device_add_default_route_via_device_with_iface): remove
5188                 - (nm_generic_device_replace_default_route): replace the default route
5189                         with the given route via some gateway
5190
5191         * src/NetworkManagerSystem.c
5192           src/NetworkManagerSystem.h
5193                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5194                         to routing and DNS; but set the MTU here
5195                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5196                         ip_iface of the active device; use the standard MTU setting function
5197                 - (nm_system_set_mtu): remove
5198                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5199
5200 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5201
5202         Rework the interaction between ppp manager and pppd plugin. Register a well
5203         known DBUS service in manager and let the plugin call it's methods instead
5204         of listening plugin's signals.
5205
5206         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5207         of emitting signals.
5208
5209         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5210
5211         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5212
5213         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5214         nm_ppp_manager_start().
5215
5216         * introspection/nm-ppp-manager.xml: New file.
5217
5218         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5219         the case correctly where driver is trying to send -1 for the speed, which gets
5220         casted to u16 and thus is always > 0.
5221
5222 2008-03-07  Dan Williams  <dcbw@redhat.com>
5223
5224         * src/nm-hal-manager.c
5225                 - (nm_get_device_driver_name): use net.originating_device first, fall
5226                         back to physical device.  HAL has deprecated physical_device.
5227
5228         * libnm-glib/nm-device.c
5229                 - (get_product_and_vendor): use net.originating_device first, fall
5230                         back to physical device.  HAL has deprecated physical_device.
5231                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5232
5233 2008-03-07  Dan Williams  <dcbw@redhat.com>
5234
5235         * src/nm-netlink.c
5236                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5237                         last commit; fix that
5238                 - (get_link_cache): print error string
5239
5240 2008-03-07  Dan Williams  <dcbw@redhat.com>
5241
5242         * src/nm-netlink.c
5243                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5244                         don't need this hack any more (Benoit Boissinot)
5245
5246 2008-03-06  Dan Williams  <dcbw@redhat.com>
5247
5248         * autogen.sh
5249                 - Die gnome-common, die
5250
5251 2008-03-04  Dan Williams  <dcbw@redhat.com>
5252
5253         Patch from Michael Biebl <biebl@debian.org>
5254
5255         * NetworkManager.pc.in
5256                 - doesn't actually depend on dbus-1
5257
5258         * libnm-util/nm-utils.h
5259                 - remove unused #include <dbus/dbus.h>
5260
5261         * libnm-glib/libnm_glib.pc.in
5262                 - depends on glib and dbus-glib
5263
5264 2008-03-02  Dan Williams  <dcbw@redhat.com>
5265
5266         * src/NetworkManagerPolicy.c
5267                 - s/device_state_changed_idle_id/update_state_id/
5268
5269 2008-03-02  Dan Williams  <dcbw@redhat.com>
5270
5271         * src/nm-device.c
5272           src/nm-device.h
5273           src/nm-device-802-11-wireless.c
5274           src/nm-device-802-3-ethernet.c
5275           src/NetworkManagerPolicy.c
5276                 - s/link_active/carrier
5277                 - nm_device_set_active_link() -> nm_device_set_carrier()
5278                 - nm_device_has_active_link() -> nm_device_get_carrier()
5279
5280 2008-03-02  Dan Williams  <dcbw@redhat.com>
5281
5282         * system-settings/plugins/ifcfg-fedora/parser.c
5283                 - (make_wireless_setting): fail connection creation on missing SSID
5284
5285 2008-02-29  Dan Williams  <dcbw@redhat.com>
5286
5287         * src/NetworkManagerPolicy.c
5288                 - (nm_policy_device_change_check): ensure that a previously active
5289                         device with a system connection has a link before denying a switch
5290                         to a user connection
5291
5292 2008-02-29  Dan Williams  <dcbw@redhat.com>
5293
5294         * src/nm-device-802-11-wireless.c
5295                 - (link_timeout_cb): try again if scanning; deactivate the device when
5296                         activated if the link dies
5297                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5298                         15 seconds
5299
5300 2008-02-29  Dan Williams  <dcbw@redhat.com>
5301
5302         * src/nm-device-802-11-wireless.c
5303           src/nm-device-802-11-wireless.h
5304                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5305                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5306                 - (device_cleanup): reset the scan interval lower when the device
5307                         deactivates
5308                 - (can_scan): base decision mostly off device state, not supplicant
5309                         interface state since the supplicant interface state isn't a
5310                         great indicator of whether the device is active or not
5311                 - (request_wireless_scan): clean up; schedule the next scan here
5312                 - (schedule_scan): only back the scan interval off if a new scan
5313                         actually gets scheduled; and make scan intervals tighter when the
5314                         device is disconnected
5315                 - (supplicant_iface_state_cb_handler): fold in the bits of
5316                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5317                         interval to minimum
5318                 - (activation_success_handler): reset scan interval to something
5319                         reasonable 
5320
5321 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5322
5323         reviewed by: Steev <steev@steev.net>
5324
5325         * configure.in:
5326         * src/backends/NetworkManagerGentoo.c:
5327         (nm_system_restart_mdns_responder):
5328                 Howl is no longer a supported mDNS provider
5329
5330 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5331
5332         Get rid of a bunch of unused distro specific functions.
5333
5334 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5335
5336         Implement suse plugin for system settings daemon.
5337
5338         * system-settings/plugins/ifcfg-suse/*: Implement.
5339
5340         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5341         suse.
5342
5343         * configure.in: Check (without failing) for gio.
5344         Create ifcfg-suse plugin's Makefile.
5345
5346 2008-02-20  Dan Williams  <dcbw@redhat.com>
5347
5348         * libnm-util/nm-connection.c
5349           libnm-util/nm-connection.h
5350                 - (nm_connection_compare): accept compare flags and pass them to the
5351                         setting compare function
5352
5353         * libnm-util/nm-setting.c
5354           libnm-util/nm-setting.h
5355                 - (nm_setting_compare): accept compare flags; ignore properties that are
5356                         marked fuzzy
5357
5358         * libnm-util/nm-setting-connection.c
5359           libnm-util/nm-setting-wireless.c
5360           libnm-util/nm-setting-ppp.c
5361           libnm-util/nm-setting-wired.c
5362                 - Mark some setting properties as ignorable when doing a fuzzy compare
5363
5364         * src/nm-device.c
5365                 - (device_activation_precheck): use exact compare
5366
5367 2008-02-20  Dan Williams  <dcbw@redhat.com>
5368
5369         * src/NetworkManagerPolicy.c
5370                 - (nm_policy_device_change_check): get scope off the connection, not
5371                         using the manager helper
5372
5373         * src/nm-manager.c
5374           src/nm-manager.h
5375                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5376                 - (connection_get_settings_cb): set scope and path on connection, not
5377                         using GObject data items
5378                 - (get_connection_for_proxy): don't need to return path, since that
5379                         can be gotten from the connection
5380                 - (get_connection_for_proxy): get path off the connection, not from
5381                         parameters
5382                 - (connection_removed_cb, connection_updated_cb): don't need to get
5383                         path from get_connection_for_proxy(); get scope off the connection
5384                         instead of using GObject data items
5385                 - (connection_added_default_handler, add_one_connection_element): use
5386                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5387                 - (nm_manager_get_connection_dbus_path): remove
5388                 - (nm_manager_get_connection_scope): remove
5389
5390 2008-02-20  Dan Williams  <dcbw@redhat.com>
5391
5392         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5393                 on confusing names
5394
5395         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5396                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5397                 NMExportedConnection
5398
5399         * Internally rename NMConnectionType -> NMConnectionScope
5400
5401         * Provide default implementations of the 'get_id' and 'get_settings' methods
5402                 of NMExportedConnection
5403
5404 2008-02-15  Dan Williams  <dcbw@redhat.com>
5405
5406         * src/nm-device-802-11-wireless.c
5407                 - (device_cleanup): release the AP list here too so that the AP list
5408                         doesn't survive across suspend/resume and up/down.  There is some
5409                         room for optimization, for example blow the list away when the card
5410                         brought back up, but only if the device has only been down for a
5411                         minute or more.
5412
5413 2008-02-15  Dan Williams  <dcbw@redhat.com>
5414
5415         * src/nm-hal-manager.c
5416                 - (modem_device_creator): recognize new HAL modem capabilities
5417
5418 2008-02-12  Dan Williams  <dcbw@redhat.com>
5419
5420         * system-settings/plugins/ifcfg-fedora/plugin.c
5421                 - (watch_path): handle IN_DELETE_SELF too
5422                 - (handle_connection_changed): notify when removing a connection
5423                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5424                         case of a file moving out of the profile directory
5425
5426 2008-02-12  Dan Williams  <dcbw@redhat.com>
5427
5428         * system-settings/plugins/ifcfg-fedora/parser.c
5429                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5430
5431 2008-02-12  Dan Williams  <dcbw@redhat.com>
5432
5433         * libnm-util/nm-utils.c
5434                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5435                         just any empty array
5436
5437 2008-02-12  Dan Williams  <dcbw@redhat.com>
5438
5439         * system-settings/src/nm-system-config-interface.c
5440           system-settings/src/nm-system-config-interface.h
5441                 - (load_connections): get_connections() should now return an allocated
5442                         GSList that the system settings service will free
5443
5444         * system-settings/plugins/ifcfg-fedora/plugin.c
5445           system-settings/plugins/ifcfg-fedora/parser.h
5446           system-settings/plugins/ifcfg-fedora/parser.c
5447                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5448                         in the profile directory, handle resolv.conf file changes
5449
5450 2008-02-10  Dan Williams  <dcbw@redhat.com>
5451
5452         * src/nm-device-802-3-ethernet.c
5453                 - (real_bring_up): save the supplicant interface state signal id
5454                 - (real_bring_down): disconnect from the supplicant interface state
5455                         signal
5456
5457 2008-02-07  Dan Williams  <dcbw@redhat.com>
5458
5459         * initscript/RedHat/NetworkManager.in
5460           initscript/RedHat/NetworkManagerDispatcher.in
5461                 - Add new-style LSB init headers
5462
5463 2008-02-07  Dan Williams  <dcbw@redhat.com>
5464
5465         * system-settings/src/dbus-settings.c
5466           system-settings/src/dbus-settings.h
5467                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5468                         table of secrets
5469                 - (connection_settings_get_secrets): consolidate error returns into
5470                         one place; use the new get_secrets() plugin interface function to
5471                         get secrets from the plugin itself rather than using GObject data
5472                         magic
5473
5474         * system-settings/src/main.c
5475                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5476                    load_connections): keep a private list of the plugin-returned
5477                         connections, don't use the plugin's GSList
5478
5479         * system-settings/plugins/ifcfg-fedora/plugin.c
5480                 - (watch_path): watch the path, not the filename (duh)
5481                 - (reload_all_connections): use the direct hash/equal functions; the
5482                         ones for int aren't appropriate here
5483                 - (get_secrets, system_config_interface_init): implement the
5484                         get_secrets() function
5485                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5486                         now in the connection's ConnectionData instead of being a GObject
5487                         data property
5488                 - (handle_profile_item_changed): ifcfg file path is now in the
5489                         connection's ConnectionData instead of being a GObject data property;
5490                         be sure to copy secrets over from the new connection to the existing
5491                         connection when updating the connection's settings
5492                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5493                         file descriptor
5494
5495         * system-settings/plugins/ifcfg-fedora/parser.c
5496           system-settings/plugins/ifcfg-fedora/parser.h
5497                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5498                    connection_data_copy_secrets, connection_data_free,
5499                    connection_data_add): new functions; connection data manipulation
5500                 - (make_wireless_security_setting): stuff secrets into the
5501                         connection data, not as GObject data items; make sure to close
5502                         the keys ifcfg file
5503                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5504                         connection data to the connection
5505
5506 2008-02-07  Dan Williams  <dcbw@redhat.com>
5507
5508         * system-settings/src/nm-system-config-interface.c
5509           system-settings/src/nm-system-config-interface.h
5510                 - Add a get_secrets() interface function to retrieve secrets for a
5511                         specific setting of a specific connection.  Document the interface
5512                         a bit more too.
5513
5514 2008-02-07  Dan Williams  <dcbw@redhat.com>
5515
5516         * src/nm-device-802-11-wireless.c
5517                 - (handle_auth_or_fail): new function; consolidate device activation
5518                         failure check after a certain number of failures getting secrets
5519                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5520                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5521                         the connection if secrets were requested more than a few times
5522                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5523                         tries here; otherwise they are cleared before the IP configure
5524                         timeout, which happens with open system WEP when key is wrong
5525                 - (activation_success_handler): clear wireless secrets tries here too
5526
5527 2008-02-07  Dan Williams  <dcbw@redhat.com>
5528
5529         * src/NetworkManagerPolicy.c
5530                 - (connection_updated): clear invalid tag when connection gets updated
5531                         to allow that connection to be tried again
5532                 - (nm_policy_new): save signal ids so they can be disconnected when
5533                         the policy is destroyed
5534                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5535                         and disconnect all signals from the manager object so that none
5536                         of the policy functions gets called after the policy is destroyed
5537
5538 2008-02-06  Dan Williams  <dcbw@redhat.com>
5539
5540         * src/nm-manager.c
5541                 - (finalize): remove devices a bit earlier; clean up system settings
5542                         poke
5543                 - (nm_manager_name_owner_changed): clean up system settings poke when
5544                         the service appears, and try to restart it if it fails
5545                 - (poke_system_settings_daemon_cb): try to get the system settings
5546                         service started through D-Bus service activation
5547                 - (initial_get_connections): start the system settings daemon if it's
5548                         not already running
5549
5550 2008-02-05  Dan Williams  <dcbw@redhat.com>
5551
5552         * src/supplicant-manager/nm-supplicant-config.c
5553                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5554                         broadcast networks too
5555
5556 2008-02-04  Dan Williams  <dcbw@redhat.com>
5557
5558         * system-settings/plugins/ifcfg-fedora/parser.c
5559                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5560                         need key_mgmt set too
5561                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5562                         .bak files; ensure that an error is set whenever NULL gets returned
5563
5564 2008-02-04  Dan Williams  <dcbw@redhat.com>
5565
5566         * system-settings/src/Makefile.am
5567                 - Install D-Bus service activation file for the system settings
5568                         service
5569
5570         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5571                 - D-Bus service activation file for system settings service
5572
5573 2008-02-04  Dan Williams  <dcbw@redhat.com>
5574
5575         * system-settings/src/main.c
5576                 - (parse_config_file): parse a config file
5577                 - (main): accept --config option and read plugins from config file
5578
5579 2008-02-04  Dan Williams  <dcbw@redhat.com>
5580
5581         * system-settings/plugins/ifcfg-fedora/plugin.c
5582                 - Change reported name to 'ifcfg-fedora'
5583                 - Use IFCFG_PLUGIN_NAME
5584
5585         * system-settings/plugins/ifcfg-fedora/plugin.c
5586                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5587
5588 2008-02-04  Dan Williams  <dcbw@redhat.com>
5589
5590         * system-settings/plugins/ifcfg-fedora/parser.c
5591                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5592                 - (make_connection_setting): use get_ifcfg_name()
5593                 - (make_wireless_security_setting): handle shadow key files
5594                 - (get_one_wep_key): treat empty string as NULL
5595
5596 2008-02-04  Dan Williams  <dcbw@redhat.com>
5597
5598         * src/supplicant-manager/nm-supplicant-manager.c
5599                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5600                         glib automatically reschedule
5601                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5602                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5603                         the supplicant
5604
5605 2008-02-01  Dan Williams  <dcbw@redhat.com>
5606
5607         * src/NetworkManagerPolicy.c
5608                 - (device_state_changed): schedule a change check when a device gets
5609                         deactivated so something happens if you disconnect GSM/CDMA
5610
5611 2008-01-31  Dan Williams  <dcbw@redhat.com>
5612
5613         * src/nm-device-802-11-wireless.h
5614           src/nm-device-802-11-wireless.c
5615                 - (ap_list_get_ap_by_ssid, is_associated,
5616                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5617                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5618                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5619                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5620                         function
5621
5622 2008-01-30  Dan Williams  <dcbw@redhat.com>
5623
5624         * system-settings/plugins/ifcfg
5625         * system-settings/plugins/ifcfg-fedora
5626                 - Move the ifcfg plugin to ifcfg-fedora
5627
5628 2008-01-24  Dan Williams  <dcbw@redhat.com>
5629
5630         * libnm-glib/nm-device-802-11-wireless.c
5631                 - (get_access_point): move the "/" check here; check for invalid path
5632                         too
5633                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5634                         to get_access_point()
5635                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5636                         to send signals for non-existent access points
5637
5638 2008-01-24  Dan Williams  <dcbw@redhat.com>
5639
5640         * libnm-glib/nm-device-802-11-wireless.c
5641                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5642
5643 2008-01-23  Dan Williams  <dcbw@redhat.com>
5644
5645         * libnm-glib/libnm_glib.c
5646                 - (libnm_glib_init): make thread joinable
5647                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5648
5649 2008-01-23  Dan Williams  <dcbw@redhat.com>
5650
5651         * test/libnm_glib_test.c
5652                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5653                 - (main): set up signal handlers; call libnm_glib_shutdown
5654
5655 2008-01-21  Dan Williams  <dcbw@redhat.com>
5656
5657         * include/NetworkManager.h
5658                 - Add CDMA mobile broadband card device type
5659
5660         * src/nm-hal-manager.c
5661                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5662                         must now be tagged with 'cdma' or 'gsm' capability
5663
5664         * src/nm-cdma-device.c
5665           src/nm-cdma-device.h
5666           src/Makefile.am
5667                 - Add the CDMA mobile broadband card device class
5668
5669         * libnm-util/nm-connection.c
5670                 - (register_default_settings): add NMSettingCdma
5671
5672         * libnm-util/nm-setting-cdma.c
5673           libnm-util/nm-setting-cdma.h
5674           libnm-util/Makefile.am
5675                 - Add the CDMA mobile broadband card setting class
5676
5677         * libnm-glib/nm-cdma-device.c
5678           libnm-glib/nm-cdma-device.h
5679           libnm-glib/Makefile.am
5680                 - Add the CDMA mobile broadband card GLib proxy class
5681
5682         * libnm-glib/nm-client.c
5683                 - (get_device): handle CDMA devices too
5684
5685 2008-01-21  Dan Williams  <dcbw@redhat.com>
5686
5687         * src/ppp-manager/nm-ppp-manager.c
5688                 - (ip4_config_get): set peer address too
5689
5690         * src/ppp-manager/nm-pppd-plugin.c
5691                 - (nm_ip_up): try harder to get the peer's address
5692
5693         * src/NetworkManagerSystem.c
5694                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5695                         address, use that too.  Otherwise, some PPP connections won't work.
5696
5697 2008-01-19  Dan Williams  <dcbw@redhat.com>
5698
5699         * src/NetworkManagerPolicy.c
5700                 - (nm_policy_device_change_check): system connections override user
5701                         connections; don't activate a user connection if there's a currently
5702                         active system connection, and new, better system connections always
5703                         interrupt user connections
5704
5705 2008-01-19  Dan Williams  <dcbw@redhat.com>
5706
5707         * src/nm-manager.h
5708                 - (nm_manager_get_connection_type): new function
5709
5710 2008-01-19  Dan Williams  <dcbw@redhat.com>
5711
5712         * src/nm-device-802-11-wireless.c
5713                 - (real_get_best_connection): collapse find_best_connection() into this
5714                         function
5715
5716 2008-01-19  Dan Williams  <dcbw@redhat.com>
5717
5718         * src/nm-device-802-3-ethernet.c
5719                 - (real_get_best_connection): collapse find_best_connection() into this
5720                         function
5721
5722 2008-01-18  Dan Williams  <dcbw@redhat.com>
5723
5724         * src/nm-device-802-3-ethernet.c
5725                 - (find_best_connection): check MAC address too
5726                 - (real_get_best_connection): let autoconnect=True connections activate
5727                         for devices that don't have carrier detection
5728
5729         * src/nm-device-802-11-wireless.c
5730                 - (find_best_connection): check MAC address too
5731
5732 2008-01-18  Dan Williams  <dcbw@redhat.com>
5733
5734         * system-settings/plugins/ifcfg/parser.c
5735                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5736
5737 2008-01-17  Dan Williams  <dcbw@redhat.com>
5738
5739         * src/nm-device-802-3-ethernet.c
5740                 - (nm_device_802_3_ethernet_carrier_on,
5741                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5742                         carrier events that might come in for devices that don't support
5743                         carrier detect
5744
5745 2008-01-17  Dan Williams  <dcbw@redhat.com>
5746
5747         * src/nm-device-interface.c
5748                 - (nm_device_interface_check_connection_conflicts): need to actually
5749                         get the interface, not cast to the object
5750
5751         * src/nm-device.c
5752                 - (nm_device_check_connection_conflicts): need to get the device class,
5753                         not cast the device to the device class
5754
5755 2008-01-17  Dan Williams  <dcbw@redhat.com>
5756
5757         * src/nm-device-802-11-wireless.c
5758                 - (real_check_connection_conflicts): ignore connections that aren't
5759                         wireless connections
5760
5761 2008-01-17  Dan Williams  <dcbw@redhat.com>
5762
5763         * src/NetworkManagerPolicy.c
5764                 - (nm_policy_device_change_check): clear change check idle here
5765                 - (device_change_check_done): remove
5766                 - (schedule_change_check): simplify
5767
5768 2008-01-17  Dan Williams  <dcbw@redhat.com>
5769
5770         * src/nm-manager.c
5771                 - (check_connection_allowed): take an NMDeviceInterface instead of
5772                         an NMDevice object as an argument
5773                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5774                         check_connection_allowed()
5775
5776 2008-01-13  Dan Williams  <dcbw@redhat.com>
5777
5778         * libnm-glib/nm-device-802-11-wireless.c
5779                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5780
5781 2008-01-12  Dan Williams  <dcbw@redhat.com>
5782
5783         * src/nm-device-802-11-wireless.c
5784                 - (activation_success_handler): if a match was found in the scan list
5785                         and that match is a hidden AP, update that AP's SSID
5786
5787 2008-01-11  Dan Williams  <dcbw@redhat.com>
5788
5789         * src/NetworkManagerAP.c
5790                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5791
5792         * src/nm-device-802-11-wireless.c
5793                 - (get_active_ap): do two passes over the scan list if the caller
5794                         requests that hidden APs get matched too; during the second pass
5795                         when matching hidden APs, ignore the SSID since hidden APs in the
5796                         scan list don't have an SSID yet
5797                 - (periodic_update): move some checks to
5798                         nm_device_802_11_periodic_update() because not all callers need them
5799                 - (nm_device_802_11_periodic_update): move some checks here from
5800                         perodic_update()
5801                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5802                         matching on incoming scan results, because the fake AP's flags
5803                         might be slightly different (yet still compatible) with the incoming
5804                         scan result's flags and they might actually be the same AP; update
5805                         the rate on merged APs too
5806                 - (activation_success_handler): update the frequency of the fake AP
5807                         on successful connection; match hidden APs too since if the
5808                         current AP is fake, there might already be a scan result in the
5809                         scan list for the desired AP, just without it's SSID filled in yet
5810
5811 2008-01-10  Dan Williams  <dcbw@redhat.com>
5812
5813         * src/NetworkManagerAP.c
5814                 - (foreach_property_cb): catch more hidden SSID formats
5815
5816 2008-01-10  Dan Williams  <dcbw@redhat.com>
5817
5818         Fix gnome.org #464215.  Requires the kernel patch titled
5819         "Introduce WEXT scan capabilities" but will handle the patch not being
5820         present, you'll just continue to have problems with hidden SSIDs when
5821         using mac80211-based drivers.
5822
5823         * src/supplicant-manager/nm-supplicant-config.h
5824           src/supplicant-manager/nm-supplicant-config.c
5825                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5826                         whether the driver supports SSID scans or not.  If it does, and if
5827                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5828
5829         * src/nm-device-802-11-wireless.c
5830                 - (constructor): check whether or not the driver supports SSID scans
5831                 - (build_supplicant_config): pass driver SSID scan capability when
5832                         building the wireless bits of the supplicant config
5833
5834 2008-01-09  Dan Williams  <dcbw@redhat.com>
5835
5836         * src/nm-device.c
5837           src/nm-device.h
5838                 - (device_activation_precheck, check_connection_complete): remove this
5839                         virtual function; incomplete connections should be invalid by
5840                         definition, complete-ness should be checked in the setting's
5841                         verify function
5842
5843         * src/nm-serial-device.c
5844           src/nm-gsm-device.c
5845                 - (real_check_connection_complete): remove
5846
5847         * libnm-util/nm-setting-serial.c
5848                 - (verify): new function; ensure there is a PPP setting too
5849
5850         * libnm-util/nm-setting-gsm.c
5851                 - (verify): ensure there is a serial setting too
5852
5853 2008-01-06  Dan Williams  <dcbw@redhat.com>
5854
5855         * src/dhcp-manager/nm-dhcp-manager.c
5856                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5857                         (gnome.org #332953)
5858
5859 2008-01-04  Dan Williams  <dcbw@redhat.com>
5860
5861         * src/named-manager/nm-named-manager.c
5862                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5863                         nameservers if the secondary config doesn't have any
5864                         (gnome.org #346833)
5865
5866 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5867
5868         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5869         with G_PARAM_CONSTRUCT so that they get the default values.
5870
5871         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5872         the monitoring device and prints out the output for now. Or more precicely, doesn't
5873         do absolutely anything right now since the montoring device argument is never set.
5874
5875         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5876         requires it's own knob to turn it on.
5877         (config_fd): Add NMSettingSerial to the arguments list.
5878         (nm_serial_device_open): Ditto.
5879         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5880         (nm_serial_device_get_io_channel): Implement.
5881
5882         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5883         a new reference every time (and forgetting to release it sometimes) is a pain and
5884         it's not like NMManager could work without dbus.
5885         (nm_manager_add_device): Register the added device on dbus here.
5886
5887         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5888         device.
5889
5890         * src/nm-device.c (constructor): Don't export the device here, instead export
5891         it when it's added to the NMManager's device list.
5892
5893 2007-12-31  Dan Williams  <dcbw@redhat.com>
5894
5895         * src/nm-device-interface.c
5896           src/nm-device-interface.h
5897                 - (nm_device_interface_check_connection_conflicts): new function
5898
5899         * src/nm-device.c
5900           src/nm-device.h
5901                 - (nm_device_check_connection_conflicts): new function
5902                 - (device_activation_precheck): don't require subclasses to implement
5903                         check_connection_complete()
5904                 - check_connection() -> check_connection_complete()
5905
5906         * src/nm-device-802-11-wireless.c
5907                 - (real_check_connection): remove; unused
5908                 - (real_check_connection_conflicts): implement, handle lockdown for
5909                         system connections
5910
5911         * src/nm-device-802-3-ethernet.c
5912                 - (real_check_connection): remove; unused
5913
5914         * src/nm-manager.c
5915                 - (check_connection_allowed): new function
5916                 - (nm_manager_activate_device): ensure the connection being requested
5917                         is allowed to be activated
5918
5919         * src/nm-serial-device.c
5920           src/nm-gsm-device.c
5921                 - real_check_connection() -> real_check_connection_complete()
5922
5923 2007-12-27  Dan Williams  <dcbw@redhat.com>
5924
5925         * src/nm-device-interface.c
5926           src/nm-device-interface.h
5927                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5928                         normalize and expand errors
5929                 - (nm_device_interface_init): register errors so they can be marshalled
5930                         through dbus-glib
5931                 - (nm_device_interface_activate): ensure that failure of activation
5932                         returns an error
5933
5934         * src/nm-device.c
5935           src/nm-device.h
5936                 - (device_activation_precheck): implementations of check_connection()
5937                         now take a GError and must fill it in if the check fails.  Return
5938                         more descriptive error if the requested connection is already
5939                         activating
5940                 - (nm_device_activate): actually try to return descriptive errors on
5941                         failures
5942
5943         * src/nm-device-802-11-wireless.c
5944           src/nm-device-802-3-ethernet.c
5945           src/nm-serial-device.c
5946           src/nm-gsm-device.c
5947                 - (real_check_connection): return more descriptive errors on failure
5948
5949         * src/NetworkManagerPolicy.c
5950                 - (nm_policy_device_change_check): print activation errors in the logs
5951
5952         * src/nm-manager.c
5953                 - (nm_manager_error_quark, nm_manager_error_get_type,
5954                    nm_manager_class_init): new errors
5955                 - (nm_manager_activate_device): handle errors
5956                 - (nm_manager_error_new): removed
5957                 - (wait_for_connection_expired, connection_added_default_handler,
5958                    impl_manager_activate_device): better error handling
5959
5960 2007-12-27  Dan Williams  <dcbw@redhat.com>
5961
5962         Fixes gnome.org #466954
5963
5964         * src/supplicant-manager/nm-supplicant-settings-verify.c
5965                 - Allow 'frequency' network property
5966
5967         * src/supplicant-manager/nm-supplicant-config.c
5968           src/supplicant-manager/nm-supplicant-config.h
5969                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5970                         for callers to specify the frequency an Ad-Hoc network should operate
5971                         on.  Some drivers require this to successfully create an Ad-Hoc
5972                         network.
5973
5974         * src/nm-device-802-11-wireless.c
5975                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5976                         guint32 value in MHz
5977                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5978                         iw_freq_to_uint32()
5979                 - (find_supported_frequency): new function; find a free supported
5980                         frequency for a user-created Ad-Hoc network
5981                 - (build_supplicant_config): if no frequency was specified for a user-
5982                         created Ad-Hoc network, find a free one to use
5983                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5984                         a specific object as user-created
5985
5986 2007-12-27  Dan Williams  <dcbw@redhat.com>
5987
5988         * libnm-util/nm-utils.c
5989           libnm-util/nm-utils.h
5990                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5991                         for adhoc networks
5992
5993 2007-12-24  Dan Williams  <dcbw@redhat.com>
5994
5995         * libnm-util/nm-setting-wireless.c
5996                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5997                         185, 187, 188, 192, and 196
5998
5999 2007-12-24  Dan Williams  <dcbw@redhat.com>
6000
6001         * src/nm-device-802-11-wireless.c
6002                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6003                         a channel # instead of a frequency
6004
6005 2007-12-24  Dan Williams  <dcbw@redhat.com>
6006
6007         * src/NetworkManagerAP.c
6008           src/NetworkManagerAP.h
6009                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6010                 - (freq_to_channel): handle split band tables
6011                 - (channel_to_freq): handle split band tables, take a band argument
6012
6013 2007-12-24  Dan Williams  <dcbw@redhat.com>
6014
6015         * libnm-util/nm-setting-connection.h
6016           libnm-util/nm-setting-connection.c
6017                 - Add 'lockdown' member
6018
6019 2007-12-22  Dan Williams  <dcbw@redhat.com>
6020
6021         * libnm-util/nm-setting-wireless.c
6022                 - (nm_setting_wireless_class_init): add missing 'rate' property
6023                         specification
6024
6025 2007-12-18  Dan Williams  <dcbw@redhat.com>
6026
6027         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6028
6029         * src/nm-netlink-monitor.c
6030           src/nm-netlink-monitor.h
6031                 - Remove handrolled netlink, use libnl instead
6032
6033         * src/nm-device-802-3-ethernet.c
6034                 - (constructor, nm_device_802_3_ethernet_carrier_off,
6035                    nm_device_802_3_ethernet_carrier_on): use new names
6036
6037 2007-12-17  Dan Williams  <dcbw@redhat.com>
6038
6039         * configure.in
6040                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6041                         and fixes memory leaks)
6042
6043         * src/nm-netlink.c
6044                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6045                         automatically handle the netlink PID
6046
6047 2007-12-17  Dan Williams  <dcbw@redhat.com>
6048
6049         Patch from Michael Biebl <biebl@debian.org>
6050
6051         * configure.in
6052           src/ppp-manager/Makefile.am
6053                 - fix up install dir of pppd plugin
6054                 - clean up configure.in a bit
6055
6056 2007-12-12  Dan Williams  <dcbw@redhat.com>
6057
6058         * system-settings/src/nm-system-settings.conf
6059                 - Allow non-root clients (like the applet) to read settings
6060
6061 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6062
6063         * Replace all occurences of 'UMTS' with 'GSM'.
6064
6065 2007-12-07  Dan Williams  <dcbw@redhat.com>
6066
6067         * src/nm-serial-device.c
6068                 - (real_is_up): serial devices are always "up"
6069
6070 2007-12-07  Dan Williams  <dcbw@redhat.com>
6071
6072         * src/nm-netlink.c
6073           src/NetworkManagerSystem.c
6074                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6075                         twice (gnome.org #491047)
6076                 - Make more robust against allocation-related failures should they occur
6077
6078 2007-12-07  Dan Williams  <dcbw@redhat.com>
6079
6080         Noticed by Christian Persch <chpe@gnome.org>
6081
6082         Always chain up to parent object in dispose and finalize handlers.
6083                 (gnome.org #433112)
6084
6085 2007-12-07  Dan Williams  <dcbw@redhat.com>
6086
6087         * src/nm-device-802-11-wireless.c
6088                 - Wrap #include of linux/mii.h to fix redefined structures due to
6089                         incorrect kernel headers (gnome.org #350061)
6090
6091 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6092
6093         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6094         before doing anything else.
6095         (init_modem): Move modem initialization here.
6096
6097         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6098         (nm_serial_device_flash): Implement.
6099
6100         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6101         changes signal is "StateChanged" and not "Status".
6102         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6103
6104 2007-12-06  Dan Williams  <dcbw@redhat.com>
6105
6106         * src/supplicant-manager/nm-supplicant-config.c
6107                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6108                         to only send some options when they make sense; also send phase2
6109                         option to the supplicant (possible fix for rh #399631)
6110
6111 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6112
6113         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6114         arguments: This whole file shouldn't really know anything about NMDevices, it
6115         should deal only with device interfaces. Devices might have different ifaces for
6116         different stuff and this place shouldn't know anything about it.
6117
6118         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6119         (global_state_changed): Implement. In the current NM it's not really important,
6120         but will be required in the case of multiple active devices. (Or even better,
6121         if stuff like that gets moved out from NM).
6122
6123         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6124         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6125         instead.
6126
6127         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6128         devices like serial devices (ttyS0 and ppp0 for example).
6129         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6130         set.
6131         (nm_device_set_ip_iface): Implement.
6132         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6133         after setting ip4_config from here ...
6134         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6135         than this function should call nm_system_device_set_from_ip4_config() because no
6136         other code has enough information on which arguments to use. So instead, other code
6137         could just set the new ip4 config using this function and everyone is happy.
6138
6139         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6140         if we happen to get deactivated while something is pending.
6141         (automatic_registration): Handle the response that indicates pending network
6142         registration and wait until the pending registration is done.
6143         (real_deactivate_quickly): If there's a pending operation, cancel it.
6144
6145         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6146         (real_deactivate_quickly): ... and remove it when it's down.
6147         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6148         it if needed.
6149         (nm_serial_device_wait_for_reply): Ditto.
6150
6151 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6152
6153         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6154         (get_network_done): Remove newline, nm_info() does it already.
6155         (real_act_stage1_prepare): Turn the modem echo off.
6156
6157         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6158         device, set the route to the device interface. This is a hack.
6159
6160         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6161         return, no need for a new-line.
6162         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6163         Change the device iface here (ugh).
6164         (real_act_stage4_get_ip4_config): Implement.
6165         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6166         Restore the device iface.
6167
6168         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6169         device is not wired or wireless (eg, automatically upped) device.
6170
6171         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6172         it isn't.
6173         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6174
6175         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6176         before calling it's is_device_fn().
6177
6178 2007-12-05  Dan Williams  <dcbw@redhat.com>
6179
6180         * libnm-util/nm-utils.c
6181                 - (nm_utils_register_value_transformations,
6182                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6183                         GHashTables of GValues too
6184
6185 2007-12-04  Dan Williams  <dcbw@redhat.com>
6186
6187         * initscript/RedHat/NetworkManager.in
6188                 - No longer start named; it's D-Bus interface is going away
6189
6190 2007-12-04  Dan Williams  <dcbw@redhat.com>
6191
6192         Patch from Michael Biebl <biebl@debian.org>
6193
6194         * system-settings/plugins/ifcfg/Makefile.am
6195           system-settings/src/main.c
6196           system-settings/src/Makefile.am
6197                 - Put system settings plugins in NM plugins dir
6198
6199         * src/ppp-manager/Makefile.am
6200           src/ppp-manager/nm-ppp-manager.c
6201                 - Move pppd plugin to NM plugins dir
6202
6203 2007-12-04  Dan Williams  <dcbw@redhat.com>
6204
6205         * libnm-util/nm-setting-vpn-properties.h
6206                 - Clarify usage of the 'data' member of the setting
6207
6208         * libnm-util/nm-setting-vpn-properties.c
6209                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6210                 - (set_property): just remove all the settings; don't recreate the has
6211                 - (update_one_secret): don't need to create the hash table here since
6212                         it should always be present
6213
6214 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6215
6216         Implement PIN and PUK requesting.
6217
6218         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6219         (enter_pin): Handle PIN and PUK requests.
6220         (real_act_stage1_prepare): Clear the secret type.
6221         (real_connection_secrets_updated): Implement this class method to get
6222         notified when new secrets arrive.
6223         (nm_umts_device_class_init): Add private data back to the umts device class
6224         to store the required secret type.
6225
6226 2007-12-01  Dan Williams  <dcbw@redhat.com>
6227
6228         * system-settings/plugins/ifcfg/parser.c
6229                 - (parser_parse_file): don't try to verify NULL connections
6230
6231 2007-12-01  Dan Williams  <dcbw@redhat.com>
6232
6233         * system-settings/src/main.c
6234                 - (load_connections, add_connection_to_settings): actually export
6235                         plugin-provided connections over D-Bus so NM can get them
6236
6237 2007-12-01  Dan Williams  <dcbw@redhat.com>
6238
6239         * system-settings/plugins/ifcfg/parser.c
6240           system-settings/plugins/ifcfg/parser.h
6241           system-settings/plugins/ifcfg/plugin.c
6242                 - Hook up more inotify bits (untested)
6243
6244 2007-11-29  Dan Williams  <dcbw@redhat.com>
6245
6246         * system-settings/src/nm-system-config-interface.h
6247           system-settings/src/nm-system-config-interface.c
6248                 - (nm_system_config_interface_init,
6249                    nm_system_config_interface_get_connections): add
6250
6251         * system-settings/src/main.c
6252                 - (load_plugins, load_connections, main): use a GSList for plugins
6253                         to ensure priority ordering
6254
6255         * system-settings/plugins/ifcfg/parser.c
6256                 - (ifcfg_error_quark): move to plugin.c, and rename
6257
6258         * system-settings/plugins/ifcfg/plugin.h
6259           system-settings/plugins/ifcfg/plugin.c
6260                 - (ifcfg_plugin_error_quark): move here from parser.c
6261                 - rework connection loading and initialization
6262                 - Add preliminary inotify support for network profile config file
6263
6264 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6265
6266         Merge the beginnings of the new GSM card support.
6267
6268         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6269         ppp watch source before killing pppd - If this happens from g_object_unref()
6270         then the ppp manager is already destroyed by the time the watch callback runs.
6271
6272         * src/nm-hal-manager.c: Add a device_type_name string to the device
6273         creators, so that we can print a nice human readable string when a
6274         device is added.
6275
6276         * src/nm-umts-device.c (automatic_registration_get_network): Query
6277         for the activated network, not much is done with the result thought.
6278
6279         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6280         (ppp_ip4_config): Change the device state to activated here for now.
6281         (real_check_connection): Make sure the connection includes ppp setting.
6282
6283         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6284
6285         * libnm-glib/Makefile.am: Add the new files to build.
6286
6287         * libnm-glib/nm-umts-device.c: 
6288         * libnm-glib/nm-umts-device.h: Implement.
6289
6290 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6291
6292         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6293         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6294
6295         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6296         the timeout source - this function is only called when the timeout source has
6297         been removed.
6298         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6299         to be big enough to contain the terminating zero element as well.
6300         The timeout argument is meant to be in seconds now.
6301         (real_deactivate_quickly): Implement.
6302
6303         * src/NetworkManager.conf: Allow root to own 
6304         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6305
6306         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6307         (not unsigned ints).
6308
6309         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6310         small issue with parity bounds - capital letters have lower ascii codes
6311         than lower case letters.
6312
6313         * libnm-util/nm-connection.c (register_default_settings): Register serial
6314         and umts settings.
6315
6316 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6317
6318         Remove the "index" property from devices as not all device types have this.
6319
6320         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6321
6322         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6323         (wired_device_creator): Get the device interface from hal to create the device.
6324         (wireless_device_creator): Ditto.
6325
6326         * src/nm-device.c (nm_device_init): Remove the index member.
6327         (constructor): Remove the checks for index property, make interface property
6328         a require constructor property.
6329         Use the HAL udi for DBus path for devices.
6330         (nm_device_get_index): Remove.
6331         (set_property): Remove index handling.
6332         (get_property): Ditto.
6333         (nm_device_get_dbus_path): Remove.
6334
6335         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6336         property.
6337
6338         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6339         Access the device index through it's interface.
6340         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6341         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6342         index argument. Add interface argument.
6343
6344         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6345         the useless test_dev argument. Remove index argument. Add interface arugment.
6346
6347         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6348         device index through interface.
6349         (nm_system_set_mtu): Ditto.
6350
6351         * introspection/nm-device.xml: Remove the "Index" property.
6352
6353 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6354
6355         * src/nm-serial-device.c: 
6356         * src/nm-serial-device.c: 
6357         * src/nm-umts-device.c:
6358         * src/nm-umts-device.h: Implement.
6359
6360         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6361         allocated by libhal.
6362         (modem_device_creator): Implement.
6363         (register_built_in_creators): Register the modem creator.
6364
6365         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6366         Remove the unused test_dev argument.
6367
6368         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6369
6370         * src/Makefile.am: Add new files to build.
6371         Link in ppp-manager.
6372
6373         * libnm-util/nm-setting-umts.c: 
6374         * libnm-util/nm-setting-umts.h: 
6375         * libnm-util/nm-setting-serial.c: 
6376         * libnm-util/nm-setting-serial.h: Implement.
6377
6378         * libnm-util/Makefile.am: Add new files to build.
6379
6380 2007-11-28  Dan Williams  <dcbw@redhat.com>
6381
6382         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6383
6384         Support DHCP-provided static routes.
6385
6386         * src/nm-ip4-config.h
6387           src/nm-ip4-config.c
6388                 - Add get/set functions for static routes
6389
6390         * src/dhcp-manager/nm-dhcp-manager.c
6391                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6392                         DHCP response
6393
6394         * src/NetworkManagerSystem.c
6395                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6396                         interface when applying the IP4Config
6397
6398 2007-11-28  Dan Williams  <dcbw@redhat.com>
6399
6400         * src/nm-device-802-11-wireless.c
6401                 - (real_act_stage1_prepare): mark APs created for hidden networks
6402                         as non-broadcasting
6403
6404 2007-11-27  Dan Williams  <dcbw@redhat.com>
6405
6406         * system-settings/src/nm-system-config-interface.h
6407                 - Note how to store secrets on NMSetting objects
6408
6409         * system-settings/src/dbus-settings.c
6410                 - (connection_settings_get_secrets): implement
6411
6412 2007-11-27  Dan Williams  <dcbw@redhat.com>
6413
6414         * system-settings/plugins/ifcfg/Makefile.am
6415           system-settings/plugins/ifcfg/parser.c
6416           system-settings/plugins/ifcfg/parser.h
6417           system-settings/plugins/ifcfg/plugin.c
6418                 - Parse wireless connections too
6419
6420         * system-settings/src/dbus-settings.c
6421           system-settings/src/dbus-settings.h
6422           system-settings/src/main.c
6423                 - Handle connection update/removal if the plugin supports it
6424
6425 2007-11-27  Dan Williams  <dcbw@redhat.com>
6426
6427         * src/nm-dbus-manager.h
6428           src/nm-hal-manager.c
6429                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6430                         do it for them
6431
6432         * src/Makefile.am
6433           src/NetworkManagerDbusUtils.c
6434           src/NetworkManagerDbusUtils.h
6435                 - Remove these two source files; they are unused
6436
6437 2007-11-27  Dan Williams  <dcbw@redhat.com>
6438
6439         * src/vpn-manager/nm-vpn-manager.c
6440                 - (impl_vpn_manager_connect): fix system settings check (found by
6441                         James M. Leddy)
6442
6443 2007-11-26  Dan Williams  <dcbw@redhat.com>
6444
6445         * Fix warnings so everything compiles with --enable-more-warnings
6446
6447 2007-11-25  Dan Williams  <dcbw@redhat.com>
6448
6449         * system-settings/*
6450                 - Rework structure and code to use GModule-loaded plugins and a plugin
6451                         interface that plugins export to the system settings service
6452
6453 2007-11-21  Dan Williams  <dcbw@redhat.com>
6454
6455         * system-settings/*
6456                 - Add Soren's system settings service.  Needs work for distros other
6457                         than Fedora; the backends from NM should mostly migrate to here
6458                         and be converted to GObjects
6459
6460 2007-11-21  Dan Williams  <dcbw@redhat.com>
6461
6462         * libnm-util/nm-setting-vpn-properties.c
6463                 - (set_property): must deep-copy the given settings hash, otherwise
6464                         double-free errors occur when the setting is disposed of
6465
6466 2007-11-21  Dan Williams  <dcbw@redhat.com>
6467
6468         * src/vpn-manager/nm-vpn-act-request.h
6469           src/vpn-manager/nm-vpn-act-request.c
6470                 - Remove; unused
6471
6472 2007-11-20  Dan Williams  <dcbw@redhat.com>
6473
6474         * libnm-util/nm-utils.c
6475                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6476                    nm_utils_convert_ip4_addr_struct_array_to_string,
6477                    nm_utils_register_value_transformations): print out the readable
6478                         values of more types of properties of NMSettings subclasses
6479
6480 2007-11-20  Dan Williams  <dcbw@redhat.com>
6481
6482         * libnm-util/nm-setting-ip4-config.c
6483                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6484                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6485                         marshal GValueArrays inside collections, so switch to types that it
6486                         can actually marshal/demarshal
6487
6488 2007-11-16  Dan Williams  <dcbw@redhat.com>
6489
6490         * libnm-util/nm-setting-wireless-security.c
6491                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6492                         minimal verification of EAP methods too
6493                 - (verify): verify phase1 eap methods too
6494
6495 2007-11-15  Dan Williams  <dcbw@redhat.com>
6496
6497         * libnm-glib/nm-device.h
6498           libnm-glib/nm-device.c
6499                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6500                         const char *
6501
6502 2007-11-15  Dan Williams  <dcbw@redhat.com>
6503
6504         * libnm-glib/nm-device.c
6505                 - (get_product_and_vendor): don't try to free things that should be
6506                         freed
6507
6508 2007-11-15  Dan Williams  <dcbw@redhat.com>
6509
6510         * src/NetworkManagerUtils.c
6511                 - (nm_ethernet_address_is_valid): unbreak previous fix
6512
6513 2007-11-15  Dan Williams  <dcbw@redhat.com>
6514
6515         * src/supplicant-manager/nm-supplicant-config.c
6516                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6517                         options
6518
6519 2007-11-15  Dan Williams  <dcbw@redhat.com>
6520
6521         * src/NetworkManagerUtils.c
6522                 - (nm_ethernet_address_is_valid): fix style, clarify
6523                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6524
6525         * src/nm-device-802-11-wireless.c
6526                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6527                 - (nm_device_802_11_wireless_get_ssid,
6528                    nm_device_802_11_wireless_get_bssid,
6529                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6530                         before calling the ioctl; fixes valgrind-reported jump depends on
6531                         uninitialized value errors
6532
6533 2007-11-15  Dan Williams  <dcbw@redhat.com>
6534
6535         * libnm-util/nm-setting.c
6536                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6537                         unecessary to serialize 'name'
6538
6539         * src/nm-activation-request.c
6540                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6541                         the GetSecrets call
6542
6543 2007-11-15  Dan Williams  <dcbw@redhat.com>
6544
6545         * libnm-util/nm-setting-connection.h
6546           libnm-util/nm-setting-connection.c
6547                 - Rename the 'name' property to 'id', because it conflicted with the
6548                         NMSetting superclass' 'name' property.
6549
6550         * libnm-util/nm-setting.c
6551                 - (nm_setting_to_hash): serialize the 'name' property
6552                 - (one_property_cb): ignore 'name' on deserialization of a connection
6553
6554         * src/nm-device-802-11-wireless.c
6555           src/vpn-manager/nm-vpn-connection.c
6556           src/NetworkManagerPolicy.c
6557                 - Fix up for NMSettingConnection 'name'->'id' changes
6558
6559 2007-11-13  Dan Williams  <dcbw@redhat.com>
6560
6561         * libnm-glib/nm-device-802-11-wireless.h
6562           libnm-glib/nm-device-802-11-wireless.c
6563                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6564
6565         * test/nm-tool.c
6566           libnm-glib/libnm-glib-test.c
6567                 - Fixes for above change
6568
6569 2007-11-12  Dan Williams  <dcbw@redhat.com>
6570
6571         * src/supplicant-manager/nm-supplicant-settings-verify.c
6572                 - Allow fragment_size option
6573
6574         * src/supplicant-manager/nm-supplicant-settings-verify.c
6575                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6576                         EAP fragment size than the default to help some TLS connections
6577
6578 2007-11-12  Dan Williams  <dcbw@redhat.com>
6579
6580         Make certs actually work.  The private key is now a secret, and should be
6581         decrypted when requested by NM.  The private key and phase2 private key
6582         passwords are no longer interesting to NM because they should be used by
6583         the settings service to decrypt the private key itself before passing it
6584         to NM, and hence have been removed as fields.
6585
6586         * libnm-util/nm-setting-wireless-security.h
6587           libnm-util/nm-setting-wireless-security.c
6588                 - Remove private-key-passwd and phase2-private-key-passwd from
6589                         properties
6590                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6591                    need_secrets): use property #defines instead strings to keep things
6592                         consistent
6593                 - (need_secrets_tls): if a client certificate is present but no
6594                         private key, request the private key
6595                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6596                         remove private key password stuff, mark private keys as secret
6597
6598         * src/supplicant-manager/nm-supplicant-settings-verify.c
6599                 - Remove private_key_passwd and private_key2_passwd from opt_table
6600
6601 2007-11-09  Dan Williams  <dcbw@redhat.com>
6602
6603         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6604         Since the vpn-properties are managed and known by the VPN daemons themselves,
6605         libnm-util doesn't know what's secret and what's in the setting's 'data'
6606         member.
6607
6608         * libnm-util/nm-setting.h
6609           libnm-util/nm-setting.c
6610                 - Add the ability for subclasses to override update_one_secret
6611
6612         * libnm-util/nm-setting-vpn-properties.c
6613                 - Override update_one_secret and just copy the values into the
6614                         internal table
6615
6616 2007-11-09  Dan Williams  <dcbw@redhat.com>
6617
6618         * libnm-glib/nm-settings.h
6619           libnm-glib/nm-settings.c
6620                 - (nm_settings_new_error): remove
6621                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6622                         clients should use g_set_error() with NM_SETTINGS_ERROR
6623
6624 2007-11-09  Dan Williams  <dcbw@redhat.com>
6625
6626         * src/supplicant-manager/nm-supplicant-config.c
6627                 - (nm_supplicant_config_add_setting_wireless_security): private key
6628                         passwords are never sent to wpa_supplicant, because the supplicant
6629                         should never be reading random files from the disk.  Clients like
6630                         the applet are required to decrypt the private keys and send NM
6631                         the decrypted blobs.
6632
6633 2007-11-08  Dan Williams  <dcbw@redhat.com>
6634
6635         * libnm-util/nm-setting-wireless-security.h
6636           libnm-util/nm-setting-wireless-security.c
6637                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6638                         members to 802-11-wireless-security structure.  This should be used
6639                         to indicate that the values in private-key and phase2-private-key
6640                         are already decrypted by the user agent, and that no
6641                         private-key-passwd or phase2-private-key-passwd should be expected.
6642                         It is not meant to be a stored configuration value, but meant to
6643                         be set when the conneciton is sent to NM over dbus.
6644
6645 2007-11-08  Dan Williams  <dcbw@redhat.com>
6646
6647         * libnm-util/nm-connection.h
6648           libnm-util/nm-connection.c
6649                 - (nm_connection_need_secrets): add argument to return hints
6650
6651         * src/nm-device-802-11-wireless.c
6652                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6653                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6654                         nm_connection_need_secrets() change
6655
6656 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6657
6658         Rework NMSetting structures: Move each setting to it's own file.
6659         Convert to GObject. Remove home grown setting types and use GTypes.
6660         Use GObject property introspection for hash conversion, enumerating
6661         properties, etc.
6662
6663         * libnm-util/nm-setting-connection.[ch]
6664         * libnm-util/nm-setting-ip4-config.[ch]
6665         * libnm-util/nm-setting-ppp.[ch]
6666         * libnm-util/nm-setting-vpn.[ch]
6667         * libnm-util/nm-setting-vpn-properties.[ch]
6668         * libnm-util/nm-setting-wired.[ch]
6669         * libnm-util/nm-setting-wireless.[ch]
6670         * libnm-util/nm-setting-wireless-security.[ch]
6671
6672         New files, each containing a setting.
6673
6674         * libnm-util/nm-setting-template.[ch]: A template for creating new
6675         settings. To use it, just replace 'template' with the new setting
6676         name, and you're half-way done.
6677
6678         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6679         introspection instead of internal types and tables.
6680
6681         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6682
6683         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6684         GValue types defined by dbus-glib for composed types like collections,
6685         structures and maps.
6686
6687         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6688         a setting from connection takes the setting type now. Also, since
6689         the settings are in multiple files, include relevant settings.
6690
6691 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6692
6693         * configure.in:
6694         * src/backends/NetworkManagerGentoo.c:
6695         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6696         providers in Gentoo.
6697
6698 2007-10-31  Dan Williams  <dcbw@redhat.com>
6699
6700         * libnm-util/nm-connection.c
6701                 - (gvalue_to_string): handle UINT32 arrays
6702
6703 2007-10-31  Dan Williams  <dcbw@redhat.com>
6704
6705         * libnm-glib/nm-device.h
6706           libnm-glib/nm-device.c
6707                 - (nm_device_get_description): remove
6708                 - (nm_device_get_product, nm_device_get_vendor): add
6709                 - (nm_device_update_description): new function (private); walk HAL
6710                         devices to get product and vendor IDs for a specific device
6711
6712 2007-10-31  Dan Williams  <dcbw@redhat.com>
6713
6714         * src/nm-device-802-11-wireless.c
6715                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6716
6717 2007-10-29  Dan Williams  <dcbw@redhat.com>
6718
6719         * src/nm-hal-manager.c
6720                 - (device_added, device_new_capability): ignore device additions while
6721                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6722                         kernel module is unloaded and reloaded and recognized by NM again.
6723
6724 2007-10-26  Dan Williams  <dcbw@redhat.com>
6725
6726         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6727
6728         * src/NetworkManagerAP.c
6729           src/NetworkManagerAP.h
6730           libnm-glib/nm-access-point.c
6731           libnm-glib/nm-access-point.h
6732                 - Make 'rate' property a guint32 to better match with WEXT and
6733                         wpa_supplicant and to allow representation of higher bitrates
6734
6735         * src/nm-device-802-11-wireless.c
6736           introspection/nm-device-802-11-wireless.xml
6737           libnm-glib/nm-device-802-11-wireless.c
6738           libnm-glib/nm-device-802-11-wireless.h
6739                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6740
6741         * src/nm-device-802-3-ethernet.c
6742           src/nm-device-802-3-ethernet.h
6743           introspection/nm-device-802-3-ethernet.xml
6744           libnm-glib/nm-device-802-3-ethernet.c
6745           libnm-glib/nm-device-802-3-ethernet.h
6746                 - Make 'speed' property a guint32 to match other speed/rate types
6747                 - Make nm_device_802_3_ethernet_get_speed() static
6748
6749         * test/nm-tool.c
6750                 - Update for the changes above
6751
6752 2007-10-26  Dan Williams  <dcbw@redhat.com>
6753
6754         * src/named-manager/nm-named-manager.c
6755                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6756                     not calling fclose() twice on some error conditions
6757
6758 2007-10-26  Dan Williams  <dcbw@redhat.com>
6759
6760         * src/nm-activation-request.c
6761                 - (dispose): clean up indentation; get the right DBusGProxy object to
6762                         cancel the GetSecrets pending call on.  Need to use the Secrets
6763                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6764                         pending call doesn't get canceled, and pressing Cancel in the
6765                         applet's password dialog could cause get_secrets_cb() to be called
6766                         after the activation request has already been destroyed
6767
6768 2007-10-24  Dan Williams  <dcbw@redhat.com>
6769
6770         * src/supplicant-manager/nm-supplicant-config.c
6771                 - (nm_supplicant_config_add_blob): pass blob data and length for
6772                         verification
6773                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6774
6775 2007-10-24  Dan Williams  <dcbw@redhat.com>
6776
6777         * src/supplicant-manager/nm-supplicant-settings-verify.c
6778                 - (opt_table): max length for certificates should be 65536
6779
6780 2007-10-24  Dan Williams  <dcbw@redhat.com>
6781
6782         * src/supplicant-manager/nm-supplicant-interface.c
6783                 - (blob_free): correctly free blob data after use
6784                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6785
6786 2007-10-24  Dan Williams  <dcbw@redhat.com>
6787
6788         * libnm-util/nm-setting.c
6789                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6790                         EAP method need secrets
6791
6792 2007-10-24  Dan Williams  <dcbw@redhat.com>
6793
6794         * src/backends/NetworkManagerRedHat.c
6795                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6796
6797 2007-10-23  Dan Williams  <dcbw@redhat.com>
6798
6799         * libnm-util/nm-setting.c
6800           libnm-util/nm-setting.c
6801                 - (nm_setting_compare): implement
6802                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6803                    compare_one_hash_gvalue): compare the contents of a setting
6804
6805         * libnm-util/nm-connection.c
6806                 - (nm_connection_compare): implement
6807
6808 2007-10-23  Dan Williams  <dcbw@redhat.com>
6809
6810         * src/nm-activation-request.c
6811                 - (get_secrets_cb): handle getting a setting back that is more than
6812                         just secrets (ie, user changed auth or EAP method or something)
6813
6814 2007-10-23  Dan Williams  <dcbw@redhat.com>
6815
6816         * libnm-util/nm-setting.c
6817           libnm-util/nm-setting.h
6818                 - (nm_setting_verify): new function; verify one setting
6819                 - (nm_settings_verify_all): rename from nm_settings_verify()
6820                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6821                         all_settings
6822
6823         * libnm-util/nm-connection.c
6824                 - (nm_connection_replace_settings, nm_connection_verify,
6825                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6826
6827 2007-10-23  Dan Williams  <dcbw@redhat.com>
6828
6829         * src/nm-device-802-11-wireless.c
6830                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6831                         desired behavior
6832
6833 2007-10-23  Dan Williams  <dcbw@redhat.com>
6834
6835         * src/supplicant-manager/nm-supplicant-settings-verify.c
6836                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6837                         nm-settings.c
6838
6839 2007-10-23  Dan Williams  <dcbw@redhat.com>
6840
6841         * src/nm-device-802-11-wireless.c
6842                 - (real_act_stage2_config): after the first association failure,
6843                         if the connection still needs secrets ask the user for them
6844                         explicitly.  After the fourth association failure due to bad
6845                         secrets, fail the connection entirely.  Handles the GetSecrets
6846                         loop that NM gets into when the provided secrets don't match up
6847                         with the connection details.
6848
6849 2007-10-23  Dan Williams  <dcbw@redhat.com>
6850
6851         * src/supplicant-manager/nm-supplicant-config.c
6852                 - (nm_supplicant_config_add_setting_wireless_security): only add
6853                         WPA-specific options when WPA is in use
6854
6855 2007-10-23  Dan Williams  <dcbw@redhat.com>
6856
6857         * src/supplicant-manager/nm-supplicant-config.c
6858                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6859                         secret doesn't need to be unhexified
6860
6861 2007-10-23  Dan Williams  <dcbw@redhat.com>
6862
6863         * libnm-util/nm-setting.c
6864                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6865                         before trying to do something with it
6866
6867 2007-10-23  Dan Williams  <dcbw@redhat.com>
6868
6869         * src/nm-device-802-11-wireless.c
6870                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6871
6872 2007-10-23  Dan Williams  <dcbw@redhat.com>
6873
6874         * src/nm-device-802-11-wireless.c
6875                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6876                         non-SSID-broadcasting APs
6877
6878 2007-10-23  Dan Williams  <dcbw@redhat.com>
6879
6880         * src/NetworkManagerAP.c
6881                 - (match_cipher, security_compatible): remove
6882                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6883                         libnm-util instead
6884
6885 2007-10-23  Dan Williams  <dcbw@redhat.com>
6886
6887         * libnm-util/nm-utils.c
6888           libnm-util/nm-utils.h
6889                 - (nm_utils_ap_security_compatible): common function for checking
6890                         whether a specific AP is compatible with an NMConnection
6891
6892 2007-10-23  Dan Williams  <dcbw@redhat.com>
6893
6894         * libnm-util/nm-setting.c
6895                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6896                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6897                    need_secrets_password, setting_wireless_security_verify): fix
6898                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6899                         secrets logic for each supported EAP method
6900
6901 2007-10-23  Dan Williams  <dcbw@redhat.com>
6902
6903         * src/supplicant-manager/nm-supplicant-config.c
6904                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6905                         config option name, should be "private_key2_passwd"
6906
6907 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6908
6909         Implement support for static IP addresses, additional/overridden DNS and
6910         DNS domain search lists.
6911
6912         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6913         (ip4_addresses_to_gvalue): Implement.
6914         (convert_array_to_byte_array): Implement.
6915         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6916         NM_S_TYPE_IP4_ADDRESSES.
6917         (nm_setting_hash): Ditto.
6918         (default_setting_clear_secrets): Add a default case for the switch: IP address
6919         shouldn't be secret, ever.
6920         (setting_ip4_config_verify): Update, requires addresses in case of manual
6921         configurations.
6922         (setting_ip4_config_destroy): Free stuff.
6923
6924         * src/nm-device.c (merge_ip4_config): Implement.
6925         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6926
6927 2007-10-22  Dan Williams  <dcbw@redhat.com>
6928
6929         * libnm-util/nm-setting.c
6930                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6931                         pairwise cipher options for Dynamic WEP
6932
6933 2007-10-21  Dan Williams  <dcbw@redhat.com>
6934
6935         * src/NetworkManagerAP.c
6936           src/NetworkManagerAP.h
6937                 - Rename 'articifical' -> 'fake' since that's what they are until
6938                         noticed in scans
6939                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6940                         from the attributes in an NMConnection object
6941                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6942                         WPA Enterprise
6943                 - (nm_ap_match_in_list): find a matching AP in a scan list
6944
6945         * src/nm-device-802-11-wireless.c
6946                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6947                         AP when searching the scan list; match on frequency and mode too
6948                 - (nm_device_802_11_wireless_get_frequency): implement
6949                 - (merge_scanned_ap): replace duplicate matching logic with
6950                         nm_ap_match_in_list()
6951                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6952                         the user is trying to connect to a hidden network that is not yet
6953                         known from the scan list
6954                 - (activation_success_handler): now that the card knows the AP's BSSID,
6955                         there may already be a scanned AP in the scan list that is what
6956                         we really wanted to connect to, but didn't know at the time.  Use
6957                         that instead of the 'fake' AP created at activation start and get
6958                         rid of the 'fake' AP 
6959                 - (cull_scan_list): don't remove fake APs
6960
6961 2007-10-21  Dan Williams  <dcbw@redhat.com>
6962
6963         * src/nm-activation-request.h
6964           src/nm-activation-request.c
6965                 - (nm_act_request_set_specific_object): new function; allow setting the
6966                         specific object if one isn't set yet
6967
6968 2007-10-20  Dan Williams  <dcbw@redhat.com>
6969
6970         * src/supplicant-manager/nm-supplicant-config.h
6971           src/supplicant-manager/nm-supplicant-config.c
6972                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6973                         table to store blobs
6974                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6975                         blob hash table
6976                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6977                 - (nm_supplicant_config_add_setting_wireless_security): handle
6978                         options that use certificates (ie, blobs)
6979
6980         * src/nm-device-802-11-wireless.c
6981                 - (build_supplicant_config): pass a UID (just use the connection path)
6982                         to the supplicant config as now required
6983
6984         * src/supplicant-manager/nm-supplicant-interface.c
6985                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6986                         there are any blobs to send to wpa_supplicant, send those first
6987                         before sending the network configuration
6988
6989 2007-10-19  Dan Williams  <dcbw@redhat.com>
6990
6991         Split the GetSecrets() call off to a separate D-Bus interface so that it
6992         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6993         should be able to call GetSecrets().
6994
6995         * include/NetworkManager.h
6996                 - Define the connection secrets D-Bus interface
6997
6998         * src/vpn-manager/nm-vpn-connection.c
6999                 - (clear_need_auth): get the right proxy object for the connection
7000                         secrets interface
7001                 - (get_connection_secrets): use the connection secrets proxy; send
7002                         empty hints in get secrets request
7003
7004         * src/nm-activation-request.c
7005                 - (nm_act_request_request_connection_secrets): use the connection
7006                         secrets proxy; send empty hints in get secrets request
7007
7008         * src/nm-manager.c
7009           src/nm-manager.h
7010                 - (connection_get_settings_cb): set the connection secrets proxy on
7011                         the connection object too
7012                 - (internal_new_connection_cb): create the connection secrets proxy
7013
7014         * introspection/nm-settings-connection.xml
7015                 - Define Connection.Secrets interface and move GetSecrets there
7016                 - Add a 'hints' argument to GetSecrets
7017
7018         * libnm-glib/nm-settings.c
7019           libnm-glib/nm-settings.h
7020                 - (impl_connection_settings_get_secrets): add 'hints' argument
7021
7022 2007-10-19  Dan Williams  <dcbw@redhat.com>
7023
7024         * src/nm-device.c
7025                 - (constructor): add message about what path a device is exported as
7026                         to help in debugging rh #339011
7027
7028 2007-10-17  Dan Williams  <dcbw@redhat.com>
7029
7030         * libnm-util/nm-utils.h
7031           libnm-util/nm-utils.c
7032                 - (nm_utils_security_valid): common function to help find the intersection
7033                         of capabilities of devices and (optionally) access points
7034
7035 2007-10-17  Dan Williams  <dcbw@redhat.com>
7036
7037         * src/nm-device-802-11-wireless.c
7038                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7039                         don't get erroneously cleared
7040
7041 2007-10-17  Dan Williams  <dcbw@redhat.com>
7042
7043         * src/nm-manager.h
7044           src/nm-manager.c
7045           src/nm-hal-manager.c
7046                 - (device_removed, finalize, nm_manager_remove_device,
7047                    nm_manager_sleep): add a 'deactivate' argument to 
7048                    nm_manager_remove_device() to fully deactivate devices when necessary
7049                    (ie, always except when waking up)
7050
7051 2007-10-16  Dan Williams  <dcbw@redhat.com>
7052
7053         * libnm-util/nm-setting.c
7054                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7055                         also isn't valid phase2 autheap method
7056
7057 2007-10-16  Dan Williams  <dcbw@redhat.com>
7058
7059         * libnm-glib/nm-client.c
7060                 - (update_wireless_status): consolidate updates of wireless status
7061                 - (constructor): use update_wireless_status()
7062                 - (manager_running): set wireless status off when NM goes away; requery
7063                         the wireless status when NM comes back
7064
7065 2007-10-16  Dan Williams  <dcbw@redhat.com>
7066
7067         * libnm-glib/nm-client.c
7068                 - (nm_client_activate_device): actually use the fixed-up specific
7069                         object path
7070
7071 2007-10-16  Dan Williams  <dcbw@redhat.com>
7072
7073         * src/nm-hal-manager.c
7074                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7075                         killswitch error messages once
7076
7077 2007-10-16  Dan Williams  <dcbw@redhat.com>
7078
7079         * src/nm-manager.c
7080                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7081                         if it's disabled in hardware; don't touch network devices while
7082                         NM is asleep
7083
7084 2007-10-16  Dan Williams  <dcbw@redhat.com>
7085
7086         * libnm-util/nm-client.c
7087                 - (nm_client_activate_device): convert NULL specific_object to "/",
7088                         which is used in place of NULL
7089
7090         * src/nm-manager.c
7091                 - (impl_manager_activate_device): convert "/" specific_object back into
7092                         NULL
7093
7094 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7095
7096         Implement a generic NMSetting creator from setting name.
7097         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7098         add a virtual function 'populate_fn'.
7099
7100         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7101         (register_default_creators): Register setting creators instead of functions
7102         that create and then populate.
7103         (parse_one_setting): Use the common setting creator and then setting specific
7104         poplulation function.
7105
7106         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7107         they all looked exactly the same.
7108         Add a 'populate_fn' virtual function to NMSetting.
7109         Use default virtual functions in case they are not overriden.
7110         (nm_setting_populate_from_hash): Implement.
7111
7112         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7113         name, use a defined string.
7114         (real_act_stage4_get_ip4_config): Ditto.
7115
7116 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7117
7118         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7119         HAL is int, not uint.
7120
7121 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7122
7123         Implement killswitch polling through HAL.
7124
7125         * src/nm-manager.c: Add wireless hardware status property. Add 
7126         'properties-changed' signal for changes in wireless and wireless hardware
7127         state changes.
7128
7129         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7130         and update NMManager's wireless hardware state when it has changed.
7131         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7132         already does that.
7133
7134         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7135         values of wireless state and wireless hardware state. Listen for the
7136         'properties-changed' signals, update the cached values and emit notify.
7137
7138         * include/NetworkManager.h: Fix a typo in a comment.
7139
7140 2007-10-14  Dan Williams  <dcbw@redhat.com>
7141
7142         * libnm-util/nm-setting.c
7143                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7144
7145 2007-10-13  Dan Williams  <dcbw@redhat.com>
7146
7147         * libnm-util/nm-setting.h
7148           libnm-util/nm-setting.c
7149           src/supplicant-manager/nm-supplicant-config.c
7150                 - Make the 'proto' field of the 802-11-wireless-security field a
7151                         string list
7152
7153 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7154
7155         Rework the "properties-changed" signal listening implementation.
7156         Add a generic implementation to NMObject class that listens for
7157         the signal and calls property setters of the target NMObject.
7158
7159         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7160
7161         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7162         code to the end of file so that all the static functions are available
7163         without extra declarations.
7164         Remove the "properties-changed" signal handling and use the framework from
7165         NMObject.
7166         Implement property setters for properties that change with 
7167         "properties-changed" signal.
7168
7169         * libnm-glib/nm-access-point.c: Ditto.
7170
7171 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7172
7173         Rework the "properties-changed" signal implementation.
7174         In classes that need to use it, just emit "GObject::notify" and the new
7175         framework takes care of the rest to make the signal available on dbus.
7176         The framework queues the notifications and tries to send as many together
7177         in one signal as possible.
7178
7179         * src/nm-properties-changed-signal.c:
7180         * src/nm-properties-changed-signal.h: Implement.
7181
7182         * src/Makefile.am: Add new files to build.
7183
7184         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7185         signal.
7186
7187         * src/nm-device-802-11-wireless.c: Ditto.
7188
7189 2007-10-10  Dan Williams  <dcbw@redhat.com>
7190
7191         * src/nm-manager.c
7192                 - (wait_for_connection_expired): ensure info is valid
7193                 - (connection_added_default_handler): Should only remove pending
7194                         connection info when the manager has the connection that it's
7195                         waiting for.  Fixes segfault in wait_for_connection_info().  
7196
7197 2007-10-10  Dan Williams  <dcbw@redhat.com>
7198
7199         * libnm-util/nm-setting.c
7200           libnm-util/nm-setting.h
7201                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7202                         can use if they choose.  Should be filled in by the settings service
7203                         on-the-fly with the currently logged in user's username
7204
7205 2007-10-10  Dan Williams  <dcbw@redhat.com>
7206
7207         * src/nm-device-802-11-wireless.c
7208                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7209                         as such, because even if the manager fills in the SSID, NM still
7210                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7211                         its SSID
7212
7213 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7214
7215         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7216         code that used NM's own version of dbus signal handling and custom dictionary
7217         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7218         and we get to maintain over 2000 lines less code.
7219
7220         * libnm-util/dbus-dict-helpers.c:
7221         * libnm-util/dbus-dict-helpers.h: Remove.
7222
7223         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7224
7225         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7226
7227         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7228         handlers.
7229
7230         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7231
7232         * configure.in: Remove test/libnm-util/Makefile creation.
7233
7234         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7235
7236         * test/libnm-util/: Remove the whole directory.
7237
7238 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7239
7240         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7241         device_state_changed_idle_id variable or it would contain some random value and the
7242         schedule_change_check calls would not do anything.
7243
7244 2007-10-09  Dan Williams  <dcbw@redhat.com>
7245
7246         * src/nm-device-802-11-wireless.c
7247                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7248                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7249                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7250                         merging of non-SSID-broadcasting APs
7251
7252 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7253
7254         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7255         "guint8 *" since it's usually used with GByteArray->data.
7256         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7257
7258 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7259
7260         * src/NetworkManagerUtils.c
7261         (nm_utils_is_empty_ssid):
7262         (nm_utils_escape_ssid):
7263         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7264         lot of places, so they belong to libnm-utils instead.
7265
7266         Now with 100% less compiler warnings:
7267
7268         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7269         (nm_dbus_unescape_object_path): Ditto.
7270         (nm_utils_ssid_to_utf8): Ditto.
7271         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7272         (nm_utils_escape_ssid): Ditto.
7273         (nm_utils_same_ssid): Ditto.
7274
7275         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7276         (add_one_connection_element): Remove an unused variable.
7277         (impl_manager_get_active_connections): Ditto.
7278
7279         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7280         variable.
7281
7282         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7283         from the previous commit.
7284
7285         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7286         (real_act_stage1_prepare): Ditto.
7287         (activation_success_handler): Ditto.
7288         (get_property): Ditto.
7289
7290         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7291         variable.
7292
7293         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7294         it's always set.
7295
7296         * src/supplicant-manager/nm-supplicant-config.c 
7297         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7298         to expected "char *".
7299         (nm_supplicant_config_add_setting_wireless): Ditto.
7300         (nm_supplicant_config_remove_option): Remove, not used.
7301
7302         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7303         not double.
7304         (test_wireless_enabled): Ifdef out unused function.
7305         (device_deactivate): Ditto.
7306         (device_state_changed): Ditto.
7307         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7308         (nm_utils_escape_ssid): Ditto.
7309
7310         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7311         (nm_utils_is_empty_ssid): Ditto.
7312
7313         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7314         unused variable.
7315
7316         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7317         (setting_vpn_properties_update_secrets): Ditto.
7318         (int_to_gvalue): Ifdef out for now, not used.
7319         (byte_to_gvalue): Ditto.
7320
7321         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7322         Unused, remove.
7323
7324 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7325
7326         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7327         about dbus manager, not named manager.
7328         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7329
7330         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7331         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7332         However, the same signal is emitted when we destroy it and there's 
7333         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7334
7335         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7336         releasing the DBusGConnection, since proxy needs a conneciton.
7337         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7338
7339 2007-10-08  Dan Williams  <dcbw@redhat.com>
7340
7341         * src/NetworkManager.c
7342                 - (main): error on unknown command-line options
7343
7344 2007-10-08  Dan Williams  <dcbw@redhat.com>
7345
7346         Reimplement the invalid connection list.  Don't try to re-activate a
7347         connection that just failed or was canceled.
7348
7349         * src/nm-device.c
7350                 - (connection_secrets_failed_cb): fail device activation, don't just
7351                         deactivate the device.  Listeners have to know about the failure.
7352
7353         * src/NetworkManagerPolicy.c
7354                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7355                         the connection list given to a device's get_best_connection()
7356                         method
7357                 - (device_state_changed): tag failed connections as invalid; clear the
7358                         tag from successful connections
7359
7360 2007-10-08  Dan Williams  <dcbw@redhat.com>
7361
7362         Fix problems with interrupted activation.  Previously, choosing an AP
7363         from the menu, then choosing another one before the first connection was
7364         successful wouldn't deactivate the device before starting the new connection
7365         on that same device.
7366
7367         * src/NetworkManagerPolicy.c
7368                 - (deactivate_old_device, device_state_changed, state_changed,
7369                    nm_policy_new): wrong place to deactivate old devices
7370
7371         * src/nm-manager.c
7372                 - (pending_connection_info_destroy, finalize,
7373                    wait_for_connection_expired): decouple destruction of the pending
7374                         connection info from the manager device
7375                 - (connection_added_default_handler): deactivate any active or
7376                         activating device before starting a new activation
7377                 - (impl_manager_activate_device): deactivate any active or activating
7378                         device before starting a new activation; be sure not to leak
7379                         pending connection info if a new activation request arrives but
7380                         there's already a pending one in-process
7381
7382 2007-10-08  Dan Williams  <dcbw@redhat.com>
7383
7384         * src/NetworkManagerAP.h
7385           src/NetworkManagerAP.c
7386                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7387                         should handle default SSIDs and whether or not to autoconnect
7388                         to them
7389
7390 2007-10-08  Dan Williams  <dcbw@redhat.com>
7391
7392         * src/NetworkManagerPolicy.c
7393                 - (nm_policy_device_change_check): print out connection name where
7394                         possible
7395
7396 2007-10-08  Dan Williams  <dcbw@redhat.com>
7397
7398         * src/nm-device-802-11-wireless.c
7399           src/nm-device-802-11-wireless.h
7400                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7401                         'hidden-ap-found' signal (for internal use only) that allows the
7402                         NMManager to fill in the AP's SSID if a connection has that AP's
7403                         BSSID in its seen-bssids list
7404
7405         * src/nm-manager.c
7406                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7407                         wireless device's hidden-ap-found signal and fill in the APs SSID
7408                         if possible
7409
7410 2007-10-07  Dan Williams  <dcbw@redhat.com>
7411
7412         * src/nm-manager.c
7413           src/nm-manager.h
7414                 - Add a 'connections-added' signal to batch together updates of large
7415                         numbers of connections, like when reading from a settings service
7416                         the first time.  Otherwise, the policy would just activate the first
7417                         suitable connection it saw rather than waiting for the full list
7418                         to arrive.
7419                 - (nm_manager_class_init): register new signal
7420                 - (get_type_for_proxy, connection_get_settings_cb,
7421                    get_connection_for_proxy): centralize places where a proxy's setting
7422                         service is determined
7423                 - (free_get_settings_info): if the call being freed is the last call
7424                         in a pending call group, fire off the connections-added signal
7425                 - (internal_new_connection_cb): add call to a pending call group if
7426                         requested
7427                 - (list_connections_cb): always create a call group here, because this
7428                         call results in a batch of new connections
7429                 - (initial_get_connections): start getting system connections first
7430                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7431                         removed signal when destroying connections
7432
7433         * src/NetworkManagerPolicy.c
7434                 - (nm_policy_new, connections_added): handle connections-added signal
7435                         from the manager
7436
7437 2007-10-06  Dan Williams  <dcbw@redhat.com>
7438
7439         * src/nm-device-802-11-wireless.c
7440                 - (constructor): fix leaked socket
7441
7442 2007-10-06  Dan Williams  <dcbw@redhat.com>
7443
7444         * src/NetworkManagerPolicy.c
7445                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7446                         connection in the list returned by nm_manager_get_connections() is
7447                         reffed, but they weren't getting unreffed before returning
7448
7449 2007-10-06  Dan Williams  <dcbw@redhat.com>
7450
7451         * src/nm-manager.c
7452                 - (connections_to_slist): sort connections first on autoconnect, then
7453                         on timestamp
7454
7455 2007-10-06  Dan Williams  <dcbw@redhat.com>
7456
7457         * libnm-util/nm-connection.c
7458                 - (gvalue_to_string): handle UINT64
7459
7460 2007-10-06  Dan Williams  <dcbw@redhat.com>
7461
7462         * src/NetworkManagerPolicy.c
7463                 - (connection_updated, nm_policy_new): recheck state when a connection
7464                         gets updated
7465
7466 2007-10-06  Dan Williams  <dcbw@redhat.com>
7467
7468         * src/nm-manager.c
7469           src/nm-manager.h
7470                 - (nm_manager_get_connection_dbus_path): make static
7471                 - (nm_manager_update_connections): remove; unused
7472                 - Add a connection-updated signal
7473                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7474                         handle connection object updates
7475
7476 2007-10-06  Dan Williams  <dcbw@redhat.com>
7477
7478         * src/NetworkManagerPolicy.c
7479                 - (connection_removed): deactivate removed connections
7480
7481 2007-10-06  Dan Williams  <dcbw@redhat.com>
7482
7483         * libnm-util/nm-connection.c
7484           libnm-util/nm-connection.h
7485                 - (nm_connection_replace_settings): new function
7486
7487 2007-10-06  Dan Williams  <dcbw@redhat.com>
7488
7489         * libnm-glib/nm-device-802-11-wireless.c
7490                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7491                         on error when getting the active access point over D-Bus from NM
7492
7493 2007-10-05  Dan Williams  <dcbw@redhat.com>
7494
7495         * libnm-util/nm-setting.c
7496                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7497                         to the NMSettingWireless table; it's now a string array not an array
7498                         of byte arrays
7499
7500 2007-10-05  Dan Williams  <dcbw@redhat.com>
7501
7502         * libnm-glib/nm-device-802-11-wireless.c
7503                 - Cache properties and update cached properties on D-Bus signals from NM
7504
7505 2007-10-05  Dan Williams  <dcbw@redhat.com>
7506
7507         * src/nm-device-802-11-wireless.c
7508                 - (set_current_ap): consolidate current_ap handling code into one place
7509                         to ensure that PropertiesChanged signals are emitted in all cases
7510                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7511                    nm_device_802_11_wireless_dispose): use set_current_ap()
7512
7513 2007-10-05  Dan Williams  <dcbw@redhat.com>
7514
7515         * libnm-glib/nm-access-point.c
7516           libnm-glib/nm-access-point.h
7517                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7518                         because the value is cached internally now.  Callers should not
7519                         free the internal value.
7520                 - Make signal name defines private
7521
7522         * test/nm-tool.c
7523           libnm-glib/libnm-glib-test.c
7524                 - Don't free value returned from nm_access_point_get_hw_address()
7525
7526 2007-10-04  Dan Williams  <dcbw@redhat.com>
7527
7528         * introspection/nm-device-802-11-wireless.xml
7529           src/nm-device-802-11-wireless.h
7530           src/nm-device-802-11-wireless.c
7531                 - Add a PropertiesChanged signal for wireless device
7532                 - Store currently associated access point
7533                 - (periodic_update): generalize; update rate here too and emit the
7534                         correct PropertiesChanged signal when stuff changes
7535                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7536                    real_activation_cancel_handler): clear current_ap when device is
7537                         deactivated
7538                 - (link_to_specific_ap, get_ap_blacklisted,
7539                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7540                         code
7541                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7542                         outside this file
7543                 - (real_set_hw_address): emit property changed signal if the card's
7544                         MAC address changes
7545                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7546                         the card is supposed to be connecting to
7547                 - (activation_success_handler): send out property updates on successful
7548                         activation
7549                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7550                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7551                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7552                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7553                         is now boxed; add PropertiesChanged signal
7554
7555 2007-10-04  Dan Williams  <dcbw@redhat.com>
7556
7557         * libnm-util/nm-connection.c
7558           libnm-util/nm-connection.h
7559                 - (nm_connection_verify): new function
7560
7561 2007-10-04  Dan Williams  <dcbw@redhat.com>
7562
7563         * libnm-util/nm-setting.c
7564                 - (nm_settings_verify): use #defines when possible rather than strings
7565                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7566                 - (setting_vpn_verify): tighter validity check on 'service_type'
7567
7568 2007-10-04  Dan Williams  <dcbw@redhat.com>
7569
7570         * libnm-glib/nm-settings.c
7571                 - (nm_connection_settings_class_init): provide correct type for argument
7572                         to the Updated signal so that dbus-glib knows how to marshal it
7573
7574 2007-10-03  Dan Williams  <dcbw@redhat.com>
7575
7576         * src/nm-device-802-3-ethernet.c
7577                 - (real_get_best_connection): don't create automatic connections
7578                         internally; clients should provide a setting that applies to
7579                         the device with 'autoconnect: True'.  Problem was that these
7580                         internally auto-created connections don't have a proxy or service
7581                         name becuase they weren't created by a settings daemon, and therefore
7582                         clients have no idea what to do with them.
7583
7584 2007-10-03  Dan Williams  <dcbw@redhat.com>
7585
7586         * src/nm-device-802-11-wireless.c
7587           src/nm-device-802-11-wireless.h
7588           introspection/nm-device-802-11-wireless.xml
7589                 - GetActiveNetworks -> GetAccessPoints
7590                 - ActiveNetwork -> ActiveAccessPoint
7591                 - NetworkAdded -> AccessPointAdded
7592                 - NetowrkRemoved -> AccessPointRemoved
7593
7594         * libnm-glib/nm-device-802-11-wireless.c
7595           libnm-glib/nm-device-802-11-wireless.h
7596                 - network-added signal -> access-point-added
7597                 - network-removed signal -> access-point-removed
7598                 - nm_device_802_11_wireless_get_active_network() ->
7599                         nm_device_802_11_wireless_get_active_access_point()
7600                 - nm_device_802_11_wireless_get_network_by_path() ->
7601                         nm_device_802_11_wireless_get_access_point_by_path()
7602                 - nm_device_802_11_wireless_get_networks() ->
7603                         nm_device_802_11_wireless_get_access_points()
7604
7605         * libnm-glib/libnm-glib-test.c
7606           test/nm-tool.c
7607           src/NetworkManagerPolicy.c
7608                 - Fixups for Network -> AccessPoint
7609
7610 2007-10-03  Dan Williams  <dcbw@redhat.com>
7611
7612         Add a GetActiveConnections() method on the Manager object.
7613
7614         * src/nm-manager.c
7615           src/nm-manager.h
7616           introspection/nm-manager.xml
7617                 - (connection_get_settings_cb): keep connection type around too
7618                 - (impl_manager_get_active_connections, add_one_connection_element):
7619                         implement; returns all active connections and what devices they
7620                         apply to
7621
7622         * libnm-glib/nm-client.c
7623           libnm-glib/nm-client.h
7624           introspection/nm-manager-client.xml
7625                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7626                         by the caller; free here to avoid memory leak
7627                 - (nm_client_get_active_connections): implement; return the list of
7628                         active connections
7629                 - (nm_client_free_active_connection_element): implement; free an element
7630                         of the GSList returned by nm_client_get_active_connections()
7631
7632 2007-10-03  Dan Williams  <dcbw@redhat.com>
7633
7634         * src/nm-device-802-11-wireless.c
7635                 - (nm_device_802_11_wireless_update_bssid): remove
7636                 - (get_active_ap): new function; find the AP in the scan list which
7637                         matches the current BSSID and SSID of the wireless device
7638                 - (nm_device_802_11_periodic_update): get current AP using
7639                         get_active_ap() and print AP roam messages
7640
7641 2007-10-01  Dan Williams  <dcbw@redhat.com>
7642
7643         * libnm-util/nm-setting.h
7644                 - Add a 'timestamp' option to NMSettingConnection
7645                 - Add a UINT64 type
7646
7647         * libnm-util/nm-setting.c
7648                 - (uint64_to_gvalue): new function
7649                 - (nm_setting_populate_from_hash, nm_setting_hash,
7650                    default_setting_clear_secrets): handle UINT64 type
7651                 - con_table: add 'timestamp' member
7652
7653 2007-10-01  Dan Williams  <dcbw@redhat.com>
7654
7655         * src/nm-manager.c
7656                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7657                         value when the connection can be activated immediately
7658
7659 2007-10-01  Dan Williams  <dcbw@redhat.com>
7660
7661         * libnm-glib/nm-device.c
7662                 - (nm_device_class_init): actually tell glib about the carrier-changed
7663                         signal
7664
7665 2007-10-01  Dan Williams  <dcbw@redhat.com>
7666
7667         * configure.in
7668           src/marshallers/Makefile.am
7669           src/marshallers/nm-marshal.list
7670           src/marshallers/nm-marshal-main.c
7671                 - Consolidate glib marshallers into one place
7672
7673         * src/dhcp-manager/Makefile.am
7674           src/dhcp-manager/nm-dhcp-manager.c
7675           src/supplicant-manager/Makefile.am
7676           src/supplicant-manager/nm-supplicant-manager.c
7677           src/supplicant-manager/nm-supplicant-interface.c
7678           src/ppp-manager/Makefile.am
7679           src/ppp-manager/nm-ppp-manager.c
7680           src/vpn-manager/Makefile.am
7681           src/vpn-manager/nm-vpn-connection.c
7682           src/Makefile.am
7683                 - Use consolidated marshallers
7684
7685         * src/dhcp-manager/nm-dhcp-marshal.list
7686           src/dhcp-manager/nm-dhcp-marshal-main.c
7687           src/supplicant-manager/nm-supplicant-marshal-main.c
7688           src/supplicant-manager/nm-supplicant-marshal.list
7689           src/nm-marshal-main.c
7690           src/nm-marshal.list
7691           src/ppp-manager/nm-ppp-marshal-main.c
7692           src/ppp-manager/nm-ppp-marshal.list
7693           src/vpn-manager/nm-vpn-marshal-main.c
7694           src/vpn-manager/nm-vpn-marshal.list
7695                 - Remove
7696
7697 2007-10-01  Dan Williams  <dcbw@redhat.com>
7698
7699         * include/NetworkManagerVPN.h
7700                 - define VPN connection state change reason codes
7701
7702         * src/vpn-manager/Makefile.am
7703           src/vpn-manager/nm-vpn-marshal.list
7704           src/vpn-manager/nm-vpn-marshal-main.c
7705                 - Add marshallers for StateChanged signal
7706
7707         * introspection/nm-vpn-connection.xml
7708                 - New Banner property
7709                 - StateChanged signal now includes a 'reason' argument
7710
7711         * src/vpn-manager/nm-vpn-connection.c
7712           src/vpn-manager/nm-vpn-connection.h
7713                 - Add a "Banner" property that contains the returned VPN server login
7714                         banner (if any); valid only in the ACTIVATED state
7715                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7716                         a 'reason' argument and emits that reason along with the
7717                         state-changed signal
7718                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7719                 - (nm_vpn_connection_ip4_config_get): save banner for later
7720                 - (nm_vpn_connection_get_banner, get_property,
7721                    nm_vpn_connection_class_init): implement Banner property
7722
7723         * src/vpn-manager/nm-vpn-service.c
7724                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7725                         connection list because elements may get added/removed from it
7726                         while iterating over the list
7727                 - (connection_state_changed): signal now includes the 'reason' argument
7728
7729         * libnm-glib/nm-vpn-connection.c
7730           libnm-glib/nm-vpn-connection.h
7731                 - (nm_vpn_connection_get_banner): new function
7732                 - (state_changed_proxy): handle reason argument
7733
7734 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7735
7736         * src/nm-manager.c:
7737         * src/nm-manager.h:
7738         Implement device activation through NMManager.
7739         Implement "pending device activation" here - If the connection isn't found,
7740         we try to wait for up to 5 seconds for the connection to be provided.
7741         Add NMConnectionType argument to "connection-added" and "connection-removed"
7742         signals.
7743         (nm_manager_get): Remove. Finally.
7744
7745         * src/nm-activation-request.c: 
7746         * src/nm-activation-request.h: 
7747         Remove all the deferred activation code.
7748
7749         * src/nm-device.c: Remove all the deferred activation code. Once the device
7750         activation is started, it's started. Update the activation virtual function
7751         signature.
7752
7753         * src/nm-device-interface.c:
7754         * src/nm-device-interface.h:
7755         Device activation now takes only NMActRequest argument.
7756         Don't expose device activation directly on dbus, it's supposed to go through
7757         NMManager now.
7758
7759         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7760         a bit more compact.
7761         Use the new device activation methods through NMManager.
7762
7763         * introspection/nm-manager-client.xml: 
7764         * introspection/nm-manager.xml: 
7765         * libnm-glib/nm-client.c:
7766         * libnm-glib/nm-client.h:
7767         Add device activation method.
7768         
7769         * libnm-glib/nm-device.c: 
7770         * libnm-glib/nm-device.h: 
7771         * introspection/nm-device.xml: 
7772         Remove device activation method. It's done through NMManager now.
7773
7774         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7775         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7776
7777 2007-09-28  Dan Williams  <dcbw@redhat.com>
7778
7779         * libnm-glib/nm-vpn-connection.c
7780                 - (nm_vpn_connection_get_state): try to update state if the current
7781                         state is UNKNOWN
7782
7783 2007-09-27  Dan Williams  <dcbw@redhat.com>
7784
7785         Patch from Bill Nottingham
7786
7787         * src/supplicant-manager/nm-supplicant-config.c
7788                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7789                         data to the supplicant
7790
7791 2007-09-27  Dan Williams  <dcbw@redhat.com>
7792
7793         * src/NetworkManagerSystem.c
7794                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7795                         and all address manipulation here should be happening on the
7796                         _VPN_ device, not the active device
7797
7798 2007-09-26  Dan Williams  <dcbw@redhat.com>
7799
7800         * src/nm-manager.c
7801           src/nm-manager.h
7802           src/nm-activation-request.c
7803           src/nm-activation-request.h
7804                 - Move the GetSecrets stuff out of the NMManager instance because it
7805                         doesn't really need to be there and complicates things
7806
7807         * src/nm-device.c
7808                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7809                         connection-secrets-failed signal and deactivate the device if
7810                         the GetSecrets call fails
7811
7812         * src/nm-device-802-11-wireless.c
7813                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7814                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7815                         secrets and give correct hints about whether new secrets should be
7816                         asked for by the client or not
7817
7818 2007-09-26  Dan Williams  <dcbw@redhat.com>
7819
7820         * src/vpn-manager/nm-vpn-connection.c
7821                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7822                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7823                         to the secrets-updated signal of the NMConnection since updating
7824                         the secrets is done within the scope of the NMVPNConnection object
7825                         already
7826                 - (get_connection_secrets): fix an uninialized variable usage error
7827
7828 2007-09-26  Dan Williams  <dcbw@redhat.com>
7829
7830         * libnm-util/nm-setting.c
7831                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7832                         actually get updated when the user enters them
7833
7834 2007-09-26  Dan Williams  <dcbw@redhat.com>
7835
7836         * libnm-glib/nm-vpn-plugin.c
7837                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7838
7839 2007-09-26  Dan Williams  <dcbw@redhat.com>
7840
7841         * include/NetworkManagerVPN.h
7842                 - Add a NEED_AUTH state
7843
7844         * src/vpn-manager/nm-vpn-connection.c
7845                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7846                         the connection needs secrets, and if so, then ask the settings
7847                         service to fill in the secrets.  Then start the connection.
7848
7849 2007-09-26  Dan Williams  <dcbw@redhat.com>
7850
7851         * src/vpn-manager/nm-vpn-manager.c
7852                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7853
7854 2007-09-26  Dan Williams  <dcbw@redhat.com>
7855
7856         * introspection/nm-vpn-plugin.xml
7857           libnm-glib/nm-vpn-plugin.c
7858           libnm-glib/nm-vpn-plugin.h
7859                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7860                         the name of the NMSetting in an NMConnection that may require
7861                         secrets specific to that VPN plugin
7862
7863 2007-09-26  Dan Williams  <dcbw@redhat.com>
7864
7865         * src/nm-manager.c
7866           src/nm-manager.h
7867                 - (nm_manager_get_connection_secrets): make static, unused outside
7868                         the file
7869                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7870
7871 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7872
7873         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7874         method.
7875         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7876         unreference the connection.
7877
7878         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7879         passing properties hash and routes string list, pass NMConnection (in hashed form).
7880
7881         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7882         as GSList, no need to copy stuff around anymore.
7883         (nm_vpn_connection_activate): Update the plugin activation method.
7884
7885         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7886         routes argument to GSList.
7887
7888 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7889
7890         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7891         state and try to get the secrets.
7892
7893         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7894         connections from NMManager and let the device to choose the best from the list.
7895         Since the connection list is sorted by system ones first and user ones later,
7896         the devices still prefer system connections like they did before.
7897         (deactivate_old_device): Implement. When a device starts activation, we have a
7898         policy (for now at least) to deactivate any other device that might be either
7899         active or still activating.
7900
7901         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7902         It's set on construction, there will be no other way to access it.
7903
7904         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7905         device events and drive the device, not the other way around.
7906
7907         * src/nm-device-802-3-ethernet.c: Ditto.
7908
7909         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7910         sent along, pass it on to virtual functions.
7911
7912         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7913         for now, but should really be public instead of nm_device_get_iface() since iface
7914         is a property of the DeviceInterface, not Device.
7915         (impl_device_activate): Don't touch NMManager!
7916
7917 2007-09-26  Jürg Billeter  <j@bitron.ch>
7918
7919         * initscript/paldo/NetworkManager.in:
7920         * initscript/paldo/NetworkManagerDispatcher.in:
7921         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7922         (nm_system_flush_loopback_routes): update paldo backend
7923
7924 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7925
7926         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7927         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7928         which means none of the devices get brought down properly, which in turn leaves
7929         DHCP client running.
7930
7931         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7932         (supplicant_connection_timeout_cb): Ditto.
7933
7934 2007-09-25  Dan Williams  <dcbw@redhat.com>
7935
7936         * src/nm-device.c
7937                 - (device_activation_go): small hack to work around race when
7938                         activating deferred connections; should solve this in a better way
7939
7940 2007-09-25  Dan Williams  <dcbw@redhat.com>
7941
7942         * introspection/nm-device.xml
7943           libnm-glib/nm-device.c
7944           libnm-glib/nm-device.h
7945                 - Add 'Carrier' property to exported NMDevice objects
7946
7947         * src/nm-device-interface.h
7948           src/nm-device-interface.c
7949           src/nm-device.c
7950                 - Add a 'carrier' property to internal NMDevice objects
7951
7952 2007-09-25  Dan Williams  <dcbw@redhat.com>
7953
7954         * src/nm-device-802-11-wireless.c
7955                 - (ap_auth_enforced): also return the encryption status of the AP so
7956                         that callers can differentiate easily between unencrypted APs
7957                         and encrypted ones, in addition to whether the AP has an
7958                         authenticator
7959                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7960                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7961                         previously would request secrets from unencrypted APs at times
7962
7963 2007-09-25  Dan Williams  <dcbw@redhat.com>
7964
7965         * src/nm-manager.c
7966                 - (nm_manager_update_state): new function; updates state and emits
7967                         appropriate signals ensuring a state-change signal for the same state
7968                         never gets emitted twice in a row.
7969                 - (manager_device_state_changed): handle more device state to get a
7970                         better picture of the overall NM state
7971
7972 2007-09-25  Dan Williams  <dcbw@redhat.com>
7973
7974         * libnm-glib/nm-settings.c
7975           libnm-glib/nm-settings.h
7976                 - (new_error -> nm_settings_new_error): make public so that subclasses
7977                         can use the same error domain.  Also pass a valid error code to
7978                         g_error_new_literal() so that libdbus doesn't assert when converting
7979                         the GError into a DBusError
7980                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7981                    impl_connection_settings_get_settings,
7982                    impl_connection_settings_get_secrets): use new error creator
7983                         function
7984
7985 2007-09-25  Dan Williams  <dcbw@redhat.com>
7986
7987         * src/NetworkManager.c
7988                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7989
7990 2007-09-25  Dan Williams  <dcbw@redhat.com>
7991
7992         * src/supplicant-manager/nm-supplicant-manager.c
7993                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7994                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7995                    nm_supplicant_manager_startup): when the supplicant isn't running,
7996                         try to start it periodically via system bus activation.  Fixes
7997                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7998                         for the supplicant to come back
7999
8000 2007-09-25  Dan Williams  <dcbw@redhat.com>
8001
8002         Ensure that old activation requests are forgotten about; previously
8003         hitting Cancel in the password dialog would deactivate whatever device
8004         that password was requested for, even if that wasn't the currently
8005         activating connection.
8006
8007         * src/nm-manager.c
8008           src/nm-manager.h
8009                 - (nm_manager_get_connection_secrets): track the pending call
8010                         object so it can be canceled later if needed
8011                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8012                         GetSecrets call for a particular connection
8013
8014         * src/nm-activation-request.c
8015                 - (dispose): cancel any outstanding GetSecrets calls on the
8016                         connection
8017
8018 2007-09-25  Dan Williams  <dcbw@redhat.com>
8019
8020         * src/NetworkManagerPolicy.c
8021                 - (nm_policy_device_change_check): handle devices that have a
8022                         deferred activation.  These devices are not really active _yet_,
8023                         but need to be treated as such here.  Don't interrupt them
8024                         automatically.
8025
8026         * src/nm-device-interface.c
8027                 - (impl_device_activate): handle devices that have a deferred activation
8028                         like activating or active devices.  When multiple active devices
8029                         get committed, the device shouldn't be deactivated until the
8030                         connection details are available to avoid DoS and such.  Currently,
8031                         any active, activating, or deferred activation device is deactivated
8032                         here before starting the new activation request.
8033
8034 2007-09-25  Dan Williams  <dcbw@redhat.com>
8035
8036         Properly re-query secrets from the settings daemon when stuff fails.
8037
8038         * src/nm-device-802-11-wireless.c
8039                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8040                         between Shared Key and Open System auth modes
8041                 - (link_timeout_cb, supplicant_connection_timeout_cb,
8042                    real_act_stage4_ip_config_timeout): clear existing secrets and
8043                         request new ones when something fails due to a suspected wrong key
8044                 - (real_act_stage2_config): fix for new request_new argument to
8045                         nm_manager_get_connection_secrets()
8046
8047         * src/nm-manager.c
8048           src/nm-manager.h
8049                 - (nm_manager_get_connection_secrets): return error status; pass
8050                         new request_new argument on to the settings daemon
8051
8052         * introspection/nm-settings-connection.xml
8053                 - New 'request_new' argument to the GetSecrets call that hints to the
8054                         settings daemon to ask the user for completely new secrets
8055
8056         * libnm-glib/nm-settings.c
8057           libnm-glib/nm-settings.h
8058                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8059                         argument
8060
8061 2007-09-25  Dan Williams  <dcbw@redhat.com>
8062
8063         * libnm-util/nm-connection.c
8064           libnm-util/nm-connection.h
8065                 - (nm_connection_clear_secrets): new function; clear secrets out of
8066                         each NMSetting in an NMConnection
8067
8068         * libnm-util/nm-setting.h
8069           libnm-util/nm-setting.c
8070                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8071                         secrets out of an NMSetting
8072                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8073                    nm_setting_wired_new, nm_setting_wireless_new,
8074                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8075                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8076                         to default handler default_setting_clear_secrets()
8077
8078 2007-09-25  Dan Williams  <dcbw@redhat.com>
8079
8080         * src/nm-activation-request.c
8081           src/nm-activation-request.h
8082                 - (nm_act_request_is_deferred): new function
8083
8084 2007-09-24  Dan Williams  <dcbw@redhat.com>
8085
8086         * src/nm-device-802-11-wireless.c
8087                 - (activation_success_handler): update signal strength immediately
8088                         after activation
8089
8090 2007-09-24  Dan Williams  <dcbw@redhat.com>
8091
8092         * libnm-util/nm-setting.c
8093                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8094
8095 2007-09-24  Dan Williams  <dcbw@redhat.com>
8096
8097         * src/NetworkManagerPolicy.c
8098                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8099                         device by deactivating it because it doesn't have a "best connection".
8100                         Since autoconnect=False connections aren't automatically chosen,
8101                         NM would interrupt activation of such a connection because it
8102                         would never be "best" due to autoconnect=False.
8103
8104 2007-09-24  Dan Williams  <dcbw@redhat.com>
8105
8106         * src/nm-manager.c
8107                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8108                         actually has some time to enter a key before the GetSecrets call
8109                         times out
8110
8111 2007-09-24  Dan Williams  <dcbw@redhat.com>
8112
8113         * introspection/nm-manager.xml
8114           src/nm-manager.c
8115                 - (impl_manager_legacy_state): fix 'state' method call return value
8116
8117 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8118
8119         * test/Makefile.am: Install nm-tool
8120
8121 2007-09-24  Dan Williams  <dcbw@redhat.com>
8122
8123         Patch from Ross Burton <ross@burtonini.com>
8124
8125         * test/nm-tool.c
8126           callouts/nm-dhcp-client-action.c
8127           src/nm-netlink.c
8128           src/vpn-manager/nm-vpn-connection.c
8129           libnm-glib/libnm-glib-test.c
8130                 - warning fixes
8131
8132 2007-09-24  Dan Williams  <dcbw@redhat.com>
8133
8134         * libnm-util/nm-utils.h
8135           libnm-util/nm-utils.c
8136                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8137                         remove, unused
8138
8139 2007-09-23  Dan Williams  <dcbw@redhat.com>
8140
8141         * vpn-daemons/vpnc/properties/nm-vpnc.c
8142                 - Update for new VPN properties API bits; instead of passing around
8143                         a lot of random things, everything goes into the NMConnection
8144                         object.
8145
8146 2007-09-23  Dan Williams  <dcbw@redhat.com>
8147
8148         * libnm-util/nm-setting.c
8149                 - Correctly dispose of settings objects if creating them from a hash
8150                         table fails
8151
8152 2007-09-23  Dan Williams  <dcbw@redhat.com>
8153
8154         * libnm-util/nm-setting.c
8155                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8156                         the hash table in a standard manner.  Clients of libnm-util should
8157                         only call g_hash_table_remove_all(), never destroy the hash table
8158                         and recreate it.
8159
8160 2007-09-22  Dan Williams  <dcbw@redhat.com>
8161
8162         * src/nm-device-802-11-wireless.c
8163                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8164                         real reason to do it so often, and reduces wakeups for clients.
8165
8166 2007-09-21  Dan Williams  <dcbw@redhat.com>
8167
8168         * src/nm-device-802-11-wireless.c
8169                 - (build_supplicant_config): wpa_supplicant requires the option
8170                         key_mgmt=NONE for unencrypted networks
8171                 - (real_act_stage2_config): clarify log message on activation
8172
8173 2007-09-21  Dan Williams  <dcbw@redhat.com>
8174
8175         * test/nm-supplicant-test.c
8176           test/Makefile.am
8177                 - Remove supplicant test binary; no longer applicable
8178
8179 2007-09-21  Dan Williams  <dcbw@redhat.com>
8180
8181         * src/supplicant-manager/nm-supplicant-manager.c
8182                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8183                         activate it on the system bus
8184
8185 2007-09-20  Dan Williams  <dcbw@redhat.com>
8186
8187         * initscript/RedHat/NetworkManager.in
8188                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8189
8190 2007-09-20  Dan Williams  <dcbw@redhat.com>
8191
8192         * src/nm-device.c
8193                 - (nm_device_is_activating): work around a race between auto-activation
8194                         and the user activating the same device that is being auto-activated
8195
8196 2007-09-20  Dan Williams  <dcbw@redhat.com>
8197
8198         * src/nm-device-interface.c
8199                 - (impl_device_activate): until multiple active device support lands,
8200                         ensure only one device can be active at a time
8201
8202 2007-09-20  Dan Williams  <dcbw@redhat.com>
8203
8204         * src/supplicant-manager/nm-supplicant-config.c
8205           src/supplicant-manager/nm-supplicant-config.h
8206                 - (nm_supplicant_config_add_option): hide secrets from system logs
8207
8208 2007-09-20  Dan Williams  <dcbw@redhat.com>
8209
8210         * src/NetworkManagerPolicy.c
8211                 - (nm_policy_device_change_check): re-enable the wireless device change
8212                         checking code; insted of checking for SSIDs, check for the same
8213                         connection instead
8214
8215 2007-09-20  Dan Williams  <dcbw@redhat.com>
8216
8217         * src/nm-device-802-11-wireless.c
8218                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8219                         composite link state when determining when to start the disconnection
8220                         timer; that link state is already based on the supplicant interface's
8221                         status which is exactly what's already being examined, plus the link
8222                         state is a conglomeration of various things that we don't want here
8223
8224 2007-09-20  Dan Williams  <dcbw@redhat.com>
8225
8226         * libnm-glib/nm-access-point.c
8227                 - (handle_property_changed): strength is a UCHAR
8228
8229 2007-09-20  Dan Williams  <dcbw@redhat.com>
8230
8231         * src/supplicant-manager/nm-supplicant-config.c
8232                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8233                         string list keywords too since that's what wpa_supplicant wants
8234
8235 2007-09-20  Dan Williams  <dcbw@redhat.com>
8236
8237         * libnm-util/nm-setting.c
8238                 - (convert_strv_to_slist): dupe the values in the list because since
8239                         the list is a boxed value, it'll get destroyed when it's container
8240                         (like a hash table or whatever) gets destroyed
8241
8242 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8243
8244         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8245         GSList.
8246
8247         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8248
8249         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8250         just use (g_object_set_data_full).
8251
8252         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8253         that NMSettingVPN->routes is a GSList, convert it to char **.
8254         (nm_vpn_connection_ip4_config_get): Free routes when done.
8255         (nm_vpn_connection_activate): Ditto.
8256
8257         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8258         (real_act_stage2_config): Use defined setting names.
8259
8260 2007-09-20  Dan Williams  <dcbw@redhat.com>
8261
8262         * src/nm-device-802-11-wireless.c
8263           src/nm-manager.c
8264           src/nm-manager.h
8265                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8266                         so that the device can be deactivated if secrets are wrong
8267
8268 2007-09-20  Dan Williams  <dcbw@redhat.com>
8269
8270         * introspection/nm-settings-connection.xml
8271           libnm-glib/nm-settings.c
8272           libnm-glib/nm-settings.h
8273                 - Make GetSecrets asynchronous on the server side
8274
8275 2007-09-20  Dan Williams  <dcbw@redhat.com>
8276
8277         * src/nm-manager.h
8278           src/nm-device.c
8279                 - (nm_device_activate): actually check if a given connection
8280                         exists before assuming it doesn't
8281
8282 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8283
8284         * libnm-util/nm-connection.c (register_default_creators): Use defined
8285         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8286
8287         * libnm-util/nm-setting.c: Define property name strings, use them.
8288         Implement NMSettingVPN and NMSettingVPNProperties settings.
8289         Implement NM_S_TYPE_GVALUE_HASH.
8290         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8291         (setting_connection_verify): Rename 'devtype' property to 'type'.
8292
8293         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8294         properties.
8295
8296         * src/vpn-manager/nm-vpn-service.c: Ditto.
8297
8298         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8299
8300         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8301         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8302
8303         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8304         names. NMSettingConnection->devtype got renamed to 'type'.
8305
8306         * src/nm-device-802-3-ethernet.c (find_best_connection):
8307         (real_get_best_connection): Ditto.
8308
8309         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8310
8311         * libnm-glib/nm-vpn-manager.[ch]: Update.
8312
8313 2007-09-19  Dan Williams  <dcbw@redhat.com>
8314
8315         * src/NetworkManagerAP.c
8316           src/NetworkManagerAP.h
8317           introspection/nm-access-point.xml
8318                 - Change strength-changed signal into a properties-changed signal
8319                         for all properties, not just strength.  Export that signal over dbus
8320                         so listeners don't have to poll NM for changes.
8321                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8322                         get exported over D-Bus, so break up the logic and let other bits
8323                         decided when to export the AP
8324                 - (nm_ap_new_from_ap): remove, unused
8325
8326         * src/nm-device-802-11-wireless.c
8327                 - (merge_scanned_ap): only export APs that are actually on the device
8328                         list, not every AP created internally
8329
8330         * libnm-glib/nm-access-point.c
8331           libnm-glib/nm-access-point.h
8332                 - Cache properties internally and only hit DBus when needed.  Get
8333                         property updates from NM signals
8334
8335 2007-09-16  Dan Williams  <dcbw@redhat.com>
8336
8337         * libnm-util/nm-connection.c
8338           libnm-util/nm-connection.h
8339                 - (nm_connection_for_each_setting_value): new function; iterate over
8340                         each setting's value and call a user-provided function with details
8341                         about that value
8342
8343         * libnm-util/nm-setting.c
8344           libnm-util/nm-setting.h
8345                 - (nm_setting_enumerate_values): new function; enumerate the values
8346                         of a specific NMSetting subclass for a user-provided function with
8347                         details about that value
8348                 - Change wep_tx_keyidx to a uint32
8349                 - Create settings value tables for each setting defining their type,
8350                         key name, offset into the NMSetting subclass' structure, and whether
8351                         they are required and/or a secret
8352                 - (nm_setting_populate_from_hash): generic function to populate an
8353                         NMSetting from a GHash table, make all settings use it
8354                 - (nm_setting_hash): generic function to derive a GHashTable from
8355                         an NMSetting object, make all settings use it
8356
8357 2007-09-14  Dan Williams  <dcbw@redhat.com>
8358
8359         Remove unused stuff in libnm-util
8360
8361         * configure.in
8362           libnm-util/Makefile.am
8363           libnm-util/cipher-private.h
8364           libnm-util/cipher-wep-ascii.c
8365           libnm-util/cipher-wep-ascii.h
8366           libnm-util/cipher-wep-hex.c
8367           libnm-util/cipher-wep-hex.h
8368           libnm-util/cipher-wep-passphrase.c
8369           libnm-util/cipher-wep-passphrase.h
8370           libnm-util/cipher-wpa-psk-hex.c
8371           libnm-util/cipher-wpa-psk-hex.h
8372           libnm-util/cipher-wpa-psk-passphrase.c
8373           libnm-util/cipher-wpa-psk-passphrase.h
8374           libnm-util/cipher.c
8375           libnm-util/cipher.h
8376           libnm-util/dbus-helpers.c
8377           libnm-util/dbus-helpers.h
8378           libnm-util/gnome-keyring-md5.c
8379           libnm-util/gnome-keyring-md5.h
8380           libnm-util/sha1.c
8381           libnm-util/sha1.h
8382           src/nm-device-802-11-wireless.c
8383           test/libnm-util/Makefile.am
8384           test/libnm-util/test-ciphers.c
8385           test/libnm-util/test-dbus-helpers.c
8386           test/libnm-util/test-inputs.h
8387                 - Removed
8388
8389 2007-09-14  Dan Williams  <dcbw@redhat.com>
8390
8391         * libnm-util/dbus-method-dispatcher.c
8392           libnm-util/dbus-method-dispatcher.h
8393                 - Remove, unused
8394
8395 2007-09-14  Dan Williams  <dcbw@redhat.com>
8396
8397         Implement deferred activation support in the device class.
8398
8399         * src/nm-device-interface.c
8400           src/nm-device-interface.h
8401                 - (nm_device_interface_activate): take more arguments to support
8402                         deferred activation; callers must pass one of (connection) OR
8403                         (service_name, connection_path)
8404                 - (impl_device_activate): connection validation is punted to the device
8405                         to be able to handle deferred activation.  Yes, this means errors
8406                         don't get returned from the Activate() dbus call, and yes, that
8407                         should be fixed somehow later.
8408
8409         * src/nm-device.c
8410           src/nm-device.h
8411                 - (clear_act_request): clear additional deferred activation stuff too
8412                 - (deferred_activation_timeout_cb): new function; clean up when
8413                         deferred activation times out.
8414                 - (deferred_activation_start_cb): new function; when the connection
8415                         finally becomes available, start device activation
8416                 - (nm_device_activate): attach to the right signals of the activation
8417                         request if we need to defer activation until the connection is valid
8418
8419         * src/NetworkManagerPolicy.c
8420                 - (nm_policy_device_change_check): update for additional arguments
8421                         required for nm_device_interface_activate().  Pass NULL for these
8422                         though because this function already knows exactly which
8423                         NMConnection to use
8424
8425 2007-09-14  Dan Williams  <dcbw@redhat.com>
8426
8427         Implement deferred activation handling in the NMActRequest class.  When a
8428         client wants to activate a device but must create the NMConnection details
8429         on the fly, there likely hasn't been enough time yet for NM to receive the
8430         new connection signal and grab all the connection details.  So the
8431         activation is deferred (and bounded by a timer) for a while, and if the
8432         connection appears within the window, it is activated.
8433
8434         * src/nm-activation-request.c
8435           src/nm-activation-request.h
8436                 - (nm_act_request_class_init): two new signals to support deferred
8437                         activation, to allow the listener to handle both timeout and success
8438                 - (nm_act_request_new_deferred): new function, starts the deferred
8439                         activation timeout handler and listens to the NMManager for
8440                         new-connection signals to notice when the connection comes in
8441
8442 2007-09-14  Dan Williams  <dcbw@redhat.com>
8443
8444         * src/nm-manager.h
8445           src/nm-manager.c
8446                 - (nm_manager_get_connection_service_name,
8447                    nm_manager_get_connection_dbus_path): get details about a connection
8448                         known internally by the NMManager
8449                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8450                         because NMConnection is now a GObject subclass
8451                 - Use constant for the gobject data tag used on NMConnection objects for
8452                         storing the associated DBusGProxy
8453
8454 2007-09-14  Dan Williams  <dcbw@redhat.com>
8455
8456         * utils/Makefile.am
8457           utils/nm-utils.c
8458           utils/nm-utils.h
8459           src/supplicant-manager/Makefile.am
8460           src/dhcp-manager/Makefile.am
8461           src/backends/Makefile.am
8462           src/named-manager/Makefile.am
8463           src/ppp-manager/Makefile.am
8464           src/vpn-manager/Makefile.am
8465           test/libnm-util/Makefile.am
8466           test/test-common/Makefile.am
8467                 - Remove utils/; it was unused
8468
8469 2007-09-13  Dan Williams  <dcbw@redhat.com>
8470
8471         * libnm-glib/nm-vpn-manager.h
8472           libnm-glib/nm-vpn-manager.c
8473                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8474
8475 2007-09-13  Dan Williams  <dcbw@redhat.com>
8476
8477         * src/nm-device-802-3-ethernet.c
8478                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8479                         netlink monitor carrier signals on dispose, not bring down.  The
8480                         carrier signals should be handled over the entire lifetime of the
8481                         device anyway, not created/destroyed on up or down.
8482
8483 2007-09-13  Dan Williams  <dcbw@redhat.com>
8484
8485         * libnm-glib/nm-device.c
8486           libnm-glib/nm-device.h
8487                 - (nm_device_activate): take a connection object path rather than an
8488                         NMConnection because NMConnection isn't exported over D-Bus and
8489                         therefore it dbus-glib can't automatically get an object path from it
8490
8491 2007-09-13  Dan Williams  <dcbw@redhat.com>
8492
8493         * libnm-util/nm-setting.c
8494                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8495
8496 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8497
8498         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8499
8500 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8501
8502         * src/vpn-manager/nm-vpn-connection.[ch]: 
8503         * src/vpn-manager/nm-vpn-manager.[ch]:
8504         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8505         dbus-glib, GObjects, signals etc.
8506
8507         * libnm-glib/nm-vpn-manager.[ch]: 
8508         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8509         so much, rewrite these too.
8510
8511         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8512         the new introspection files.
8513
8514         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8515
8516         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8517         the header with the same name from libnm-utils.
8518
8519         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8520
8521         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8522
8523         * introspection/nm-vpn-plugin.xml: Implement.
8524
8525         * introspection/nm-vpn-connection.xml: Implement.
8526
8527         * introspection/nm-vpn-manager.xml: Implement.
8528
8529         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8530         the named manager argument, it can just as easily get it as the caller.
8531         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8532
8533         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8534
8535         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8536
8537         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8538         libnm-utils.
8539
8540         * libnm-util/nm-connection.c: Ditto.
8541
8542         * src/NetworkManagerMain.h: Remove, it's finally empty.
8543
8544         * configure.in: Remove utils/ from build.
8545
8546         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8547         of hard-coded strings.
8548
8549         * utils/: Move it over to libnm-util.
8550
8551         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8552
8553         * dispatcher-daemon/Makefile.am: Ditto.
8554
8555         * src/Makefile.am: Ditto.
8556
8557 2007-09-12  Dan Williams  <dcbw@redhat.com>
8558
8559         Wireless connections can be made with config data from the applet now.
8560         
8561         Yay.
8562
8563         * src/supplicant-manager/nm-supplicant-config.h
8564           src/supplicant-manager/nm-supplicant-config.c
8565                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8566                 - (nm_supplicant_config_add_setting_wireless,
8567                    nm_supplicant_config_add_setting_wireless_security): new functions;
8568                         add key/value pairs from the settings objects to the supplicant
8569                         config
8570
8571         * src/nm-device-802-11-wireless.c
8572                 - (cull_scan_list): fix check to not prune currently associated AP
8573                 - (build_supplicant_config, real_act_stage2_config): call the functions
8574                         of the NMSupplicantConfig that parse settings objects rather than
8575                         doing it manually here
8576
8577 2007-09-12  Dan Williams  <dcbw@redhat.com>
8578
8579         * src/supplicant-manager/nm-supplicant-interface.c
8580           src/supplicant-manager/nm-supplicant-marshal.list
8581                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8582                         "connection-error" signal arguments should be STRING not CHAR
8583
8584 2007-09-12  Dan Williams  <dcbw@redhat.com>
8585
8586         * src/NetworkManagerUtils.c
8587           src/NetworkManagerUtils.h
8588                 - (nm_utils_hexstr2bin): new function
8589
8590 2007-09-11  Dan Williams  <dcbw@redhat.com>
8591
8592         * src/nm-manager.c
8593                 - (connection_get_settings_cb): emit connection-added signal
8594                 - (connection_removed_cb): uncomment bits for system settings service,
8595                         send connection-removed when appropriate
8596                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8597                         the stack by trying to g_object_set_data() on something that's
8598                         not a GObject; handle case where settings service returns
8599                         empty settings hash table
8600
8601 2007-09-11  Dan Williams  <dcbw@redhat.com>
8602
8603         * src/NetworkManagerPolicy.c
8604                 - (connection_added, connection_removed): trigger device change checks
8605                         on connection changes
8606
8607 2007-09-11  Dan Williams  <dcbw@redhat.com>
8608
8609         * src/nm-activation-request.c
8610                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8611
8612 2007-09-11  Dan Williams  <dcbw@redhat.com>
8613
8614         * src/nm-device-802-11-wireless.c
8615                 - (real_connection_secrets_updated): fix erroneous check
8616
8617 2007-09-11  Dan Williams  <dcbw@redhat.com>
8618
8619         * introspection/nm-device.xml
8620           libnm-glib/nm-device.c
8621           libnm-glib/nm-device.c
8622                 - Fix Activate call argument borkage; Activate takes 3 arguments
8623
8624 2007-09-11  Dan Williams  <dcbw@redhat.com>
8625
8626         * libnm-glib/nm-access-point.c
8627           libnm-glib/nm-access-point.c
8628                 - (nm_access_point_get_frequency): now returns guint32 to match
8629                         property change on 2007-09-10
8630
8631 2007-09-11  Dan Williams  <dcbw@redhat.com>
8632
8633         * src/nm-device-802-11-wireless.c
8634                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8635                         somewhere defines 'index' and I missed this one when I fixed the
8636                         shadow declaration errors earlier
8637
8638 2007-09-11  Dan Williams  <dcbw@redhat.com>
8639
8640         * libnm-util/nm-connection.c
8641                 - (nm_connection_update_secrets, need_secrets_check): move
8642                         802-11-wireless-security need_secrets checks to the setting object
8643                         itself, where it belongs
8644
8645         * libnm-util/nm-setting.c
8646           libnm-util/nm-setting.h
8647                 - (nm_setting_need_secrets): new function
8648                 - (setting_wireless_security_verify,
8649                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8650                 - (setting_wireless_security_need_secrets): mostly copy code over
8651                         from nm-connection.c
8652
8653 2007-09-11  Dan Williams  <dcbw@redhat.com>
8654
8655         * libnm-util/nm-setting.c
8656           libnm-util/nm-setting.h
8657                 - (nm_setting_update_secrets): new function; add a virtual function that
8658                         subclasses can implement to update their secrets
8659                 - (setting_wireless_security_update_secrets): implement that function
8660                         for the 802-11-wireless-security subclass
8661
8662         * libnm-util/nm-connection.c
8663           libnm-util/nm-connection.h
8664                 - (nm_connection_update_secrets): update secrets for a Setting and
8665                         emit a signal on success
8666
8667         * src/nm-manager.c
8668           src/nm-manager.h
8669           src/nm-marshal.list
8670                 - (connection_get_settings_cb): enable system settings bits
8671                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8672                         to request secrets from the settings dbus service and to
8673                         push those secrets to the NMConnection itself
8674
8675         * src/nm-activation-request.c
8676           src/nm-activation-request.h
8677                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8678                         currently being activated, and proxy that signal to other listeners.
8679                         Goes through the activation request because the activation request
8680                         is the thing that manages the lifetime of the NMConnection that's
8681                         being activated.
8682
8683         * src/nm-device-802-11-wireless.c
8684                 - (real_connection_secrets_updated): implement the connection secrets
8685                         updated notification and restart activation when secrets are
8686                         received
8687                 - (real_act_stage2_config): request secrets from the settings dbus
8688                         service if secrets are needed
8689
8690         * src/nm-device.c
8691           src/nm-device.h
8692                 - (clear_act_request, nm_device_activation_cancel,
8693                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8694                         where the activation request is cleared
8695                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8696                         updated secrets signal of activation request and add a function
8697                         that subclasses can override to handle it easily
8698
8699 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8700
8701         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8702         removal of NetworkManagerAPList.
8703
8704 2007-09-10  Dan Williams  <dcbw@redhat.com>
8705
8706         * src/NetworkManagerAP.c
8707           src/NetworkManagerAP.h
8708           introspection/nm-access-point.xml
8709                 - Change 'freq' property to a guint32 instead of a double since we
8710                         weren't using the floating point bits anyway
8711
8712 2007-09-10  Dan Williams  <dcbw@redhat.com>
8713
8714         * NetworkManagerAP.c
8715           NetworkManagerAP.h
8716           NetworkManagerPolicy.c
8717           NetworkManagerSystem.c
8718           NetworkManagerUtils.c
8719           NetworkManagerUtils.h
8720           nm-device-802-11-wireless.c
8721           nm-device-802-3-ethernet.c
8722           nm-hal-manager.c
8723           nm-manager.c
8724           vpn-manager/nm-dbus-vpn.c
8725                 - Warning fixes; casts and removal of unused variables
8726
8727 2007-09-10  Dan Williams  <dcbw@redhat.com>
8728
8729         * include/NetworkManager.h
8730                 - Kill NMNetworkType; AP types don't matter any more
8731
8732         * src/NetworkManagerAPList.c
8733           src/NetworkManagerAPList.h
8734           src/Makefile.am
8735                 - Kill; NMAccessPointList has outlived it's usefulness
8736
8737         * src/NetworkManagerAP.c
8738           src/NetworkManagerAP.h
8739                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8740                         functions; check if an NMConnection object is compatible with the
8741                         settings of this AP
8742                 - (freq_to_channel, channel_to_freq): utility functions for
8743                         channel <-> frequency conversion
8744
8745         * src/nm-device.c
8746           src/nm-device.h
8747                 - (nm_device_get_best_connection): pass the specific object around
8748                          (which might be the object path of a specific AP to connect to).
8749                          The get_best_connection() call should populate this on return
8750                          if needed (wireless does).
8751
8752         * src/nm-device-802-3-ethernet.c
8753                 - (real_get_best_connection): handle specific_object argument
8754
8755         * src/NetworkManager.c
8756           src/NetworkManagerMain.h
8757                 - Remove unused includes
8758
8759         * src/nm-device-802-11-wireless.c
8760           src/nm-device-802-11-wireless.h
8761                 - Convert the ap_list into a GSList from an NMAccessPointList
8762                 - No need for caching the 'activation_ap' since this is now determined
8763                         from the specific_object of the activation request, which is
8764                         populated from the get_best_connection() call or from a user request
8765                 - (nm_device_802_11_wireless_update_bssid): fix warning
8766                 - (get_wireless_capabilities): fix error message format arguments
8767                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8768                 - (find_best_connection, real_get_best_connection): implement
8769                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8770                         move here from NetworkManagerAPList
8771                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8772                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8773                         already verified earlier
8774                 - (real_act_stage2_config): use nm_connection_need_secrets()
8775
8776         * src/NetworkManagerPolicy.c
8777                 - (nm_policy_auto_get_best_device): handle specific objects
8778                 - (create_connection): remove; automatic connection creation functionality
8779                         is handled by the Connection objects
8780                 - (nm_policy_device_change_check): handle specific_object
8781
8782         * libnm-util/nm-connection.c
8783                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8784
8785 2007-09-10  Dan Williams  <dcbw@redhat.com>
8786
8787         * src/nm-manager.c
8788                 - (query_connections): fix uninitialized variable problem that caused
8789                         segfault
8790                 - (nm_manager_add_device): take devices down on startup so that we can
8791                         be assured that nm_device_is_up() won't short-circuit the init
8792                         process.  Hack until the is_up check gets split into two pieces
8793                         that aren't behaviorally confusing.
8794
8795 2007-09-09  Dan Williams  <dcbw@redhat.com>
8796
8797         * introspection/nm-device.xml
8798                 - The 'Activate' method now takes 3 arguments, a service name for the
8799                 settings service (user or system), the object path of the connection
8800                 to activate, and the specific object to activate, if any
8801
8802         * src/nm-device-interface.c
8803                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8804                 Add error bits
8805                 - (impl_device_activate): adapt to new Activate arguments; validate
8806                 the service name and get the Connection object from the NMManager
8807                 before starting to activate the device with the specified connection
8808
8809         * src/nm-device-802-3-ethernet.c
8810                 - (real_get_best_connection): find the best connection, or create a
8811                 default one if no existing connections can be used
8812
8813         * src/NetworkManagerPolicy.c
8814                 - (nm_policy_auto_get_best_device): Get the device's best connection
8815                 and only pick the device if it has one
8816                 - (nm_policy_device_change_check): disable wireless bits for now until
8817                 wireless get_best_connection() can be implemented (replacing "best_ap");
8818                 don't create a default connection here as the device subclass will do
8819                 that if needed
8820
8821         * src/nm-manager.h
8822           src/nm-manager.c
8823                 - (nm_manager_get): make NMManager a singleton and expose the getter
8824                 internally
8825                 - Rework internal NMManager connection handling to use the same
8826                 routines for both the system and user settings services.  Most calls
8827                 take a new NMConnectionType argument specifying either system or user
8828                 connections
8829                 - (nm_manager_get_connection_by_object_path): new function; get a
8830                 connection keyed on its object path
8831
8832         * src/NetworkManager.c
8833                 - (main): use nm_manager_get()
8834
8835 2007-09-09  Dan Williams  <dcbw@redhat.com>
8836
8837         * src/nm-device.h
8838           src/nm-device.c
8839                 - (nm_device_get_best_connection): new function; get best connection
8840                         for the device at that time
8841
8842 2007-09-09  Dan Williams  <dcbw@redhat.com>
8843
8844         * src/nm-device-interface.h
8845                 - Add NMDeviceInterfaceError with an UnknownConnection error
8846
8847 2007-09-09  Dan Williams  <dcbw@redhat.com>
8848
8849         Stupid mistake on my part; object path and interface for settings service
8850         and connection objects can be the same, only the service name must be
8851         different for the system and user settings services.
8852
8853         * include/NetworkManager.h
8854           src/nm-manager.c
8855           introspection/nm-settings-connection.xml
8856           introspection/nm-settings.xml
8857           libnm-glib/nm-settings.c
8858                 - (nm_connection_settings_init, query_user_connections,
8859                    new_connection_cb): Unify NetworkManagerSettings and Connection
8860                    interface name and object path
8861
8862 2007-09-06  Dan Williams  <dcbw@redhat.com>
8863
8864         * libnm-glib/nm-object.c
8865                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8866                    nm_object_get_int_property, nm_object_get_uint_property,
8867                    nm_object_get_boolean_property, nm_object_get_byte_property,
8868                    nm_object_get_double_property, nm_object_get_byte_array_property):
8869                         clear GValues after copying their contents, fixes memory leaks
8870                         after every property access because dbus-glib copies the values
8871                         from the DBusMessage into the GValue already.
8872
8873 2007-09-06  Dan Williams  <dcbw@redhat.com>
8874
8875         * introspection/nm-access-point.xml
8876                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8877                         them to be.  There's some magic property name parsing going on in
8878                         dbus-glib that breaks up property names based on studly-caps and
8879                         puts - between words.
8880
8881         * libnm-glib/nm-access-point.c
8882                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8883                         Fix property names
8884
8885 2007-09-06  Dan Williams  <dcbw@redhat.com>
8886
8887         * src/nm-manager.c
8888                 - (nm_manager_user_connections_destroy): clear the user connections hash
8889                         table, don't destroy it
8890                 - (finalize): only destroy the hash table on NMManager finalization
8891
8892 2007-09-02  Dan Williams  <dcbw@redhat.com>
8893
8894         * include/NetworkManager.h
8895           libnm-glib/nm-settings.c
8896                 - defines for the user settings daemon D-Bus bits
8897
8898         * src/NetworkManager.c
8899                 - Remove stuff that referred to the old NetworkManagerInfo service
8900
8901         * src/vpn-manager/nm-dbus-vpn.h
8902                 - Move old NMI defines to the only place they are used still
8903
8904         * libnm-util/nm-connection.c
8905           libnm-util/nm-connection.h
8906           src/nm-activation-request.c
8907                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8908
8909         * src/nm-manager.c
8910           src/nm-manager.h
8911                 - Get connections and their settings from the user settings daemon
8912                         at the appropriate times
8913
8914 2007-09-02  Dan Williams  <dcbw@redhat.com>
8915
8916         * libnm-util/nm-setting.c
8917                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8918                 - (setting_wireless_hash): set the right value on the item
8919
8920 2007-09-02  Dan Williams  <dcbw@redhat.com>
8921
8922         * test/Makefile.am
8923           test/nminfotest.c
8924                 - Remove, no longer useful
8925
8926 2007-08-30  Dan Williams  <dcbw@redhat.com>
8927
8928         * src/Makefile.am
8929           src/NetworkManagerDbus.c
8930           src/NetworkManagerDbus.h
8931           src/vpn-manager/nm-dbus-vpn.c
8932                 - Remove, no longer necessary.  Move last bits to the only place its
8933                 used, in nm-dbus-vpn.c
8934
8935         * src/NetworkManagerAPList.c
8936           src/nm-device.c
8937           src/NetworkManager.c
8938           src/nm-device-802-11-wireless.c
8939           src/vpn-manager/nm-vpn-manager.c
8940           src/vpn-manager/nm-vpn-service.c
8941           src/NetworkManagerPolicy.c
8942           src/nm-manager.c
8943                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8944                 that was message_is_error()
8945
8946 2007-08-30  Dan Williams  <dcbw@redhat.com>
8947
8948         * libnm-util/sha1.c
8949                 - Include config.h to get defines for endiannes (gnome.org #420216)
8950
8951 2007-08-30  Dan Williams  <dcbw@redhat.com>
8952
8953         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8954
8955         * src/ppp-manager/Makefile.am
8956                 - use -fPIC (gnome.org #471825)
8957
8958 2007-08-29  Dan Williams  <dcbw@redhat.com>
8959
8960         * include/NetworkManager.h
8961                 - Keep NMConnection object path in sync
8962
8963         * libnm-glib/nm-settings.c
8964           libnm-glib/nm-settings.h
8965                 - Break D-Bus object registration out of the init function, because
8966                 every object that's exported over D-Bus needs to use the _same_
8967                 DBusConnection.  Otherwise, each object would get a different object
8968                 path tree and wouldn't be callable.
8969
8970 2007-08-29  Dan Williams  <dcbw@redhat.com>
8971
8972         * libnm-util/nm-setting.h
8973           libnm-util/nm-setting.c
8974           libnm-util/nm-connection.c
8975           src/NetworkManagerPolicy.c
8976                 - 'info' settings object should be 'connection' says the spec
8977                 at NetworkManagerConfigurationSpecification
8978
8979 2007-08-29  Dan Williams  <dcbw@redhat.com>
8980
8981         * libnm-glib/nm-settings.c
8982           libnm-glib/nm-settings.h
8983                 - make the dbus path a property of the object, and autogenerate it.
8984                 It can't be composed of the 'id' field becuase that's not available
8985                 yet during the GObject creation in nm_connection_settings_init()
8986
8987 2007-08-29  Dan Williams  <dcbw@redhat.com>
8988
8989         * introspection/nm-settings-connection.xml
8990           introspection/nm-settings.xml
8991                 - Service name -> NetworkManagerUserSettings because two services
8992                 can't share part of the same path.  I'm not really sure how we'll use
8993                 the same code with the system-settings daemon...
8994
8995 2007-08-28  Dan Williams  <dcbw@redhat.com>
8996
8997         * src/nm-device-interface.c
8998           src/nm-device-interface.h
8999                 - Kill one more bit of NMData
9000
9001 2007-08-28  Dan Williams  <dcbw@redhat.com>
9002
9003         * src/NetworkManagerSystem.h
9004           src/nm-device.c
9005           src/nm-device.h
9006           src/nm-hal-manager.c
9007           src/NetworkManager.c
9008           src/nm-device-802-11-wireless.c
9009           src/nm-hal-manager.h
9010           src/nm-device-802-3-ethernet.c
9011           src/vpn-manager/nm-vpn-service.h
9012           src/vpn-manager/nm-vpn-manager.c
9013           src/vpn-manager/nm-vpn-manager.h
9014           src/vpn-manager/nm-vpn-service.c
9015           src/nm-device-802-11-wireless.h
9016           src/NetworkManagerMain.h
9017           src/nm-device-802-3-ethernet.h
9018           src/backends/NetworkManagerGentoo.c
9019           src/backends/NetworkManagerPaldo.c
9020           src/backends/NetworkManagerFrugalware.c
9021           src/backends/NetworkManagerRedHat.c
9022           src/backends/NetworkManagerSlackware.c
9023           src/backends/NetworkManagerGeneric.c
9024           src/backends/NetworkManagerArch.c
9025           src/backends/NetworkManagerSuSE.c
9026           src/backends/NetworkManagerGeneric.h
9027           src/backends/NetworkManagerDebian.c
9028                 - Kill NMData
9029
9030 2007-08-28  Dan Williams  <dcbw@redhat.com>
9031
9032         * src/NetworkManagerMain.h
9033           src/nm-device-802-11-wireless.c
9034           src/NetworkManager.c
9035                 - Remove invalid AP list from NMData; need to rework this somewhat, but
9036                 for now we should set the 'invalid' property on individual APs, and when
9037                 we need to invalidate a whole ESS, set the 'invalid' on every member of
9038                 that ESS
9039
9040 2007-08-28  Dan Williams  <dcbw@redhat.com>
9041
9042         * src/NetworkManagerAP.c
9043           src/NetworkManagerAP.h
9044                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9045                         'autoconnect' property instead
9046
9047         * src/NetworkManager.c
9048           src/NetworkManagerMain.h
9049           src/NetworkManagerPolicy.c
9050           src/NetworkManagerPolicy.h
9051                 - Remove the 'allowed_ap_list', which should be replaced by 
9052                         NMConnection/NMSettings instead, since _those_ are the allowed
9053                         things that NM can connect to
9054
9055         * src/nm-device-802-11-wireless.c
9056                 - Remove both allowed_ap_list usage and 'fallback' checking
9057
9058 2007-08-28  Dan Williams  <dcbw@redhat.com>
9059
9060         * src/nm-device.c
9061           src/named-manager/nm-named-manager.c
9062           src/named-manager/nm-named-manager.h
9063           src/NetworkManager.c
9064           src/vpn-manager/nm-vpn-manager.c
9065           src/NetworkManagerMain.h
9066           src/NetworkManagerSystem.c
9067                 - Remove the named-manager object from NMData structure in preparation
9068                 for NMData's timely death.  Make the NMNamedManager the singleton that
9069                 it really is
9070
9071 2007-08-28  Dan Williams  <dcbw@redhat.com>
9072
9073         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9074         each AP's capabilities, and by NMConnection/NMSettings objects for user
9075         defined connections.
9076
9077         * include/NetworkManager.h
9078                 - Redefine 802.11 security properties.  There are now device capabilities
9079                         and AP flags and AP security flags.  It was way to unclear before.
9080
9081         * src/Makefile.am
9082           src/nm-ap-security-leap.h
9083           src/nm-ap-security-leap.c
9084           src/nm-ap-security-wpa-eap.c
9085           src/nm-ap-security-wpa-eap.h
9086           src/nm-ap-security-private.h
9087           src/nm-ap-security-wpa-psk.c
9088           src/nm-ap-security-wpa-psk.h
9089           src/nm-ap-security-wep.c
9090           src/nm-ap-security-wep.h
9091           src/nm-ap-security.c
9092           src/nm-ap-security.h
9093                 - Removed, to be replaced with NMConnection/NMSettings objects
9094
9095         * src/nm-dbus-nmi.c
9096           src/nm-dbus-nmi.h
9097                 - Removed, to be replaced by code that talks to the new info daemon
9098                         interface and gets NMConnection/NMSettings objects
9099
9100         * src/backends/NetworkManagerSuSE.c
9101                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9102                         info-daemon that does the same thing but talks the new info-daemon
9103                         D-Bus interface
9104
9105         * src/NetworkManagerAP.h
9106           src/NetworkManagerAP.c
9107           src/NetworkManagerAPList.c
9108           libnm-glib/libnm-glib-test.c
9109                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9110                         WPA/RSN
9111
9112         * libnm-glib/nm-access-point.c
9113           libnm-glib/nm-access-point.h
9114           introspection/nm-access-point.xml
9115           test/nm-tool.c
9116                 - Adjust to new flags for AP security
9117
9118         * utils/nm-utils.c
9119           utils/nm-utils.h
9120           src/vpn-manager/nm-dbus-vpn.c
9121                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9122                         stuff which is the only place it's used
9123
9124         * src/nm-device-interface.c
9125           src/nm-device-interface.h
9126           introspection/nm-device.xml
9127           src/nm-activation-request.c
9128           src/nm-activation-request.h
9129           src/nm-device.c
9130                 - Add a new 'specific_object' argument that hints to NM what actual
9131                         AP or other device-specific thing the connection should apply to.
9132                         NMConnection objects can apply to more than one actual device/AP.
9133
9134         * libnm-util/nm-connection.c
9135         * libnm-util/nm-connection.h
9136                 - Add 'have_secrets" call stubs
9137
9138         * libnm-util/cipher.h
9139                 - Move NM_AUTH_TYPE_* defines here for now
9140
9141         * src/nm-device-802-11-wireless.c
9142                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9143                         NMSettings objects
9144
9145         * src/NetworkManagerDbus.c
9146         * src/NetworkManagerPolicy.c
9147                 - Remove usage of update_allowed_networks, should be pushing data in
9148                         a different manner
9149
9150 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9151
9152         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9153         dbus-glib frees it when the call is done.
9154
9155 2007-08-26  Dan Williams  <dcbw@redhat.com>
9156
9157         * introspection/nm-device.xml
9158                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9159
9160 2007-08-26  Dan Williams  <dcbw@redhat.com>
9161
9162         * src/nm-device-802-3-ethernet.c
9163                 - (constructor): move connection of interface-connected/disconnected
9164                         signals here from real_bring_up().  Should be listening to netlink
9165                         for carrier events no matter what the initial state of the device
9166                         is.
9167
9168 2007-08-26  Dan Williams  <dcbw@redhat.com>
9169
9170         * src/nm-netlink-monitor.c
9171                 - (nm_netlink_monitor_class_init): fix marshalling types for
9172                         interface-connected/interface-disconnected
9173                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9174                         check
9175
9176 2007-08-26  Dan Williams  <dcbw@redhat.com>
9177
9178         Convert to using interface indexes as the primary method of identifying
9179         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9180         be renamed at any time.  Device object paths now refer to the device
9181         index rather than the name, and you can map those two manually if you like
9182         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9183         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9184         to use interface indexes rather than names.
9185
9186 2007-08-26  Dan Williams  <dcbw@redhat.com>
9187
9188         * src/nm-netlink-monitor.h
9189                 - Remove one last bit of wireless-event signal
9190
9191 2007-08-26  Dan Williams  <dcbw@redhat.com>
9192
9193         * src/nm-netlink-monitor.c
9194                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9195                         don't need the 'wireless-event' signal anymore since that's all
9196                         handled by wpa_supplicant
9197
9198 2007-08-25  Dan Williams  <dcbw@redhat.com>
9199
9200         It's 2007. Remove support for drivers that don't support wireless scanning.
9201
9202         * test/nm-tool.c
9203           include/NetworkManager.h
9204           src/NetworkManagerUtils.c
9205           src/NetworkManagerPolicy.c
9206           src/nm-device-802-11-wireless.c
9207                 - Remove special handling for non-scanning devices and mark them
9208                         as unsupported/unhandled
9209
9210 2007-08-20  Dan Williams  <dcbw@redhat.com>
9211
9212         * src/nm-device-802-11-wireless.c
9213           src/nm-device-802-3-ethernet.c
9214                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9215                         because when the card is pulled or the module removed, the device
9216                         is already !IFF_UP and then device-specific cleanup (removing
9217                         the supplicant interface, periodic checks, etc) never gets done
9218
9219 2007-08-20  Dan Williams  <dcbw@redhat.com>
9220
9221         * src/nm-manager.c
9222                 - (nm_manager_remove_device): bring device down before disconnecting
9223                         signal handlers, so that the 'state' signal will get broadcast when
9224                         the device enters the DOWN state
9225                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9226                         of states that cause the NMManager to recheck its state
9227
9228 2007-08-20  Dan Williams  <dcbw@redhat.com>
9229
9230         * src/supplicant-manager/nm-supplicant-interface.c
9231                 - (interface_disconnect_done): don't try to dispose of the net proxy
9232                         when it may already have been disposed of
9233
9234 2007-08-20  Dan Williams  <dcbw@redhat.com>
9235
9236         * src/nm-device-802-11-wireless.c
9237                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9238                         the SSID isn't available; this can happen when the card is pulled
9239                         or the module unloaded, during the post-removal deactivation
9240                         paths, when the ioctl returns ENODEV
9241
9242 2007-08-20  Dan Williams  <dcbw@redhat.com>
9243
9244         * src/nm-device-802-11-wireless.c
9245                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9246                         frequency, and mode match.  Applets are now responsible for grouping
9247                         access points
9248
9249 2007-08-20  Dan Williams  <dcbw@redhat.com>
9250
9251         * src/NetworkManagerAP.c
9252         * src/NetworkManagerAP.h
9253                 - (nm_ap_print_self): new function
9254
9255         * src/NetworkManagerAPList.c
9256                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9257                         to do it all here
9258         
9259 2007-08-17  Dan Williams  <dcbw@redhat.com>
9260
9261         * src/nm-device-802-3-ethernet.c
9262                 - (real_bring_down): don't try to dispose of stuff that might not
9263                         exist
9264
9265 2007-08-17  Dan Williams  <dcbw@redhat.com>
9266
9267         * src/NetworkManagerAP.c
9268                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9269                         applet.  This ensures that the case between the seen-bssids and
9270                         the bssids reported by the driver match.
9271
9272 2007-08-17  Dan Williams  <dcbw@redhat.com>
9273
9274         * src/nm-device-802-11-wireless.c
9275                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9276                         we dispose of the interface proxy in NM
9277
9278 2007-08-16  Dan Williams  <dcbw@redhat.com>
9279
9280         * libnm-glib/nm-client.c
9281                 - (nm_client_init): create VPN connections hash table with key free
9282                         function
9283                 - (proxy_vpn_connection_added): VPN connections hash table key should
9284                         be a duplicated value, not the same memory address as the VPN
9285                         connection name.  This is because the VPN connection name could
9286                         potentially be freed and set to something else during the lifetime
9287                         of the NMVPNConnection object.
9288
9289 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9290
9291         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9292         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9293         with the file descriptors. Send a child setup function to change the pppd
9294         progress group.
9295
9296 2007-08-15  Dan Williams  <dcbw@redhat.com>
9297
9298         * src/supplicant-manager/nm-supplicant-interface.c
9299                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9300                         an interface
9301                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9302                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9303                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9304                         the interface internally
9305
9306 2007-08-15  Dan Williams  <dcbw@redhat.com>
9307
9308         * src/nm-device-802-11-wireless.c
9309                 - (real_bring_down): move most of this function into device_cleanup()
9310                         so that it can be called from elsewhere
9311                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9312                         and stuff on dispose.  These would normally get cleaned up when
9313                         the device is marked down and deactivated, but when the device is
9314                         hot-unplugged, it's already down and real_down() never gets run
9315
9316 2007-08-15  Dan Williams  <dcbw@redhat.com>
9317
9318         * src/nm-dbus-nmi.c
9319                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9320                         caused a reference leak on device for which NM requested a key
9321
9322 2007-08-15  Dan Williams  <dcbw@redhat.com>
9323
9324         * libnm-glib/nm-client.c
9325                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9326
9327 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9328
9329         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9330         nothing is using it at the moment, but it'll be all useful and stuff later on.
9331
9332         * libnm-util/nm-setting.h: Define NMSettingPPP.
9333
9334         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9335
9336         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9337
9338         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9339
9340         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9341
9342         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9343
9344 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9345
9346         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9347
9348         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9349         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9350         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9351         name and different arguments and it won't compile anymore. To fix this, we now have
9352         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9353         that is new API + compatibility API and used by the daemon. The other, 
9354         nm-manager-client.xml is only the new API without compatibility bits and is used
9355         by libnm-glib to make it compile.
9356
9357         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9358
9359         * src/nm-manager.c (impl_manager_legacy_sleep)
9360         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9361         interface functions for 0.6 branch.
9362
9363 2007-08-14  Dan Williams  <dcbw@redhat.com>
9364
9365         * src/NetworkManagerAP.c
9366                 - (nm_ap_new_from_properties): fix mistaken check of return value
9367                         from memcmp (should expect 0)
9368
9369 2007-08-14  Dan Williams  <dcbw@redhat.com>
9370
9371         (force-commit to fix wrong comment and partial commit of r2685; this
9372          commit actually applies to r2685)
9373
9374         * src/NetworkManagerUtils.c
9375                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9376                         ignores trailing nulls in the SSID to work around mismatches in
9377                         expectations between WEXT and what the info-daemon passes back.  The
9378                         info-daemon would pass back the correct length, but due to the
9379                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9380                         the device would always have an SSID + 1 depending on what versions
9381                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9382                         visible by just quitting the applet and relaunching, which caused
9383                         NM to reassociated to the same network over again when reloading
9384                         the save networks.
9385
9386         * src/NetworkManagerPolicy.c
9387           src/NetworkManagerUtils.h
9388           src/nm-device-802-11-wireless.c
9389                 - Update for new parameter to nm_utils_same_ssid()
9390
9391 2007-08-14  Dan Williams  <dcbw@redhat.com>
9392
9393         * src/NetworkManagerAP.c
9394                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9395                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9396                         setting the BSSID to all 0s.  That confused the heck out of NM,
9397                         plus it's useless and probably out-of-spec.
9398
9399 2007-08-14  Dan Williams  <dcbw@redhat.com>
9400
9401         * callouts/Makefile.am
9402           src/dhcp-manager/nm-dhcp-manager.c
9403           src/dhcp-manager/nm-dhcp-manager.h
9404           src/dhcp-manager/Makefile.am
9405                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9406
9407 2007-08-14  Dan Williams  <dcbw@redhat.com>
9408
9409         * src/dhcp-manager/nm-dhcp-manager.c
9410                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9411                         it's really needed, get rid of unused xtra_args parameter
9412
9413 2007-08-14  Dan Williams  <dcbw@redhat.com>
9414
9415         * include/NetworkManagerVPN.h
9416           src/vpn-manager/nm-dbus-vpn.c
9417           src/vpn-manager/nm-dbus-vpn.h
9418           src/vpn-manager/nm-vpn-act-request.c
9419           src/vpn-manager/nm-vpn-act-request.h
9420           src/vpn-manager/nm-vpn-service.c
9421           src/vpn-manager/nm-vpn-service.h
9422           libnm-glib/nm-vpn-connection.c
9423           libnm-glib/nm-vpn-connection.h
9424           libnm-glib/nm-client.h
9425                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9426                         NMVPNServiceState to clarify what they apply to
9427                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9428                         NMVPNActStage -> NMVPNConnectionState for the same reason
9429
9430         * libnm-glib/nm-client.c
9431                 - Constant + type renames from above
9432                 - Properly handle NameOwnerChanged/manager_running signals
9433                         for NM service; only emit when state really changes
9434                 - Use hash tables correctly so that the key (which was previously owned
9435                         by the D-Bus message) now has the same lifetime as the value, since
9436                         the key is now taken from the the NMVPNConnection itself.  This
9437                         really fixes the double-VPN names in the applet
9438
9439 2007-08-13  Dan Williams  <dcbw@redhat.com>
9440
9441         Patch from Michael Biebl <biebl@debian.org>
9442
9443         * po/POTFILES.in
9444           po/POTFILES.skip
9445                 - Update for vpn-properties move
9446
9447 2007-08-13  Dan Williams  <dcbw@redhat.com>
9448
9449         * libnm-glib/nm-client.c
9450                 - Convert internal VPN connection tracking from a list to a hash table
9451                         to easily avoid duplicates
9452                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9453                         must be freed by the caller, like nm_client_get_devices()
9454                 - (nm_client_remove_vpn_connection): don't let the removal signal
9455                         leak through for NMVPNConnection objects that aren't actually
9456                         tracked.
9457                 - (manager_running): throw away VPN connection list when NM goes away,
9458                         like with the device list
9459
9460 2007-08-13  Dan Williams  <dcbw@redhat.com>
9461
9462         * src/dhcp-manager/nm-dhcp-manager.c
9463                 - Stop any dhclient instance that might be already running for a
9464                         particular interface before starting an NM spawned dhclient.  Fixes
9465                         dhclient processes left over if NM crashes, stuff like that.
9466
9467 2007-08-13  Dan Williams  <dcbw@redhat.com>
9468
9469         * src/NetworkManagerAP.c
9470                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9471                         when the AP wasn't broadcasting it's SSID
9472
9473 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9474
9475         * include/NetworkManager.h: added DBus path for connection settings.
9476
9477         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9478         nm_connection_settings_signal_updated,
9479         nm_connection_settings_signal_removed): new functions to wrap the
9480         objects' signals.
9481         (nm_connection_settings_init): register GObject with DBus.
9482         (nm_connection_settings_get_dbus_object_path): new function.
9483
9484         * libnm-glib/Makefile.am: added libnmutil to link flags.
9485
9486 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9487
9488         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9489
9490         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9491         libnm_glib directory got merged with libnm-glib/.
9492
9493         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9494
9495         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9496         Rename the library from libnm-glib to libnm_glib to maintain the library API
9497         compatibility with 0.6 branch.
9498
9499         * Makefile.am: Remove gnome/ SUBDIR.
9500
9501         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9502
9503         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9504
9505         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9506
9507         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9508         anymore.
9509         Remove checks for wpa_supplicant binary, it's used over dbus.
9510         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9511
9512         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9513         Link the binaries with libnm_glib.la.
9514
9515 2007-08-12  Dan Williams  <dcbw@redhat.com>
9516
9517         * src/NetworkManagerPolicy.c
9518                 - (nm_policy_device_change_check): fix policy to deactivate old device
9519                         before activating new one, at least until the multiple active
9520                         device support lands
9521
9522 2007-08-12  Dan Williams  <dcbw@redhat.com>
9523
9524         * src/NetworkManagerPolicy.c
9525                 - (nm_policy_new): hook up to connection-added / connection-removed
9526                         signals instead of connections-changed
9527
9528 2007-08-12  Dan Williams  <dcbw@redhat.com>
9529
9530         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9531         Robert Frank <rfrank@redhat.com>
9532
9533         * src/dhcp-manager/nm-dhcp-manager.c
9534           src/dhcp-manager/nm-dhcp-manager.c
9535           src/nm-device.c
9536                 - Spawn and communicate with dhclient directly, through means of a
9537                 custom dhclient callout script.  Process callout D-Bus signals
9538                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9539                 sent via gobject signals rather than being driven by the dhcp manager
9540                 directly.
9541
9542 2007-08-12  Dan Williams  <dcbw@redhat.com>
9543
9544         * callouts/nm-dhcp-client-action.c
9545                 - (build_message): ignore non-DHCP-related environment variables
9546
9547 2007-08-12  Dan Williams  <dcbw@redhat.com>
9548
9549         * Makefile.am
9550           configure.in
9551           callouts/Makefile.am
9552           callouts/nm-dhcp-client-action.c
9553           callouts/nm-dhcp-client.conf
9554                 - Add dhclient-executed callout that takes the place of dhclient-script
9555                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9556                 NM then listens for
9557
9558 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9559
9560         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9561
9562         * libnm-glib/nm-client.h:
9563         * libnm-glib/nm-object.h:
9564         * libnm-glib/nm-vpn-connection.h:
9565         * libnm-glib/nm-settings.h:
9566         * libnm-glib/nm-device.h:
9567         * libnm-glib/nm-ip4-config.h:
9568         * libnm-glib/nm-access-point.h:
9569         * libnm-glib/nm-device-802-3-ethernet.h:
9570         * libnm-util/nm-setting.h: 
9571         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9572
9573         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9574
9575         * libnm-glib/nm-access-point.c: Strength has type char.
9576
9577         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9578         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9579
9580         * introspection/nm-access-point.xml: Strength property is char, not int.
9581
9582         * src/NetworkManagerAP.c (set_property): Set strength from char.
9583         (get_property): Handle hidden APs (with empty SSID).
9584         Get strength value from char.
9585         (nm_ap_class_init): Strength property has char type.
9586
9587 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9588
9589         * introspection/Makefile.am:
9590         * introspection/nm-settings.xml:
9591         * introspection/nm-settings-connection.xml: added Settings interfaces.
9592
9593         * libnm-glib/nm-settings.[ch]:
9594         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9595         containing the DBus implementation.
9596
9597 2007-07-26  Dan Williams  <dcbw@redhat.com>
9598
9599         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9600
9601         * src/NetworkManagerSystem.c
9602                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9603                         same subnet (#437396)
9604
9605 2007-07-26  Dan Williams  <dcbw@redhat.com>
9606
9607         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9608
9609         * gnome/vpn-properties/nm-vpn-properties.c
9610                 - Fix translatable strings (#445865)
9611
9612 2007-07-26  Dan Williams  <dcbw@redhat.com>
9613
9614         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9615
9616         * configure.in
9617                 - Remove useless junk (#412530)
9618
9619 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9620
9621         Patch from Robert Buchholz <rbu@gentoo.org>:
9622
9623         * configure.in:
9624         * Makefile.am:
9625         * introspection/Makefile.am:
9626         Make make distcheck work again.
9627
9628 2007-06-27  Dan Williams  <dcbw@redhat.com>
9629
9630         * Make SSIDs GByteArrays everywhere
9631         * Rename "essid" -> "ssid" everywhere that's appropriate
9632         * Refcount activation_ap member of the 802.11 wireless device class
9633
9634 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9635
9636         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9637
9638 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9639
9640         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9641         that we got a new AP when we just update existing AP properties.
9642
9643 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9644
9645         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9646
9647         * nm-utils.[ch]: Remove.
9648
9649         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9650         objects for easy property access and dbus connection handling.
9651
9652         * libnm-glib/nm-client.c: Derive from NMObject.
9653
9654         * libnm-glib/nm-device.c: Ditto.
9655
9656         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9657
9658         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9659
9660         * libnm-glib/nm-ip4-config.c: Ditto.
9661
9662         * libnm-glib/nm-access-point.c: Ditto.
9663
9664         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9665         comparision. Currently used by the device activation code to determine if the new
9666         activation is the same as the old one.
9667
9668         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9669         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9670         able to ask password for the AP.
9671
9672         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9673         up if the device is already connected, tear down it's connection (if it isn't the
9674         same as new one) and start the activation.
9675
9676         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9677
9678         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9679         the issue where all APs are always listed as encrypted.
9680
9681         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9682         their own registered paths.
9683
9684         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9685         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9686
9687 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9688
9689         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9690         (0 & 0 == 0, doh)
9691
9692         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9693         because the handling code will cause the next state change and signal listeners
9694         get the signals in wrong order.
9695
9696         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9697         correctly in case of pending activation.
9698
9699         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9700         Convert the essid byte array to string correctly, including the terminating NULL.
9701
9702         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9703         mode with correct types.
9704
9705         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9706         constructed info to dbus call instead of the activation request.
9707
9708 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9709
9710         Patch from Christian Persch <chpe@gnome.org>
9711
9712         * libnm-glib/Makefile.am:
9713         * dispatcher-daemon/Makefile.am:
9714         Use the correct variables, the correct paths, and correct ordering. (446315)
9715
9716 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9717
9718         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9719         argument. The activation request is easy to retrieve.
9720
9721         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9722         just to be a convenient location for devices to store random stuff.
9723
9724 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9725
9726         Patch from Alex Smith <alex@alex-smith.me.uk>
9727
9728         * src/backends/NetworkManagerFrugalware.c:
9729         Update the FrugalWare backend to fix a few segfaults. (#392642)
9730
9731 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9732
9733         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9734
9735         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9736         setting.
9737         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9738
9739 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9740
9741         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9742         automagically.
9743         Implement NMSettingIP4Config.
9744         Finish NMSettingWired by adding all known members.
9745         (setting_wired_verify): Implement.
9746         Finish NMSettingWireless by adding all known members.
9747         (setting_wireless_verify): Implement.
9748
9749         * libnm-util/nm-connection.c: Register "ipv4" setting.
9750         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9751         dump function, we can introspect the GHashTable which is used for sending connections
9752         over dbus.
9753
9754         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9755         Take GByteArray for essid, it's really not a string.
9756
9757         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9758         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9759         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9760         means overriding the values we got from DHCP.
9761         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9762         (nm_device_deactivate_quickly): Ditto.
9763
9764         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9765         for debugging.
9766
9767 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9768
9769         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9770         NMConnection.
9771
9772         * libnm-glib/nm-device-802-11-wireless.c:
9773         (nm_device_802_3_ethernet_activate): Remove.
9774
9775         * libnm-glib/nm-device-802-3-ethernet.c
9776         (nm_device_802_3_ethernet_activate): Remove.
9777
9778         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9779
9780         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9781         NMConnection.
9782
9783         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9784         activation has started.
9785         Implement the new activation using NMConnection.
9786
9787         * src/nm-activation-request.c: Store a generic connection object instead
9788         of a wireless-specific AP.
9789
9790         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9791         on device type, create a device specific connection object suitable for
9792         device activation.
9793
9794         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9795         specific check to validate the connection and on success start the
9796         activation.
9797
9798         * src/nm-device-interface.h: Add a activate virtual function to the
9799         interface definition.
9800
9801         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9802         (impl_device_activate): Implement.
9803
9804         * introspection/nm-device.xml: Add a generic device activation interface
9805         that accepts an abstract NMConnection structure that has device-specific
9806         information in it.
9807
9808         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9809         activation interface.
9810
9811         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9812         activation interface.
9813
9814         * libnm-util/nm-connection.c: 
9815         * libnm-util/nm-connection.h: 
9816         * libnm-util/nm-setting.c:
9817         * libnm-util/nm-setting.h: Add.
9818
9819         * libnm-util/Makefile.am: Build the added files.
9820
9821         * src/nm-dbus-manager.c
9822         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9823         DbusConnection argument from 'name-owner-changed' signal. The manager
9824         is already passed as a first argument to the signal and the connection
9825         is easy enough to get from it.
9826
9827         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9828         Update the signature of the function.
9829
9830         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9831         Ditto.
9832
9833         * src/NetworkManager.c: Ditto.
9834
9835         * src/named-manager/nm-named-manager.c
9836         (nm_named_manager_name_owner_changed): Ditto.
9837
9838         * src/supplicant-manager/nm-supplicant-manager.c
9839         (nm_supplicant_manager_name_owner_changed): Ditto.
9840
9841         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9842
9843         * src/dhcp-manager/nm-dhcp-manager.c
9844         (nm_dhcp_manager_name_owner_changed): Ditto.
9845
9846         * src/nm-hal-manager.c: Add a list of device detectors and creators
9847         to make it easier to add new devices. Each device type has it's own
9848         entry in the table so adding new device types is only a matter of
9849         implementing a couple of functions, one for device detection and the
9850         other for device creation.
9851
9852 2007-04-25  Dan Williams  <dcbw@redhat.com>
9853
9854         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9855                 (gnome.org #432401)
9856
9857 2007-03-30  Dan Williams  <dcbw@redhat.com>
9858
9859         * src/NetworkManagerSystem.c
9860                 - (nm_system_device_set_ip4_route): clean up and fix argument
9861                         to nm_dev_sock_open()
9862
9863 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9864
9865         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9866         data to correct types instead of always using string.
9867
9868         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9869         _not_ have NM_802_11_CAP_PROTO_NONE.
9870         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9871         is not set.
9872
9873 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9874
9875         * libnm-glib/Makefile.am: Fix the build issue.
9876
9877 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9878
9879         * libnm-glib/nm-vpn-connection.h: 
9880         * libnm-glib/nm-vpn-connection.c: Implement.
9881
9882         * libnm-glib/nm-client.c: Add VPN support.
9883
9884         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9885         handler for VPN.
9886
9887         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9888         on DBUS again.
9889
9890 2007-03-26  Dan Williams  <dcbw@redhat.com>
9891
9892         * src/NetworkManagerAPList.c
9893         * src/nm-device-802-11-wireless.c
9894         * src/NetworkManagerAP.c:
9895                 - Store last seen as glong instead of GTimeVal.
9896                 - Fix the upper bound of capabilities, it's a bitfield.
9897
9898 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9899
9900         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9901
9902         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9903         "manager-running" signal that notifies the appearance/disappearance of NM.
9904         (nm_client_sleep): Implement.
9905
9906         * libnm-glib/nm-device.c:
9907         * libnm-glib/nm-device-802-11-wireless.c: 
9908         * libnm-glib/nm-device-802-3-ethernet.c: 
9909
9910         Don't inherit from DBusGProxy, add a proxy to private
9911         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9912         for anything but their own dbus interface. DBusGProxy objects support only one
9913         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9914         interface. The nice side effect of this change is that we do not create a new
9915         DBusGProxy object for each property access.
9916
9917 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9918
9919         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9920         with zeroes before passing them to functions - the functions never do that and
9921         reading the values back may produce wrong values.
9922         (real_bring_up): Store the signal handler id ...
9923         (real_bring_down): ... So that it can be removed here.
9924         Disconnect the supplicant interface here as well.
9925         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9926         from the access point instead of old $device/Networks/$essid.
9927
9928         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9929         device state is connected (instead of just having link/carrier).
9930
9931         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9932         already easily accessible through the device.
9933
9934         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9935         store it within the object.
9936         (nm_ap_get_dbus_path): Export it to public as well.
9937
9938         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9939         of the singleton.
9940
9941 2007-03-12  Dan Williams  <dcbw@redhat.com>
9942
9943         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9944         for non-carrier-detect capable devices, and useless for carrier-detect
9945         devices since we get notifications from netlink about carrier status anyway.
9946
9947         * src/nm-device-802-3-ethernet.c
9948                 - remove 'link_source_id' member from private data
9949                 - (probe_link): remove and collapse into real_update_link()
9950                 - (nm_device_802_3_periodic_update): remove
9951                 - (real_is_up): check for sup_iface rather than link_source_id
9952                 - (real_bring_up): return gboolean for success/fail; require that
9953                         sup_iface be valid for device bringup to succeed
9954                 - (real_bring_down): zero out link signal ids
9955
9956         * src/nm-device.c
9957                 - (nm_device_activate_stage2_device_config): fail activation if device
9958                         bringup fails
9959                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9960                         fails
9961                 - (nm_device_bring_up): return success/fail
9962
9963         * src/nm-device.h
9964                 - bring_up now returns success/fail
9965
9966         * src/nm-device-802-11-wireless.c
9967                 - (real_bring_up): return success from bringup
9968
9969 2007-03-07  Dan Williams  <dcbw@redhat.com>
9970
9971         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9972         * src/nm-ap-security-wpa-psk.c
9973                 - (real_write_supplicant_config): work with PSKs that may contain
9974                         zeros in the binary format rather than treating it as a string
9975
9976 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9977
9978         * libnm-glib/nm-device-802-11-wireless.c
9979         (nm_device_802_11_wireless_get_capabilities): Implement.
9980
9981         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9982
9983         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9984
9985         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9986         reply only if it's not NULL. Not sure why this started happening right now.
9987
9988         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9989         code paths for when devices get removed on shutdown or when a device is just
9990         removed.
9991         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9992         gets freed so any signal from a device (disconnected for instance) would invoke
9993         NMState update which would crash.
9994         (nm_manager_remove_device): Bring the device down when it gets removed.
9995
9996         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9997         the unused dev_type.
9998
9999         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10000         reference to the added device, NMManager will own it (if it wants).
10001
10002         * test/nm-tool.c: Rewrite using libnm-glib.
10003
10004         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10005         We get signalled when it changes.
10006
10007         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10008         when it changes.
10009
10010         * libnm-glib/nm-device.c: Cache the device state property.
10011
10012         * libnm-glib/nm-access-point.c: Cache the strength property.
10013
10014         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10015         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10016         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10017         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10018         the device is down, activating, or activated (in case of A/B/G cards).
10019         Remove some old dead ifdef'ed out code that used to configure wireless devices,
10020         it's all done through supplicant now.
10021
10022         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10023         counting issues with pending calls which caused leaks and crashes when
10024         interface was removed (now that the interface actually gets removed).
10025
10026         * src/nm-call-store.c: Make a copy of data before running a foreach
10027         with user callback on it - The most common usage pattern is to cancel
10028         (and thus remove) all pending calls with foreach which would modify
10029         the hash table we're iterating over.
10030
10031         * src/nm-manager.c: When a device is added, make sure it is "up". When
10032         it's removed or disabled due to disabling wireless or networking, bring
10033         it down.
10034
10035         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10036
10037         * src/nm-device-802-11-wireless.c: 
10038         * src/nm-device-802-3-ethernet.c: 
10039         * src/nm-device.c:
10040                 - Remove "init" virtual function, all gobjects have a place for that
10041                   already (constructor).
10042                 - Replace "start" virtual function with "bring_up", devices can be
10043                   brought up and down more than just on startup now.
10044                 - Add "is_up" virtual function.
10045                 - Implement one way to bring a device down instead of previous 4 different
10046                   ways, each of witch did something different.
10047
10048         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10049         all it needs is the device interface.
10050
10051         Get rid of NMData.dev_list (3 members to go).
10052         Get rif of NMData in a lot of places.
10053
10054         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10055
10056 2007-02-23  Dan Williams  <dcbw@redhat.com>
10057
10058         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10059
10060         * src/NetworkManagerAP.c
10061                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10062                         OR-ing rather than AND-ing
10063
10064 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10065
10066         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10067         "network-removed" signals.
10068
10069         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10070
10071         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10072         when receiving the signal from dbus.
10073
10074         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10075         property.
10076
10077         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10078         deactivation of the previously activated device working again.
10079
10080         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10081         and setter.
10082
10083         * src/nm-device.c (nm_device_is_activated): Remove.
10084         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10085
10086         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10087         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10088         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10089         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10090         Remove NMNetworkStatus and NMActStage enums.
10091
10092 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10093
10094         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10095         Handle device state changes and disconnect VPN if it's device deactivates.
10096
10097         * src/nm-dbus-nm.c: 
10098         * src/nm-dbus-nm.h: 
10099         * src/nm-dbus-device.c: 
10100         * src/nm-dbus-device.c: 
10101         * src/nm-dbus-net.c: 
10102         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10103
10104         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10105
10106         * src/nm-device.c (nm_device_get_by_udi):
10107         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10108         implemented in the correct location (NMManager).
10109         Rip out all the test_device stuff.
10110
10111         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10112         failure handlers, it's all done by NMDevice already.
10113
10114         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10115         Remove the iochannel hack to route the unix signals to the main thread since
10116         we're not threaded anymore.
10117
10118         * src/NetworkManagerAP.c: Implement HWAddress property.
10119
10120         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10121         automatically with dbus-glib.
10122
10123         * src/nm-netlink-monitor.c: 
10124         * src/nm-netlink-monitor.h:
10125                 - Move it low in the class hierarchy, don't reference any NM types.
10126                 - Remove private data from the header.
10127                 - Use type safe checks in public API methods.
10128                 - Make it a singleton so we don't have to pass the single reference around.
10129
10130 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10131
10132         * introspection/nm-ip4-config.xml: Implement.
10133
10134         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10135
10136         * libnm-glib/nm-ip4-config.c:
10137         * libnm-glib/nm-ip4-config.c: Implement.
10138
10139         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10140         securities. APs reference security.
10141
10142         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10143         be exported over DBUS.
10144
10145         * src/nm-device-802-3-ethernet.c: Ditto.
10146
10147         * src/NetworkManagerAP.c:
10148         * src/NetworkManagerAP.h:
10149                 - Convert to GObject, export over DBUS.
10150
10151         * src/nm-ip4-config.h:
10152         * src/nm-ip4-config.h:
10153                 - Convert to GObject, export over DBUS.
10154
10155 2007-02-12  Dan Williams  <dcbw@redhat.com>
10156
10157         Patch from Helmut Schaa <hschaa@suse.de>
10158
10159         * vpn-daemons/pptp/configure.in
10160           vpn-daemons/pptp/Makefile.am
10161           vpn-daemons/openvpn/configure.in
10162           vpn-daemons/openvpn/Makefile.am
10163           vpn-daemons/vpnc/configure.in
10164           vpn-daemons/vpnc/Makefile.am
10165                 - Add --without-gnome switch which disables building gnome bits
10166
10167 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10168
10169         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10170
10171         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10172
10173         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10174         'HwAddress'.
10175
10176         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10177
10178         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10179
10180         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10181
10182         * src/:
10183                 - Remove old low-level dbus interface implementations and replace them
10184                   with dbus-glib one.
10185
10186         * configure.in:
10187                 - Require dbus-glib >= 0.72.
10188                 - Plug in new sources to build.
10189
10190         * libnm-glib/:
10191                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10192                   to make it more convenient to use from GObject based programs.
10193
10194         * introspection/:
10195                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10196
10197 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10198
10199         * src/nm-device-802-11-wireless.c:
10200                 - Add "network-added" and "network-removed" signals.
10201                 - Use gobject boilerplate macros to define the GObject.
10202                 - Implement wireless device activation.
10203                 - Remove activation_failure_handler and activation_success_handler
10204                   and instead listen on state-changed signals and run the same code
10205                   from there.
10206
10207         * src/nm-device.c:
10208                 - Implment NMDeviceInterface::deactivate.
10209                 - Remove activation_failure_handler and activation_success_handler
10210                   virtual methods. Each device which is interested in these events
10211                   can just listen on it's state changed signals.
10212
10213         * src/NetworkManagerPolicy.c:
10214                 - Move a bit more NMData usage to NMManager.
10215                 - Remove activation scheduling bits.
10216                 - Add listeners for wireless device's "network-added" and
10217                   "network-removed" signals.
10218                 - Listen device changed signals and deactivate currently activated
10219                   device when another device start activating (for now).
10220                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10221                   for calling this, the policy code knows exactly when this should happen,
10222                   by listening on events from NMManager and NMDevices.
10223
10224         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10225         Implement.
10226
10227         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10228         method on the specific device instead of going to through policy code
10229         and determining the device type by passed in AP's existance.
10230
10231         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10232         abstract NMDevice deactivation.
10233
10234 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10235
10236         * src/NetworkManager.c:
10237                 - Set up all the shiny new managers.
10238
10239         * src/NetworkManagerPolicy.c:
10240                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10241                   classes to call into policy code, make the policy code kind of like
10242                   a supervisor that monitors what's going on and drives the whole NM.
10243
10244         * src/nm-hal-manager.c: 
10245         * src/nm-hal-manager.h:
10246                 - Collect all libhal code scattered around NM to this one class.
10247                 - Listen libhal and NMManager events and add/remove devices to
10248                   NMManager.
10249
10250         * src/nm-manager.c:
10251         * src/nm-manager.h:
10252                 - Implment a replacement for NMData. NMData is now officially
10253                 deprecated.
10254
10255 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10256
10257         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10258         * src/supplicant-manager/nm-supplicant-interface.h
10259         * src/supplicant-manager/nm-supplicant-interface.c
10260         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10261         argument to boolean from enum.
10262
10263         Make NMDevice abstract class, remove almost all references to it's
10264         subclasses (the last place gets removed with new policy manager). Add
10265         NMDeviceInterface (which NMDevice implements) so that when we have
10266         NMDevice exported over DBUS, there's a common NMDevice interface which
10267         all instances have, plus there's a device specific interface for each
10268         specific type.
10269         Remove functions (nm_device_is_802_3_ethernet) and
10270         (nm_device_is_802_11_wireless). There are already standard GObject macros
10271         for type safe checks.
10272         Use the updated supplican manager API.
10273
10274         * src/nm-device-interface.h: 
10275         * src/nm-device-interface.c: 
10276         * src/nm-call-store.h: 
10277         * src/nm-call-store.c: Implement.
10278
10279         * src/supplicant-manager/nm-supplicant-interface.c:
10280         * src/supplicant-manager/nm-supplicant-interface.h:
10281         * src/supplicant-manager/nm-supplicant-manager.c:
10282         * src/supplicant-manager/nm-supplicant-manager.h:
10283                 - Remove all private data type references from public header files.
10284                 - Remove all references to other NM classes, this class is just a
10285                   proxy between wpa_supplicant and NM so it doesn't have to know
10286                   any internals.
10287                 - Convert to dbus-glib bindings.
10288                 - Type safe checks for public methods' arguments.
10289                 - Store pending DBUS call ids to NMCallStore.
10290
10291         * src/supplicant-manager/nm-supplicant-config.c:
10292                 - Store config values in a GHashTable instead of GSList.
10293
10294         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10295
10296         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10297         singleton now.
10298
10299         * src/nm-device.c: Use the new DHCP manager API.
10300
10301         * src/nm-activation-request.c:
10302         * src/nm-activation-request.h:
10303                 - Remove all dhcp related properties and methods.
10304
10305         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10306
10307         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10308
10309         * src/dhcp-manager/nm-dhcp-manager.c:
10310         * src/dhcp-manager/nm-dhcp-manager.h:
10311                 - Convert it to GObject since we need to signal state changes.
10312                 - Remove all references to other NM classes, this class is one
10313                   of the lowest classes in our hierarchy.
10314                 - One less class to use NMActRequest.
10315                 - Make it singleton, one less user of NMData.
10316                 - Remove a couple of sleep() calls.
10317                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10318                   One less class to use the NM's custom tailored signal handlig.
10319
10320         * Makefile.am: Generate marshallers, add them to build.
10321
10322 2007-02-02  Dan Williams  <dcbw@redhat.com>
10323
10324         * configure.in
10325           gnome/Makefile.am
10326           nm-applet.desktop
10327           Makefile.am
10328                 - Remove last bits referencing gnome applet
10329
10330 2007-02-02  Dan Williams  <dcbw@redhat.com>
10331
10332         * src/vpn-manager/nm-vpn-service.c
10333                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10334                         and NBNS server addresses
10335
10336 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10337
10338         * src/nm-dbus-manager.c:
10339         * src/nm-dbus-manager.h:
10340                 - Convert all internal DBUS code to use dbus-glib bindings.
10341                 - Remove GObject properties, we don't need them here.
10342                 - Don't explicitly set things to NULL after freeing, glib is
10343                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10344                 - Make public API argument checks type safe.
10345                 - Remove unnecessary (and wrong) cast to GObject for the first
10346                   argument to g_signal_* calls - The first argument is a gpointer.
10347                 - Export DBusGConnection to other cool classes that (are going to)
10348                   use dbus-glib.
10349
10350 2007-01-26  Dan Williams  <dcbw@redhat.com>
10351
10352         * libnm-util/dbus-dict-helpers.c
10353           libnm-util/dbus-dict-helpers.h
10354                 - Coordinate style with wpa_supplicant version to minimize diff
10355                 - Add uint32 array support
10356                 - (nmu_dbus_dict_append_uint32_array): new function
10357                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10358                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10359                         version; allow adding string array elements individually
10360
10361         * test/libnm-util/test-dbus-dict-helpers.c
10362                 - Test uint32 arrays
10363
10364 2007-01-27  Jürg Billeter  <j@bitron.ch>
10365
10366         * src/backends/NetworkManagerPaldo.c
10367                 - (nm_system_update_dns): clear nscd hosts cache
10368
10369 2007-01-04  Dan Williams  <dcbw@redhat.com>
10370
10371         Threading removal related cleanups:
10372
10373         - Use the glib default main context.  Remove the device main context
10374                 member from NMDevice, and the main_context member from NMData.  Change
10375                 all the idle and timeout scheduler functions to use plain
10376                 g_idle_add() and g_timeout_add().
10377
10378         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10379                 takes an argument; fix that up too.
10380
10381         - Remove all locking, which is useless since we no longer use threads.  For
10382                 example, nm_get_device_by_iface_locked() has been removed.  The global
10383                 device list lock, the AP List lock, and all static locks in
10384                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10385                 in NetworkManagerUtils.c have also been removed.
10386
10387         - Other cleanups in spacing and code style
10388
10389 2007-01-01  Dan Williams  <dcbw@redhat.com>
10390
10391         Found by Bill Moss:
10392
10393         * src/supplicant-manager/nm-supplicant-interface.c
10394                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10395                         the supplicant interface wasn't already disconnected.  Always
10396                         call removeNetwork and disconnect unless the supplicant interface
10397                         is in the DISCONNECTED or INACTIVE state.
10398
10399 2006-12-28  Dan Williams  <dcbw@redhat.com>
10400
10401         Use a single thread for everything.  With the move to wpa_supplicant
10402         and communication over D-Bus, there's no reason for multiple threads.
10403         Almost all of the blocking code has been removed, with one exception in
10404         the DHCP manager and a few in the VPN manager.  This commit removes the
10405         per-device worker thread and fixes activation cancellation in the absence
10406         of threads.  Further removal of thread-related code would be removing
10407         any locking code (like the device list lock) and simplification of logic
10408         around areas of code or data structures that are currently locked.
10409
10410         * autoip.c
10411           dhcp-manager/nm-dhcp-manager.c 
10412           nm-device-802-11-wireless.c
10413           nm-device-802-3-ethernet.c
10414           nm-device.c
10415           nm-device.h
10416                 - Remove usage of multiple threads
10417
10418 2006-12-19  Dan Williams  <dcbw@redhat.com>
10419
10420         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10421         plus a few other patches from wpa_supplicant bugzilla.
10422
10423         * src/Makefile.am
10424           src/NetworkManagerPolicy.c
10425           src/NetworkManagerUtils.c
10426           src/NetworkManagerUtils.h
10427           src/nm-ap-security-leap.c
10428           src/nm-ap-security-wep.c
10429           src/nm-ap-security-wpa-eap.c
10430           src/nm-ap-security-wpa-psk.c
10431           src/nm-ap-security.c
10432           src/nm-ap-security.h
10433           src/nm-device-802-11-wireless.c
10434           src/nm-device-802-11-wireless.h
10435           src/supplicant-manager/nm-supplicant-config.c
10436           src/supplicant-manager/nm-supplicant-config.h
10437           src/supplicant-manager/nm-supplicant-interface.c
10438           src/supplicant-manager/nm-supplicant-interface.h
10439           src/supplicant-manager/nm-supplicant-marshal.list
10440           src/supplicant-manager/nm-supplicant-settings-verify.c
10441           src/supplicant-manager/nm-supplicant-settings-verify.h
10442                 - Move all connection management and association handling to
10443                         wpa_supplicant over dbus, rather than spawning a private copy
10444
10445 2006-12-19  Dan Williams  <dcbw@redhat.com>
10446
10447         * src/NetworkManagerPolicy.c
10448                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10449                         better locking of the device change check handler ID.  Incorrect
10450                         locking was causing lost device change requests
10451
10452 2006-12-18  Dan Williams  <dcbw@redhat.com>
10453
10454         * libnm-util/dbus-dict-helpers.c
10455                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10456                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10457                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10458
10459 2006-12-18  Dan Williams  <dcbw@redhat.com>
10460
10461         * gnome/libnm_glib/libnm_glib.c
10462                 - Change dbus_connection_close() -> dbus_connection_unref()
10463
10464 2006-12-11  Dan Williams  <dcbw@redhat.com>
10465
10466         * src/supplicant-manager/nm-supplicant-interface.c
10467                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10468                         wpa_supplicant interface state
10469                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10470                         state before transitioning to READY state
10471
10472 2006-12-04  Dan Williams  <dcbw@redhat.com>
10473
10474         * src/nm-device-802-11-wireless.c
10475                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10476                         odd length of ESSID returned from ieee80211 stack-based drivers
10477
10478 2006-12-04  Dan Williams  <dcbw@redhat.com>
10479
10480         * src/nm-device-802-11-wireless.c
10481                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10482                         IE handling blocks that cause mis-parsing of the IE
10483
10484 2006-12-04  Dan Williams  <dcbw@redhat.com>
10485
10486         * src/nm-device-802-11-wireless.c
10487                 - (init_supplicant_interface): new function; pull supplicant interface
10488                         setup code out into standalone function since it must be called from
10489                         two different places
10490                 - (real_init): sup_mgr is now in private object data; get and track
10491                         the supplicant manager object over the NMDevice subclass' lifetime
10492                         and register a signal handler for its state signals; only try to
10493                         initialize the supplicant interface if the supplicant manager is in
10494                         the IDLE state (and therefore is ready for requests)
10495                 - (request_wireless_scan): reschedule the scan request if (a) there is
10496                         no supplicant interface yet (meaning wpa_supplicant isn't running
10497                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10498                         for requests yet
10499                 - (supplicant_iface_connection_state_cb): new function; stub for
10500                         handling supplicant interface connection state signals
10501                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10502                         comes and goes
10503                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10504                         supplicant manager object that's being tracked starting with this
10505                         commit
10506
10507 2006-12-04  Dan Williams  <dcbw@redhat.com>
10508
10509         * src/supplicant-manager/nm-supplicant-interface.c
10510                 - (nm_supplicant_interface_set_property): track signal handler ID
10511                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10512
10513 2006-12-04  Dan Williams  <dcbw@redhat.com>
10514
10515         * src/supplicant-manager/nm-supplicant-interface.[ch]
10516                 - (nm_supplicant_interface_get_state): new function
10517
10518 2006-12-04  Dan Williams  <dcbw@redhat.com>
10519
10520         * src/supplicant-manager/nm-supplicant-interface.c
10521                 - (bssid_properties_cb): don't treat DBus errors as valid
10522                         scanned AP messages
10523
10524 2006-12-04  Dan Williams  <dcbw@redhat.com>
10525
10526         * src/supplicant-manager/nm-supplicant-interface.[ch]
10527                 - (nm_supplicant_interface_get_connection_state): new function
10528                 - define new supplicant connection states
10529                 - send a signal when the supplicant connection state changes
10530
10531 2006-12-03  Dan Williams  <dcbw@redhat.com>
10532
10533         * src/supplicant-manager/Makefile.am
10534           src/supplicant-manager/nm-supplicant-connection.h
10535           src/supplicant-manager/nm-supplicant-connection.c
10536           src/supplicant-manager/nm-supplicant-config.h
10537           src/supplicant-manager/nm-supplicant-config.c
10538           src/supplicant-manager/nm-supplicant-types.h
10539           src/supplicant-manager/nm-supplicant-interface.h
10540           src/supplicant-manager/nm-supplicant-interface.c
10541                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10542
10543 2006-12-03  Dan Williams  <dcbw@redhat.com>
10544
10545         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10546
10547         * po/POTFILES.in
10548           po/POTFILES.skip
10549                 - Move VPN-related translatables to .skip
10550
10551         * vpn-daemons/pptp/po/POTFILES.in
10552                 - Update with new translatables
10553
10554 2006-12-02  Dan Williams  <dcbw@redhat.com>
10555
10556         Patch from Christian Persch <chpe@gnome.org>
10557
10558         * gnome/applet/Makefile.am
10559           gnome/applet/applet-dbus-devices.c
10560           gnome/applet/applet-notifications.c
10561           gnome/applet/applet.c
10562           gnome/applet/applet.h
10563           gnome/applet/main.c
10564                 - Be a GtkStatusIcon on GTK+ >= 2.10
10565
10566 2006-12-02  Dan Williams  <dcbw@redhat.com>
10567
10568         * gnome/applet/applet.c
10569                 - (nma_update_info): fix two unecessary allocations
10570
10571 2006-12-02  Dan Williams  <dcbw@redhat.com>
10572
10573         Patch from Michael Biebl <biebl@teco.edu>
10574         * configure.in
10575           man/NetworkManager.1.in
10576           man/NetworkManagerDispatcher.1.in
10577           man/NetworkManager.8.in
10578           man/NetworkManagerDispatcher.8.in
10579                 - Add .SH NAME stanzas
10580                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10581
10582 2006-12-02  Dan Williams  <dcbw@redhat.com>
10583
10584         Patch from Christian Persch <chpe@gnome.org>
10585
10586         * configure.in
10587                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10588
10589 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10590
10591         Patch by Timo Hoenig <thoenig@suse.de>:
10592         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10593         DBUS-1.0.
10594
10595         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10596         we can't use the one from the main source directory.
10597
10598 2006-11-27  Dan Williams  <dcbw@redhat.com>
10599
10600         Patch from Christian Persch <chpe@gnome.org>
10601
10602         * gnome/applet/applet-dbus-devices.c
10603                 - (hal_info_product_cb): fix memleak; free duped string.
10604                         Gnome.org #379908
10605
10606 2006-11-27  Dan Williams  <dcbw@redhat.com>
10607
10608         Patch from Christian Persch <chpe@gnome.org>
10609
10610         * gnome/applet/menu-items.c
10611                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10612                         as gtk_progress_set_percentage is deprecated.  Should
10613                         work as far back as GTK+ 2.4.  Gnome.org #379780
10614
10615 2006-11-26  Dan Williams  <dcbw@redhat.com>
10616
10617         Scan using wpa_supplicant over DBus.
10618
10619         * src/nm-device-802-11-wireless.c
10620                 - remove wireless extensions netlink event handler bits
10621                         (wireless_event_helper, nm_device_802_11_wireless_event)
10622                 - remove wireless extensions scan event handler bits
10623                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10624                         hex2byte, hex2num, request_and_convert_scan_results,
10625                         free_process_scan_cb_data, scan_results_timeout,
10626                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10627                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10628                         and request scans from the supplicant interface rather than directly
10629                 - Move functionality of convert_scan_results() to cull_scan_list() and
10630                         supplicant_iface_scanned_ap_cb()
10631                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10632                         at the scan interval when the current scan has finished
10633                 - (supplicant_iface_state_cb): start scanning when the supplicant
10634                         interface enters the READY state, and stop scanning when it
10635                         enters the DOWN state
10636                 - (cull_scan_list): weed out old access points from the scan list
10637                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10638                         point into an NMAccessPoint and merge it into the device's scan list
10639
10640         * src/supplicant-manager/nm-supplicant-interface.c
10641           src/supplicant-manager/nm-supplicant-interface.h
10642                 - Add a new signal "scan-result" which is issued when the supplicant
10643                         notifies NM that a scan has completed
10644                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10645                         point found in the scan.  Called once for each access point that
10646                         the supplicant interface object receives from the supplicant as a
10647                         result of the "scanResults" method call
10648                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10649                         for the initial scan results
10650                 - (scan_request_cb): new function; send listeners the result
10651                         (success, error) of a wireless scan request
10652                 - (nm_supplicant_interface_request_scan): new function; ask the
10653                         supplicant to perform an immediate wireless scan
10654
10655 2006-11-25  Dan Williams  <dcbw@redhat.com>
10656
10657         * src/supplicant-manager/Makefile.am
10658                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10659                         add HAL cflags/includes and named-manager includes directory
10660
10661         * src/supplicant-manager/nm-supplicant-interface.h
10662                 - New state STARTING to handle transition from INIT to READY where
10663                         the addInterface pending call is still outstanding
10664
10665         * src/supplicant-manager/nm-supplicant-interface.c
10666                 - track pending calls differently since we may have more than one
10667                         going on at any given time
10668                 - request scan results from wpa_supplicant; but don't do it more often
10669                         than every 4 seconds.  Drivers that do background scanning
10670                         (like the 'ipw' drivers) send a continuous stream of scan completion
10671                         notifications, so we don't want to hammer the supplicant or dbus
10672                         with requests for all scan results every time we get a completion
10673                         notification.
10674
10675 2006-11-25  Dan Williams  <dcbw@redhat.com>
10676
10677         * src/supplicant-manager/nm-supplicant-types.h
10678                 - new file; move all supplicant manager object typedefs here for
10679                         #include sanity
10680
10681         * src/supplicant-manager/nm-supplicant-interface.c
10682           src/supplicant-manager/nm-supplicant-interface.h
10683                 - new file; an object that interfaces an NMDevice object to the
10684                         supplicant and handles signals from the supplicant.  This object
10685                         does all necessary DBus communication with wpa_supplicant.
10686
10687         * src/supplicant-manager/nm-supplicant-manager.c
10688           src/supplicant-manager/nm-supplicant-manager.h
10689                 - Actually do something.  Track the state of the wpa_supplicant service
10690                         and deal with its comings & goings.  Handle life events of
10691                         supplicant interfaces too.
10692                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10693
10694         * src/supplicant-manager/nm-supplicant-connection.h
10695                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10696
10697         * src/supplicant-manager/Makefile.am
10698                 - Add new files to build, and add libnm-util to includes
10699
10700         * src/nm-marshal.list
10701                 - New marshaler type: VOID:UINT,UINT
10702
10703         * src/nm-device-802-3-ethernet.c
10704                 - (real_init): grab a supplicant interface
10705                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10706                 - (supplicant_iface_state_cb): new function, stub for handling
10707                         supplicant interface state changes
10708
10709         * src/nm-device-802-11-wireless.c
10710                 - (real_init): grab a supplicant interface
10711                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10712                 - (supplicant_iface_state_cb): new function, stub for handling
10713                         supplicant interface state changes
10714
10715         * src/NetworkManager.c
10716                 - (main): create and keep the supplicant manager around for the lifetime
10717                         of NetworkManager
10718
10719         * src/Makefile.am
10720                 - Link to the supplicant manager sub-library and use the supplicant
10721                         manager includes
10722
10723 2006-11-25  Dan Williams  <dcbw@redhat.com>
10724
10725         Rework DBus manager signal handling to be more flexible.  Previously,
10726         only one signal handler could be registered for a particular interface.
10727         The DBus manager now reference counts DBus bus matches and allows multiple
10728         clients to register signal handlers for the same interface and sender.
10729
10730         * src/NetworkManager.c
10731                 - (main): track NMI signal handler ID and remove it when we quit
10732
10733         * src/NetworkManagerMain.h
10734                 - Keep track of NMI signal handler ID
10735
10736         * src/nm-dbus-manager.c
10737           src/nm-dbus-manager.h
10738                 - rework signal handling; each signal handler references one signal
10739                         match, but a signal match may be referenced by one or more
10740                         signal handlers.  Matches are refcounted and are destroyed when the
10741                         last signal handler that references the match is removed.  This is
10742                         necessary because two signal handlers may end up requiring the same
10743                         dbus bus match, so the match must live until the last signal handler
10744                         is destroyed (for example, with the wpa_supplicant network interface
10745                         dbus interface).
10746
10747         * src/dhcp-manager/nm-dhcp-manager.c
10748                 - (nm_dhcp_manager_new): track DHCP signal handler id
10749                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10750
10751         * src/vpn-manager/nm-vpn-service.c
10752                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10753                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10754
10755 2006-11-25  Dan Williams  <dcbw@redhat.com>
10756
10757         Suggested by Helmut Schaa <hschaa@suse.de>
10758
10759         * src/vpn-daemons/nm-vpn-service.c
10760                 - (supplicant_child_setup): new function
10761                 - (supplicant_exec): make child process use a new process group id
10762
10763         * src/nm-device-802-11-wireless.c
10764                 - (nm_vpn_service_child_setup): new function
10765                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10766                         process group id
10767
10768 2006-11-19  Dan Williams  <dcbw@redhat.com>
10769
10770         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10771         * gnome/vpn-properties/nm-vpn-properties.c
10772                 - clean up after renamed VPN connection
10773
10774 2006-11-19  Dan Williams  <dcbw@redhat.com>
10775
10776         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10777         * gnome/applet/applet-dbus-vpn.c
10778                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10779
10780         * gnome/vpn-properties/nm-vpn-properties.c
10781                 - (init_app): sort VPN connections
10782
10783 2006-11-09  Dan Williams  <dcbw@redhat.com>
10784
10785         * src/NetworkManagerAPList.c
10786                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10787                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10788                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10789                 broke hidden SSID matching.  Found by Bill Moss.
10790
10791 2006-10-25  Dan Williams  <dcbw@redhat.com>
10792
10793         * src/nm-dbus-nm.c
10794                 - (nm_dbus_nm_set_active_device): return an empty success message on
10795                         success, rather than falling through to the error case.
10796
10797 2006-10-25  Dan Williams  <dcbw@redhat.com>
10798
10799         * src/NetworkManagerUtils.c
10800                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10801                         "SCAN" command
10802
10803 2006-10-24  Dan Williams  <dcbw@redhat.com>
10804
10805         Reduce the number of times the Gnome applet wakes up, especially when
10806         it's doing absolutely nothing and is hidden.  Initial patch by
10807         Chris Aillon.
10808
10809         * gnome/applet/applet-dbus.c
10810                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10811                         kill the redraw timeout.  When NM starts up, start the redraw
10812                         timeout.  Also, if we get kicked off the bus for some reason,
10813                         start the reconnection timeout if one's not already running.
10814                 - (nma_dbus_init): better handling of error conditions, don't leak
10815                         a half-initialized dbus connection
10816                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10817                         the applet's data, just call nm_dbus_init_helper()
10818                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10819                         timeout that calls nma_dbus_connection_watcher()
10820                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10821                         reconnection timeout, and don't start the reconnection timeout
10822                         unconditionally anymore
10823
10824         * gnome/applet/applet-dbus.h
10825                 - Expose nma_start_dbus_connection_watch()
10826
10827         * gnome/applet/applet.c
10828                 - (nma_update_state): no longer static, called from applet-dbus.c for
10829                         immediate UI updates on certain events
10830                 - (nma_set_running): new function; take over setting applet->running,
10831                         when not running (ie, NM is not active), don't activate the redraw
10832                         timeout because we're not showing the applet anyway.  When we are
10833                         running (ie, NM is active), and only when we're running, start the
10834                         redraw timeout.
10835                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10836                         kill any reconnection timeout
10837                 - (nma_get_instance): move one-off dbus initialization code here since
10838                         nm_dbus_init_helper() gets called more than once, possibly by the
10839                         reconnection timeout function too.  And, when we start up, if we
10840                         can't get a connection to the bus, start the reconnection timeout.
10841                         But don't start the redraw timeout yet, only do that when we get
10842                         NM's state and find out if it's running or not.
10843
10844         * gnome/applet/applet.h
10845                 - Add the reconnection GSource ID
10846                 - Add prototypes for nma_set_running() and the no-longer-static
10847                         nma_update_state()
10848
10849 2006-10-24  Dan Williams  <dcbw@redhat.com>
10850
10851         * src/vpn-daemons/nm-dbus-vpnc.c
10852                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10853                         pending call tracker
10854                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10855                         pending call tracker; register one-vpn-connection update pending
10856                         call in pending call tracker
10857                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10858                         update pending call in pending call tracker
10859                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10860                         update pending call in pending call tracker; don't block waiting
10861                         for call to return
10862
10863 2006-10-19  Robert Love  <rml@novell.com>
10864
10865         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10866           refresh the cache.
10867
10868 2006-10-14  Dan Williams  <dcbw@redhat.com>
10869
10870         * src/dhcp-manager/nm-dhcp-manager.c
10871                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10872                 the dbus connection and the device object path rather than
10873                 constructing it inside both functions.  Saves a bit of memory
10874                 and clarifies a failure path.
10875                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10876                 and allocate device path here rather than each of the two
10877                 functions above.
10878
10879 2006-10-13  Dan Williams  <dcbw@redhat.com>
10880
10881         * src/NetworkManager.c
10882                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10883                 this somehow droppout in the refactor
10884
10885 2006-10-13  Dan Williams  <dcbw@redhat.com>
10886
10887         * Huge DBus refactor:
10888                 - Create a "DBus Manager" object which manages the connection and
10889                 sends signals on NameOwnerChanged and connection/disconnection events,
10890                 handles reconnection to the bus if NM gets kicked off, and abstracts
10891                 signal handling
10892                 - Remove DBusConnection members from places where they are no
10893                 longer needed due to the refactor, like the dbus-connection
10894                 property of the named manager, and from NMData
10895                 - Reformats a bunch of the code to gnome style
10896                 (8-space tabs, braces on same line as statement, 80-col width).
10897                 Consider it open season to reformat any bits to gnome style.
10898                 style that aren't already.
10899
10900 2006-10-13  Dan Williams  <dcbw@redhat.com>
10901
10902         * src/supplicant-manager/Makefile.am
10903                 - Add new files
10904
10905         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10906                 - Make it a minimal GObject
10907
10908         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10909                 - Verify settings destined for wpa_supplicant
10910
10911         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10912                 - Minimal GObject to track wpa_supplicant controlled device
10913                 connections
10914
10915 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10916
10917         * gnome/applet/applet.c: (nma_update_info),
10918         (nma_act_stage_to_pixbuf), (nma_update_state):
10919         Mark missing strings for translation. Fixes bug #343306.
10920
10921 2006-10-01  Dan Williams  <dcbw@redhat.com>
10922
10923         * src/vpn-manager/nm-vpn-manager.c
10924                 - (nm_vpn_manager_load_services): split and clean up
10925                 for readability and correctness.  Restrict VPN service
10926                 files to ending in ".name", as was meant from the
10927                 beginning (but not coded in).  Better error reporting.
10928
10929 2006-10-01  Dan Williams  <dcbw@redhat.com>
10930
10931         * utils/nm-utils.h
10932                 - Clean up formatting of debug/info/warning log messages
10933
10934 2006-09-27  Robert Love  <rml@novell.com>
10935
10936         Patch by Tambet Ingo <tambet@ximian.com>:
10937         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10938           actually work.
10939
10940 2006-09-07  Dan Williams <dcbw@redhat.com>
10941
10942         * test/Makefile.am
10943           test/libnm-util/Makefile.am
10944           test/nm-supplicant-test.c
10945                 - Add test program emulating the way NM drives wpa_supplicant
10946                 to help debug supplicant issues
10947
10948 2006-08-24  Dan Williams <dcbw@redhat.com>
10949
10950         * configure.in
10951           src/Makefile.am
10952           src/supplicant-manager/Makefile.am
10953           src/supplicant-manager/nm-supplicant-manager.c
10954           src/supplicant-manager/nm-supplicant-manager.h
10955                 - Add skeleton bits of the wpa_supplicant manager
10956
10957 2006-08-24  Dan Williams <dcbw@redhat.com>
10958
10959         Patch from Ed Catmur:
10960         * src/NetworkManagerUtils.c
10961                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10962                 if netmask is 0 (Gnome #352634)
10963
10964 2006-08-17  Robert Love  <rml@novell.com>
10965
10966         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10967           package is now DBUS-enabled and listens for the NM signals.
10968
10969 2006-08-14  Dan Williams  <dcbw@redhat.com>
10970
10971         * Patch from Christian Persch <chpe gnome org>
10972         * configure.in
10973           po/LINGUAS
10974           vpn-daemons/openvpn/po/LINGUAS
10975           vpn-daemons/openvpn/configure.in
10976           vpn-daemons/pptp/po/LINGUAS
10977           vpn-daemons/pptp/configure.in
10978           vpn-daemons/vpnc/po/LINGUAS
10979           vpn-daemons/vpnc/configure.in
10980                 - Convert to LINGUAS method so translators don't have to modify
10981                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10982                 0.35 or higher
10983
10984 2006-08-14  Dan Williams  <dcbw@redhat.com>
10985
10986         Patch from Alex Smith <alex.extreme2@gmail.com>
10987         * configure.in
10988           src/backends/Makefile.am
10989           src/backends/NetworkManagerFrugalware.c
10990                 - Add support for Frugalware
10991
10992 2006-08-13  Dan Williams  <dcbw@redhat.com>
10993
10994         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10995         * src/nm-device-802-11-wireless.c
10996                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10997                 Gnome #346875
10998
10999 2006-08-13  Dan Williams  <dcbw@redhat.com>
11000
11001         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11002         * src/nm-ap-security.c
11003           src/nm-ap-security.h
11004                 - Add authentication_required bits for subclasses to specify whether
11005                 or not real authentication is required for connections, i.e. whether
11006                 the AP rejects us when an encryption key is wrong or not.
11007
11008         * src/nm-ap-security-wep.c
11009           src/nm-ap-security-wpa-eap.c
11010           src/nm-ap-security-wpa-psk.c
11011           src/nm-ap-security-leap.c
11012                 - Implement authentication_required appropriately for each method
11013
11014         * src/nm-device-802-11-wireless.c
11015                 - Be smarter about when to request a key; for example, using a wrong key
11016                 in WEP shared key mode previously just timed out and did not request
11017                 a new key
11018
11019 2006-08-13  Dan Williams  <dcbw@redhat.com>
11020
11021         * gnome/libnm_glib/libnm_glib.c
11022                 - dbus_connection_disconnect() -> dbus_connection_close() for
11023                 dbus >= 0.90
11024
11025 2006-08-07  Dan Williams  <dcbw@redhat.com>
11026
11027         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11028         * src/NetworkManagerSystem.c
11029                 - Respect specified MTU.  Gnome #344967
11030
11031 2006-08-07  Dan Williams  <dcbw@redhat.com>
11032
11033         * src/vpn-manager/nm-vpn-service.c
11034                 - Simplify print_vpn_config() arguments
11035
11036         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11037         * src/vpn-manager/Makefile.am
11038           src/vpn-manager/nm-vpn-service.c
11039                 - Add new API for passing VPN config options as a dict. Gnome #344967
11040
11041 2006-08-06  Dan Williams  <dcbw@redhat.com>
11042
11043         * gnome/applet/applet-dbus-devices.c
11044           gnome/applet/applet-dbus-vpn.c
11045           gnome/applet/applet-dbus.c
11046           gnome/applet/applet-dbus.h
11047           src/nm-dbus-nmi.c
11048           utils/nm-utils.c
11049           utils/nm-utils.h
11050                 - Make pending call tracking code generic,
11051                 so we can use it in NM as well as the applet
11052
11053 2006-08-06  Dan Williams  <dcbw@redhat.com>
11054
11055         * src/nm-activation-request.c
11056                 - Refcount pending call objects
11057
11058 2006-08-06  Dan Williams  <dcbw@redhat.com>
11059
11060         Patch from Christan Chiesa <christanc@gmail.com>
11061         * configure.in
11062                 - Tell sha1.c to use bigendian mode on PPC
11063
11064 2006-08-04  Robert Love  <rml@novell.com>
11065
11066         Glib Memory Slices!
11067         * configure.in: Require glib 2.10 or later.
11068         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11069           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11070           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11071           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11072           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11073           Memory Slices are the greatest thing since bread slices.
11074         * src/NetworkManagerAP.c: Also, fix memory leak.
11075
11076 2006-08-01  Robert Love  <rml@novell.com>
11077
11078         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11079
11080 2006-07-31  Robert Love  <rml@novell.com>
11081
11082         * src/backends/interface_parser.c: Declarations must begin the block.
11083
11084 2006-07-24  Dan Williams  <dcbw@redhat.com>
11085
11086         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11087         * src/backends/Makefile.am
11088           src/backends/NetworkManagerArch.c
11089           src/backends/NetworkManagerDebian.c
11090           src/backends/NetworkManagerGeneric.c
11091           src/backends/NetworkManagerGeneric.h
11092           src/backends/NetworkManagerGentoo.c
11093           src/backends/NetworkManagerPaldo.c
11094           src/backends/NetworkManagerRedHat.c
11095           src/backends/NetworkManagerSlackware.c
11096           src/backends/NetworkManagerSuSE.c
11097                 - Genericize common backend functions
11098
11099 2006-07-18  Robert Love  <rml@novell.com>
11100
11101         * configure.in: Add "--with-notify" option to allow disabling of
11102           libnotify support.
11103
11104 2006-07-13  Dan Williams  <dcbw@redhat.com>
11105
11106         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11107         * gnome/applet/applet.glade
11108           gnome/applet/Makefile.am
11109           gnome/applet/nm-gconf-wso.c
11110           gnome/applet/nm-gconf-wso-leap.c
11111           gnome/applet/nm-gconf-wso-leap.h
11112           gnome/applet/wireless-security-manager.c
11113           gnome/applet/wso-leap.c
11114           gnome/applet/wso-leap.h
11115           include/NetworkManager.h
11116           libnm-util/dbus-helpers.c
11117           libnm-util/dbus-helpers.h
11118           src/Makefile.am
11119           src/NetworkManagerAP.c
11120           src/nm-ap-security.c
11121           src/nm-ap-security-leap.c
11122           src/nm-ap-security-leap.h
11123                 - Add LEAP authentication support
11124
11125 2006-07-13  Dan Williams  <dcbw@redhat.com>
11126
11127         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11128         * configure.in
11129           src/backends/NetworkManagerArch.c
11130           src/backends/NetworkManagerDebian.c
11131           src/backends/NetworkManagerGentoo.c
11132           src/backends/NetworkManagerPaldo.c
11133           src/backends/NetworkManagerRedHat.c
11134           src/backends/NetworkManagerSlackware.c
11135           src/backends/NetworkManagerSuSE.c
11136                 - Convert hardcoding of 'ip' path to configure-time
11137                         detected one
11138
11139 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11140
11141         * configure.in: added ru to ALL_LINGUAS
11142
11143 2006-07-10  Dan Williams  <dcbw@redhat.com>
11144
11145         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11146         * src/nm-device.c
11147                 - (real_act_stage3_ip_config_start): don't infinite loop when
11148                         dhcdbd isn't running (Gnome #346845)
11149
11150 2006-07-09  Dan Williams  <dcbw@redhat.com>
11151
11152         * gnome/applet/applet.c
11153                 - (nma_destroy): don't pass NULL to notify_notification_close
11154                         (RH #197917)
11155
11156 2006-07-09  Dan Williams  <dcbw@redhat.com>
11157
11158         * gnome/applet/applet.c
11159                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11160
11161 2006-07-04  Tor Krill  <tor@krill.nu>
11162
11163         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11164         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11165         (nm_system_restart_mdns_responder), (ArchReadConfig),
11166         (nm_system_device_get_system_config):
11167                 - Explicitly check for DHCP configuration
11168                 - Check if daemons are running before starting them
11169
11170 2006-06-25  Dan Williams  <dcbw@redhat.com>
11171
11172         * libnm-util/dbus-dict-helpers.[ch]
11173           test/libnm-util/test-dbus-dict-helpers.c
11174                 - Add string array support
11175
11176 2006-06-24  Dan Williams  <dcbw@redhat.com>
11177
11178         * src/dhcp-manager/nm-dhcp-manager.c
11179                 - (nm_dhcp_manager_process_signal): clean up spacing
11180
11181 2006-06-21  Dan Williams  <dcbw@redhat.com>
11182
11183         * src/nm-dbus-device.c
11184                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11185                         through dbus
11186
11187 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11188
11189         * configure.in: Added 'lv' to ALL_LINGUAS
11190
11191 2006-06-19  Dan Williams  <dcbw@redhat.com>
11192
11193         * src/NetworkManagerAP.c
11194                 - Clarify usage of user_created
11195
11196         * src/nm-ap-security-wep.c
11197           src/nm-ap-security-wpa-eap.c
11198           src/nm-ap-security-wpa-psk.c
11199           src/nm-ap-security.c
11200           src/nm-ap-security.h
11201                 - s/user_created/adhoc, because we really do mean adhoc
11202
11203         Patch from Bernard Blackham <bernard@blackham.com.au>
11204         * src/nm-device-802-11-wireless.c         
11205                 - (supplicant_send_network_config): instead of user_created,
11206                         use adhoc, and do AP_SCAN 2 for adhoc networks
11207
11208 2006-06-18  Robert Love  <rml@novell.com>
11209
11210         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11211           we have a value to set.  Gconf generates a warning if `val' is NULL.
11212         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11213           unless we actually received a valid private key file passphrase or
11214           password.  Otherwise, we don't know to later ask the applet to pull
11215           the key from the keyring.
11216
11217 2006-06-17  Dan Williams  <dcbw@redhat.com>
11218
11219         * libnm-util/dbus-dict-helpers.[ch]
11220           test/libnm-util/test-dbus-dict-helpers.c
11221                 - Fixes for zero-length byte arrays
11222                 - Replace return values of 0 with FALSE for clarity
11223                 - Test zero-length byte arrays
11224
11225 2006-06-17  Dan Williams  <dcbw@redhat.com>
11226
11227         * libnm-util/dbus-dict-helpers.[ch]
11228           test/libnm-util/test-dbus-dict-helpers.c
11229                 - Add helpers for byte arrays
11230                 - Rework bits of the testcase
11231
11232 2006-06-16  Dan Williams  <dcbw@redhat.com>
11233
11234         * libnm-util/Makefile.am
11235         * libnm-util/dbus-dict-helpers.[ch]
11236                 - Add some helpers to take the pain out of using dict types in
11237                         dbus.
11238
11239         * test/libnm-util/Makefile.am
11240         * test/libnm-util/test-dbus-dict-helpers.c
11241                 - Test cases for the dict helper functions
11242
11243 2006-06-15  Robert Love  <rml@novell.com>
11244
11245         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11246           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11247           if there is no key to pass.
11248         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11249           receiving a non-NULL key.
11250
11251 2006-06-14  Robert Love  <rml@novell.com>
11252
11253         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11254           copy the strings.
11255
11256
11257 2006-06-14  Dan Williams  <dcbw@redhat.com>
11258
11259         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11260         * src/nm-device-802-11-wireless.c
11261                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11262                         or ones where the driver is unknown
11263                 - (supplicant_exec): don't wait for supplicant startup here
11264                 - (supplicant_interface_init): finer grained polling for supplicant
11265                         startup
11266
11267 2006-06-13  Robert Love  <rml@novell.com>
11268
11269         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11270           if it is currently set to TRUE.  Otherwise, we will reset the value
11271           when we connect normally.
11272         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11273           the old BSSID is valid, too.  The recently added ESSID check may not be
11274           sufficient (we can remove it?).  What we really want to catch is the
11275           case of going from all-zeros to the BSSID of some other network, which
11276           happens on failure.
11277
11278 2006-06-09  Dan Williams  <dcbw@redhat.com>
11279
11280         * src/NetworkManagerSystem.[ch]
11281                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11282                         it was unused and pointless
11283                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11284                         fix for set_up_down_with_iface change
11285
11286         * src/vpn-manager/nm-vpn-connection.c
11287                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11288
11289         * src/backends/NetworkManagerPaldo.c
11290           src/backends/NetworkManagerRedHat.c
11291           src/backends/NetworkManagerSuSE.c
11292           src/backends/NetworkManagerArch.c
11293           src/backends/NetworkManagerDebian.c
11294           src/backends/NetworkManagerGentoo.c
11295                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11296                         appropriate
11297                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11298                         where appropriate
11299
11300 2006-06-09  Dan Williams  <dcbw@redhat.com>
11301
11302         Patch from Peter Jones:
11303         * src/nm-device-802-11-wireless.c
11304                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11305                         SSID hasn't changed from what we expect before automatically
11306                         updating the saved BSSID from a new AP
11307
11308 2006-06-08  Robert Love  <rml@novell.com>
11309
11310         Add 'fallback' support.  NetworkManager will attempt to brute-force
11311         connect to networks marked as fallback if there are no better wireless
11312         connections available.  This is useful as a method of last resort, to
11313         work around driver problems, and for use with hidden networks.
11314         * gnome/applet/applet-dbus-devices.c,
11315           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11316         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11317           pass it on via DBUS.
11318         * gnome/applet/applet.c: No fallback by default.
11319         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11320           Update other-network-dialog to add UI checkbox toggling fallback.
11321         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11322           propery from AP object.  Add "fallback" property to AP object.
11323         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11324         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11325         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11326           separate function.  Add get_best_fallback_ap() for returning an AP
11327           on which to attempt fallback.
11328         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11329         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11330
11331 2006-06-07  Robert Love  <rml@novell.com>
11332
11333         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11334           checked that the return type was GCONF_VALUE_STRING, not the correct
11335           GCONF_VALUE_BOOL, and thus it never worked.
11336         * src/NetworkManagerAPList.c: Before concluding that two networks are
11337           identical based on their BSSID, make sure that the BSSID in question
11338           is actually valid.  Specifically, an empty or all zero BSSID does not
11339           cut it.
11340         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11341           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11342           similar invariant clean up.
11343
11344 2006-06-02  Robert Love  <rml@novell.com>
11345
11346         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11347
11348 2006-05-28  Dan Williams  <dcbw@redhat.com>
11349
11350         * gnome/applet/applet.glade
11351           gnome/vpn-properties/nm-vpn-properties.glade
11352                 - Set window icons on dialogs  (Gnome.org #333420)
11353
11354 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11355
11356         * gnome/vpn-properties/nm-vpn-properties.glade:
11357         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11358         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11359         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11360                 - Make the VPN properties pages prettier and more HIG
11361                   compliant. Gnome Bug #336913.
11362
11363 2006-05-28  Dan Williams  <dcbw@redhat.com>
11364
11365         Patch from Christian Persch <chpe@gnome.org>
11366         * gnome/vpn-properties/nm-vpn-properties.c
11367         * gnome/vpn-properties/nm-vpn-properties.glade
11368                 - HIG-ification love  (Gnome.org #336846)
11369
11370 2006-05-28  Dan Williams  <dcbw@redhat.com>
11371
11372         Patch from Christian Persch <chpe@gnome.org>
11373         * configure.in
11374           gnome/vpn-properties/nm-vpn-properties.c
11375                 - (main): Fix option parsing.  Gnome.org #336847
11376
11377 2006-05-28  Dan Williams  <dcbw@redhat.com>
11378
11379         * gnome/vpn-properties/nm-vpn-properties.c
11380                 - (find_vpn_ui_by_service_name): protect against NULL service names
11381                 - (update_edit_del_sensitivity): protect against NULL service names
11382                         Gnome.org #341306
11383
11384 2006-05-28  Dan Williams  <dcbw@redhat.com>
11385
11386         Patch from Chris Fuller <crf@grandecom.net>:
11387         * src/nm-device-802-11-wireless.c
11388                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11389                         don't dispose of wireless-specific stuff unless it is actually
11390                         initialized.  Gnome.org #341263
11391
11392 2006-05-28  Dan Williams  <dcbw@redhat.com>
11393
11394         * src/NetworkManagerPolicy.c
11395                 - (nm_policy_device_change_check): don't switch devices if the "best"
11396                         AP is essentially the same as the current activation request, but
11397                         the current activation request isn't done activating yet.  Fixes
11398                         multiple requests for keyring password on startup for Gnome applet.
11399                         Gnome.org #341297
11400
11401 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11402
11403         * src/NetworkManager.c: use GOptions instead of getopt
11404         * configure.in: bump glib required version to >= 2.6 for GOption
11405           support
11406
11407 2006-05-25  Robert Love  <rml@novell.com>
11408
11409         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11410           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11411           instead of dumping ifdef's throughout the code.
11412         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11413           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11414           use nm_ioctl_info() in lieu.
11415
11416 2006-05-25  Robert Love  <rml@novell.com>
11417
11418         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11419         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11420           not using gcrypt.  Otherwise, we get a linker error.
11421
11422 2006-05-25  Robert Love  <rml@novell.com>
11423
11424         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11425         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11426           configure flag to disable building of the GNOME-based applet.
11427
11428 2006-05-25  Robert Love  <rml@novell.com>
11429
11430         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11431           parameter from link, because it shadows a global variable with some
11432           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11433           should never have exported to the entire system a common four letter
11434           word.  But we here at NetworkManager are team players.  Fixes
11435           GNOME bug #336532.
11436
11437 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11438
11439         * configure.in: Added mk.po, Macedonian translation.
11440
11441 2006-05-24  Robert Love  <rml@novell.com>
11442
11443         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11444           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11445           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11446
11447 2006-05-24  Robert Love  <rml@novell.com>
11448
11449         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11450           libnm-util/Makefile.am, src/Makefile.am,
11451           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11452           vpn-daemons/openvpn/properties/Makefile.am,
11453           vpn-daemons/pptp/auth-dialog/Makefile.am,
11454           vpn-daemons/pptp/properties/Makefile.am,
11455           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11456           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11457           user passed for --datadir, if anything, when setting the GNOME locale
11458           directory.  It should be a function of the specified datadir and not
11459           the prefix.
11460
11461 2006-05-24  Robert Love  <rml@novell.com>
11462
11463         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11464           src/NetworkManager.c: Take care to call bindtextdomain with the
11465           location of msgid files.
11466         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11467           files.
11468
11469 2006-05-22  Robert Love  <rml@novell.com>
11470
11471         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11472           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11473           99% of the time there is a real problem with wireless, and a
11474           seemingly successful connection via Zeroconf just confuses the user.
11475           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11476
11477 2006-05-22  Robert Love  <rml@novell.com>
11478
11479         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11480           autofs on interface up if NIS is configured.  On interface down, do
11481           nothing.
11482
11483 2006-05-22  Robert Love  <rml@novell.com>
11484
11485         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11486           to avoid calling g_object_unref() on stale pointers on error in
11487           nma_icons_free().  This happens because we short-circuit loaded the
11488           icons on the first failure but then free all icons.  Normally we have
11489           no issue because the icons were zero'ed out malloc, but we have stale
11490           pointer data after nma_icon_theme_changed().
11491         * gnome/applet/main.c: Return error code if nma_new() failed.
11492
11493 2060-05-21  Dan Williams  <dcbw@redhat.com>
11494
11495         * initscript/NetworkManager.in
11496                 - Ensure both dhcdbd and named are started before NM
11497
11498 2006-05-21  Dan Williams  <dcbw@redhat.com>
11499
11500         * configure.in
11501                 - Bump version to 0.7 to signify we are in 0.7 development
11502
11503 2006-05-21  Dan Williams  <dcbw@redhat.com>
11504
11505         Patch from Adam Schreiber <sadam@clemson.edu>
11506         * gnome/vpn-properties/nm-vpn-properties.c
11507                 - (main): correct Gnome program name  (gnome.org #342498)
11508
11509 2006-05-21  Dan Williams  <dcbw@redhat.com>
11510
11511         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11512
11513         * src/NetworkManagerDbus.[ch]
11514                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11515                         clarify that function's argument should be an escaped dbus object
11516                         path, and look for path segment end before returning a match
11517         * src/nm-dbus-nm.c:
11518                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11519
11520 2006-05-17  Robert Love  <rml@novell.com>
11521
11522         Functionality to differentiate Ad-Hoc networks from infrastructure
11523         networks in the applet, by displaying a special icon:
11524         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11525         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11526         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11527           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11528           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11529           networks, encrypted or not.
11530         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11531           accessor functions to get and set the mode of a given network,
11532           wireless_network_get_mode() and wireless_network_set_mode().
11533
11534 2006-05-17  Robert Love  <rml@novell.com>
11535
11536         Functionality to automatically add BSSIDs to the allowed-MAC list as
11537         one roams from access point to access point on a given network:
11538         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11539           helper function to compare two ether_addr structures and return TRUE
11540           if they contain the same MAC address.
11541         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11542           prototype.
11543         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11544           stored with the current AP.  If the BSSID has indeed changed, we
11545           send it out to the applet, allowing the allowed-MAC list to grow
11546           automatically in response to roaming.
11547
11548 2006-05-16  Robert Love  <rml@novell.com>
11549
11550         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11551           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11552
11553 2006-05-13  Dan Williams  <dcbw@redhat.com>
11554
11555         * src/nm-device-802-3-ethernet.c
11556                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11557                         carrier detect (Debian bug #366373)
11558
11559 2006-05-11  Dan Williams  <dcbw@redhat.com>
11560
11561         Patch from Michael Biebl <biebl@teco.edu>
11562         * src/backends/NetworkManagerDebian.c
11563                 - Debian backend fixups
11564
11565 2006-05-10  Robert Love  <rml@novell.com>
11566
11567         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11568
11569 2006-05-09  Robert Love  <rml@novell.com>
11570
11571         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11572           private certificate passphrase, if any, in the GNOME Keyring.
11573         * libnm-utils/dbus-helpers.c: Update.
11574
11575 2006-05-05  Dan Williams  <dcbw@redhat.com>
11576
11577         * src/nm-device-802-11-wireless.c
11578                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11579                         nm_device_802_11_wireless_disable_encryption() since that's all
11580                         we use it for anymore; we don't ever set WEP keys ourselves.
11581                 - (real_deactivate_quickly): reset SSID and encryption keys
11582                 - (real_deactivate): move SSID and encryption key reset to
11583                         real_deactivate_quickly(), which gets run before us anyway
11584
11585 2006-05-05  Robert Love  <rml@novell.com>
11586
11587         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11588           root has a wacky default of its own (or, more common, a user has a
11589           bad umask and uses su/sudo to restart NetworkManager).  Anything
11590           other than 0022 does not do what we want with, for example,
11591           resolv.conf.  This problem is amplified by our judicious use of
11592           fopen(), which uses mode 0666 -- implying that the only way to get
11593           the permissions we want is with a umask of 0022.
11594
11595 2006-05-05  Dan Williams  <dcbw@redhat.com>
11596
11597         * gnome/libnm_glib/libnm_glib.c
11598                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11599                         to reconnect; instead wait a bit more with each reconnect attempt
11600                         up to a max of one minute.
11601
11602 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11603
11604         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11605           the WirelessNetwork structure using the proper function instead of
11606           just casting it directly to (const char *) (gnome.org #336991)
11607
11608 2006-05-03  Robert Love  <rml@novell.com>
11609
11610         * src/backends/NetworkManagerSuSE.c: Respect the variable
11611           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11612           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11613           to dynamically update /etc/resolv.conf.
11614
11615 2006-05-02  Peter Jones  <pjones@redhat.com>
11616
11617         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11618
11619 2006-05-02  Robert Love  <rml@novell.com>
11620
11621         Patch by Timo Hoenig;
11622         * tests/nm-online.c: Print pretty status indicator as timeout winds
11623           down.  Also fix possible race between DBUS startup and failure
11624           return.
11625
11626 2006-05-01  Robert Love  <rml@novell.com>
11627
11628         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11629           empty, too.
11630
11631 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11632
11633         * src/nm-device.c (discover_device_type): Actually use the hal
11634         device type instead of ioctl poking
11635
11636 2006-04-26  Robert Love  <rml@novell.com>
11637
11638         * tests/nm-online.c: New file.  Simple utility that returns exit status
11639           noting whether the connection is offline or online.  If offline on
11640           start, it waits 30 seconds (or a command-line given value) for an
11641           online signal.  If it times out, it again returns offline.  This is
11642           useful for scripts that want to wait for network connections.
11643
11644 2006-04-25  Robert Love  <rml@novell.com>
11645
11646         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11647           key mode (the authentication algorithm), e.g. open or shared, when we
11648           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11649           only shared was broken.  If the user specified a shared key, set it
11650           explicitly, otherwise let wpa_supplicant go with the default.
11651
11652 2006-04-24  Dan Williams  <dcbw@redhat.com>
11653
11654         * src/nm-device-802-11-wireless.c
11655                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11656
11657 2006-04-24  Dan Williams  <dcbw@redhat.com>
11658
11659         Commit the async scanning patch
11660
11661         * src/nm-device-802-11-wireless.c
11662                 - get rid of scan_mutex
11663                 - (wireless_event_helper): act on wireless scan events
11664                 - (real_start): schedule a pending scan
11665                 - (link_to_specific_ap): fake the link to the AP during a scan
11666                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11667                         strength during scans
11668                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11669                         nm_device_set_bitrate): unused with new scanning code, disable
11670                 - (nm_device_wireless_schedule_scan): removed
11671                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11672                 - (request_and_convert_scan_results): new function; retrieve scan
11673                         results from the driver and schedule the processing function
11674                 - (scan_results_timeout): timeout triggered when card doesn't send
11675                         a scan results wireless event during a certain interval
11676                 - (schedule_scan_results_timeout): new function; schedule the scan
11677                         results timeout
11678                 - (cancel_scan_results_timeout): new function; cancel the scan
11679                         results timeout
11680                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11681                         to do the scanning.  Otherwise, just request a scan but don't
11682                         grab results here; instead schedule a timeout for scan results and
11683                         let netlink notify us of scan completion events
11684                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11685                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11686                 - (supplicant_status_cb): ignore disconnect events while scanning
11687                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11688                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11689                         timeouts
11690                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11691
11692 2006-04-24  Dan Williams  <dcbw@redhat.com>
11693
11694         * gnome/applet/applet-dbus.c
11695                 - Disable the pending call debug stuff, seems under control now
11696
11697 2006-04-20  Robert Love  <rml@novell.com>
11698
11699         Fix bug where hidden ESSID's would not show up in the applet, even
11700         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11701         because nm_policy_device_list_update_from_allowed_list() would merge
11702         the data, putting a name to the hidden networks, but never notify NMI
11703         of the changes.  Simple fix is to invoke the function
11704         nm_dbus_signal_wireless_network_change() if we make a mapping.
11705         * src/NetworkManagerAPList.c: Call the function
11706           nm_dbus_signal_wireless_network_change() if we made a successful
11707           BSSID to ESSID mapping, notifying the applet of the "new" network.
11708         * src/NetworkManagerAPList.h: Update the prototypes for both
11709           nm_ap_list_copy_essids_by_address() and
11710           nm_ap_list_copy_one_essid_by_address().
11711
11712 2006-04-20  Robert Love  <rml@novell.com>
11713
11714         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11715           not set.  Just return zero.
11716
11717 2006-04-20  Robert Love  <rml@novell.com>
11718
11719         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11720           only one copy of nm-vpn-properties is running at a time via the 'ol
11721           X selection trick.  This prevents the user from opening two "VPN
11722           Connections" windows from within the applet, which leads to mass
11723           hysteria.
11724         * clipboard.c: New file, implementing simple X selection logic.
11725         * clipboard.h: New file.
11726         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11727
11728 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11729
11730         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11731         * configure.in
11732           initscript/Gentoo/Makefile.am
11733           initscript/Gentoo/NetworkManagerDispatcher.in
11734                 - New script
11735         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11736           Gentopia
11737
11738 2006-04-16  Dan Williams  <dcbw@redhat.com>
11739
11740         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11741         * configure.in
11742           initscript/Slackware/Makefile.am
11743           initscript/Slackware/rc.networkmanager-dispatcher.in
11744           initscript/Slackware/rc.networkmanager.in
11745                 - Update slackware initscripts
11746
11747 2006-04-10  Robert Love  <rml@novell.com>
11748
11749         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11750           the "delete_event" signal on the druid's parent window and handle it
11751           our way, lest using the WM to close the druid results in a series of
11752           bloody and ultimately lethal errors.
11753
11754 2006-04-10  Robert Love  <rml@novell.com>
11755
11756         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11757           'Back' too or else the 'Forward' option is initially disabled despite
11758           valid input.
11759
11760 2006-04-06  Robert Love  <rml@novell.com>
11761
11762         Fix bad but simple bug where an active modem connection did not update
11763         NM's connection state, breaking any app that did online/offline:
11764         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11765           represented whether a dial up connection is active, or not.
11766         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11767           to modem activation and deactivation.
11768         * src/NetworkManagerDbus.c: When asked our state, do not return
11769           disconnected if the modem is active.
11770
11771 2006-04-04  Robert Love  <rml@novell.com>
11772
11773         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11774           applet.  It just confuses the crap out of people and does not make a
11775           lot of sense, as the daemon still runs.
11776
11777 2006-04-02  Tor Krill  <tor@krill.nu>
11778
11779         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11780           in start of service.
11781         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11782           get Archlinux backend up to date.
11783
11784 2006-03-29  Robert Love  <rml@novell.com>
11785
11786         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11787         to add support for per-route MSS and improve support for per-interface
11788         MTU:
11789         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11790           optionally take an MSS parameter and set it for the given route.
11791           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11792           NMIP4Config's stored MSS, if any.
11793         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11794           the interface's MTU and the route's MSS, respectively.  Add functions
11795           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11796           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11797           MSS.
11798         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11799           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11800           nm_ip4_config_set_mss.
11801         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11802           VPN daemon.
11803         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11804           Change the retval of nm_system_get_mtu to guint32.
11805         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11806           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11807           servers can specify MTU's, we should set it here if the MTU was not
11808           provided.
11809
11810 2006-03-27  Jürg Billeter  <j@bitron.ch>
11811
11812         * configure.in:
11813         * initscript/Makefile.am:
11814         * initscript/paldo/Makefile.am:
11815         * initscript/paldo/NetworkManager.in:
11816         * initscript/paldo/NetworkManagerDispatcher.in:
11817         * src/backends/Makefile.am:
11818         * src/backends/NetworkManagerPaldo.c:
11819                 - Add paldo support
11820
11821 2006-03-27  Dan Williams  <dcbw@redhat.com>
11822
11823         Patch from Christian Persch <chpe@gnome.org>
11824         * gnome/applet/applet.glade
11825                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11826
11827 2006-03-27  Dan Williams  <dcbw@redhat.com>
11828
11829         Patch from Diffe <diffie@blazebox.homeip.net>
11830         * src/backends/NetworkManagerSlackware.c
11831                 - Don't restart howl, since it's been replaced by Avahi
11832                         in most distributions
11833
11834 2006-03-27  Dan Williams  <dcbw@redhat.com>
11835
11836         Patch from Tor Krill <bugzilla@krill.nu>
11837         * configure.in
11838           initscript/Makefile.am
11839           src/backends/Makefile.am
11840           src/backends/NetworkManagerArch.c
11841           initscript/Arch/Makefile.am
11842           initscript/Arch/networkmanager-dispatcher.in
11843           initscript/Arch/networkmanager.in
11844                 - Add Arch Linux support, fixes gnome.org #335147
11845
11846 2006-03-27  Dan Williams  <dcbw@redhat.com>
11847
11848         Patch from Diffe <diffie@blazebox.homeip.net>
11849      * initscript/Slackware/rc.networkmanager
11850         - update, fixed gnome.org #333368
11851
11852 2006-03-27  Robert Love  <rml@novell.com>
11853
11854         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11855           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11856
11857 2006-03-27  Robert Love  <rml@novell.com>
11858
11859         Patch by Jürg Billeter <j@bitron.ch>:
11860         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11861           systems.
11862         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11863           as we prefer glibc over kernel headers, if possible.
11864
11865 2006-03-27  Robert Love  <rml@novell.com>
11866
11867         Patch by Jon Escombe <list@dresco.co.uk>:
11868         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11869         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11870           fail, don't bail out.  We don't expect all of the various WPA-EAP
11871           values to be present.
11872         * src/nm-ap-security.c: We need to match all capabilities for each
11873           encryption type, not any one of them.
11874
11875 2006-03-27  Robert Love  <rml@novell.com>
11876
11877         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11878           restart, not reload, ypbind.  Unfortunately there is no superior
11879           solution.
11880
11881 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11882
11883         * gnome/applet/applet-notifications.c:
11884         When displaying a notification, make sure to get rid of the
11885         previous notification so as to not have competing bubbles,
11886         and stop leaking the old one.
11887
11888         * gnome/applet/applet.c:
11889         * gnome/applet/applet.h:
11890         Add a new 'notification' member to the applet, and zero it out
11891         and free it appropriately.
11892
11893 2006-03-23  Robert Love  <rml@novell.com>
11894
11895         Patch by j <j@bootlab.org>:
11896         * gnome/applet/applet.glade: Don't set the invisible_char property,
11897           which simply overrides the GTK default.  By and by, this behavior
11898           ought to be fixed in Glade.
11899
11900 2006-03-22  Robert Love  <rml@novell.com>
11901
11902         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11903
11904 2006-03-22  Robert Love  <rml@novell.com>
11905
11906         Bug fix by Timo Hoenig <thoenig@suse.de>:
11907         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11908           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11909           and the applet going AWOL.
11910
11911 2006-03-22  Robert Love  <rml@novell.com>
11912
11913         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11914           preprocessor define and use it instead of open-coded the DHCP
11915           timeout, which is currently 25 seconds, everywhere.
11916
11917 2006-03-22  Robert Love  <rml@novell.com>
11918
11919         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11920         key exchange via WPA, ostensibly providing good security without
11921         requiring hardware that supports full WPA.  Also, add UI elements to
11922         allow the user to select the pairwise & group cipher for WPA Enterprise
11923         networks, too:
11924         * gnome/applet/applet.glade: Update glade file.
11925         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11926           key type, too, to and from gconf.
11927         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11928           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11929           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11930           the capabilities match.
11931         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11932           prototype.
11933         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11934           serialize from UI to DBUS.
11935         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11936           one element.
11937         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11938           nmu_security_serialize_wpa_eap_with_cipher(), and
11939           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11940           serialize/deserialize the key type via DBUS as the new third DBUS
11941           parameter.
11942         * libnm-util/dbus-helpers.h: Update prototypes.
11943         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11944           too.  If the key type is WEP104, do Dynamic WEP, which means
11945           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11946           pairwise and group ciphers (fixes a FIXME).
11947
11948 2006-03-21  Robert Love  <rml@novell.com>
11949
11950         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11951           nm_system_get_mtu(), which returns a user-provided or system-mandated
11952           MTU value for a given device, if any, or zero if no such value
11953           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11954           if we have a provided value.
11955         * src/nm-device.c: Set the MTU of devices.
11956         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11957         * src/backends/NetworkManagerDebian.c,
11958           src/backends/NetworkManagerGentoo.c,
11959           src/backends/NetworkManagerRedHat.c,
11960           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11961
11962 2006-03-21  Robert Love  <rml@novell.com>
11963
11964         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11965           configuration file.
11966
11967 2006-03-17  Robert Love  <rml@novell.com>
11968
11969         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11970           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11971           it, in case it is not running in the first place.  We just want its
11972           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11973
11974 2006-03-15  Robert Love  <rml@novell.com>
11975
11976         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11977           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11978           label "WEP 40/128-bit" is inconsistent because the physical key size
11979           is 40 or 104-bits, to which a 24-bit initialisation vector is
11980           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11981           to read "40/104" or "64/128".  I do not care much which, but most
11982           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11983           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11984           WEP passphrase support only handles 128-bit keys, and any future
11985           64-bit passphrase support will require a new option (no way to auto-
11986           detect the target key size), explicitly label our passphrase support
11987           "WEP 128-bit Passphrase".
11988
11989 2006-03-15  Robert Love  <rml@novell.com>
11990
11991         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11992           the system init scripts (or some other mechanism) starting it (or a
11993           compatible DBUS service) before NetworkManager runs.  This means that
11994           distributions might need to update their init scripts.  This fixes
11995           possible races and is quite a bit cleaner.
11996         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11997           starting the NetworkManager daemon.
11998
11999
12000 2006-03-14  Robert Love  <rml@novell.com>
12001
12002         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12003           before adding anything.
12004
12005 2006-03-13  Robert Love  <rml@novell.com>
12006
12007         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12008           widgets, too, if they exist, in case the user hit the back button.
12009           Fixes a bug where the details page contains the widgets of multiple
12010           VPN modules (Novell bug #157048).
12011
12012 2006-03-13  Robert Love  <rml@novell.com>
12013
12014         Patch by Timo Hoenig <thoenig@suse.de>:
12015         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12016           daemon survive DBUS restarts, too.
12017
12018 2006-03-10  Robert Love  <rml@novell.com>
12019
12020         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12021           passphrase or key.
12022         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12023           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12024           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12025           in response to "toggled" signal on new toggle.
12026
12027 2006-03-10  Robert Love  <rml@novell.com>
12028
12029         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12030           serialization if strings are NULL, lest DBUS get angry.
12031
12032 2006-03-10  Robert Love  <rml@novell.com>
12033
12034         * src/nm-ap-security-wpa-eap.c: Don't log the password.
12035
12036 2006-03-09  Robert Love  <rml@novell.com>
12037
12038         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12039           configurations.
12040
12041 2006-03-09  Dan Williams  <dcbw@redhat.com>
12042
12043         Track pending call requests in the applet, and report how many are
12044         outstanding, and how long each completed one takes.
12045         
12046         * gnome/applet/applet-dbus-devices.c
12047           gnome/applet/applet-dbus-vpn.c
12048                 - Track pending calls
12049
12050         * gnome/applet/applet-dbus.[ch]
12051                 - Remove some unused enums
12052                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12053                         new functions to track dbus pending calls and spit out some
12054                         statistics about them
12055
12056 2006-03-09  Robert Love  <rml@novell.com>
12057
12058         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12059           nm_ap_set_timestamp() take the second and micro-second parameters as
12060           direct arguments, which avoids both a dynamic memory allocation and a
12061           structure-to-structure copy!  Add a new interface, the aptly named
12062           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12063           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12064           the return from nm_ap_get_timestamp().  New users should use the new
12065           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12066           the extreme benefit to performance.
12067         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12068           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12069
12070 2006-03-08  Robert Love  <rml@novell.com>
12071
12072         * gnome/applet/applet.glade: Hide the password entry text with
12073           asterisks.
12074
12075 2006-03-08  Robert Love  <rml@novell.com>
12076
12077         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12078           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12079           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12080           a second argument, NMData.
12081         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12082         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12083           config files as trusted.
12084
12085 2006-03-06  Robert Love  <rml@novell.com>
12086
12087         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12088         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12089           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12090           Rivera, detect if the applet was auto-started.  If so, ask the user
12091           if he or she would like to stop automatically running the applet on
12092           login.  If so, disable autostart.
12093
12094 2006-03-06  Robert Love  <rml@novell.com>
12095
12096         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12097           directory in CFLAGS so developers can actually use NetworkManager.h.
12098
12099 2006-03-06  Robert Love  <rml@novell.com>
12100
12101         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12102           open-coded integer constants.  Add state_to_string() to map a given
12103           state to a textual description, and provide that when notifying of
12104           state change.
12105         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12106           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12107           this header directly, but it is currently not installed on most
12108           systems.
12109
12110 2006-03-05  Dan Williams  <dcbw@redhat.com>
12111
12112         Process netlink messages in device subclasses rather than in
12113         NetworkManager.c.  Also add support for recognizing Wireless Events.
12114         
12115         * configure.in
12116                 - Find GLIB_GENMARSHAL
12117
12118         * src/Makefile.am
12119                 - Since we're marshalling custom types for wireless event signals,
12120                         we get to create our own marshallers using GLIB_GENMARSHAL
12121
12122         * src/NetworkManager.c
12123                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12124                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12125                         cut down somewhat.  We no longer process signals here.
12126                 - (nm_data_new): create the netlink monitor here, and remove a
12127                         useless call to nm_policy_schedule_device_change_check()
12128                 - (nm_data_free): get rid of the netlink monitor here
12129                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12130                 - (main): don't create the netlink monitor here, let nm_data_new
12131                         do that.  Call nm_policy_schedule_device_change_check() right
12132                         before we jump to the mainloop to figure out which device
12133                         to use first
12134
12135         * src/NetworkManagerSystem.[ch]
12136                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12137                         convert back and forth from interface names to interface
12138                         indexes
12139
12140         * src/nm-device-802-11-wireless.c
12141                 - (real_init): connect to wireless-event signals from the netlink
12142                         monitor object
12143                 - (nm_device_802_11_wireless_event): new function, schedule handler
12144                         for wireless event signals from the netlink monitor object.  We
12145                         want the handler to run in the device's context
12146                 - (wireless_event_helper): handle wireless-event signals from netlink
12147                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12148                         signal handler
12149
12150         * src/nm-device-802-11-wireless.h
12151                 - remove unused prototype for nm_device_802_11_wireless_new
12152
12153         * src/nm-device-802-3-ethernet.c
12154                 - (real_init): new function; set up signal handlers for link events
12155                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12156                         handler for netlink link activated events on device's main loop
12157                 - (link_activated_helper): when we get a link activated event, set
12158                         the device's link to be active
12159                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12160                         handler for netlink link deactivated events on device's main loop
12161                 - (link_deactivated_helper): when we get a link deactivated event, set
12162                         the device's link to be inactive
12163                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12164                         dispose
12165
12166         * src/nm-device-802-3-ethernet.h
12167                 - remove unused prototype for nm_device_802_3_ethernet_new
12168
12169         * src/nm-device.[ch]
12170                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12171                         but locks the device list
12172                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12173
12174         * src/nm-netlink-monitor.[ch]
12175                 - (nm_netlink_monitor_class_install_signals): New signal
12176                         "wireless-event"
12177                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12178                         at the device list
12179                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12180
12181         * src/nm-marshal-main.c
12182                 - Include generated nm-marshal.c and nm-marshal.h
12183
12184         * src/nm-marshal.list
12185                 - List of custom marshal functions
12186
12187 2006-03-05  Dan Williams  <dcbw@redhat.com>
12188
12189         * gnome/applet/applet-notifications.h
12190                 - Protect prototype of nma_send_event_notification() because it
12191                         includes libnotify-specific types
12192                 - Include libnotify/libnotify.h too, since we technically need it
12193
12194         * gnome/applet/applet.c
12195                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12196                 - (nma_show_vpn_login_banner_dialog): add some error checking
12197
12198 2006-03-04  Dan Williams  <dcbw@redhat.com>
12199
12200         Clean up activation cancellation.  Should be a lot faster now.  Observed
12201         an issue with wireless devices between stage 2 and 3 of activation, where
12202         activation would be cancelled, but the device thread wouldn't notice until
12203         the supplicant association timed out.  Reorganize activation such that
12204         a cancellation handler gets immediately scheduled in the device's thread,
12205         and devices have a chance to perform any custom cleanup too.
12206
12207         * src/nm-device.[ch]
12208                 - (activation_cancel_handler): new device-type-specific function
12209                         for cleaning up device-type-specific stuff on cancellation
12210                 - (cancel_activation): removed
12211                 - (nm_device_activation_cancel): subsume functionality of
12212                         real_cancel_activation, but instead of doing anything, punt
12213                         operation to a handler that's run in device-thread context
12214                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12215                         a warning message
12216                 - (activation_handle_cancel_helper): cancellation handler run in
12217                         device-thread context, calls device-type-specific cancelation,
12218                         then tears down the activation request
12219                 - (real_activation_cancel_handler): generic cancellation handler,
12220                         deals with cancelling any in-process DHCP request
12221                 - (nm_device_activate_stage1_device_prepare,
12222                    nm_device_activate_stage2_device_config,
12223                    nm_device_activate_stage3_ip_config_start,
12224                    nm_device_activate_stage4_ip_config_get,
12225                    nm_device_activate_stage4_ip_config_timeout,
12226                    nm_device_activate_stage5_ip_commit): don't call
12227                         nm_device_schedule_activation_handle_cancel() any more, since
12228                         cancellation will have been already scheduled for us by
12229                         nm_device_activation_cancel().  Just exit the function and
12230                         assume that the cancel handler will be called next.
12231
12232         * src/nm-device-802-3-ethernet.c
12233                 - (real_act_stage2_config): remove; didn't do anything anyway
12234
12235         * src/nm-device-802-11-wireless.c
12236                 - (supplicant_status_cb): ensure we don't do anything if the activation
12237                         got cancelled
12238                 - (real_activation_cancel_handler): implement; cancel user key request
12239                         on activation cancellation
12240
12241 2006-03-04  Dan Williams  <dcbw@redhat.com>
12242
12243         * src/nm-device-802-11-wireless.c
12244                 - (supplicant_send_network_config): assume that drivers that don't
12245                         support WPA pretty much suck, and can't handle NM scanning
12246                         along with wpa_supplicant.
12247
12248 2006-03-03  Robert Love  <rml@novell.com>
12249
12250         * configure.in: Bump version to 0.6.0.
12251         * NEWS: Update.
12252
12253 2006-03-03  Robert Love  <rml@novell.com>
12254
12255         * configure.in: Require DBUS 0.60 or later.
12256
12257 2006-03-03  Dan Williams  <dcbw@redhat.com>
12258
12259         Fix a crash if an "Other wireless network" was chosen, failed, then
12260         chosen again from the applet's menu.  If the other network wasn't
12261         noticed in a scan, it wouldn't have any capabilities, but would still
12262         be listed because the user forced the network.  To fix this, we set
12263         sensible capabilities on the forced network, which will get overwritten
12264         with the correct ones if the network shows up later in a scan.
12265         
12266         * src/nm-ap-security.h
12267                 - Add a new "get_default_capabilities_func" member to the
12268                         NMAPSecurity class
12269
12270         * src/nm-ap-security.c
12271                 - (nm_ap_security_get_default_capabilities): new function
12272
12273         * src/nm-ap-security.c
12274           src/nm-ap-security-wep.c
12275           src/nm-ap-security-wpa-psk.c
12276           src/nm-ap-security-wpa-eap.c
12277                 - Implement get_default_capabilities_func() for all, which
12278                         uses the information contained in a specific NMAPSecurity
12279                         object to determine default AP capabilites necessary
12280                         to support that object
12281
12282         As a secondary measure, we now prune artificial access points that fail
12283         to be activated right away.  The thing failed, and we have no scan data for
12284         it, so it's pretty much useless since security information is only saved
12285         in the applets when a connection is successful.
12286
12287         * src/NetworkManagerAPList.c
12288                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12289                         not artificial.  If we see it, it's no longer a figment of the
12290                         user's imagination :)
12291
12292         * src/NetworkManagerPolicy.c
12293                 - (nm_policy_activation_failed): send along the failed AP if we
12294                         have it
12295
12296         * src/nm-device-802-11-wireless.c
12297                 - (real_activation_failure_handler): remove artificial APs from
12298                         the device list, because activation failed
12299
12300 2006-03-02  Robert Love  <rml@novell.com>
12301
12302         Add support for retrieving both the per-device speed and the
12303         per-network maximum supported rate.  Then change the getProperties
12304         DBUS API for both networks and devices to report this informaiton.
12305         Finally, display the information via both nm-applet and nm-tool:
12306         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12307           and set it.
12308         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12309           Information' dialog.
12310         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12311         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12312           network_device_get_speed() and network_device_set_speed() for
12313           retrieving and setting, respectively, a network device's current
12314           speed.
12315         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12316         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12317           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12318           not matter (yet) what the units are, because we only feed it its own
12319           output.  Implement SIOCGIRATE and set the per-network maximum
12320           supported rate during scanning.
12321         * src/nm-device-802-11-wireless.h: Export the function
12322           nm_device_802_11_wireless_get_bitrate().
12323         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12324           function nm_device_802_3_ethernet_get_speed() for returning an
12325           802.3's current speed, in Mb/s.
12326         * test/nm-tool.c: Display the per-device current speed, if available,
12327           and the per-network maximum rate.
12328
12329 2006-03-02  Dan Williams  <dcbw@redhat.com>
12330
12331         * src/nm-device-802-11-wireless.c
12332                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12333                         card when it gets initialized.  Since devices don't get added to
12334                         the scan list until they are initialized, this function wasn't
12335                         setting the intitial scan interval correctly, and was leaving
12336                         it at 0.  This caused cards to get many scan requests in a short
12337                         amount of time when they were initialized
12338
12339 2006-03-02  Robert Love  <rml@novell.com>
12340
12341         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12342           active device.  But do not do what we used to do and override the
12343           state, which caused the dreaded icon race of '05.
12344
12345 2006-03-02  Robert Love  <rml@novell.com>
12346
12347         Commit Dan's update of my previous commit:
12348         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12349           set_mode() function itself does the check.  But do only set the
12350           frequency if in Ad-Hoc mode.
12351
12352 2006-03-02  Robert Love  <rml@novell.com>
12353
12354         Patch by Brian Magnuson <magnuson@rcn.com>:
12355         * src/nm-device-802-11-wireless.c: During scanning, only set the
12356           wireless mode to infrastructure if it is not currently in
12357           infrastructure mode.  For some driver, setting the mode is a costly
12358           operation, apparently.
12359
12360 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12361
12362         * Makefile.am: use the correct dir for autostart mechanism.
12363
12364 2006-02-28  Dan Williams  <dcbw@redhat.com>
12365
12366         Patch from Brian Magnuson <magnuson@rcn.com>
12367         * gnome/applet/applet.c
12368                 - (nma_show_vpn_failure_dialog): fix errors left over from
12369                         libnotify support changes
12370
12371 2006-02-28  Dan Williams  <dcbw@redhat.com>
12372
12373         * src/vpn-manager/nm-vpn-act-request.[ch]
12374                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12375                         just one value
12376                 - (nm_vpn_act_request_is_failed): new function; return whether or
12377                         not the vpn activation request has failed
12378
12379         * src/vpn-manager/nm-vpn-manager.c 
12380                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12381                         daemon to kill the connection when the activation request fails.
12382                         Fixes issue where NM would get confused if the VPN activation
12383                         request timed out, and would not allow further VPN connections
12384                         on that service.
12385
12386 2006-02-28  Dan Williams  <dcbw@redhat.com>
12387
12388         * gnome/applet/applet.c
12389                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12390                         overlapping connection requests, disable all VPN menu items
12391                         but the active VPN connection
12392
12393 2006-02-28  Dan Williams  <dcbw@redhat.com>
12394
12395         * src/vpn-manager/nm-vpn-connection.c
12396                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12397                         called g_object_unref() on the connection's parent device
12398                         when it should have been ref-ed instead.  Fixes crash with
12399                         repeated vpn connect requests
12400
12401 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12402
12403         * gnome/applet/applet.glade:
12404         Mark a few strings non-translatable, since they shouldn't be.
12405
12406 2006-02-28  Dan Williams  <dcbw@redhat.com>
12407
12408         * src/vpn-manager/nm-vpn-service.c
12409                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12410                         already running, don't blindly ask it to connect, but wait until
12411                         it's in the STOPPED state first.  Fixes an assertion when user
12412                         starts a second vpn connection without stopping the first.
12413                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12414                         dbus service exists before continuing with the connection
12415                         process, and reduce latency while waiting for it to become
12416                         available
12417                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12418                         waiting for the vpn service daemon to become available
12419                 - General log message cleanups; show progress via "Stage x of 4"
12420                         rather than not telling anyone how many stages there are
12421
12422 2006-02-28  Robert Love  <rml@novell.com>
12423
12424         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12425         * src/backends/NetworkManagerSuSE.c: Implement the interface
12426           nm_system_should_modify_resolv_conf() for SUSE.
12427         * src/backends/NetworkManagerDebian.c,
12428           src/backends/NetworkManagerGentoo.c,
12429           src/backends/NetworkManagerRedHat.c,
12430           src/backends/NetworkManagerSlackware.c: Add stub.
12431         * src/named-manager/Makefile.am: Grab includes from src.
12432         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12433           automatic updating of resolv.conf.  This is useful for testing,
12434           broken static configurations, and administrator lock-down.
12435
12436 2006-02-28  Dan Williams  <dcbw@redhat.com>
12437
12438         * src/nm-device-802-11-wireless.c
12439                 - Move all the wpa_supplicant-related management stuff into its
12440                         own struct, just for oranization's sake
12441                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12442                         to a GIOChannel/GSource
12443                 - (supplicant_log_stdout): new function; grab output from the
12444                         wpa_supplicant stdout pipe and write it to our logs.
12445
12446 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12447
12448         * src/nm-device-802-11-wireless.c:
12449         Err, fix thinko in my previous commit.
12450
12451 2006-02-28  Robert Love  <rml@novell.com>
12452
12453         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12454
12455 2006-02-28  Robert Love  <rml@novell.com>
12456
12457         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12458           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12459           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12460           deserializers are responsible for freeing the returned DBUS strings.
12461
12462 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12463
12464         * src/nm-device-802-11-wireless.c:
12465         The scan list is being pruned prematurely.  We should prune after
12466         the device has gone MIA for three scans, not one.  Split out the
12467         interval to realtime seconds function to better serve this.
12468
12469 2006-02-27  Robert Love  <rml@novell.com>
12470
12471         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12472           Open the pid file O_TRUNC, so if it already exists we truncate it to
12473           zero length.  Also, be more verbose about warnings generated during
12474           writing out the pid file.  Finally, always write out the pid file if
12475           in daemon mode.  Use "--pid-file" to override the default.
12476
12477 2006-02-27  Robert Love  <rml@novell.com>
12478
12479         Patch by R. Vinay <rvinay@novell.com>:
12480         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12481           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12482           Novell bug #153628).
12483           
12484 2006-02-27  Robert Love  <rml@novell.com>
12485
12486         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12487           entry so user can hit <ENTER> after entering passphrase (Novell bug
12488           #153738).
12489
12490 2006-02-27  Dan Williams  <dcbw@redhat.com>
12491
12492         * gnome/applet/*
12493                 - Mass search/replace of:
12494                         nmwa -> nma
12495                         NMWirelessApplet -> NMApplet
12496                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12497                    (it ain't just for wireless anymore, ma!)
12498                 - Fix duplicate function name printing when using nm_warning
12499                 - wireless-applet.glade -> applet.glade
12500
12501 2006-02-27  Dan Williams  <dcbw@redhat.com>
12502
12503         * dispatcher-daemon/NetworkManagerDispatcher.c
12504                 - Accept --pid-file with a path to a pidfile, write it out on
12505                         startup, and delete it on shutdown
12506
12507         * src/NetworkManager.c
12508                 - Accept --pid-file with a path to a pidfile, write it out on
12509                         startup, and delete it on shutdown
12510                 - Move nm_print_usage() lower
12511
12512         * initscripts/RedHat/NetworkManager.in
12513                 - Use new --pid-file option
12514                 - Fix service stopping to wait a bit for NM to quit
12515
12516         * initscripts/RedHat/NetworkManagerDispatcher.in
12517                 - Use new --pid-file option
12518
12519 2006-02-26  Dan Williams  <dcbw@redhat.com>
12520
12521         * src/Makefile.am
12522                 - make and install nm-crash-logger
12523
12524         * src/nm-logging.[ch]
12525                 - New files; consolidate logging and crash handling
12526
12527         * src/nm-crash-logger.c
12528           src/gdb-cmd
12529                 - Standalong crashlogger for NM, grab a backtrace
12530                         using GDB
12531
12532         * src/NetworkManager.[ch]
12533                 - Remove signal handling and put it into nm-logging.c
12534
12535 2006-02-26  Dan Williams  <dcbw@redhat.com>
12536
12537         * configure.in
12538           gnome/applet/Makefile.am
12539                 - Conditionalize all the notify stuff
12540
12541         Merge most of Chris Aillon's notification patch:
12542         
12543         * gnome/applet/applet-notifications.[ch]
12544                 - New files; show a notification
12545         
12546         * gnome/applet/applet-dbus-devices.[ch]
12547                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12548                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12549                         new functions, do the right thing when a device change occurs
12550
12551         * gnome/applet/applet-dbus.c
12552                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12553                         signals, so we can handle them specially
12554
12555         * gnome/applet/applet.[ch]
12556                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12557                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12558                 - (nmwa_notify_state): remove
12559                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12560                         notification work is now done when the appropriate dbus signals
12561                         are received.
12562                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12563                         defer execution of the notification/dialog stuff.  That was an
12564                         artifact of the previous multi-threaded nature of the applet
12565                         and is now pointless.
12566                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12567                         no longer needed.  Function folded into applet-notifications.c
12568
12569         * src/NetworkManagerPolicy.c
12570                 - (nm_policy_activation_finish): send the AP along with the device
12571                         status change signal, if the connection is wireless.  Should
12572                         fix the race where applet would show a connection to "unknown"
12573
12574 2006-02-25  Robert Love  <rml@novell.com>
12575
12576         Add WPA Enterprise support:
12577         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12578           nm-gconf-wso-wpa-eap.h.
12579         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12580           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12581           serialization and deserialization.
12582         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12583           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12584           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12585         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12586           settings related to WPA Enterprise.
12587         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12588           instantiate WPA Enterprise wireless-security-option.
12589         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12590           Implement WPA Enterprise wireless-security-option object.
12591         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12592           defines.  Cleanup.
12593         * libnm-util/cipher-wpa-psk-hex.c,
12594           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12595         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12596           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12597           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12598           including the cipher to DBUS method, and
12599           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12600           to output.
12601         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12602           nm-ap-security-wpa-eap.h
12603         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12604           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12605         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12606           files.  Implement NMAPSecurityWPA_EAP object.
12607         * src/nm-ap-security-wpa-psk.c: Cleanup.
12608         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12609           an NMAPSecurityWPA_EAP object via the method
12610           nm_ap_security_wpa_eap_new_deserialize().
12611         * src/nm-dbus-nm.c: Cleanup.
12612         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12613           WPA Enterprise support.
12614
12615 2006-02-24  Robert Love  <rml@novell.com>
12616
12617         Patch from Timo Hoenig <thoenig@suse.de>:
12618         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12619
12620 2006-02-24  Robert Love  <rml@novell.com>
12621
12622         Patch from Dan Winship <danw@novell.com>:
12623         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12624           area to transparent.
12625
12626 2006-02-21  Dan Williams  <dcbw@redhat.com>
12627
12628         * gnome/applet/applet.[ch]
12629           gnome/applet/applet-dbus.c
12630                 - Implement notification support for VPN messages too
12631
12632 2006-02-21  Dan Williams  <dcbw@redhat.com>
12633
12634         * gnome/applet/applet-dbus-info.c
12635                 - Clean up warning messages to not double-print the function
12636
12637 2006-02-21  Dan Williams  <dcbw@redhat.com>
12638
12639         * gnome/applet/applet-compat.c
12640                 - (convert_one_entry): accept entries without a key_type and
12641                         convert them to unencrypted networks
12642
12643 2006-02-21  Dan Williams  <dcbw@redhat.com>
12644
12645         * gnome/libnm_glib/libnm_glib.c
12646                 - Use __func__ everywhere we can
12647                 - Code cleanups
12648                 - Use dbus pending calls rather than blocking
12649                 - Reduce busywaits for our thread to start and stop
12650                         (gnome.org #330562)
12651                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12652                         stomp on others using the default shared dbus connection.
12653                         Fixes #rh177546# and gnome.org #326572
12654
12655 2006-02-21  Dan Williams  <dcbw@redhat.com>
12656
12657         Patch from Rodney Dawes <dobey@novell.com>
12658         * configure.in
12659           gnome/applet/Makefile.am
12660           gnome/applet/applet.c
12661                 - Add libnotify support if '--enable-notify=yes' is passed
12662                   at configure time
12663
12664 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12665
12666         * configure.in (ALL_LINGUAS): ko added. (Korean)
12667
12668 2006-02-15  Robert Love  <rml@novell.com>
12669
12670         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12671           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12672           and WPA_SUPPLICANT_CONTROL_SOCKET.
12673         
12674 2006-02-15  Robert Love  <rml@novell.com>
12675
12676         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12677           information about what connection stage we are at, provide the total
12678           number of stages, e.g. "Stage 2 of 5", so users know how far along
12679           they are if they experience problems.
12680
12681 2006-02-15  Robert Love  <rml@novell.com>
12682
12683         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12684           define to $sysconfdir.
12685         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12686           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12687           type of VPN and then editing another results in a mangled dialog
12688           box containing the widgets from both VPNs (fixes Novell #150854).
12689           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12690
12691 2006-02-14  Robert Love  <rml@novell.com>
12692
12693         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12694           syslog's file descriptor.
12695
12696 2006-02-14  Robert Love  <rml@novell.com>
12697
12698         Fix bug around since the change to "deal with APs changing settings on
12699         us," checked in on the fifth of February in the year of the dog, 
12700         wherein connecting to non-broadcast encrypted networks always fails
12701         because nm_ap_get_encrypted() always returns FALSE, even when the user
12702         provided a key, because the newly-created fake AP does not have any
12703         capabilities set, which is a sypmtom of security settings not matching
12704         capabilities (Novell bug #150784):
12705         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12706           nm_ap_add_capabilities_from_security(), which sets the given AP's
12707           capabilities off the given security settings.  Also improve our
12708           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12709           NM_AUTH_CIPHER_AUTO.
12710         * src/nm-device-802-11-wireless.c: Call the function
12711           nm_ap_add_capabilities_from_security() to ensure that capabilities
12712           match newly updated security settings.
12713
12714 2006-02-14  Robert Love  <rml@novell.com>
12715
12716         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12717           error as a string, not an integer, if possible; do not print the
12718           function name twice; always give the interface, if possible; misc.
12719           cleanup.
12720
12721 2006-02-12  Dan Williams  <dcbw@redhat.com>
12722
12723         Patch from Tom Parker <palfrey@tevp.net>
12724         * src/NetworkManagerSystem.h
12725                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12726                         no longer used
12727
12728         * src/backends/NetworkManagerDebian.c
12729                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12730                         unused variables
12731
12732 2006-02-12  Dan Williams  <dcbw@redhat.com>
12733
12734         * vpn-daemons/openvpn/intltool-extract.in
12735           vpn-daemons/openvpn/intltool-merge.in
12736           vpn-daemons/openvpn/intltool-update.in
12737           vpn-daemons/pptp/intltool-extract.in
12738           vpn-daemons/pptp/intltool-merge.in
12739           vpn-daemons/pptp/intltool-update.in
12740                 - Remove from CVS, they should get created by intltoolize,
12741                         shouldn't they?
12742
12743 2006-02-12  Dan Williams  <dcbw@redhat.com>
12744
12745         * vpn-daemons/pptp/src/pppd/patchlevel.h
12746         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12747                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12748                         Makefile-defined VERSION
12749
12750 2006-02-09  Dan Williams  <dcbw@redhat.com>
12751
12752         Patch from: Vinay A R <rvinay@novell.com>
12753         * src/vpn-manager/nm-vpn-act-request.[ch]
12754                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12755                         IPSec VPNs require them for std gateway.
12756                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12757                         and 'user_routes_count'
12758                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12759                         defined routes  from NMVPNActRequest object, returns the string
12760                         array of routes.
12761
12762         * src/vpn-manager/nm-vpn-manager.[ch]
12763                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12764                         for 'user_routes' and 'user_routes_count'
12765         
12766         * src/vpn-manager/nm-dbus-vpn.c
12767                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12768                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12769         
12770         * src/vpn-manager/nm-vpn-service.c
12771                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12772                         the vpn daemon
12773
12774         Modifications by Dan:
12775         * src/vpn-manager/nm-vpn-service.c
12776                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12777                         arrays into dbus
12778
12779         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12780         * vpn-daemons/pptp/src/nm-pptp-service.c
12781         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12782                 - Grab user routes from dbus message
12783                 - Free all string arrays we got from dbus
12784
12785 2006-02-07  Robert Love  <rml@novell.com>
12786
12787         Patch by Stefan Seyfried <seife@suse.de>:
12788         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12789
12790 2006-02-06  Robert Love  <rml@novell.com>
12791
12792         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12793
12794 2006-02-06  Robert Love  <rml@novell.com>
12795
12796         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12797           test ">=" is never false.  If no newline is found, we loop forever.
12798           We can just check for ">" because the following if() will see the
12799           zero-th argument if the while() gets that far.
12800
12801 2006-02-05  Dan Williams  <dcbw@redhat.com>
12802
12803         Refine handling of non-broadcast networks.
12804
12805         * src/NetworkManagerAPList.c
12806                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12807                         property from scanned AP to the AP from the device list
12808
12809         * src/nm-device-802-11-wireless.c
12810                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12811                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12812                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12813                         networks since those don't have APs.
12814                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12815                         AP as non-SSID-broadcasting
12816                 - (process_scan_results): don't handle non-SSID-broadcasting here
12817
12818 2006-02-05  Dan Williams  <dcbw@redhat.com>
12819
12820         * src/nm-device-802-11-wireless.c
12821                 - (get_supplicant_timeout): new function; return
12822                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12823                         14 channels.  These are likely a/b/g cards, like Atheros, and
12824                         slow as hell to scan.
12825                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12826                         get_supplicant_timeout()
12827
12828 2006-02-05  Dan Williams  <dcbw@redhat.com>
12829
12830         * src/dhcp-manager/nm-dhcp-manager.c
12831                 - Loose a commit race with Robert; make sure size check
12832                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12833
12834 2006-02-05  Robert Love  <rml@novell.com>
12835
12836         Patch by Christoph Brill <chrisbrill@gmx.net>:
12837         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12838           with DHCP_SERVICE_NAME.
12839
12840 2006-02-05  Dan Williams  <dcbw@redhat.com>
12841
12842         Remove anything having to do with device_setup_func from the
12843         AP security objects, since it's no longer used.
12844
12845         * src/nm-ap-security.h
12846                 - Kill device_setup_func and nm_ap_security_device_setup()
12847
12848         * src/nm-ap-security-wep.c
12849           src/nm-ap-security-wpa-psk.c
12850                 - (real_device_setup): remove
12851
12852         * src/nm-ap-security.c
12853                 - (real_device_setup): remove
12854                 - (nm_ap_security_device_setup): remove
12855
12856         * src/nm-device-802-11-wireless.[ch]
12857                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12858                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12859                         and done by wpa_supplicant now anyway
12860
12861 2006-02-05  Dan Williams  <dcbw@redhat.com>
12862
12863         * src/nm-device-802-11-wireless.c
12864                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12865                         settings on us.  Previously NM would loop asking for the
12866                         key but getting the same one back.  Now, if the NMI-supplied
12867                         cipher doesn't overlap with the scanned AP capabilities,
12868                         we request a completely new key from the user.
12869
12870 2006-02-05  Dan Williams  <dcbw@redhat.com>
12871
12872         * src/NetworkManagerUtils.c
12873                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12874                         Handle newline killing better
12875
12876 2006-02-05  Dan Williams  <dcbw@redhat.com>
12877
12878         * gnome/applet/nm-gconf-wso.c
12879                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12880                         of unencrypted access point security info.
12881
12882 2006-02-03  Robert Love  <rml@novell.com>
12883
12884         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12885           user's encryption key, so we print the err_msg_cmd not the command,
12886           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12887           sense.
12888
12889 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12890
12891         * initscript/RedHat/NetworkManagerDispatcher.in:
12892         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12893         Patch from Dan Walsh <dwalsh@redhat.com>
12894
12895 2006-02-03  Robert Love  <rml@novell.com>
12896
12897         * dispatcher-daemon/NetworkManagerDispatcher.c,
12898           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12899           but use the sysconfdir.
12900
12901 2006-02-03  Robert Love  <rml@novell.com>
12902
12903         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12904           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12905           'char *'.
12906         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12907           nm_ip4_config_get_hostname() and
12908           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12909         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12910           leak g_strdup() result.
12911
12912 2006-02-03  Robert Love  <rml@novell.com>
12913
12914         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12915           broadcast == TRUE.  Also, copy broadcast and artificial properties
12916           from source network to destination in nm_ap_copy().
12917         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12918           since we now default new networks to non-hidden.
12919
12920 2006-02-03  Dan Williams  <dcbw@redhat.com>
12921
12922         * gnome/applet/main.c
12923                 - (main): change the NEVER->ALWAYS so we start at the
12924                         beginning of the session, if being session-managed
12925
12926 2006-02-03  Dan Williams  <dcbw@redhat.com>
12927
12928         * gnome/applet/main.c
12929                 - (main): in a variation on Robert's patch, change
12930                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12931                         he wants.
12932
12933 2006-02-02  Robert Love  <rml@novell.com>
12934
12935         * src/Makefile.am: If we aren't going to create the run directory at,
12936           uh, run-time, create it during install.  Then users just doing
12937           'make install' are cool, too.  While we are here, create the
12938           dispatcher.d directory, too.
12939         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12940           the exact run directory.
12941         * Makefile.am: Install nm-applet.desktop.
12942
12943 2006-02-02  Robert Love  <rml@novell.com>
12944
12945         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12946           structure, which denotes whether or not the AP is hidden.  This is a
12947           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12948           can show up in the scan list.  Add nm_ap_get_broadcast() and
12949           nm_ap_set_broadcast() accessor interfaces.
12950         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12951           nm_ap_set_broadcast().
12952         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12953           "getProperties" method, which denotes whether or not the given
12954           network is hidden.
12955         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12956           an artificial network.  Set broadcast to TRUE when scanning returns
12957           an ESSID and FALSE when not.
12958         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12959           from "getProperties" method on a network.  Possible TODO is to
12960           somehow display this.
12961         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12962
12963 2006-02-02  Dan Williams  <dcbw@redhat.com>
12964
12965         * src/nm-device-802-11-wireless.c
12966                 - (supplicant_interface_init): don't try to create
12967                         /var/run/NetworkManager, since that should be done by
12968                         the distro package.  Causes problems for stuff like SELinux
12969
12970 2006-02-02  Robert Love  <rml@novell.com>
12971
12972         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12973         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12974           Check for and handle empty string for iface.
12975
12976 2006-02-01  Robert Love  <rml@novell.com>
12977
12978         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12979           manpage.
12980
12981 2006-01-31  Dan Williams  <dcbw@redhat.com>
12982
12983         * nm-applet.desktop
12984                 - Add --sm-disable to Exec arguments, presuming that when
12985                         using autostart, we don't want session management
12986
12987 2006-01-31  Robert Love  <rml@novell.com>
12988
12989         * src/NetworkManagerAP.c: Add two new manufacturer default network
12990           names: linksys-a and linksys-g.  These are found (at least) on the
12991           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12992           own ESSID.
12993
12994 2006-01-31  Robert Love  <rml@novell.com>
12995
12996         * src/NetworkManagerAP.c: Optimize the function
12997           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12998           machine code.  This is the first in a series of code tweaks aiming to
12999           generate better machine code and make NetworkManager all the better.
13000           Just kidding.  Who has time to go through the assembly generated for
13001           every function?  I certainly don't.  I have a wife, a kid, a job,
13002           a mortgage, a mistress.  But this function was so bad, I was called
13003           to arms.  Like the book.
13004
13005 2006-01-31  Robert Love  <rml@novell.com>
13006
13007         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13008           AP is not broadcasting, to scan with probe request frames.  Required
13009           for non-broadcast networks.
13010
13011 2006-01-31  Robert Love  <rml@novell.com>
13012
13013         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13014           preprocessor define (still 20s).  Fix message text in nm_info()
13015           s/too too/took too/.
13016
13017 2006-01-30  Dan Williams  <dcbw@redhat.com>
13018
13019         * src/nm-device-802-11-wireless.c
13020                 - (supplicant_monitor_start): increase connect/auth timeout to
13021                         20 seconds from 10 seconds
13022
13023 2006-01-30  Dan Williams  <dcbw@redhat.com>
13024
13025         * src/Makefile.am
13026                 - Define LOCALSTATEDIR
13027
13028         * src/nm-device-802-11-wireless.c
13029                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13030                         socket where we want it to
13031
13032         * src/wpa_ctrl.[ch]
13033                 - (wpa_ctrl_open): accept location to put local control socket
13034
13035 2006-01-30  Robert Love  <rml@novell.com>
13036
13037         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13038           get_ip4_string() for "domain_name".
13039
13040 2006-01-30  Robert Love  <rml@novell.com>
13041
13042         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13043           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13044           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13045           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13046           support for "Automatic" pairwise and group cipher configuration by
13047           letting wpa_supplicant handle the details.  Add UI elements, new
13048           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13049           charm.  Note this does more than add a nice feature, it fixes a bug.
13050           Apparently, some people have AP's where the pairwise cipher does not
13051           match the group cipher.  Insane, but true.
13052
13053 2006-01-30  Dan Williams  <dcbw@redhat.com>
13054
13055         * gnome/applet/applet-dbus-devices.c
13056                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13057                         functions, grab device driver name from NetworkManager
13058                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13059
13060         * gnome/applet/applet.c
13061                 - (nmwa_update_info): show driver name in Connection Information
13062                         dialog
13063
13064         * gnome/applet/nm-device.[ch]
13065                 - (network_device_get_driver, network_device_set_driver): add
13066                         accessors for driver name
13067
13068         * gnome/applet/wireless-applet.glade
13069                 - Add line for driver name to Connection Information dialog
13070
13071         * src/nm-dbus-device.c
13072                 - (nm_dbus_device_get_driver): new function to return driver name
13073                 - (nm_dbus_device_methods): hook up driver name function to dbus
13074
13075         * test/nm-tool.c
13076                 - (get_driver_name): new function
13077                 - (detail_device): grab and show driver name
13078
13079 2006-01-30  Robert Love  <rml@novell.com>
13080
13081         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13082           does not parse the markup if it is not part of the format.
13083
13084 2006-01-30  Robert Love  <rml@novell.com>
13085
13086         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13087           FALSE, we have no security options for this dialog, so we throw up
13088           an error dialog instead of a broken passphrase dialog.  Fixes
13089           Novell #138404.
13090         * gnome/applet/wireless-security-manager.c,
13091           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13092           does not add any security options, not even NONE, print a warning
13093           and return FALSE.  This let's functions constructing a dialog bail
13094           out if the device's capabilities and the network's requirements have
13095           zero overlap.
13096
13097 2006-01-27  Robert Love  <rml@novell.com>
13098
13099         * configure.in: Require wpa_supplicant.  Detect location of binary and
13100           use it.  Override with "--with-wpa_supplicant=foo".
13101         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13102           path to wpa_supplicant but use the auto-detected or user-provided
13103           value from configure.
13104
13105 2006-01-27  Robert Love  <rml@novell.com>
13106
13107         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13108           but the DHCP server did not return a hostname, try to look up our
13109           name via DNS and set the system hostname to that.
13110
13111 2006-01-27  Dan Williams  <dcbw@redhat.com>
13112
13113         * src/backends/NetworkManagerRedHat.c
13114                 - Add NM_CONTROLLED system network script support for RH/Fedora
13115
13116 2006-01-27  Dan Williams  <dcbw@redhat.com>
13117
13118         * src/backends/NetworkManagerGentoo.c
13119                 - (nm_system_device_get_disabled): add missing function.
13120                         Gnome BZ #328780
13121
13122 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13123
13124         * configure.in: Added vi in ALL_LINGUAS line.
13125         
13126 2006-01-26  Robert Love  <rml@novell.com>
13127
13128         * src/Makefile.am, src/kernel-types.h: Now that two different source
13129           files are feeling the crack-addled leakage of kernel types such as
13130           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13131           types in user-space -- define a header and include it as needed.
13132         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13133         * src/nm-device-802-3-ethernet.h: Remove defines.
13134         * src/wpa.c: Remove defines and include kernel-types.h.
13135
13136 2006-01-26  Robert Love  <rml@novell.com>
13137
13138         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13139           work.
13140
13141 2006-01-26  Robert Love  <rml@novell.com>
13142
13143         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13144         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13145           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13146           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13147           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13148           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13149           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13150           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13151           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13152           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13153           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13154           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13155           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13156           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13157           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13158           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13159           Kill unused variables, labels, and static functions.  Don't pass
13160           string literals as the format string for printf-like functions.
13161
13162 2006-01-25  Dan Williams  <dcbw@redhat.com>
13163
13164         * gnome/applet/wireless-applet.glade
13165                 - Remove WPA2 Checkbox
13166
13167         * gnome/applet/wireless-security-manager.c
13168                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13169                         This means the Wireless Security menu now has two WPA options,
13170                         one for "WPA Personal" and one for "WPA2 Personal"
13171
13172         * gnome/applet/wso-wpa-psk.[ch]
13173                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13174                         'wpa2' argument to determine WPA version to use
13175                 - (append_dbus_params_func): pass stored WPA version to cipher
13176                         rather than using the (removed) checkbox
13177
13178 2006-01-24  Robert Love  <rml@novell.com>
13179
13180         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13181           before we g_strdup(), not the ultimate string.
13182
13183 2006-01-23  Dan Williams  <dcbw@redhat.com>
13184
13185         * src/NetworkManagerAP.[ch]
13186                 - (nm_ap_new_from_ap): copy original essid too
13187                 - (nm_ap_unref): free original essid
13188                 - (nm_ap_get_orig_essid): new function
13189                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13190                         but keep original essid around too
13191
13192         * src/nm-device-802-11-wireless.c
13193                 - (supplicant_send_network_config): send wpa_supplicant the
13194                         _original_ essid, and not as a string, but in hex.  Should
13195                         allow us to connect to more APs that use wierd character
13196                         encodings for their essids
13197
13198         * utils/nm-utils.[ch]
13199                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13200                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13201                         use the current locale as a hint for what encoding the essid
13202                         might be in.  Obviously not 100% accurate, but the idea here is
13203                         that if a user's locale is ex. ja_JP, they are more likely than
13204                         not to be in Japan, where access points will likely be in some
13205                         Japanese encoding.
13206
13207 2006-01-23  Dan Williams  <dcbw@redhat.com>
13208
13209         * libnm-util/cipher-private.h
13210           libnm-util/cipher.c
13211           libnm-util/cipher.h
13212                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13213
13214 2006-01-23  Robert Love  <rml@novell.com>
13215
13216         Patch by Timo Hoenig <thoenig@suse.de>:
13217         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13218           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13219           by DHCP and pass it to the backends, allowing distribution-specific
13220           behavior with respect to the DHCP-supplied hostname (if nothing else,
13221           some distributions might not want to set the hostname).
13222         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13223           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13224           Also update our NIS behavior.
13225         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13226           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13227           Add stub functions.
13228
13229 2006-01-23  Robert Love  <rml@novell.com>
13230
13231         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13232           gnome-session does autostart.  TODO: We need to install this to
13233           $prefix/share/autostart/.
13234
13235 2006-01-22  Dan Williams  <dcbw@redhat.com>
13236
13237         * src/NetworkManagerAP.[ch]
13238           src/nm-dbus-nmi.c
13239           src/nm-device-802-11-wireless.c         
13240                 - Make nm_ap_get_essid return "const char *"
13241
13242 2006-01-22  Dan Williams  <dcbw@redhat.com>
13243
13244         * src/NetworkManagerAP.[ch]
13245                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13246
13247         * src/NetworkManagerAPList.[ch]
13248                 - (nm_ap_list_diff): removed
13249                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13250                         deal with access points changing essids on us
13251
13252         * src/nm-device-802-11-wireless.c
13253                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13254                         src/NetworkManagerAPList.c
13255                 - (real_can_interrupt_activation): new function; allow interruption
13256                         of device activation if we are waiting for a network key
13257
13258         * src/NetworkManagerPolicy.c
13259                 - (nm_policy_device_change_check): allow interruption of currently
13260                         activating devices if the device allows it.  Previous behavior
13261                         would refuse to activate a just-plugged wired device if a
13262                         wireless device was waiting for a key.
13263
13264         * src/nm-device.[ch]
13265                 - (nm_device_can_interrupt_activation): new function; ask devices
13266                         whether their activation can be interrupted
13267
13268 2006-01-20  Robert Love  <rml@novell.com>
13269
13270         * Makefile.am, configure.in: Add new man subdirectory.
13271         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13272           man/Makefile.am: Add man pages for NetworkManager and its
13273           crime-solving bumbling buddy, NetworkManagerDispatcher.
13274         * man/.cvsignore: Add.
13275         * initscript/Debian/NetworkManager,
13276           initscript/Gentoo/NetworkManager.in,
13277           initscript/RedHat/NetworkManager.in,
13278           initscript/RedHat/NetworkManagerDispatcher.in,
13279           initscript/SUSE/networkmanager-dispatcher.in,
13280           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13281
13282 2006-01-20  Robert Love  <rml@novell.com>
13283
13284         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13285           instead of queuing.  This prevents the running of multiple NM
13286           daemons concurrently, which does not work whatsoever and results in
13287           neither daemon working correctly.  Also, we don't handle queuing and
13288           name-owner-changes, anyhow.
13289
13290 2006-01-20  Robert Love  <rml@novell.com>
13291
13292         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13293         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13294           to sbin, not bin.
13295
13296 2006-01-19  Robert Love  <rml@novell.com>
13297
13298         * configure.in: Require hal 0.5.0 or later.
13299
13300 2006-01-18  Robert Love  <rml@novell.com>
13301
13302         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13303           Allow backends to flag a device (in whatever distro-dependent way
13304           they so desire) as disabled.  NM will ignore any such device.
13305         * src/backends/NetworkManagerDebian.c,
13306           src/backends/NetworkManagerRedHat.c,
13307           src/backends/NetworkManagerSlackware.c: Add stub function
13308           nm_system_device_get_disabled() that always returns FALSE (enabled).
13309         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13310           SUSE-specific configuration structure.  Fill it in from the
13311           NM_CONTROLLED variable in the system networking scripts.  If this var
13312           exists and is "no", we ignore the device.
13313
13314 2006-01-17  Robert Love  <rml@novell.com>
13315
13316         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13317           identical for NM.  For a full discussion, see the thread at
13318           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13319
13320 2006-01-17  Dan Williams  <dcbw@redhat.com>
13321
13322         * src/nm-device.c
13323                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13324                         function.  Fixes crash when wired DHCP fails.
13325
13326 2006-01-16  Robert Love  <rml@novell.com>
13327
13328         * src/Makefile.am: Don't install NMLoadModules
13329         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13330           from src/ to test/ as no one uses it anymore.  Note that I would be
13331           fine with removing it altogether.
13332
13333 2006-01-16  Robert Love  <rml@novell.com>
13334
13335         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13336           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13337           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13338           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13339           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13340           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13341           declarations, ever.
13342         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13343           NM_STATE_DISCONNECTED is zero).
13344
13345 2006-01-16  Robert Love  <rml@novell.com>
13346
13347         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13348           uninitialized parameter and buffer overflow.  Novell #143496.
13349
13350 2006-01-16  Dan Williams  <dcbw@redhat.com>
13351
13352         Apply the PtP Address bits of a patch from Tim Niemueller
13353
13354         * src/nm-ip4-config.[ch]
13355                 - Add ip4_ptp_address member to object
13356                 - (nm_ip4_config_copy): copy ptp address too
13357                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13358                         new functions
13359                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13360                         rather than local tunnel ip address
13361
13362         * src/vpn-manager/nm-vpn-service.c
13363                 - (print_vpn_config): update for PtP address
13364                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13365                         DBusMessageIters in preparation for getting routes from the VPN
13366                         service daemons too
13367
13368         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13369                 - (send_config_info): update for PtP address, clean up code
13370                 - (main): update for PtP address, clean up code, fix typo
13371
13372         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13373                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13374
13375         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13376                 - (pptp_ip_up): update for PtP address
13377
13378         * vpn-daemons/pptp/src/nm-pptp-service.c
13379                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13380
13381         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13382                 - (print_vpn_config): update for PtP address
13383                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13384
13385 2006-01-16  Dan Williams  <dcbw@redhat.com>
13386
13387         * gnome/applet/applet.c
13388                 - (nmwa_add_networks_helper): don't indicate an active network
13389                         if NM is disconnected or asleep
13390
13391 2006-01-16  Dan Williams  <dcbw@redhat.com>
13392
13393         * src/NetworkManagerPolicy.c
13394                 - (nm_policy_device_change_check): switch devices if we lose the link
13395                         on an ethernet device. 
13396
13397 2006-01-16  Dan Williams  <dcbw@redhat.com>
13398
13399         * gnome/applet/wso-wpa-psk-hex.[ch]
13400                 - Renamed -> wso-wpa-psk.[ch]
13401
13402         * gnome/applet/wso-wpa-psk.[ch]
13403                 - New files
13404
13405         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13406                 - Removed, rolled into wso-wpa-psk.[ch]
13407
13408         * gnome/applet/Makefile.am
13409                 - Updated for above changes
13410
13411         * gnome/applet/wireless-applet.glade
13412                 - Consolidate WPA-PSK options into one notebook
13413                         widget, and make dialogs invisible by default
13414                         to fix screen oddities
13415
13416         * gnome/applet/wireless-security-manager.c
13417                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13418                         than both the old hex & passphrase ones
13419
13420 2006-01-16  Dan Williams  <dcbw@redhat.com>
13421
13422         * gnome/applet/other-network-dialog.c
13423                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13424
13425 2006-01-16  Dan Williams  <dcbw@redhat.com>
13426
13427         * gnome/applet/applet.c
13428                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13429                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13430                         prevention to realize window before trying to get server
13431                         time
13432
13433         * gnome/applet/other-network-dialog.c
13434                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13435                         prevention to realize window before trying to get server
13436                         time
13437
13438         * gnome/applet/passphrase-dialog.c
13439                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13440                         prevention to realize window before trying to get server
13441                         time
13442
13443 2006-01-16  Robert Love  <rml@novell.com>
13444
13445         Patch from Timo Hoenig  <thoenig@suse.de:
13446         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13447           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13448           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13449           libnm-util/dbus-helpers.h: add checks whether headers are used
13450           within a C++ build.
13451
13452 2006-01-16  Dan Williams  <dcbw@redhat.com>
13453
13454         * gnome/applet/wireless-security-option.c
13455                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13456
13457 2006-01-16  Dan Williams  <dcbw@redhat.com>
13458
13459         * libnm-util/cipher-wpa-psk-passphrase.c
13460                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13461                         be 8 - 63 characters inclusive
13462
13463 2006-01-16  Dan Williams  <dcbw@redhat.com>
13464
13465         * src/nm-dbus-nm.c
13466                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13467
13468 2006-01-13  Robert Love  <rml@novell.com>
13469
13470         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13471         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13472           modules that do not use an interface.
13473
13474 2006-01-13  Dan Williams  <dcbw@redhat.com>
13475
13476         * src/nm-device.c
13477           src/nm-device.h
13478                 - Allow subclasses to implement deactivate_quickly()
13479                 - (nm_device_deactivate_quickly): call subclass
13480                         deactivate_quickly() methods
13481                 - (nm_device_set_active_link): small cleanups, and don't
13482                         deactivate the device right away because we risk a deadlock
13483                         when called from device thread, waiting for the device
13484                         thread to cancel activation
13485
13486         * src/nm-device-802-11-wireless.c
13487                 - (real_deactivate_quickly): new function
13488                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13489                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13490                         so that we kill the supplicant when we sleep too
13491                 - (supplicant_interface_init): work around naive naming attempts of
13492                         wpa_ctrl when naming sockets
13493
13494 2006-01-13  Dan Williams  <dcbw@redhat.com>
13495
13496         * src/nm-device-802-11-wireless.c
13497                 - (supplicant_cleanup): delete old device control sockets too
13498                 - (supplicant_get_device_socket_path): new function to consolidate
13499                         locations that need a path to a device's control socket
13500
13501 2006-01-12  Robert Love  <rml@novell.com>
13502
13503         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13504           description so that the description is unique for each
13505           pair (device,provider).  Fixes Novell #142773.
13506
13507 2006-01-12  Dan Williams  <dcbw@redhat.com>
13508
13509         * src/nm-device-802-11-wireless.c
13510                 - (supplicant_exec): ensure GError is correctly initialized
13511                         Reported by Diego González (gnome.org #326708)
13512
13513 2006-01-11  Robert Love  <rml@novell.com>
13514
13515         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13516           define if_mii(), open code the same results, and do so without any
13517           type punning.
13518
13519 2006-01-11  Robert Love  <rml@novell.com>
13520
13521         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13522           that wso_foo_new() returned non-NULL.  Instead, only append the new
13523           wso to wsm->options if the wso is non-NULL.  The crux is that we
13524           assume that the relevant key types are implied by WEP and WPA as
13525           appropriate.  To be sure, they should be, but we should not expect
13526           drivers to not be oozing piles of wolf fecal matter.
13527
13528 2006-01-11  Robert Love  <rml@novell.com>
13529
13530         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13531         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13532           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13533           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13534           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13535           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13536           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13537         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13538           comparing values within DBL_EPSILON.  Also fix shadowed variable
13539           usage.
13540
13541 2006-01-11  Dan Williams  <dcbw@redhat.com>
13542
13543         Add options for WPA2 and WPA1+CCMP (AES).
13544
13545         * gnome/applet/wireless-applet.glade
13546                 - Add UI bits for WPA+CCMP
13547
13548         * gnome/applet/other-network-dialog.c
13549                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13550                         and don't allow creation of WPA2 Ad-Hoc networks since
13551                         wpa_supplicant doesn't support them
13552
13553         * gnome/applet/wireless-security-manager.c
13554                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13555                         on to the specific wireless security option being created
13556
13557         * gnome/applet/wireless-security-option.[ch]
13558                 - (wso_wpa_create_key_type_model): new utility function to create
13559                         the model required for WPA Key Type combo box
13560
13561         * gnome/applet/wso-private.h
13562           gnome/applet/wireless-security-option.h
13563                 - Move private function prototypes into wso-private.h
13564
13565         * gnome/applet/wso-wpa-psk-hex.[ch]
13566           gnome/applet/wso-wpa-psk-passphrase.[ch]
13567                 - (append_dbus_params_func): get WPA version from checkbox and pass
13568                         it to the dbus serialization helper
13569                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13570                         key type combo changes
13571                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13572                         model and options
13573
13574         * libnm-util/cipher-wpa-psk-hex.c
13575           libnm-util/cipher-wpa-psk-passphrase.c
13576                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13577                         new function; allow the cipher to be changed after object creation
13578
13579         * src/nm-ap-security-wpa-psk.c
13580                 - (set_description): Do WPA2 descriptions too
13581
13582         * src/nm-ap-security.c
13583                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13584
13585 2006-01-11  Robert Love  <rml@novell.com>
13586
13587         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13588           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13589           from the ifreq structure in lieu of an open coded solution.  Removes
13590           a life-threatening type-punning.
13591         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13592           types, ever, whatsoever, baby.
13593
13594 2006-01-11  Robert Love  <rml@novell.com>
13595
13596         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13597           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13598           assignments to applet->nm_state into a new nmwa_set_state() function
13599           for both cleanliness and to help debugging.
13600
13601 2006-01-10  Robert Love  <rml@novell.com>
13602
13603         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13604           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13605           seconds, exclusive.  That is, we want to sleep x seconds such that
13606           1 < x < 2.
13607
13608 2006-01-10  Robert Love  <rml@novell.com>
13609
13610         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13611           the attr fields according to the example in the email available at
13612           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13613           Conversely, we do have to free 'name', so we do so, fixing a leak.
13614
13615 2006-01-10  Robert Love  <rml@novell.com>
13616
13617         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13618           sure that we close the socket!
13619
13620 2006-01-10  Robert Love  <rml@novell.com>
13621
13622         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13623           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13624           src/nm-device.c: Fix a FIXME!  Reimplement the function
13625           nm_device_update_hw_address() in device subclass variants,
13626           nm_device_802_3_ethernet_set_address() and
13627           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13628           This fixes the existing bug where MAC addresses are all zeros.
13629
13630 2006-01-10  Robert Love  <rml@novell.com>
13631
13632         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13633           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13634           option to give users ability to globally disconnect and put NM to
13635           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13636           clean disconnect.
13637
13638 2006-01-09  Robert Love  <rml@novell.com>
13639
13640         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13641           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13642           User-space does not supply these types, so we have to define them
13643           ourselves.  The relevant kernel maintainer refused to accept a patch
13644           switching these headers to the proper C99 types.
13645
13646 2006-01-09  Dan Williams  <dcbw@redhat.com>
13647
13648         Apply Robert's 'tray icon redo' patch with fixes
13649         * gnome/applet/applet.c
13650           gnome/applet/applet.h
13651                 - Instead of using a menu bar + menu item, simulate menu
13652                         behavior using a popup menu.  Highlight the area around
13653                         the icon more like a menu too, by playing with the
13654                         applet's size requisition
13655
13656 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13657         * libnm-util/dbus-helpers.c
13658           libnm-util/dbus-helpers.h
13659                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13660                         to 'exception_namespace' (:namespace is a keyword in
13661                         C++)
13662
13663 2006-01-09  Dan Williams  <dcbw@redhat.com>
13664
13665         * src/NetworkManagerPolicy.c
13666                 - (nm_policy_device_change_check): don't autoswitch away from
13667                         Ad-Hoc networks, since there's really no concept of
13668                         "link"
13669
13670         * src/nm-dbus-nm.c
13671                 - (nm_dbus_nm_create_wireless_network): mark created networks
13672                         as Ad-Hoc networks
13673
13674         * src/nm-device-802-11-wireless.c
13675                 - (real_activation_success_handler): add user-created Ad-Hoc
13676                         networks to the device's scan list
13677
13678 2006-01-08  Dan Williams  <dcbw@redhat.com>
13679
13680         We now require a patch for wpa_supplicant to support Ad-Hoc
13681         networks:
13682           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13683
13684         * src/nm-device-802-11-wireless.c
13685                 - (supplicant_send_network_config): turn off wpa_supplicant's
13686                         scanning.  Fixes Ad-Hoc networks.
13687
13688 2006-01-08  Dan Williams  <dcbw@redhat.com>
13689
13690         * src/nm-ap-security.c
13691           src/nm-ap-security.h
13692                 - Add a user_created argument to the write_supplicant_config
13693                         functions
13694
13695         * src/nm-ap-security-wep.c
13696           src/nm-ap-security-wpa-psk.c
13697           src/nm-device-802-11-wireless.c
13698                 - Make Ad-Hoc mode somewhat work, at least write the
13699                         correct options to wpa_supplicant
13700
13701 2006-01-08  Dan Williams  <dcbw@redhat.com>
13702
13703         * src/nm-device-802-11-wireless.c
13704                 - Remove unused code from the old device activation path
13705
13706 2006-01-08  Dan Williams  <dcbw@redhat.com>
13707
13708         * libnm-util/dbus-helpers.c
13709                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13710                         dbus when key == NULL
13711
13712 2006-01-08  Dan Williams  <dcbw@redhat.com>
13713
13714         * gnome/applet/nm-gconf-wso-wpa-psk.c
13715                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13716                         correct arguments to nmu_security_deserialize_wpa_psk()
13717
13718         * src/nm-ap-security-wpa-psk.c
13719                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13720                         arguments to nmu_security_deserialize_wpa_psk()
13721
13722 2006-01-08  Dan Williams  <dcbw@redhat.com>
13723
13724         * gnome/applet/wso-wpa-psk-hex.c
13725           gnome/applet/wso-wpa-psk-passphrase.c
13726                 - Hook up the append_dbus_params_func() function
13727
13728 2006-01-08  Dan Williams  <dcbw@redhat.com>
13729
13730         * src/nm-device-802-11-wireless.c
13731                 - (get_wireless_capabilities): correctly detect driver WPA
13732                         capabilities
13733
13734 2006-01-08  Dan Williams  <dcbw@redhat.com>
13735
13736         * gnome/applet/Makefile.am
13737           gnome/applet/wso-wpa-psk-hex.c
13738           gnome/applet/wso-wpa-psk-hex.h
13739                 - New files, implement WPA-PSK Hex key input
13740
13741         * gnome/applet/wireless-applet.glade
13742                 - Change existing wpa-psk stuff to wpa-psk-hex
13743                 - Add new widgets for wpa-psk-passphrase
13744
13745         * gnome/applet/wireless-security-manager.c
13746                 - (wsm_set_capabilities): enable WPA options
13747
13748         * gnome/applet/wso-wpa-psk-passphrase.c
13749                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13750                         for WPA-PSK passphrase
13751
13752 2006-01-08  Dan Williams  <dcbw@redhat.com>
13753
13754         * include/NetworkManager.h
13755                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13756                         applet/info-daemons
13757
13758         * gnome/applet/passphrase-dialog.c
13759                 - Use the constant.  Fixes a bug where the arguments to
13760                         dbus_message_new_error() were incorrect
13761
13762         * src/nm-dbus-nmi.c
13763                 - Use the constant
13764
13765 2006-01-07  Dan Williams  <dcbw@redhat.com>
13766
13767         * src/nm-device-802-11-wireless.c
13768                 - Add a link timeout so we allow the supplicant time to
13769                         reassociate if it can, before we deactivate the card
13770                 - Fix up link status and link updating so things work better
13771
13772 2006-01-07  Dan Williams  <dcbw@redhat.com>
13773
13774         * src/nm-device-802-11-wireless.c
13775                 - Switch over to using wpa_supplicant
13776                 - Add a timeout of 10s for association of the supplicant
13777                 - Start the monitor callback of the supplicant
13778
13779 2006-01-07  Dan Williams  <dcbw@redhat.com>
13780
13781         * src/NetworkManagerUtils.c
13782                 - (nm_utils_supplicant_request,
13783                   nm_utils_supplicant_request_with_check):
13784                         pass correct buffer length to wpa_ctrl_request()
13785
13786 2006-01-07  Dan Williams  <dcbw@redhat.com>
13787
13788         * src/nm-device-private.h
13789           src/nm-device.c
13790                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13791                         this function available to subclasses
13792
13793 2006-01-06  Robert Love  <rml@novell.com>
13794
13795         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13796           user plugging in a network cable signals their preference for to
13797           switch, unless the user explicitly selected a wireless network and
13798           therefore signaled their preference for said wireless network over
13799           wired.  In other words, do exactly what makes sense.
13800
13801 2006-01-06  Robert Love  <rml@novell.com>
13802
13803         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13804           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13805           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13806           showing up in my greps.
13807
13808 2006-01-06  Robert Love  <rml@novell.com>
13809
13810         * gnome/applet/applet-dbus-devices.c,
13811           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13812           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13813           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13814           New Network' both failed in the non-encrypted case because we were
13815           not appending the security options to the DBUS message.  And
13816           'Connect to Other' was also failing in the encrypted case because
13817           we were not incrementing to the next DBUS parameter.  All fixed.
13818           Thanks to dcdw for some debugging help.
13819
13820 2006-01-06  Robert Love  <rml@novell.com>
13821
13822         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13823           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13824           hangup code and add per-device hangup.  Tie last commit into the
13825           GNOME applet.  TODO:  Save, understand, and respond to the state of
13826           each dialup device.
13827
13828 2006-01-06  Robert Love  <rml@novell.com>
13829
13830         Patch by Timo Hoenig <thoenig@suse.de>:
13831         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13832           hangup specific dialup devices.
13833         * src/backends/NetworkManagerDebian.c,
13834           src/backends/NetworkManagerGentoo.c,
13835           src/backends/NetworkManagerRedHat.c,
13836           src/backends/NetworkManagerSlackware.c: Add stub backend.
13837         * src/backends/NetworkManagerRedHat.c,
13838           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13839           hangup specific dialup devices.
13840
13841 2006-01-04  Robert Love  <rml@novell.com>
13842
13843         * gnome/applet/applet-dbus-devices.c,
13844           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13845           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13846           connections.
13847
13848 2006-01-04  Dan Williams  <dcbw@redhat.com>
13849
13850         First dump of wpa_supplicant-related code.  It's not hooked up to
13851         anything yet though.  Thanks to Kay Sievers for
13852         wpa_supplicant_wrapper.c, which formed the basis for this work,
13853         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13854
13855         * src/Makefile.am
13856           src/wpa_ctrl.[ch]
13857                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13858
13859         * src/NetworkManagerUtils.[ch]
13860                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13861                         Add convenience functions for talking to wpa_supplicant
13862
13863         * src/nm-ap-security.[ch]
13864           src/nm-ap-security-wep.c
13865           src/nm-ap-security-wpa-psk.[ch]
13866                 - Update and implement real_write_supplicant_config functions
13867                         in all security types
13868                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13869                         nm-ap-security-wpa-psk.c
13870
13871         * src/nm-device-802-11-wireless.c
13872                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13873                    wpa_supplicant_start, wpa_supplicant_interface_init,
13874                    wpa_supplicant_send_network_config): add functions to talk to
13875                         wpa_supplicant and write network config to it
13876
13877 2006-01-04  Robert Love  <rml@novell.com>
13878
13879         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13880           values so that distribution-backends can differentiate between the
13881           various types (modem, ISDN, et cetera) of dialup device that they
13882           support.
13883         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13884           needed.
13885
13886 2006-01-03  Dan Williams  <dcbw@redhat.com>
13887
13888         * src/NetworkManagerPolicy.c
13889           src/nm-device.[ch]
13890           src/nm-device-802-11-wireless.c
13891                 - Move wireless-specific activation failure and success code
13892                         into wireless device class
13893
13894 2006-01-03  Robert Love  <rml@novell.com>
13895
13896         Patch by Preggna S:
13897         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13898           IPsec does not require that a VPN client be bound to an interface,
13899           due to the use of the in-kernel IPSec bits.  So make the tunnel
13900           device optional.
13901
13902 2006-01-03  Dan Williams  <dcbw@redhat.com>
13903
13904         * src/NetworkManagerAP.c
13905                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13906                         the WPA IE specifies that WEP is supported
13907
13908         * src/nm-device-802-11-wireless.c
13909                 - (process_scan_results): don't mark an AP as supporting WEP
13910                         if there's already other encryption capability info
13911
13912 2006-01-03  Dan Williams  <dcbw@redhat.com>
13913
13914         * src/dhcp-manager/nm-dhcp-manager.c
13915                 - Recognize activation cancellation when waiting for DHCP
13916                         configuration from dhcdbd
13917                 - Ignore non-dhcdbd messages
13918
13919         * src/nm-device.c
13920                 - (real_act_stage3_ip_config_start): return to correct behavior
13921                         of letting the dhcp-manager notify us of failure or
13922                         success rather than incorrectly doing that ourselves
13923                 - (nm_device_activate_stage4_ip_config_get): deal with
13924                         activation cancellation a bit earlier
13925
13926 2006-01-03  Dan Williams  <dcbw@redhat.com>
13927
13928         * src/nm-device-802-11-wireless.c
13929           src/nm-device.[ch]
13930                 - Add hooks to subclasses for stage3_ip_config_start and
13931                         stage4_ip_config_timeout
13932
13933         * src/nm-device-802-3-ethernet.c
13934                 - (real_get_generic_capabilities): make devices NM-supported
13935                         by default
13936
13937 2006-01-03  Robert Love  <rml@novell.com>
13938
13939         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13940           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13941           latter cannot differentiate between error and the address -1; misc.
13942           clean up.
13943
13944 2006-01-03  Dan Williams  <dcbw@redhat.com>
13945
13946         * src/NetworkManager.c
13947                 - Move link-checking/probing into the device subclasses
13948                         themselves
13949
13950         * src/nm-device.[ch]
13951           src/nm-device-802-11-wireless.c
13952           src/nm-device-802-3-ethernet.c
13953                 - Do periodic link checking in device subclasses rather
13954                         than being triggered from NetworkManager.c
13955                 - discover_wireless_capabilities -> get_wireless_capabilities
13956                 - discover_generic_capabilities -> get_generic_capabilities
13957                 - Device subclass activation routines now return a value of type
13958                         NMActStageReturn to indicate what step to perform next
13959                 - Devices now override stage4_get_ip4_config if they choose
13960
13961 2006-01-01  Dan Williams  <dcbw@redhat.com>
13962
13963         * src/nm-device-802-11-wireless.c
13964                 - (real_init): don't chain up to parent init because we don't
13965                         need to do that anymore
13966
13967         * src/nm-device.c
13968                 - (discover_device_type): fix arguments to ioctl() to correctly
13969                         pass interface name
13970                 - (nm_device_new): consolidate generic device initialization into
13971                         nm_device_new()
13972                 - (real_init): remove, consolidated to nm_device_new()
13973                 - (nm_device_deactivate, real_deactivate): consolidate
13974
13975 2006-01-01  Dan Williams  <dcbw@redhat.com>
13976
13977         * src/nm-activation-request.c
13978                 - Change dhcp_state member of the NMActRequest structure
13979                         from guint8 to guint32
13980
13981         * src/dhcp-manager/nm-dhcp-manager.[ch]
13982                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13983                         than guint8 to match the dbus argument.  Turns out we were
13984                         overwriting memory since we were passing in only a guint8
13985
13986 2005-12-31  Dan Williams  <dcbw@redhat.com>
13987
13988         * refactor NMDevice into a GObject-based framework with separate
13989                 objects for wired and wireless.  The following files are no
13990                 longer used but should stick around for a bit so we don't
13991                 loose code through the cracks:
13992                         NetworkManagerDevice.c
13993                         NetworkManagerDevice.h
13994                         NetworkManagerWireless.c
13995                         NetworkManagerWireless.h
13996
13997         The intent here is to allow each device type to manage its own
13998         connection & activation life-cycle, ie to allow wireless devices
13999         to interface with wpa_supplicant, etc.  There's a fair bit of
14000         encapsulation breakage right now that should gradually get pulled
14001         back into each device, along with things like periodic property
14002         updates and link probing.
14003
14004 2005-12-29  Dan Williams  <dcbw@redhat.com>
14005
14006         * include/NetworkManager.h
14007                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14008                         between networks that don't have any encryption at all
14009
14010 2005-12-29  Dan Williams  <dcbw@redhat.com>
14011
14012         * test/test-common.c
14013           test/test-common.h
14014           test/Makefile.am
14015                 - Move to a test-common subdirectory
14016
14017         * test/libnm-util/test-ciphers.c
14018                 - Move test data to test-inputs.h
14019                 - Test WPA ciphers too
14020
14021         * test/libnm-util/test-dbus-helpers.c
14022                 - Test serialization/deserialization of ciphers
14023
14024 2005-12-29  Dan Williams  <dcbw@redhat.com>
14025
14026         * gnome/applet/applet-dbus-devices.c
14027                 - Replace 'enc' parameter with 'capabilities' for wireless networks
14028                         in dbus calls to NM
14029                 - Set capabilities on WirelessNetwork objects
14030                 - Receive and save type-specific device capabilities too
14031
14032         * gnome/applet/applet-dbus-info.c
14033           gnome/applet/applet-dbus.c
14034                 - Passphrase dialog no longer a singleton; new instance gets created
14035                         on each request.  Updates to deal with that.
14036
14037         * gnome/applet/applet.c
14038                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14039                         than single 'encrypted' flag
14040                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14041                         menu items
14042                 - Passphrase dialog updates per above
14043
14044         * gnome/applet/menu-items.c
14045                 - (network_menu_item_update): use AP capabilities to determine
14046                         encryption
14047
14048         * gnome/applet/nm-device.[ch]
14049                 - Add accessors for type-specific device capabilities
14050
14051         * gnome/applet/other-network-dialog.c
14052                 - Rework to respect device capabilities.  i.e., if the device doesn't
14053                         support WPA, remove that option from the security dropdown
14054
14055         * gnome/applet/passphrase-dialog.c
14056                 - Massive rework so that a new instance is created each time
14057                         it's used, to support wireless network capabilities
14058
14059         * gnome/applet/wireless-network.[ch]
14060                 - Add accessors and members for wireless network capabilities
14061
14062         * gnome/applet/wireless-security-manager.[ch]
14063                 - (wsm_set_capabilities): called after creation to set which
14064                         security options get shown to the user
14065
14066 2005-12-29  Dan Williams  <dcbw@redhat.com>
14067
14068         * libnm-util/cipher-wpa-psk-passphrase.c
14069                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14070                         like other ciphers
14071
14072 2005-12-23  Dan Williams  <dcbw@redhat.com>
14073
14074         * gnome/applet/applet-dbus-info.c
14075                 - (nmi_dbus_get_key_for_network): if there's no entry in
14076                         GConf for a network, assume we want a new key
14077                 - (nmi_save_network_info): serialize wireless security info
14078                         into GConf so its saved
14079
14080         * src/nm-dbus-nm.c
14081                 - Fix warning as we may not be passed security info when
14082                         connecting to a wireless network
14083
14084 2005-12-23  Dan Williams  <dcbw@redhat.com>
14085
14086         * gnome/applet/applet-compat.c
14087                 - Fix bugs in GConf entry conversion
14088
14089         * gnome/applet/applet-dbus-info.c
14090                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14091                         list being zero-length
14092
14093         * libnm-util/cipher-*
14094           libnm-util/dbus-helpers.c
14095                 - All ciphers must now return hashed keys as UTF-8 valid
14096                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14097                         through dbus as strings too.
14098                 - Consolidate various functions that do bin->hex and hex->bin
14099                         conversion into cipher.c
14100
14101         * src/nm-ap-security-wep.c
14102           src/nm-ap-security-wpa-psk.c
14103                 - Handle NULL keys since we may not know keys right away
14104
14105         * src/nm-dbus-nmi.c
14106                 - (nm_dbus_get_network_data_cb): actually advance to the start
14107                         of the wireless security info before we try to deserialize it
14108
14109         * libnm-util/test-ciphers.c
14110                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14111
14112 2005-12-22  Dan Williams  <dcbw@redhat.com>
14113
14114         * gnome/applet/applet-compat.[ch]
14115                 - Convert old-format GConf and keyring entries
14116                         when the applet starts up.
14117
14118         * gnome/applet/applet.c
14119                 - (nmwa_get_instance): Call the conversion function
14120                         on startup before dbus is initialized
14121
14122 2005-12-22  Dan Williams  <dcbw@redhat.com>
14123
14124         * gnome/applet/applet-dbus-info.c
14125                 - Remove nmi_dbus_create_error_message() in favor of
14126                         nmu_create_dbus_error_message()
14127                 - (nmi_dbus_get_network_properties): Error message cleanups
14128                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14129                         gconf key rather than 'addresses', since they really are BSSIDs
14130                 - (nmi_dbus_get_network_properties): Dispose of the security
14131                         object when we're done with it
14132
14133 2005-12-21  Dan Williams  <dcbw@redhat.com>
14134
14135         * Consolidate the info-daemon's "updateNetworkInfo" and
14136                 "addNetworkAddress" calls into just "updateNetworkInfo"
14137
14138 2005-12-21  Dan Williams  <dcbw@redhat.com>
14139
14140         * Make connection after key retrieval work again
14141
14142 2005-12-21  Dan Williams  <dcbw@redhat.com>
14143
14144         * gnome/applet/nm-gconf-wso*
14145                 - Make the serialize functions return gboolean
14146                         rather than int
14147
14148         * gnome/applet/nm-gconf-wso.c
14149                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14150                         parent class handling so we don't segfault
14151
14152         * src/NetworkManagerAP.[ch]
14153                 - (nm_ap_get_capabilities): new function, return capabilities
14154                         now that something can use them
14155                 - (nm_ap_set_encrypted): assume that an access point supports
14156                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14157                         we even tell whether it just supports WEP40?
14158
14159         * src/NetworkManagerDevice.c
14160                 - (ap_need_key): resurrect and update for the New World Order
14161                 - (nm_device_wireless_get_activation_ap): if we're not given
14162                         security info to use, create some based on access point
14163                         capabilities
14164
14165         * src/nm-ap-security-wep.c
14166                 - (nm_ap_security_wep_new_from_ap): create a new object
14167                         based on a certain access point's capabilities
14168
14169         * src/nm-ap-security.c
14170                 - (nm_ap_security_new_from_ap): delegate creation of a new
14171                         object based on access point capabilities to a subclass
14172                 - (nm_ap_security_copy_properties): don't segfault if we
14173                         don't have a key yet
14174
14175         * src/nm-dbus-nm.c
14176                 - (nm_dbus_nm_set_active_device): provide more informative
14177                         output when errors occur.  Also construct security info
14178                         for a given access point if we weren't given any
14179
14180 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14181
14182         * configure.in: Added Lithuanian to ALL_LINGUAS.
14183
14184 2005-12-21  Dan Williams  <dcbw@redhat.com>
14185
14186         * test/libnm-util
14187                 - Add some testcases for WEP ciphers
14188
14189 2005-12-17  Dan Williams  <dcbw@redhat.com>
14190
14191         * Fix bugs
14192
14193 2005-12-17  Dan Williams  <dcbw@redhat.com>
14194
14195         * include/NetworkManager.h
14196                 - Finally kill NMEncKeyType
14197
14198         * gnome/applet/applet-dbus-info.c
14199                 - (nmi_save_network_info): convert to NMGConfWSO
14200
14201         * gnome/applet/nm-gconf-wso-*.c
14202                 - Implement gconf serialization functions
14203
14204         * src/NetworkManagerPolicy.c
14205                 - (nm_policy_activation_finish): fix up meaning of
14206                         automatic/user_requested
14207
14208 2005-12-17  Dan Williams  <dcbw@redhat.com>
14209
14210         * gnome/applet/*
14211                 - More applet cleanups
14212                 - Use the dbus-method-dispatcher
14213
14214         * libnm-util/dbus-method-dispatcher.[ch]
14215                 - Generalize the implementation from NM in
14216                         NetworkManagerUtils.c
14217
14218 2005-12-16  Dan Williams  <dcbw@redhat.com>
14219
14220         * gnome/applet/*
14221                 - Fix up the passphrase dialog to use all the
14222                         WirelessSecurityOption stuff (untested)
14223
14224 2005-12-16  Dan Williams  <dcbw@redhat.com>
14225
14226         * Move nm_gconf_get_*_helper() functions to separate files,
14227                 gconf-helpers.c & gconf-helpers.h
14228
14229         * New NMGConfWSO objects for managing the gconf side of things.
14230                 Eventually these should be merged with the
14231                 WirelessSecurityOption objects and a common base (that can
14232                 serialize/deserialize from dbus & gconf) should be
14233                 refactored out, but for now they are separate.
14234
14235 2005-12-16  Robert Love  <rml@novell.com>
14236
14237         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14238           binaries unless they exist (nm_spawn_process() emits a warning if
14239           asked to spawn a non-existant process).
14240
14241 2005-12-16  Dan Williams  <dcbw@redhat.com>
14242
14243         * gnome/applet/applet-dbus-info.c
14244                 - Clean up lots of gconf-related code
14245
14246 2005-12-16  Robert Love  <rml@novell.com>
14247
14248         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14249
14250 2005-12-16  Dan Williams  <dcbw@redhat.com>
14251
14252         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14253
14254         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14255                 bits still to be done)
14256
14257 2005-12-16  Dan Williams  <dcbw@redhat.com>
14258
14259         * Finally move info-daemon related stuff out of
14260                 NetworkManagerDbus.c to nm-dbus-nmi.c
14261
14262 2005-12-16  Dan Williams  <dcbw@redhat.com>
14263
14264         * Kill auth_method for access points, since that's now done
14265                 by NMAPSecurity objects
14266
14267         * Add a copy-constructor of sorts to NMAPSecurity
14268                 (how do you do this properly in glib???)
14269
14270 2005-12-15  Dan Williams  <dcbw@redhat.com>
14271
14272         * Exorcise encryption key hashing on APs
14273         * Use libnm-util's serialization/deserialization in both the
14274                 applet and NM
14275         * Random other stuff
14276
14277 2005-12-15  Robert Love  <rml@novell.com>
14278
14279         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14280           is being added to the icon naming spec, so let's use that (Tango CVS
14281           has the icon).  Because it is new, however, we fall back to the
14282           current "gnome-lockscreen" if the new icon is not around, thus
14283           behavior is the same.
14284         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14285           factory junk.
14286
14287 2005-12-15  Robert Love  <rml@novell.com>
14288
14289         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14290           well, help to give.  Couple other misc. bits.
14291
14292 2005-12-15  Dan Williams  <dcbw@redhat.com>
14293
14294         * libnm-util/dbus-helpers.[ch]
14295                 - Make this the one-stop-shop for serializing/deserializing
14296                         AP & connection security settings over dbus.  Both NM
14297                         and applets should use this to ensure consistent dbus
14298                         API going forwared.
14299
14300 2005-12-15  Robert Love  <rml@novell.com>
14301
14302         Patch by Timo Hoenig  <thoenig@suse.de>:
14303         * src/NetworkManagerDbus.c
14304                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14305                         if HAL jumps off the system bus.  Otherwise libdbus
14306                         (dbus_connection_dispatch) will try to run the filter
14307                         function of our libhal context which is already freed.
14308
14309 2005-12-15  Alexander Shopov  <ash@contact.bg>
14310
14311         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14312
14313 2005-12-14  Dan Williams  <dcbw@redhat.com>
14314
14315         * include/NetworkManager.h
14316           src/NetworkManagerWireless.c
14317                 - Rearrange 802.11 wireless-specific capabilities again
14318
14319         * src/Makefile.am
14320                 - Forgot to add wpa.c/wpa.h to the makefiles
14321
14322         * src/NetworkManagerAP.[ch]
14323                 - Implement access point capabilities and parse the
14324                         WPA/RSN IEs into the capability bitfield
14325                 - Switch the "encrypted" attribute to utilize the bitfield
14326                         and capabilities rather than being independent
14327
14328         * src/NetworkManagerDevice.c
14329                 - (nm_device_wireless_get_activation_ap): break it horribly
14330                         until we can push NMAPSecurity objects into access point
14331                         objects and through the activation chain
14332                 - Stuff WPA & RSN IEs into AP capabilities
14333
14334         * src/nm-dbus-nm.c
14335                 - Take a shot at actually making setActiveDevice work
14336
14337         * src/wpa.[ch]
14338                 - Make the API a bit saner
14339
14340 2005-12-14  Dan Williams  <dcbw@redhat.com>
14341
14342         * include/NetworkManager.h
14343                 - Add 802.11-specific capability for 802.1x key
14344                         management
14345
14346         * src/wpa.[ch]
14347                 - Pull in WPA IE and RSN IE parsing code from
14348                         wpa_supplicant so we can determine access point
14349                         capabilities
14350                 - Move WPA-related constants here from NetworkManagerAP.h
14351                         and NetworkManagerDevice.c
14352
14353         * src/NetworkManagerDevice.c
14354           src/NetworkManagerAP.[ch]
14355                 - Use WPA-related constants from wpa.h
14356
14357 2005-12-14  Dan Williams  <dcbw@redhat.com>
14358
14359         * include/NetworkManager.h
14360                 - Update and split 802.11 wireless-specific capabilities from
14361                         generic device capabilities
14362
14363         * src/NetworkManagerDevice.c
14364           src/NetworkManagerDevicePrivate.h
14365                 - (nm_device_wireless_discover_capabilities): Move 802.11
14366                         wireless-specific capability checks to
14367                         NetworkManagerWireless.c
14368                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14369                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14370
14371         * src/NetworkManagerWireless.[ch]
14372                 - (nm_802_11_wireless_discover_capabilities): Check extended
14373                         802.11 wireless-specific capabilities of the driver
14374
14375 2005-12-14  Robert Love  <rml@novell.com>
14376
14377         Patch from Stefan Scheler <sscheler@suse.de>:
14378         * src/NetworkManagerDevice.c: call backend code to activate and
14379           deactivate NIS.
14380         * src/NetworkManagerSystem.h: add new NIS interfaces.
14381         * src/backends/NetworkManagerDebian.c,
14382           src/backends/NetworkManagerGentoo.c,
14383           src/backends/NetworkManagerRedHat.c,
14384           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14385           support.
14386         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14387
14388 2005-12-14  Dan Williams  <dcbw@redhat.com>
14389
14390         * src/nm-ap-security*.[ch]
14391                 - Add AP security abstractions to NetworkManager
14392
14393         * src/nm-dbus-device.c
14394                 - Begin to parse new format dbus messages from the applet
14395                         and construct an AP security object from the message
14396
14397         * libnm-util/dbus-helpers.c
14398                 - Use message iters so we can append the key as a fixed
14399                         array of bytes, which actually works rather than
14400                         using dbus_message_append_args() as we were before
14401
14402 2005-12-14  Dan Williams  <dcbw@redhat.com>
14403
14404         * src/NetworkManagerDbus.c
14405           gnome/applet/applet-dbus.c
14406                 - Fix up dbus service replacement options.  The applet
14407                         should allow replacement, NM itself should not.
14408
14409 2005-12-13  Robert Love  <rml@novell.com>
14410
14411         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14412           Instead, fail silently if config is NULL by not asserting and not
14413           returning FALSE.  Also, make sure we always fclose() the file.
14414
14415 2005-12-13  Robert Love  <rml@novell.com>
14416
14417         Patch by Stefan Scheler <sscheler@suse.de>:
14418         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14419            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14420            via DHCP.  Still need the backends to commit the NIS domain name and
14421            and servers to yp.conf as needed.
14422
14423 2005-12-13  Robert Love  <rml@novell.com>
14424
14425         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14426           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14427
14428 2005-12-13  Robert Love  <rml@novell.com>
14429
14430         * src/named-manager/nm-named-manager.c: Don't unref the config until
14431           after we call rewrite_resolv_conf(), because get_last_default_domain()
14432           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14433           `config != NULL' failed" assertion failures and "Could not commit DNS
14434           changes" warnings.
14435
14436 2005-12-12  Dan Williams  <dcbw@redhat.com>
14437
14438         * libnm-util/dbus-helpers.[ch]
14439           libnm-util/Makefile.am
14440                 - new helper calls to consolidate locations where
14441                         NM's setDevice method is called
14442
14443         * gnome/applet/applet-dbus-devices.c
14444           gnome/applet/wireless-security-option.c
14445           gnome/applet/wso-*
14446                 - Implement dbus message param append function for
14447                         all wireless security options
14448
14449 2005-12-12  Robert Love  <rml@novell.com>
14450
14451         * libnm-util/cipher-wep-passphrase.c,
14452           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14453           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14454           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14455           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14456           When handling keys, we don't care what the sign is.  The compiler
14457           guarantees us that we get our 8-bits, which is all we care about.
14458         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14459
14460 2005-12-12  Dan Williams  <dcbw@redhat.com>
14461
14462         * gnome/applet/applet-dbus-devices.[ch]
14463           gnome/applet/applet.c
14464           gnome/applet/other-network-dialog.c
14465           gnome/applet/wireless-security-manager.[ch]
14466           gnome/applet/wireless-security-option.[ch]
14467           gnome/applet/wso-*
14468                 - Push the wireless security options further into the applet
14469
14470 2005-12-12  Robert Love  <rml@novell.com>
14471
14472         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14473           return any name servers.  That is perfectly valid.  (Novell #134369).
14474
14475 2005-12-11  Dan Williams  <dcbw@redhat.com>
14476
14477         * gnome/applet/wso-*
14478           gnome/applet/wireless-security-option.*
14479           gnome/applet/Makefile.am
14480                 - split each security option out so we can eventually
14481                         have each one build up their own dbus message
14482                         arguments to send to NM
14483
14484 2005-12-11  Dan Williams  <dcbw@redhat.com>
14485
14486         * Make validation of the key work correctly
14487
14488 2005-12-11  Dan Williams  <dcbw@redhat.com>
14489
14490         * Hook more bits of the Other Network Dialog up to the
14491                 wireless security manager stuff, and restructure
14492                 bits of the dialog so there's less code.
14493
14494 2005-12-10  Dan Williams  <dcbw@redhat.com>
14495
14496         * gnome/applet/Makefile.am
14497                 - Add libnm-util to includes
14498                 - Add libnm-util to link list
14499                 - Add wireless-security-common.* to compile list
14500
14501         * gnome/applet/other-network-dialog.c
14502                 - Convert to using the WirelessSecurityManager code and
14503                         widgets
14504
14505         * gnome/applet/passphrase-dialog.c
14506                 - Comment out references to stuff in the glade file that
14507                         cause runtime errors until it can be fixed up
14508                         to use the WirelessSecurityManager code
14509
14510         * gnome/applet/wireless-applet.glade
14511                 - Rename some widgets
14512                 - Add widgets for the WirelessSecurityManager code
14513                 - Remove passphrase-related stuff since that's now
14514                         handled by the WirelessSecurityManager code
14515
14516 2005-12-10  Dan Williams  <dcbw@redhat.com>
14517
14518         * gnome/applet/applet-dbus-devices.c
14519                 - Print out error message details for dbus pending call callbacks
14520                 - Move nmwa_dbus_update_devices() up
14521
14522         * gnome/applet/applet-dbus-vpn.c
14523                 - Print out error message details for dbus pending call callbacks
14524
14525 2005-12-10  Dan Williams  <dcbw@redhat.com>
14526
14527         * libnm-util/*
14528                 - More fixups
14529                 - Remove cipher-manager.* because we don't need it
14530                 - Forgot to add gnome-keyring-md5 files to compile list
14531
14532 2005-12-09  Dan Williams  <dcbw@redhat.com>
14533
14534         * libnm-util/*
14535           configure.in
14536           Makefile.am
14537                 - Add a utility library for clients of NetworkManager.  It's
14538                         only targetted at applets for the moment, and contains
14539                         a generalized 802.11 cipher framework for different
14540                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14541
14542 2005-12-09  Robert Love  <rml@novell.com>
14543
14544         * src/NetworkManagerDevice.c: handle error better in
14545           nm_device_set_mode().
14546
14547 2005-12-08  Robert Love  <rml@novell.com>
14548
14549         * include/NetworkManager.h: add WPA capabilities constants
14550         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14551           or WPA2 and add the capabilities bits as appropriate.
14552
14553 2005-12-08  Robert Love  <rml@novell.com>
14554
14555         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14556           NetworkManagerDispatcher.
14557         * configure.in, initscript/SUSE/.cvsignore,
14558           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14559           initscript.
14560
14561 2005-12-08  Robert Love  <rml@novell.com>
14562
14563         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14564
14565 2005-12-08  Robert Love  <rml@novell.com>
14566
14567         * src/NetworkManagerDevice.c: We want to fall back on and default to
14568           IW_MODE_AUTO, not -1, which is more in line with our previous
14569           behavior.  Otherwise, we try to set the wireless mode to -1 in
14570           nm_device_set_mode().
14571
14572 2005-12-07  Robert Love  <rml@novell.com>
14573
14574         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14575           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14576           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14577           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14578           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14579           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14580           zero.
14581
14582 2005-12-07  Robert Love  <rml@novell.com>
14583
14584         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14585           supplied IP is invalid, fall back to DHCP.
14586
14587 2005-12-07  Dan Williams  <dcbw@redhat.com>
14588
14589         * Convert NETWORK_MODE_* constants to IW_MODE_*
14590         * Make all the get_mode/set_mode functions take and return 'int'
14591         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14592
14593 2005-12-07  Robert Love  <rml@novell.com>
14594
14595         * src/NetworkManagerDevice.c: strncpy() buffer check.
14596         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14597
14598 2005-12-06  Dan Williams  <dcbw@redhat.com>
14599
14600         * gnome/applet/applet-dbus.c
14601                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14602
14603         * gnome/applet/applet-dbus-vpn.c
14604                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14605                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14606                         to TRUE here if stage was ACTIVATED
14607
14608 2005-12-06  Dan Williams  <dcbw@redhat.com>
14609
14610         * Change nm_device_is_* functions to better names:
14611                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14612                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14613
14614 2005-12-06  Dan Williams  <dcbw@redhat.com>
14615
14616         * Change naming of NMDeviceType to something more sensible:
14617                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14618                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14619                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14620
14621 2005-12-06  Dan Williams  <dcbw@redhat.com>
14622
14623         * Move NetworkManager.h -> include/NetworkManager.h
14624         * Split out VPN stuff into include/NetworkManagerVPN.h
14625         * Fix up makefiles to include new location
14626         * Fix up sources to include NetworkManagerVPN.h
14627
14628 2005-12-06  Dan Williams  <dcbw@redhat.com>
14629
14630         Various changes in the applet to move VPN connection "state" -> "stage",
14631         which it actually is.  I'd like to change the signal as well when we
14632         break compat in the near future.
14633
14634 2005-12-06  Dan Williams  <dcbw@redhat.com>
14635
14636         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14637         * initscript/Slackware/rc.networkmanager
14638                 - Cosmetic fix
14639
14640         * src/backends/NetworkManagerSlackware.c
14641                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14642                         interfaces
14643
14644 2005-12-05  Robert Love  <rml@novell.com>
14645
14646         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14647           to free, particularly here as it just barfs.
14648
14649 2005-12-05  Dan Williams  <dcbw@redhat.com>
14650
14651         * gnome/applet/applet-dbus.c
14652                 - Work with dbus 0.6 too
14653
14654 2005-12-03  Dan Williams  <dcbw@redhat.com>
14655
14656         * src/NetworkManagerUtils.[ch]
14657           src/nm-ip4-config.c
14658                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14659                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14660
14661 2005-12-01  Robert Love  <rml@novell.com>
14662
14663         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14664           need a NULL for the '...' parameter, too, to fill the so-called
14665           sentinel.
14666
14667 2005-12-01  Robert Love  <rml@novell.com>
14668
14669         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14670           interface is already gone, so don't call rtnl_link_change() to down
14671           it (which will segfault, anyhow).
14672
14673 2005-11-22  Robert Love  <rml@novell.com>
14674
14675         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14676           gateway is not set, just print a little note.  Configurations without
14677           gateways are valid.
14678
14679 2005-11-22  Robert Love  <rml@novell.com>
14680
14681         * README: update
14682
14683 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14684
14685         * configure.in: Added Finnish translation to ALL_LINGUAS
14686
14687 2005-11-14  Robert Love  <rml@novell.com>
14688
14689         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14690           Niemueller <tim@niemueller.de>.
14691
14692 2005-11-08  Dan Williams  <dcbw@redhat.com>
14693
14694         Patch from Bill Moss <bmoss@clemson.edu>
14695         * src/NetworkManagerDevice.c
14696                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14697                         of nm_policy_schedule_activation_finish() to prevent a
14698                         race condition that causes the link to be dropped
14699
14700 2005-11-08  Dan Williams  <dcbw@redhat.com>
14701
14702         Patch from Bill Moss <bmoss@clemson.edu>
14703         * src/NetworkManagerAPList.c
14704           src/NetworkManagerDevice.c
14705           src/NetworkManagerDbus.c
14706                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14707                         we get more readable ether/mac addresses
14708
14709 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14710
14711         * gnome/applet/main.c: Don't set the restart command.  This fixes
14712         the issue where the restart command was getting copies of all its
14713         arguments for each time the applet was restarted.
14714
14715 2005-11-02  Robert Love  <rml@novell.com>
14716
14717         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14718           if the widget state differs from our saved state.  This ensures we
14719           do not enter an endless loop of death and destruction.  Also, this
14720           guarantees us that we enforce the widget state.
14721
14722 2005-11-02  Robert Love  <rml@novell.com>
14723
14724         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14725         * gnome/applet/applet-dbus-devices.c: invoke the new function
14726           nmwa_enable_wireless_set_active() to ensure that the state of the
14727           'Enable Wireless' checkbox matches the daemon's state.  This is a
14728           concern because the daemon remembers the state.
14729
14730 2005-11-02  Robert Love  <rml@novell.com>
14731
14732         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14733           Enabled", as checkboxes should be actions/commands not positive
14734           statements, otherwise they are confusing in the unselected case.  See
14735           examples in GNOME HIG, Chapter 6.
14736
14737 2005-11-02  Robert Love  <rml@novell.com>
14738
14739         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14740           show a list of wireless networks or the wireless devices or the
14741           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14742           a bad bug: If wireless is disabled and the user picks a wireless
14743           network, NM will switch to the network, only to immediately switch
14744           back, as wireless is disabled.  This also reassures people that NM
14745           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14746
14747 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14748
14749         * gnome/applet/applet.c:
14750         * gnome/applet/applet.h:
14751         Partial backout of Dan's timeout animation patch.
14752         Timeout IDs cannot legally be 0, so revert the code in place to handle
14753         a timeout ID of 0 to denote the timeout isn't running.
14754
14755 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14756
14757         * src/NetworkManagerPolicy.c:
14758         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14759
14760 2005-10-28  Robert Love  <rml@novell.com>
14761
14762         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14763           "Import Saved Configuration..." to make it clear that importing is
14764           not the next step, but an option.  As an aside, a nice TODO would be
14765           to move Importing out of the vpn-specific dialog and into the main
14766           property editor, as Importing goes with Adding, but that will require
14767           some rearchitecting of the VPN stuff I suspect.
14768
14769 2005-10-27  Dan Williams  <dcbw@redhat.com>
14770
14771         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14772         we should replace most of the distro-specific backend code
14773         with libnl stuff.
14774
14775         Get it here:  http://people.suug.ch/~tgr/libnl/
14776
14777         * configure.in
14778           src/Makefile.am
14779                 - Add checks for libnl pkgconfig file
14780                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14781
14782         * src/NetworkManagerSystem.c
14783           src/nm-ip4-config.[ch]
14784                 - Use libnl rather than ioctl() for most things
14785                 - Remove unused functions
14786
14787 2005-10-27  Robert Love  <rml@novell.com>
14788
14789         * src/backends/NetworkManagerSuSE.c: fix warning message text
14790
14791 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14792
14793         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14794
14795 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14796
14797         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14798         project page <http://www.gnome.org/projects/NetworkManager/>
14799
14800 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14801
14802         * gnome/applet.c: Also use translator credits if we don't have
14803         the new GtkAboutDialog (older versions of GTK+)
14804
14805 2005-10-26  Robert Love  <rml@novell.com>
14806
14807         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14808           failure; correct usage text for "--no-daemon"
14809
14810 2005-10-25  Dan Williams  <dcbw@redhat.com>
14811
14812         * src/NetworkManagerDevice.c
14813                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14814                         no scan results
14815                 - (free_process_scan_cb_data): unref the device when freeing results
14816                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14817                         so we don't unref the device underneath ourselves
14818
14819 2005-10-25  Dan Williams  <dcbw@redhat.com>
14820
14821         * Back out 2005-10-24 commit from Tor Krill.  Patch
14822                 causes nameservers never to be removed from named.
14823
14824 2005-10-24  Dan Williams  <dcbw@redhat.com>
14825
14826         Clean up wireless scanning and wireless link probing.
14827
14828         * src/NetworkManagerDevice.c
14829                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14830                         just see if there's an activation request on the device, and check the
14831                         current link against the activation request access point's ESSID.
14832                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14833                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14834                         don't call process_scan_results() on zero-length data
14835                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14836                         15 seconds (from 10)
14837
14838 2005-10-24  Dan Williams  <dcbw@redhat.com>
14839
14840         Cleanup some applet stuff:
14841
14842         - Animation timeouts.  If NM died while the applet was animating,
14843                 the applet would not hide itself.  This is now fixed.
14844
14845         - Remove some dead code
14846
14847         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14848                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14849
14850         - Track animation timeout using a gboolean rather than the timeout's
14851                 ID, since timeout IDs can legally be 0.
14852
14853 2005-10-24  Dan Williams  <dcbw@redhat.com>
14854
14855         * src/backends/interface_parser.c
14856                 - Add void to function declarations that need it
14857                         to match patch from Engin AYDOGAN
14858
14859         * src/backends/interface_parser.h
14860                 - Remove unused prototype for ifparser_interfaces()
14861
14862         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14863         * src/backends/interface_parser.h:
14864                 - Compile fixes for gcc 4.0.2 (add void)
14865
14866 2005-10-24  Dan Williams  <dcbw@redhat.com>
14867
14868         Patch from Tor Krill <tor@krill.nu>
14869         * src/named-manager/nm-named-manager.c
14870                 - Write more than just the first nameserver to /etc/resolv.conf
14871                 - Write out valid /etc/resolv.conf on exit
14872
14873 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14874
14875         * gnome/applet/applet-dbus-vpn.c:
14876         Get rid of spurious newlines in debug console output
14877
14878 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14879
14880         * src/backends/NetworkManagerGentoo.c:
14881         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14882
14883 2005-10-20  Robert Love  <rml@novell.com>
14884
14885         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14886           direct comparison of floating point values, which is never correct.
14887           Also some misc. cleanup.
14888
14889 2005-10-19  Robert Love  <rml@novell.com>
14890
14891         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14892
14893 2005-10-19  Robert Love  <rml@novell.com>
14894
14895         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14896           sensitivity of the buttons.  Specificaly, do the right thing if
14897           there are no entries.
14898
14899 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14900
14901         * configure.in: Update check for adequate wireless-tools
14902         with an AC_TRY_COMPILE for the new symbols we use.
14903
14904 2005-10-19  Dan Williams  <dcbw@redhat.com>
14905
14906         * src/NetworkManagerDevice.c
14907                 - (process_scan_results): don't drop the last (or only)
14908                         access point we see
14909
14910 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14911
14912         * src/backends/NetworkManagerSlackware.c:
14913         Patch from Nico <lordllucifer@gmail.com>
14914                 - Update the Slackware backend.
14915
14916 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14917
14918         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14919         if we've got GLib 2.8.0
14920
14921 2005-10-18  Robert Love  <rml@novell.com>
14922
14923         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14924           function nm_schedule_state_change_signal_broadcast() when we
14925           deactivate a device, too.
14926
14927 2005-10-18  Robert Love  <rml@novell.com>
14928
14929         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14930           be used uninitialized.
14931
14932 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14933
14934         * test/libnm_glib_test.c: Test unregistering, too.
14935
14936 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14937
14938         * configure.in: Bump to 0.5.0
14939
14940 2005-10-17  Dan Williams  <dcbw@redhat.com>
14941
14942         * NetworkManager.h
14943                 - Remove WPA-related constants so they aren't part of the
14944                         upcoming release.
14945
14946 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14947
14948         * gnome/applet/applet.c:
14949         * gnome/applet/applet.h:
14950         Desensitize the 'Connection Information' menu item when there is
14951         no active connection.
14952
14953 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14954
14955         * gnome/libnm_glib/libnm_glib.c:
14956         Make libnm_glib_unregister_callback () actually unregister the callback
14957
14958 2005-10-17  Robert Love  <rml@novell.com>
14959
14960         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14961           two seconds -- tries is updated every 1/10 of a second, not every
14962           second..
14963
14964 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14965
14966         * gnome/applet/applet-dbus-info.c:
14967         Let D-BUS know that we haven't handled a message when we haven't.
14968
14969 2005-10-17  Robert Love  <rml@novell.com>
14970
14971         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14972           in order to remain 64-bit clean.
14973
14974 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14975
14976         * gnome/applet/applet-dbus-info.c:
14977         Find network encryption keys asynchronously
14978
14979 2005-10-17  Robert Love  <rml@novell.com>
14980
14981         * src/backends/NetworkManagerDebian.c,
14982           src/backends/NetworkManagerRedHat,
14983           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14984           comment delimiter.
14985
14986 2005-10-17  Robert Love  <rml@novell.com>
14987
14988         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14989           "/etc"
14990
14991 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14992
14993         * src/NetworkManagerDevice.c: (process_scan_results)
14994         Fix logic that checks to see whether we have an ESSID.
14995
14996 2005-10-15  Dan Williams  <dcbw@redhat.com>
14997
14998         Move scanning code into NetworkManager rather than use iwlib's
14999         iw_scan() function, so that we can figure out AP capabilities.
15000
15001         * NetworkManager.h
15002                 - Add AP capability bits
15003
15004         * src/NetworkManagerAP.[ch]
15005                 - Add capability field to NMAccessPoint structure
15006                 - Add WPA & RSN Information Element fields and accessor
15007                         functions to NMAccessPoint
15008
15009         * src/NetworkManagerDevice.c
15010                 - Remove usage of iw_scan
15011                 - Add scanning code to NetworkManager rather than use
15012                         iw_scan() from iwlib
15013
15014         * src/NetworkManagerUtils.[ch]
15015                 - (nm_dispose_scan_results): remove, unused
15016
15017 2005-10-14  Christopher Aillon  <caillon@redhat.com>
15018
15019         * gnome/libnm_glib/libnm_glib.c:
15020         * gnome/libnm_glib/libnm_glib.h:
15021         Use guint instead of gint for callback IDs.
15022
15023 2005-10-12  Christopher Aillon  <caillon@redhat.com>
15024
15025         * gnome/applet/applet.c:
15026         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
15027         every 1000ms.  It will unconditionally call nmwa_update_state which
15028         kills the existing animation timeout and registers a new one with a
15029         callback to draw a new frame every 100ms.  There are 11 connecting
15030         icon frames, so the last 2 frames kept getting dropped.  Only reset
15031         the animation timeout if we aren't animating.
15032
15033 2005-10-11  Dan Williams  <dcbw@redhat.com>
15034
15035         * gnome/applet/applet-dbus-devices.c
15036                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15037                         We want to grab the product & vendor from net.physical_dev
15038                         rather than info.parent.
15039
15040 2005-10-11  Dan Williams  <dcbw@redhat.com>
15041
15042         * src/NetworkManagerDevice.c
15043                 - Use the driver's WE version for scanning rather than
15044                         the WE version NM was compiled with.  Fixes random
15045                         crashes in iw_scan () in iwlib.
15046
15047 2005-10-10  Dan Williams  <dcbw@redhat.com>
15048
15049         * Remove nm_system_load_device_modules() from backend files
15050                 and from NetworkManager.c
15051
15052 2005-10-10  Dan Williams  <dcbw@redhat.com>
15053
15054         * src/NetworkManagerPolicy.c
15055                 - Fix some bugs introduced by the capabilities patch
15056
15057 2005-10-10  Dan Williams  <dcbw@redhat.com>
15058
15059         * gnome/applet/applet-dbus-info.c
15060                 - (nmi_dbus_get_network_key): hide the menu when putting up
15061                         the keyring dialog.  (not sure if the code is right...)
15062
15063 2005-10-09  Dan Williams  <dcbw@redhat.com>
15064
15065         Patch from Bill Moss <bmoss@clemson.edu>
15066         * src/NetworkManagerDevice.c
15067                 - (nm_device_set_user_key_for_network): don't try to set auth
15068                         mode on the AP from the allowed list if it's NULL
15069
15070 2005-10-09  Dan Williams  <dcbw@redhat.com>
15071
15072         * Replace the "driver support level" stuff with capabilities.  The
15073                 capability field is a bitfield that is more flexible than the
15074                 old driver support level thing.  It's mostly so we can easily
15075                 figure out what supports WPA and what doesn't, but should be
15076                 quite useful later.
15077
15078 2005-10-09  Dan Williams  <dcbw@redhat.com>
15079
15080         * test/nmtest.c
15081                 - Removed
15082
15083         * test/nm-tool.c
15084           test/Makefile.am
15085                 - Added new "nm-tool" tool that gives quite a bit more
15086                         information
15087
15088 2005-10-07  Robert Love  <rml@novell.com>
15089
15090         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15091           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15092           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15093           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15094           appropriate
15095
15096 2005-10-07  Robert Love  <rml@novell.com>
15097
15098         * configure.in: Change our compile flags for the betterment of mankind.
15099           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15100           prototype is very bad on 64-bit platforms as types default to int but
15101           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15102           "-Wmissing-declarations" to warn if we define an exported function
15103           but fail to put it in a header.
15104
15105 2005-10-07  Robert Love  <rml@novell.com>
15106
15107         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15108           by the name nm_update_device_wireless_timeouts() and once tried,
15109           without success, to steal my pet turtle.
15110
15111 2005-10-07  Robert Love  <rml@novell.com>
15112
15113         * Cleanup prototypes: put some functions in header files and mark
15114           others as 'static' -- feel free to invert
15115         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15116           nm_vpn_manager_vpn_connection_list_copy()
15117         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15118           nm_vpn_service_get_dbus_connection()
15119         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15120           nm_vpn_manager_vpn_connection_list_copy()
15121         * src/vpn-manager/nm-vpn-service.c: make
15122           nm_vpn_service_act_request_failed() and
15123           nm_vpn_service_stage2_daemon_wait() static
15124         * src/vpn-manager/nm-vpn-service.h: add prototype for
15125           nm_vpn_service_get_dbus_connection()
15126
15127 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15128
15129         * gnome/applet/applet.c:
15130         * gnome/applet/applet.h:
15131         * gnome/applet/icons/Makefile.am:
15132         Convey information about the current connection stage in the
15133         icons themselves instead of creating a separate progress bar.
15134
15135 2005-10-04  Robert Love  <rml@novell.com>
15136
15137         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15138           convert an ether_addr structure's MAC into a string, because the
15139           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15140           versus 07:3B:04, while the former will not.
15141
15142 2005-10-04  Robert Love  <rml@novell.com>
15143
15144         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15145           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15146           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15147           default route in the 'Connection Information' dialog, send primary
15148           and secondary name servers in in "getProperties" DBUS method, add
15149           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15150           secondary domain name servers are crucial pieces of information
15151           that a user might need in debugging a network problem.
15152
15153 2005-10-04  Robert Love  <rml@novell.com>
15154
15155         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15156           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15157           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15158           default route in the 'Connection Information' dialog, send default
15159           route in "getProperties" DBUS method, add network_device_set_route(),
15160           and network_device_get_route().  The Gateway is a crucial piece of
15161           connection-related information that a user might need in debugging a
15162           network problem.
15163
15164 2005-10-03  Robert Love  <rml@novell.com>
15165
15166         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15167           NULL.
15168
15169 2005-10-02  Dan Williams  <dcbw@redhat.com>
15170
15171         * Shorten time taken to sleep by fastpathing bits of device deactivation
15172                 necessary for sleep.
15173
15174         * Fix issue where deactivating a device might deactivate the active
15175                 VPN connection, even if the VPN was not using the device.
15176
15177 2005-10-02  Dan Williams  <dcbw@redhat.com>
15178
15179         * gnome/applet/applet.c
15180                 - Adjust signal strength -> icon mapping values slightly
15181                         (so that 51% signal doesn't show a 75% icon) by adding
15182                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15183                         shows 50% icon, etc.
15184
15185 2005-09-29  Robert Love  <rml@novell.com>
15186
15187         * src/NetworkManager.c: removed unused variable.
15188
15189 2005-09-28  Dan Williams  <dcbw@redhat.com>
15190
15191         Support for named + DBus, using Red Hat DBus patches for named.  You
15192         can find those patches here, with "dbus" in the patch's filename:
15193
15194                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15195
15196         Don't forget the named dbus service file either.
15197
15198         Instead of writing a config file and spawing a named process, NM will
15199         use an already-running dbus-enabled named if it finds one.  NM will
15200         update named's forwarder configuration on the fly using dbus.
15201
15202         If there is no dbus-enabled named running, NM will automatically fall
15203         back to writing the most-recent DNS server information to /etc/resolv.conf
15204         and calling nm_system_update_dns() to kick the system's resolver.
15205
15206         Accordingly, all named-related configure-time options have been removed.
15207
15208 2005-09-26  Robert Love  <rml@novell.com>
15209
15210         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15211           ISDN support!
15212         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15213           bug in error path if "ASKPASSWORD" is "no".
15214
15215 2005-09-26  Robert Love  <rml@novell.com>
15216
15217         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15218           comment in /etc/resolv.conf -- ';' is not.
15219
15220 2005-09-19  Dan Williams  <dcbw@redhat.com>
15221
15222         * src/backends/NetworkManagerRedHat.c:
15223         * src/backends/NetworkManagerDebian.c:
15224         * src/backends/NetworkManagerSlackware.c:
15225         * src/backends/NetworkManagerGentoo.c:
15226         * src/backends/NetworkManagerSUSE.c:
15227         Fix invocations of "/sbin/ip address" to use short form instead
15228
15229 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15230
15231         * src/nm-dbus-device.c: Don't assert when getting
15232         addresses of a not yet connected interface.
15233
15234         * gnome/applet/applet.c: Free icons if loading fails.
15235         Use translator-credits so translators can make themselves known.
15236
15237 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15238
15239         * src/NetworkManagerAP.c:
15240         * src/NetworkManagerAP.h:
15241         * src/NetworkManagerDevice.c:
15242         Set a blacklist for certain common manufacturer default ESSIDs:
15243         APs with these ESSIDs are extremely likely to be completely
15244         different networks: connecting to one should not make NM
15245         auto-connect to every other AP with the same default ESSID.
15246
15247 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15248
15249         * gnome/applet/wireless-applet.glade:
15250         The passphrase entry should also activate the default
15251
15252         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15253
15254         * gnome/applet/applet-dbus-devices.c:
15255         * gnome/applet/applet.c:
15256         * gnome/applet/nm-device.c:
15257         * gnome/applet/nm-device.h:
15258         * src/NetworkManagerUtils.c:
15259         * src/NetworkManagerUtils.h:
15260         * src/nm-dbus-device.c:
15261         I've got a fever, and the only cure for it is less ioctl.
15262         Make NM push IP data rather than make the applet open a socket
15263         to the device.
15264
15265 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15266
15267         * gnome/applet/applet.c:
15268         * gnome/applet/applet-dbus-devices.c:
15269         * gnome/applet/applet-dbus-info.c:
15270         * gnome/applet/passphrase-dialog.c:
15271         * gnome/libnm_glib/libnm_glib.c:
15272         * gnome/vpn-properties/nm-vpn-properties.c:
15273         * src/autoip.c:
15274         * src/backends/NetworkManagerRedHat.c:
15275         * src/named-manager/nm-named-manager.c:
15276         * src/NetworkManagerAPList.c:
15277         * src/NetworkManager.c:
15278         * src/NetworkManagerDbus.c:
15279         * src/NetworkManagerDevice.c:
15280         * src/NetworkManagerPolicy.c:
15281         * src/NetworkManagerSystem.c:
15282         * src/nm-dbus-device.c:
15283         * src/nm-dbus-nm.c:
15284         * src/vpn-manager/nm-vpn-manager.c:
15285         * src/vpn-manager/nm-vpn-service.c:
15286         * test/libnm_glib_test.c:
15287         * test/nminfotest.c:
15288         * test/nmtestdevices.c:
15289         Fix a bunch of 'unused variable' compiler warnings
15290
15291         * NetworkManager.h:
15292         * gnome/applet/applet-dbus-info.c:
15293         * gnome/applet/applet-dbus-info.h:
15294         * gnome/applet/applet.c:
15295         * gnome/applet/applet.h:
15296         * src/NetworkManager.c:
15297         * src/NetworkManagerDbus.c:
15298         * src/NetworkManagerDbus.h:
15299         * src/NetworkManagerDevice.c:
15300         * src/NetworkManagerDevice.h:
15301         * src/NetworkManagerMain.h:
15302         * src/NetworkManagerWireless.c:
15303         * src/NetworkManagerWireless.h:
15304         * src/nm-dbus-nm.c:
15305         Make NetworkManager be smart about how frequently to scan
15306         based on its current state.  Remove the UI for choosing when
15307         to scan.  Scanning still may disabled completely by the user
15308         via the "Wireless Enabled" menu item.
15309
15310 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15311
15312         * gnome/applet/applet.c:
15313         Also overlay the vpn connecting icons onto the wired icon,
15314         when appropriate.
15315
15316         * gnome/vpn-properties/nm-vpn-properties.glade:
15317         Clean up a few strings to use better grammar and proper casing.
15318
15319 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15320
15321         * gnome/applet/vpn-connection.c:
15322         * gnome/applet/vpn-connection.h:
15323         Add nmwa_vpn_connection_is_activating ()
15324
15325         * gnome/applet/applet.c:
15326         * gnome/applet/applet.h:
15327         * gnome/applet/icons/nm-vpn-connecting*.png:
15328         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15329         the user know something's happening between clicking the VPN item and it
15330         actually being connected.
15331
15332 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15333
15334         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15335         failure case as well.
15336
15337 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15338
15339         * gnome/panel/eggtrayicon.[ch]:
15340         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15341
15342 2005-09-07  Dan Williams  <dcbw@redhat.com>
15343
15344         Patch from Bill Moss <bmoss@clemson.edu>
15345         * src/applet-dbus.c
15346                 - (nmwa_dbus_filter): strip whitespace from beginning
15347                         and end of VPN login banner
15348
15349 2005-09-07  Dan Williams  <dcbw@redhat.com>
15350
15351         * The great VPN Manager rewrite of 2005
15352
15353 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15354
15355         * gnome/applet/menu-items.c:
15356         * gnome/applet/nm-device.c:
15357         * gnome/applet/wireless-network.c:
15358         * gnome/libnm_glib/libnm_glib.c:
15359         * src/NetworkManagerDbusUtils.c:
15360         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15361         g_malloc0 doesn't return NULL
15362
15363 2005-09-06  Dan Williams  <dcbw@redhat.com>
15364
15365         Patch from Tomislav Vujec <tvujec@redhat.com>
15366         * src/NetworkManagerDevice.c
15367                 - (nm_get_device_by_udi): don't return a device when we
15368                         actually didn't find what we were looking for
15369
15370 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15371
15372         * gnome/applet/applet-dbus-devices.c:
15373         * gnome/applet/applet-dbus-devices.h:
15374         * gnome/applet/applet-dbus.c:
15375         * src/NetworkManagerDbus.c:
15376         * src/NetworkManagerDbus.h:
15377         * src/NetworkManagerDevice.c:
15378         * src/nm-dbus-device.c:
15379         Make NM push updates about active device strength when it changes,
15380         rather than having the applet poll every 2s.
15381
15382 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15383
15384         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15385         network_device_set_strength
15386
15387 2005-09-04  Dan Williams  <dcbw@redhat.com>
15388
15389         Patch from Bill Nottingham <notting@redhat.com>
15390         * src/NetworkManagerDevice.c
15391                 - (nm_device_activation_cancel): reset the quit_activation flag
15392
15393 2005-09-04  Dan Williams  <dcbw@redhat.com>
15394
15395         * src/nm-activation-request.c
15396                 - (nm_act_request_unref): actually free the structure,
15397                         which we didn't seem to be doing before
15398
15399 2005-09-04  Dan Williams  <dcbw@redhat.com>
15400
15401         Patch from John Palmieri <johnp@redhat.com>
15402         * gnome/applet/applet-dbus-devices.c
15403                 - Fix up unreffing of DBusMessage objects
15404
15405 2005-09-04  Dan Williams  <dcbw@redhat.com>
15406
15407         Patch from John Palmieri <johnp@redhat.com>
15408         * gnome/applet/nm-device.c
15409                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15410
15411 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15412
15413         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15414
15415 2005-09-02  Bill Nottingham  <notting@redhat.com>
15416
15417         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15418
15419 2005-09-01  Dan Williams  <dcbw@redhat.com>
15420
15421         * src/NetworkManager.c
15422                 - (nm_remove_device_from_list): rename to nm_remove_device
15423                 - (nm_hal_device_removed): call nm_remove_device()
15424
15425         * src/NetworkManagerDevice.c
15426                 - Change the NMWirelessScanCB member 'reschedule' which
15427                         wasn't used to 'force' to indicate that we need to
15428                         force a scan when adding a device
15429
15430         * src/nm-dbus-nm.c
15431                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15432                         from the device list
15433                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15434
15435 2005-09-01  Robert Love  <rml@novell.com>
15436
15437         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15438           and the check "!iface" in the error case is probably never true.
15439
15440 2005-09-01  Dan Williams  <dcbw@redhat.com>
15441
15442         Patch from Bill Nottingham <notting@redhat.com>
15443         * src/backends/NetworkManagerRedHat.c
15444                 - Add initial dialup support to Red Hat/Fedora backend
15445
15446 2005-09-01  Dan Williams  <dcbw@redhat.com>
15447
15448         * gnome/applet/applet-dbus-devices.c
15449                 - Sort both wireless networks and devices again, which got
15450                         broken when removing threading
15451
15452 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15453
15454         * gnome/applet/applet.c:
15455         Only show the "Stop/Start All Wireless Devices" menuitem
15456         if we actually have wireless devices.
15457
15458         * gnome/applet/applet-dbus-info.c:
15459         * gnome/applet/applet.c:
15460         * gnome/applet/other-network-dialog.c:
15461         * gnome/applet/vpn-password-dialog.c:
15462         Drop the gtk_dialog_run () calls in favor of connecting to
15463         "response" signals, needed now that the applet is not threaded.
15464
15465 2005-08-31  Dan Williams  <dcbw@redhat.com>
15466
15467         Patch from Bill Moss <bmoss@clemson.edu>
15468         * src/NetworkManagerDevice.c
15469                 - (nm_device_wireless_scan): fix scan timeout values
15470
15471 2005-08-30  Dan Williams  <dcbw@redhat.com>
15472
15473         * gnome/applet/wireless-applet.glade
15474                 - HIG-ify the Other Wireless Networks dialog a bit more
15475                 - Fix some potential segfaults in the info dialog
15476
15477 2005-08-30  Dan Williams  <dcbw@redhat.com>
15478
15479         * gnome/applet/applet-dbus-devices.c
15480                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15481
15482 2005-08-30  Dan Williams  <dcbw@redhat.com>
15483
15484         * gnome/applet/applet-dbus.[ch]
15485                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15486                         they weren't being used anyway
15487
15488 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15489
15490         * test/nmtestdevices.c: (print_usage), (main):
15491         Check the number of arguments, and fix a typo
15492
15493 2005-08-29  Dan Williams  <dcbw@redhat.com>
15494
15495         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15496         * gnome/applet/applet.c
15497                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15498
15499 2005-08-29  Dan Williams  <dcbw@redhat.com>
15500
15501         * gnome/applet/*
15502                 - Don't use threads any more.  Anything that blocks
15503                         (like gtk_dialog_run()) will  have to get fixed up which
15504                         should happen quickly.  We really only had threads to make
15505                         the animation smooth, and when everything got converted over
15506                         to DBus Pending Calls, the need for threads kind of went away
15507
15508 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15509
15510         * gnome/applet/applet.c: Draw VPN connections as radio items
15511         since we don't yet support multiple VPNs.
15512         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15513         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15514
15515 2005-08-29  Dan Williams  <dcbw@redhat.com>
15516
15517         Patch from j@bootlab.org
15518         - Make --without-named work
15519         - Make --with-dhcdbd work correctly
15520
15521 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15522
15523         * configure.in: Added "ca" to ALL_LINGUAS.
15524
15525 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15526
15527         * Fix up VPN state handling between the applet and NetworkManager,
15528                 so that the applet doesn't show a VPN as connected when one
15529                 really is not
15530                         - The applet no longer has a pointer to the active VPN's
15531                                 name, but tracks each VPNs state individually
15532                         - NM no longer has a "getActiveVPNConnection" method
15533                         - NM no longer broadcasts the "VPNConnectionChange" signal
15534                         - NM now broadcasts a "VPNConnectionStateChange" signal
15535                                 whenever the state of a VPN changes
15536
15537 2005-08-26  Dan Williams <dcbw@redhat.com>
15538
15539         * gnome/applet/applet-dbus-devices.c
15540           gnome/applet/applet-dbus-vpn.c
15541                 - Remove calls to dbus_pending_call_ref() because we already
15542                         "own" the pending call
15543                 - Remove calls to dbus_pending_call_get_completed() because
15544                         when we are in the callback, the pending call is completed
15545                         by definition
15546
15547 2005-08-22  Dan Williams <dcbw@redhat.com>
15548
15549         Patch by Bill Moss <bmoss@clemson.edu>
15550         * src/dhcp-manager/nm-dhcp-manager.c
15551                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15552                         some time to send out a RELEASE if they like
15553
15554 2005-08-22  Dan Williams <dcbw@redhat.com>
15555
15556         Noticed by Bill Moss <bmoss@clemson.edu>
15557         * src/NetworkManagerDbus.c
15558                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15559                         instead of just cancelling its activation
15560
15561         * src/NetworkManagerDevice.c
15562                 - (nm_device_deactivate): some small cleanups
15563                 - (nm_device_set_user_key_for_network): deactivate the device
15564                         instead of just cancelling its activation
15565
15566 2005-08-22  Dan Williams <dcbw@redhat.com>
15567
15568         Noticed by Bill Moss <bmoss@clemson.edu>
15569         * src/NetworkManagerDevice.c
15570                 - (nm_device_wireless_scan): fix scan timeout, we were
15571                         waiting way too long for scans to complete
15572
15573 2005-08-22  Dan Williams <dcbw@redhat.com>
15574
15575         Patch from j@bootlab.org:
15576         * src/backends/NetworkManagerDebian.c
15577                 - Make the Debian backend work for static IP again
15578
15579 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15580
15581         * gnome/applet/other-network-dialog.c:
15582         The "Create New Network" and "Connect to Other Network"
15583         dialogs share alot of code, but shouldn't share a window
15584         title.  Give them different ones.
15585
15586         * gnome/applet/wireless-applet.glade:
15587         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15588         Some more minor UI tweaks.
15589
15590 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15591
15592         * gnome/applet/other-network-dialog.c:
15593         * gnome/applet/wireless-applet.glade:
15594         Also need mnemonic widgets, and underline enabled.
15595
15596 2005-08-19  Dan Williams <dcbw@redhat.com>
15597
15598         * vpn-daemons/vpnc/nm-vpnc-service.c
15599                 - (vpnc_watch_cb): remove no-longer-relevant comment
15600                 - (write_config_option): new function, helper to write
15601                         config options to vpnc's stdin
15602                 - (nm_vpnc_config_write): use the new helper, make the
15603                         code shorter
15604
15605 2005-08-19  Christopher Aillon <caillon@redhat.com>
15606
15607         * gnome/applet/passphrase-dialog.c:
15608         * gnome/applet/wireless-applet.glade:
15609         Make the passphrase dialog response based, and treat
15610         responses other than OK (such as Esc, [X]) as a cancel.
15611
15612 2005-08-18  Christopher Aillon <caillon@redhat.com>
15613
15614         * initscript/Gentoo/NetworkManager:
15615         * initscript/RedHat/NetworkManager:
15616         * initscript/RedHat/NetworkManagerDispatcher:
15617         * initscript/SUSE/networkmanager:
15618         CVS remove these in place of .in replacements
15619
15620         * configure.in:
15621         * initscript/Gentoo/NetworkManager.in:
15622         * initscript/RedHat/NetworkManager.in:
15623         * initscript/RedHat/NetworkManagerDispatcher.in:
15624         * initscript/SUSE/networkmanager.in:
15625         These scripts now are generated so they work still when
15626         NM is built using a bindir other than /usr/bin
15627
15628 2005-08-18  Dan Williams <dcbw@redhat.com>
15629
15630         * gnome/applet/main.c
15631                 - Revert previous change for --no-session since
15632                         --sm-disable does the same thing
15633
15634 2005-08-18  Dan Williams <dcbw@redhat.com>
15635
15636         * gnome/applet/applet-dbus-info.c
15637                 - (nmi_dbus_create_error_message): new function
15638                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15639                         functions.  Also don't check for both device _and_ network before
15640                         asking for a user's key, because we may not have gotten all our
15641                         networks back from NM quite yet (due to the dbus pending calls
15642                         coming in later).  Fixes a hang in NM/nm-applet.
15643
15644         * src/NetworkManagerDbus.c
15645                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15646                         slightly more sane manner, even though we are still broken for
15647                         certain other error conditions.
15648                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15649                         to the info-daemon too
15650
15651         * src/NetworkManagerDevice.c
15652                 - Fix some debug messages to be info messages instead
15653
15654 2005-08-18  Dan Williams <dcbw@redhat.com>
15655
15656         * gnome/applet/main.c
15657                 - Add new "--no-session" parameter that disables applet
15658                         session management, ie for testing
15659
15660 2005-08-18  Christopher Aillon <caillon@redhat.com>
15661
15662         * gnome/applet/other-network-dialog.c:
15663         * gnome/applet/wireless-applet.glade: More mnemonics
15664
15665 2005-08-17  Robert Love  <rml@novell.com>
15666
15667         * initscript/SUSE/networkmanager: update
15668
15669 2005-08-17  Dan Williams  <dcbw@redhat.com>
15670
15671         * Tag NM_0_4_1_RELEASE
15672
15673 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15674
15675         * gnome/applet/applet.c: More translatable string cleanup
15676
15677
15678 2005-08-17  Dan Williams  <dcbw@redhat.com>
15679
15680         * gnome/applet/applet-dbus-info.c
15681                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15682                         from the dbus message, which tells us to unconditionally
15683                         ask the user for a new key.  Otherwise, we pull the key from
15684                         the keyring and return it.  If we fail to get the key from the
15685                         keyring, we ask the user for a new key.
15686                 - (nmi_dbus_get_network_key): new function to grab the key for
15687                         an essid from the keyring.
15688                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15689                         Also, don't return any key in the dbus message.
15690
15691         * src/NetworkManagerDbus.[ch]
15692                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15693                         indicate that we unconditionally want a new key.  This function
15694                         is now also used to get keys from the info-daemon which are
15695                         pre-stored, not just for asking the user for a new key.  The
15696                         "new_key" parameter indicates whether or not we wish to ask the
15697                         user for a new key.
15698                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15699                         info-daemon in the return message, so use NULL instead.  The
15700                         key will be filled in at connect time by calling
15701                         nm_dbus_get_user_key_for_network()
15702
15703         * src/NetworkManagerDevice.c
15704                 - (nm_device_wireless_configure): update for "new_key" param to
15705                         nm_dbus_get_user_key_for_network().  We initially set new_key
15706                         to FALSE to see if we have a stored key in the info-daemon, but
15707                         if the connection is unsuccessful at this stage we request a
15708                         new one
15709
15710 2005-08-17  Dan Williams  <dcbw@redhat.com>
15711
15712         * gnome/applet/icons/nm-no-connection.png
15713           gnome/applet/icons/nm-device-wired.png
15714                 - Use Diana's new RJ45 connector icons
15715
15716 2005-08-17  Dan Williams  <dcbw@redhat.com>
15717
15718         * src/NetworkManagerPolicy.c
15719                 - (nm_policy_device_change_check): clarify switching rules if
15720                         both new and old devices are valid; mainly, don't switch
15721                         away from user-requested wireless connection back to a wired
15722                         one
15723
15724 2005-08-17  Dan Williams  <dcbw@redhat.com>
15725
15726         * gnome/applet/Makefile.am
15727                 - Relocate the applet to /usr/bin since it is no longer
15728                         executed by anything, but directly by the user
15729
15730 2005-08-17  Dan Williams  <dcbw@redhat.com>
15731
15732         Patch from Bill Moss <bmoss@clemson.edu>
15733
15734         * gnome/applet/applet-dbus-info.[ch]
15735                 - (nmi_save_network_info): save timestamp for network if it
15736                         was a change requested by the user
15737                 - (nmi_dbus_update_network_info): get user_requested from dbus
15738                         message and pass to nmi_save_network_info()
15739
15740         * gnome/applet/applet.c
15741                 - (nmwa_update_network_timestamp): remove
15742                 - (nmwa_menu_item_activate): don't set timestamp on networks
15743                         here, only after a successful connect in nmi_save_network_info()
15744
15745         * src/NetworkManagerDbus.[ch]
15746                 - (nm_dbus_update_network_info): pass user_requested into the 
15747                         dbus message
15748
15749         * src/NetworkManagerPolicy.c
15750                 - (nm_policy_activation_finish): pass user_requested to
15751                         nm_dbus_update_network_info()
15752
15753 2005-08-16  Robert Love  <rml@novell.com>
15754
15755         * gnome/applet/applet.c: Better "Dial Up" menu item.
15756
15757 2005-08-16  Robert Love  <rml@novell.com>
15758
15759         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15760           "Connection Information" menu item.
15761
15762 2005-08-16  Dan Williams  <dcbw@redhat.com>
15763
15764         Patch from j@bootlab.org
15765         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15766
15767         * configure.in: allow specifying the path to dhcdbd
15768
15769 2005-08-16  Robert Love  <rml@novell.com>
15770
15771         Patch from j@bootlab.org
15772         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15773           src/backends/interface_parser.h: Debian dialup support.
15774
15775 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15776
15777         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15778         * gnome/applet/applet.c: Add some mnemonics for VPNC
15779
15780         * vpn-daemons/.cvsignore: fix this up a little bit
15781
15782 2005-08-16  Robert Love  <rml@novell.com>
15783
15784         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15785           support.
15786
15787 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15788
15789         * gnome/applet/applet.c: Split markup out of translatable strings
15790         and clean up logic a little bit.  (fixes #309012)
15791
15792 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15793
15794         * gnome/vpn-properties/nm-vpn-properties.c:
15795         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15796         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15797         Makeshift fix to remove newlines from translatable strings.
15798         Note that we now return an allocated string, so callers of
15799         get_confirmation_details () must now call g_free () on the
15800         result. (fixes #309033).
15801
15802 2005-08-12  Robert Love  <rml@novell.com>
15803
15804         * gnome/applet/applet-dbus.c: remove newlines from translatable
15805           strings--not needed here anyway. (fix b.g.o #309011)
15806         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15807
15808 2005-08-11  Robert Love  <rml@novell.com>
15809
15810         * gnome/applet/applet.c: mark string as translatable.
15811
15812 2005-08-11  Robert Love  <rml@novell.com>
15813
15814         * initscript/SUSE/networkmanager: update.
15815
15816 2005-08-11  Dan Williams  <dcbw@redhat.com>
15817
15818         * src/nm-dhcp-manager.c
15819                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15820                         an gateway returned from DHCP, try to use the address of the DHCP
15821                         server as the gateway instead.  Found by Ralf Ertzinger.
15822
15823 2005-08-10  Robert Love  <rml@novell.com>
15824
15825         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15826           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15827
15828 2005-08-10  Dan Williams  <dcbw@redhat.com>
15829
15830         Patch from Bill Moss <bmoss@clemson.edu>
15831         * Consolidate writes of access point information updates to the info daemon
15832                 so that we only do it when the connection to the access point was
15833                 successful.  Also consolidates updates to GConf in the Gnome applet.
15834
15835         * src/nm-netlink-monitor.c
15836                 - Silence compile warning when calling g_object_new()
15837
15838 2005-08-08  Dan Williams  <dcbw@redhat.com>
15839
15840         Patch from Steev <steev@steev.net>:
15841         * src/backends/NetworkManagerGentoo.c
15842                 - Stub new dialup backend functions
15843
15844 2005-08-08  Dan Williams  <dcbw@redhat.com>
15845
15846         Patch from Colin Slater:
15847         * src/backends/NetworkManagerGentoo.c
15848                 - (nm_system_update_dns): Fix exit status check for restarting
15849                         nscd
15850
15851 2005-08-05  Robert Love  <rml@novell.com>
15852
15853         * NetworkManager.h,
15854           gnome/applet/applet-dbus-devices.c,
15855           gnome/applet/applet-dbus-devices.h,
15856           gnome/applet/applet-dbus.c,
15857           gnome/applet/applet.c,
15858           gnome/applet/applet.h,
15859           src/NetworkManager.c,
15860           src/NetworkManagerMain.h,
15861           src/NetworkManagerSystem.h,
15862           src/backends/NetworkManagerRedHat.c,
15863           src/backends/NetworkManagerSuSE.c,
15864           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15865
15866 2005-08-05  Robert Love  <rml@novell.com>
15867
15868         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15869           machine's hostname to make adhoc creation idiot-proof.
15870
15871 2005-08-04  Robert Love  <rml@novell.com>
15872
15873         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15874           freed.
15875
15876 2005-08-04  Dan Williams  <dcbw@redhat.com>
15877
15878         * gnome/applet/applet-dbus-info.c
15879           gnome/applet/applet-dbus-info.h
15880                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15881                         to store key, key type, and auth method rather than just auth method
15882                 - (nmi_dbus_update_network_info): new function
15883                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15884
15885         * gnome/applet/passphrase-dialog.c
15886                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15887                         of saving the info ourselves
15888
15889         * gnome/libnm_glib/libnm_glib.c
15890                 - Remove the stupid version check for dbus
15891
15892         * src/NetworkManagerAP.c
15893           src/NetworkManagerAP.h
15894                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15895
15896         * src/NetworkManagerDbus.c
15897           src/NetworkManagerDbus.h
15898                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15899                         more than just the auth method
15900
15901         * src/NetworkManagerDevice.c
15902                 - Update network info at the appropriate times
15903
15904 2005-07-29  Ray Strode  <rstrode@redhat.com>
15905
15906         * src/NetworkManager.c (nm_info_handler): don't use input as format
15907         string (Spotted by Ian Jackson).
15908
15909 2005-07-27  Dan Williams  <dcbw@redhat.com>
15910
15911         * src/nm-dbus-nm.c
15912           src/nm-dbus-net.c
15913                 - Random cleanups of spacing
15914
15915         * gnome/applet/applet.h
15916           gnome/applet/other-network-dialog.c
15917           gnome/applet/passphrase-dialog.c
15918                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15919
15920         Patch from Bill Moss:
15921                 - Make Other Wireless Networks work again with encryption keys
15922
15923 2005-07-26  Dan Williams  <dcbw@redhat.com>
15924
15925         Patch from Steev <steev@steev.net>:
15926         * src/backends/NetworkManagerGentoo.c
15927           src/backends/Makefile.am
15928                 - Fix up Gentoo backend
15929
15930 2005-07-26  Robert Love  <rml@novell.com>
15931
15932         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15933
15934 2005-07-25  Robert Love  <rml@novell.com>
15935
15936         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15937           in the same group as the wireless networks, since they are all
15938           mutually exclusive.
15939
15940 2005-07-24  Ray Strode  <rstrode@redhat.com>
15941
15942         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15943         remove unneeded NULL arg from g_object_new().  Any
15944         warnings caused by not having the extra NULL are just a
15945         result of a bug in glib 2.7.0 - 2.7.2.
15946
15947 2005-07-22  Robert Love  <rml@novell.com>
15948
15949         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15950
15951 2005-07-22  Robert Love  <rml@novell.com>
15952
15953         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15954           parameters (gcc 4.0.2 warning fix).
15955
15956 2005-07-18  Robert Love  <rml@novell.com>
15957
15958         Suggested by Aaron Bockover (abockover@novell.com)
15959         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15960           s/Ascii/ASCII
15961         * gnome/applet/passphrase-dialog.c: ditto
15962         * gnome/applet/wireless-applet.glade: ditto
15963
15964 2005-07-13  Dan Williams  <dcbw@redhat.com>
15965
15966         Patch from Ray Strode <halfline@gmail.com>
15967         * vpn-daemons/vpnc/nm-vpnc-service.c
15968                 - Don't let vpnc daemonize, fixes some races with PID file reading
15969
15970 2005-07-13  Dan Williams  <dcbw@redhat.com>
15971
15972         Patch from Ray Strode <halfline@gmail.com>
15973         * Random cleanups for strict CFLAGS
15974
15975 2005-07-07  Dan Williams  <dcbw@redhat.com>
15976
15977         Patch from Derek Atkins <warlord@MIT.EDU>
15978         * src/nm-dbus-net.c:
15979                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15980
15981 2005-07-07  Dan Williams  <dcbw@redhat.com>
15982
15983         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15984         * src/backends/NetworkManagerGentoo.c
15985                 - Gentoo backend Static IP nameserver fixes
15986                 - General Gentoo backend goodness
15987
15988 2005-07-07  Dan Williams  <dcbw@redhat.com>
15989
15990         Patch from Bastien Nocera:
15991         * gnome/applet/applet.c
15992                 - Fix up error reporting when icons or glade files are missing
15993
15994 2005-07-07  Robert Love  <rml@novell.com>
15995
15996         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15997           are not any VPN connections above it.
15998
15999 2005-07-07  Robert Love  <rml@novell.com>
16000
16001         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16002
16003 2005-07-05  Robert Love  <rml@novell.com>
16004
16005         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16006           zero.
16007
16008 2005-07-05  Robert Love  <rml@novell.com>
16009
16010         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16011           on wired or unencrypted wireless.
16012
16013 2005-07-01  Robert Love  <rml@novell.com>
16014
16015         * src/NetworkManagerSystem.c: Print the error via strerror().
16016
16017 2005-06-30  Robert Love  <rml@novell.com>
16018
16019         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16020           then exit if the glade file is not found.  currently the application
16021           just hangs.
16022
16023 2005-06-30  Robert Love  <rml@novell.com>
16024
16025         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16026           explicitly up all interfaces on wake from sleep.
16027
16028 2005-06-30  Robert Love  <rml@novell.com>
16029
16030         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16031           with information about the currently active connection.
16032         * gnome/applet/applet.h: (ditto)
16033         * gnome/applet/wireless-applet.glade: (ditto), new file
16034
16035 2005-06-30  Robert Love  <rml@novell.com>
16036
16037         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16038         * src/nm-dbus-nm.c: print when we sleep and wake up.
16039         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16040         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16041           in /sbin unless D-BUS is, folks).
16042         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16043
16044 2005-06-27  Robert Love  <rml@novell.com>
16045
16046         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16047           case.
16048
16049 2005-06-27  Robert Love  <rml@novell.com>
16050
16051         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16052           items radios.
16053
16054 2005-06-26  Robert Love  <rml@novell.com>
16055
16056         * src/NetworkManagerDevice.c: be specific about which device in
16057           nm_info() message.
16058
16059 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16060
16061         * src/nm-netlink-monitor.c: correct spelling error.
16062
16063 2005-06-23  Robert Love  <rml@novell.com>
16064
16065         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16066         * gnome/applet/passphrase-dialog.c: more of that keyring!
16067
16068 2005-06-23  Robert Love  <rml@novell.com>
16069
16070         * configure.in: remove extraneous GNOMEKEYRING directives.
16071         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16072         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16073         * gnome/applet/passphrase-dialog.c: whitespace.
16074
16075 2005-06-23  Robert Love  <rml@novell.com>
16076
16077         * src/NetworkManagerDevice.c: division in assignment was flipped.
16078
16079 2005-06-23  David Zeuthen  <david@fubar.dk>
16080
16081         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16082         signal to the child to indicate that we got what we wanted when we
16083         see two new-lines right after each other.
16084         (nmwa_vpn_request_password): Pass a structure with several members
16085         instead of just the passwords
16086
16087 2005-06-23  Dan Williams <dcbw@redhat.com>
16088
16089         * src/NetworkManager.c
16090           src/NetworkManagerMain.h
16091                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16092                 - (nm_hal_init): new function, init libhal context then add devices
16093                 - (nm_hal_deinit): new function, clean up libhal context
16094                 - (nm_data_free): Move Hal cleanup here
16095                 - (main): check whether Hal is running, and if so, get a list of
16096                         network devices from it
16097
16098         * src/NetworkManagerDbus.c
16099                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16100                         and when it appears, get a list of network devices from it.  If
16101                         Hal goes away, clean up the libhal context
16102
16103 2005-06-22  Robert Love  <rml@novell.com>
16104
16105         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16106           permissions of scripts before executing.
16107
16108 2005-06-21  Robert Love  <rml@novell.com>
16109
16110         * initscript/SUSE/networkmanager: update.
16111         * src/backends/NetworkManagerSuSE.c: cleanup.
16112
16113 2005-06-21  Robert Love <rml@novell.com>
16114
16115         * gnome/applet/applet.c: use menu mnemonics.
16116         * gnome/applet/menu-items.c: (ditto)
16117
16118 2005-06-21  Robert Love  <rml@novell.com>
16119
16120         * applet/applet-dbus-devices.c: mark non-static functions static.
16121         * applet/applet-dbus-vpn.c: (ditto)
16122         * applet/applet.c: (ditto)
16123         * applet/nm-device.h: (ditto)
16124         * applet/other-network-dialog.c: (ditto)
16125         * applet/passphrase-dialog.c: (ditto)
16126         * NetworkManager.c: (ditto)
16127         * NetworkManagerDbus.c: (ditto)
16128         * NetworkManagerDevice.c: (ditto)
16129         * NetworkManagerPolicy.c: (ditto)
16130         * NetworkManagerUtils.c: (ditto)
16131         * NetworkManagerWireless.c: (ditto)
16132         * NetworkManagerWireless.h: (ditto)
16133         * nm-netlink-monitor.c: (ditto)
16134         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16135         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16136         * autoip.c: include autoip.h.
16137         * autoip.h: new file.  define get_autoip().
16138         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16139         * NetworkManagerDbus.h: remove duplicate definitions.
16140
16141 2005-06-20  Robert Love  <rml@novell.com>
16142
16143         * Makefile.am: Add missing intltool-foo.in generated files to
16144           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16145           with the start of stuff to cleanup on 'distclea'.
16146         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16147           stuff right and 'distcheck' works.
16148         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16149           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16150           Makefile.am for each.  And systray/Makefile needs to be redone.
16151
16152 2005-06-19  Dan Williams <dcbw@redhat.com>
16153
16154         * src/NetworkManagerDevice.c
16155         - (nm_device_wireless_process_scan_results): scan every 20s when
16156           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16157
16158 2005-06-19  Dan Williams <dcbw@redhat.com>
16159
16160         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16161
16162 2005-06-18  Ray Strode <rstrode@redhat.com>
16163
16164         * src/nm-netlink-monitor.c 
16165         (nm_netlink_monitor_event_handler): check for the presence
16166         of either error condition not both. 
16167         
16168         (nm_netlink_monitor_error_handler): emit error signal if
16169         error occurs.
16170
16171         (nm_netlink_monitor_event_handler),
16172         (nm_netlink_monitor_error_handler),
16173         (nm_netlink_monitor_disconnect_handler): if an 
16174         assertion fails disconnect the event handler to prevent 
16175         infinite loops.
16176
16177         * src/nm-netlink-monitor.h: add new error condition
16178         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16179
16180 2005-06-18  Ray Strode <rstrode@redhat.com>
16181
16182         * src/nm-netlink-monitor.c 
16183         (nm_netlink_monitor_event_handler): remove bogus < 0
16184         check on unsigned value and return early if the kernel
16185         didn't send any bytes.
16186
16187 2005-06-17  Robert Love  <rml@novell.com>
16188
16189         * initscript/SUSE/networkmanager: Change the Provides and default
16190         run levels
16191
16192 2005-06-16  Dan Williams <dcbw@redhat.com>
16193
16194         Patch from Robert Love:
16195         * gnome/applet/applet.c
16196                 - Beautify some applet menu item names
16197
16198 2005-06-17  David Zeuthen  <davidz@redhat.com>
16199
16200         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16201         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16202         Also add new methods can_export, import_file and export.
16203
16204         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16205         to the main UI
16206
16207         * gnome/vpn-properties/nm-vpn-properties.c:
16208         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16209         nm-vpn-ui-interface.h.
16210         (update_edit_del_sensitivity): Also update "Export" sensitivity
16211         (add_vpn_connection): Also add new SVC_NAME column
16212         (import_settings): New function
16213         (retrieve_data_from_selected_connection): New function
16214         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16215         this function
16216         (export_cb): New function
16217         (init_app): Also setup the "export" widget
16218         (main): Support the --import-service and --import-file commandline
16219         arguments
16220
16221         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16222         D-BUS 0.34
16223
16224 2005-06-16  Dan Williams <dcbw@redhat.com>
16225
16226         Patch from Robert Love:
16227         * gnome/applet/menu-items.c
16228                 - (network_menu_item_new): pass -1 as wireless network
16229                         menu items height size request rather than ascent / 2
16230
16231 2005-06-16  Dan Williams <dcbw@redhat.com>
16232
16233         * Clean up wording in Wireless Scan Methods menu items and constants
16234
16235 2005-06-16  Robert Love  <rml@novell.com>
16236
16237         * po/POTFILES.in
16238                 - remove gtkcell* files
16239
16240 2005-06-15  Dan Williams <dcbw@redhat.com>
16241
16242         Patch from Robert Love: make the applet stetic
16243
16244         * gnome/applet/Makefile.am
16245                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16246
16247         * gnome/applet/gtkcellview.h
16248           gnome/applet/gtkcellview.c
16249           gnome/applet/gtkcellrendererprogress.h
16250           gnome/applet/gtkcellrendererprogress.c
16251                 - Removed
16252
16253         * gnome/applet/menu-items.c
16254                 - Progress bars are 5:1 size ratio
16255                 - Use GTK progress bars rather than internal ones
16256
16257 2005-06-15  Dan Williams <dcbw@redhat.com>
16258
16259         Patch from Robert Love:
16260         * initscript/SUSE/networkmanager
16261                 - Fix typo
16262
16263 2005-06-15  Dan Williams <dcbw@redhat.com>
16264
16265         * src/backends/NetworkManagerSuSE.c
16266           src/backends/NetworkManagerRedHat.c
16267           src/backends/NetworkManagerDebian.c
16268                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16269
16270 2005-06-15  Dan Williams <dcbw@redhat.com>
16271
16272         * src/backends/NetworkManagerDebian.c
16273                 - Add nm_system_device_get_use_dhcp() to debian backend
16274
16275         Patch from Kay Sievers:
16276         * src/backends/NetworkManagerSuSE.c
16277                 - Update debian backend for static IP nameservers
16278
16279         * src/NetworkManagerDevice.c
16280                 - Actually set the device to use static IP or DHCP rather
16281                         than always DHCP
16282
16283 2005-06-15  Dan Williams <dcbw@redhat.com>
16284
16285         Patch from Thom May:
16286         * src/backends/NetworkManagerDebian.c
16287                 - Update debian backend for static IP nameservers
16288
16289 2005-06-15  Dan Williams <dcbw@redhat.com>
16290
16291         Patches from Robert Love:
16292         * gnome/applet/wireless-applet.glade
16293                 - Tighten up wording
16294
16295         * src/NetworkManagerDevice.c
16296                 - Remove misplaced ';'
16297
16298         * configure.in
16299           initscript/Makefile.am
16300           initscript/SUSE/Makefile.am
16301           initscript/SUSE/networkmanager
16302                 - Add SUSE initscript
16303
16304 2005-06-12  David Zeuthen  <davidz@redhat.com>
16305
16306         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16307
16308         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16309
16310         * gnome/vpn-properties/nm-vpn-properties.c: New file
16311
16312         * gnome/vpn-properties/Makefile.am: New file
16313
16314         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16315         array of passwords
16316
16317         * src/vpn-manager/nm-vpn-manager.c
16318         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16319         instead of just a single one
16320
16321         * src/vpn-manager/nm-dbus-vpn.c:
16322         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16323         here
16324         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16325
16326         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16327         Change the interface here to give a list of passwords. Also, don't
16328         require username, but do require service
16329
16330         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16331         the binary for the auth-dialog and use that instead of putting up a
16332         dialog asking for a single password
16333
16334         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16335         however do remember the service
16336
16337         * gnome/applet/main.c (main): Setup i18n
16338
16339         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16340         connection to '%s'" to the tooltip if we are connected using VPN
16341         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16342         key to determine whether we the auth-dialog needs to
16343         reprompt. Also cope with the fact that the auth-dialog now returns
16344         an array of passwords.
16345         (nmwa_menu_configure_vpn_item_activate): New handler for
16346         "Configure VPN..." menu item
16347         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16348         (is_vpn_available): New function to determine if we got any
16349         NM-compatible VPN software installed
16350         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16351         items only if we have NM-compatible VPN software installed
16352         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16353         logic for detecting when VPN connections are removed
16354
16355         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16356         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16357         since these are defined elsewhere
16358
16359         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16360         function used to keep track of whether the last attempt succeded
16361         (nmwa_dbus_filter): Update last_attempt according to whether the
16362         VPN connection could be established or not
16363
16364         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16365         Change prototype to take an array of passwords, not just a single
16366         password
16367
16368         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16369         update service, not user
16370         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16371         dbus_active_vpn_name is not NULL before using it
16372         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16373         string array instead of assuming a single password
16374
16375         * gnome/applet/applet-dbus-info.c:
16376         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16377         user name; don't read from gconf
16378
16379         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16380         VPN_NAME_FILES_DIR
16381
16382         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16383
16384         * configure.in: Add checks for gmodule-2.0.
16385         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16386         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16387         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16388         for details
16389
16390         * vpn-daemons/Makefile.am: Removed
16391
16392         * vpn-daemons/README: New file to describe extensions points for VPN
16393         software
16394
16395 2005-06-10  Dan Williams <dcbw@redhat.com>
16396
16397         * src/backends/NetworkManagerRedHat.c
16398                 - (get_current_profile_name): new function, grab current network profile name from
16399                         /etc/sysconfig/network
16400                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16401                         update an IP4 Config structure's settings from it
16402                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16403                         get DNS info from current network profile
16404
16405 2005-06-09  Dan Williams <dcbw@redhat.com>
16406
16407         Patch from Robert Love:
16408         * src/NetworkManagerDevice.c
16409           src/NetworkManagerUtils.c
16410                 - 64-bit build fixes
16411
16412 2005-06-09  Dan Williams <dcbw@redhat.com>
16413
16414         Patch from Kay Sievers and Robert Love:
16415         * configure.in
16416           src/backends/Makefile.am
16417           src/backends/NetworkManagerSuSE.c
16418                 - Add SuSE support
16419
16420 2005-06-09  Dan Williams <dcbw@redhat.com>
16421
16422         * NetworkManager.h
16423                 - Add NMWirelessScanMethod enum for scan methods
16424
16425         * gnome/applet/applet-dbus-devices.c
16426                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16427                 - (nmwa_dbus_update_scanning_enabled): remove
16428                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16429                         since it got removed
16430                 - (nmwa_dbus_enable_scanning): remove
16431
16432         * gnome/applet/applet-dbus-info.c
16433                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16434                         update the wireless scanning method from NMI
16435                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16436                         method value to NetworkManager
16437                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16438
16439         * gnome/applet/applet-dbus-info.h
16440                 - Add prototype for nmi_dbus_signal_update_scan_method
16441
16442         * gnome/applet/applet.c
16443                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16444                         Wireless Scanning menu based on current wireless scan method
16445                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16446                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16447                         and update our menu items to make sure the right one is checked
16448                 - (nmwa_set_scanning_enabled_cb): remove
16449                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16450                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16451                         Scanning menu item
16452                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16453                         from GConf
16454                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16455                         so we get notified of preference values too
16456                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16457
16458         * gnome/applet/applet.h
16459                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16460                 - Add wireless scan method member to applet data
16461                 - Remove pause_scanning_item, add Wireless Scanning submenu
16462
16463         * src/NetworkManager.c
16464                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16465                 - (main): grab scanning method from NMI if we can
16466
16467         * src/NetworkManagerDbus.c
16468                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16469                         nm_dbus_update_wireless_scan_method()
16470                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16471                         from NMI
16472                 - (nm_dbus_nmi_is_running): redundant function, removed
16473                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16474                         when NMI comes back
16475
16476         * src/NetworkManagerDevice.c
16477                 - (nm_device_is_activated): return TRUE if the device is activated
16478                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16479                         and we are activated
16480
16481         * src/nm-dbus-nm.c
16482                 - (nm_dbus_nm_set_scanning_enabled): removed
16483                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16484                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16485
16486 2005-06-09  Dan Williams <dcbw@redhat.com>
16487
16488         * NetworkManager.h
16489           src/vpn-manager/nm-vpn-service.c
16490                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16491
16492 2005-05-27  Dan Williams <dcbw@redhat.com>
16493
16494         * vpn-daemons/vpnc/nm-vpnc-service.c
16495                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16496                         Should fix the bug where the VPN connection terminates the first time.
16497
16498 2005-05-20  Dan Williams <dcbw@redhat.com>
16499
16500         * NetworkManager.h
16501                 - Differentiate VPN config signals between bad VPN config options
16502                         and bad IP config
16503
16504         * gnome/applet/applet-dbus-info.h
16505                 - Add prototypes for wireless network and vpn connection update functions
16506
16507         * gnome/applet/applet-dbus.c
16508                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16509
16510         * gnome/applet/applet.c
16511                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16512                         error signals
16513                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16514                         propogation to NetworkManager
16515                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16516                         notify propogation to NetworkManager
16517
16518         * src/NetworkManagerDbus.c
16519                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16520                         are updating so a network can be removed from it if necessary
16521
16522         * src/vpn-manager/nm-vpn-manager.c
16523                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16524
16525         * vpn-daemons/vpnc/nm-vpnc-service.c
16526                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16527                 - (nm_vpnc_dbus_signal_launch_failed): remove
16528                 - (nm_vpnc_dbus_signal_connect_failed): remove
16529                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16530                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16531                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16532                         for new generalized error signal function, remove config file stuff
16533                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16534                         we can write configuration options to it
16535                 - (nm_vpnc_config_file_generate): removed
16536                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16537                 - (nm_vpnc_config_options_validate): validate the config options we receive
16538                         from NetworkManager to block potential exploits
16539                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16540                         starting vpnc
16541                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16542                         to NetworkManager
16543
16544 2005-05-16  Dan Williams  <dcbw@redhat.com>
16545
16546         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16547                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16548                         is not "connect"
16549
16550 2005-05-16  Dan Williams  <dcbw@redhat.com>
16551
16552         Patch from Tomislav Vujec <tvujec@redhat.com>
16553         * gnome/applet/applet-dbus-info.c
16554                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16555                         GConf and pass them to NetworkManager.  New key is 'routes' under
16556                         the VPN connection, and should be a string list
16557
16558         * src/NetworkManagerSystem.c
16559                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16560                         set them on the device when we set the rest of the VPN config.  Ensure
16561                         they are in the correct format since they are passed directly to the
16562                         command line.
16563
16564         * src/backends/NetworkManagerRedHat.c
16565           src/backends/NetworkManagerDebian.c
16566                 - (nm_system_device_add_route_via_device_with_iface): new function
16567
16568         * src/vpn-manager/nm-dbus-vpn.c
16569                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16570
16571         * src/vpn-manager/nm-vpn-manager.c
16572                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16573                         them into the IP4 config functions
16574
16575 2005-05-15  Dan Williams  <dcbw@redhat.com>
16576
16577         From Filip Miletic:
16578         * po/sr.po
16579           po/sr@Latn.po
16580           configure.in
16581                 - Serbian translation added
16582
16583 2005-05-15  Dan Williams  <dcbw@redhat.com>
16584
16585         * dispatcher-daemon/NetworkManagerDispatcher.c
16586                 - (main): sync arguments with NetworkManager and the applet, now use
16587                         "--no-daemon" rather than "daemon=no"
16588                 - (nmd_print_usage): Fix script path in usage message
16589
16590 2005-05-15  Dan Williams  <dcbw@redhat.com>
16591
16592         * src/NetworkManagerDevice.[ch]
16593           src/NetworkManagerPolicy.c
16594           src/NetworkManager.c
16595           src/nm-dbus-nm.c
16596                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16597                         longer send the DeviceNoLongerActive signal unconditionally, but only
16598                         when the device is actually active.
16599
16600         * dispatcher-daemon/NetworkManagerDispatcher.c
16601                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16602                         and simplify the logic
16603                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16604                         we free it later on
16605
16606         * initscript/RedHat/Makefile.am
16607           initscript/RedHat/NetworkManagerDispatcher
16608                 - Add initscript for NetworkManagerDispatcher
16609
16610
16611         Patch from Bill Moss:
16612         * dispatcher-daemon/NetworkManagerDispatcher.c
16613                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16614
16615         * src/NetworkManagerDbus.c
16616                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16617                         and DeviceNowActive gets signaled, then the device has a new IP address
16618                         anyway.  There's no need for a separate signal.
16619
16620         * src/NetworkManagerDevice.c
16621                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16622
16623         * src/NetworkManagerPolicy.c
16624                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16625                         activates successfully.  This kind of went missing when I reworked the
16626                         activation code.
16627
16628 2005-05-15  Dan Williams  <dcbw@redhat.com>
16629
16630         * configure.in
16631                 - Check for dhcdbd and error if its not found
16632
16633         * src/dhcp-manager/Makefile.am
16634           src/dhcp-manager/nm-dhcp-manager.c
16635                 - Use path to dhcdbd that configure found
16636
16637 2005-05-14  Dan Williams  <dcbw@redhat.com>
16638
16639         * gnome/applet/nm-device.c
16640                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16641                         sort wireless networks alphabetically
16642
16643         * gnome/applet/applet-dbus-devices.c
16644                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16645                         before copying them over to the GUI
16646
16647 2005-05-14  Dan Williams  <dcbw@redhat.com>
16648
16649         * src/NetworkManager.c
16650                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16651                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16652                         the device list, as does nm_get_active_device() which is called from
16653                         nm_vpn_manager_deactivate_vpn_connection().
16654
16655 2005-05-14  Dan Williams  <dcbw@redhat.com>
16656
16657         * NetworkManager.h
16658                 - Add signals for VPN Launch and Connect failures
16659
16660         * gnome/applet/applet-dbus.c
16661                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16662
16663         * gnome/applet/applet.c
16664                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16665                         function to handle all VPN failure messages
16666                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16667                         function to hanlde all VPN failure  messages
16668                 - (show_warning_dialog): work around focus-stealing prevention
16669
16670         * gnome/applet/other-network-dialog.c
16671           gnome/applet/passphrase-dialog.c
16672                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16673                         problem where it never enabled for ASCII Key and Hex Key types
16674
16675         * gnome/applet/wireless-applet.glade
16676                 - Add window title to Other Wireless Network Dialog
16677
16678         * src/vpn-manager/nm-dbus-vpn.c
16679                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16680                         function to handle all VPN failure messages
16681
16682         * src/vpn-manager/nm-vpn-manager.c
16683                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16684
16685         * vpn-daemons/vpnc/nm-vpnc-service.c
16686                 - (nm_vpnc_dbus_signal_launch_failed): new function
16687                 - (nm_vpnc_dbus_signal_connect_failed): new function
16688                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16689                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16690                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16691                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16692
16693 2005-05-11  Dan Williams  <dcbw@redhat.com>
16694
16695         * vpn-daemons/vpnc/nm-vpnc-service.c
16696                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16697                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16698                         file exists before trying to write it out.
16699
16700 2005-05-10  Dan Williams  <dcbw@redhat.com>
16701
16702     * gnome/applet/applet-dbus-device.c
16703         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16704             prevented just entering ESSID and leaving key and key type up to
16705             NetworkManager (which should have them already cached)
16706
16707 2005-05-08  Dan Williams  <dcbw@redhat.com>
16708
16709         * src/NetworkManagerPolicy.c
16710                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16711                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16712                         fix a situation where NM is told to terminate and the device stops activation,
16713                         but the main thread isn't aware of that because it would never have run
16714                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16715                         had already quit.
16716
16717         * src/NetworkManagerDevice.c
16718                 - (nm_device_probe_wired_link_state): cosmetic fixes
16719                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16720                         we've failed to activate or been canceled.
16721                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16722
16723 2005-05-08  Dan Williams  <dcbw@redhat.com>
16724
16725         * src/NetworkManagerWireless.c
16726                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16727                         value of WEXT quality structures, and add a debug message when we cannot
16728                         determine any quality % at all
16729
16730 2005-05-08  Dan Williams  <dcbw@redhat.com>
16731
16732         * src/dhcp-manager/nm-dhcp-manager.c
16733                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16734                         it goes down.
16735
16736 2005-05-06  Dan Williams  <dcbw@redhat.com>
16737
16738         * gnome/applet/applet-dbus-device.c
16739           gnome/applet/applet-dbus-info.c
16740           gnome/applet/applet-dbus.c
16741           gnome/applet/applet.c
16742           gnome/applet/applet.h
16743                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16744
16745         * gnome/applet/applet-dbus.c
16746                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16747                         so we notice when wired device's carriers come back on.  Should
16748                         fix issue with wired devices being grayed out even if the cable
16749                         is in, for devices that support carrier detection.
16750
16751         * gnome/applet/applet.c
16752                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16753                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16754                         tooltip message
16755                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16756                         Fix situation where applet wouldn't respond to menu selections
16757
16758         * src/NetworkManager.c
16759           src/NetworkManagerDevice.c
16760           src/NetworkManagerDbus.c
16761           src/NetworkManagerDbus.h
16762                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16763
16764         * src/NetworkManagerDbus.c
16765                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16766                         Remove, no longer used or relevant
16767                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16768                 - (nm_dbus_schedule_device_status_change_signal): add
16769
16770         * src/NetworkManagerDevice.c
16771                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16772                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16773                         ie don't deactivate them unless explicitly told to by the user.  Also send
16774                         CARRIER_OFF / CARRIER_ON signals when link changes
16775                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16776                         Don't print error message when device is no longer around
16777                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16778                         not just during activation
16779
16780         * src/NetworkManagerPolicy.c
16781                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16782                         auto-device-selection.
16783                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16784
16785         * src/NetworkManagerSystem.c
16786                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16787                         is no longer present (Bill Moss)
16788
16789         * src/backends/shvar.c
16790                 - (svOpenFile): Open read-only to make SELinux happy
16791
16792         * src/backends/NetworkManagerRedHat.c
16793                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16794                         the path to the ifcfg-* files
16795
16796 2005-05-05  Dan Williams  <dcbw@redhat.com>
16797
16798         * Expose activation stages to NetworkManager clients, like the applet
16799         * Add Diana's progress icons to the applet, cued off NM activation stage
16800         * Use more descriptive tooltips, cued off NM activation stage
16801
16802 2005-05-05  Ray Strode  <rstrode@redhat.com>
16803
16804         * src/nm-netlink-monitor.c:
16805                 - Use clear_event_source instead of g_nullify_pointer() again.
16806
16807 2005-05-05  Dan Williams  <dcbw@redhat.com>
16808
16809         * gnome/applet/main.c
16810                 - Fix session management so the applet is actually managed now
16811
16812         * gnome/applet/passphrase-dialog.c
16813                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16814
16815 2005-05-05  Dan Williams  <dcbw@redhat.com>
16816
16817         Patch from Bill Moss:
16818         * gnome/libnm_glib/libnm_glib.c
16819                 - Fix for dbus-0.33
16820
16821 2005-05-05  Dan Williams  <dcbw@redhat.com>
16822
16823         Suggestion from Bill Moss:
16824         * src/NetworkManagerSystem.c
16825                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16826
16827
16828         * src/NetworkManager.c
16829                 - (nm_data_free): move destruction of the various managers after
16830                         release of device list, because deactivating and freeing a device
16831                         requires at least the named manager
16832                 - (nm_poll_and_update_wireless_link_state):
16833                   (nm_device_link_activated):
16834                   (nm_device_link_deactivated):
16835                         don't grab the device list lock when actually updating device
16836                         link status or strength, since nm_device_set_link_active()
16837                         needs to call nm_get_active_device(), which also locks the device list.
16838
16839         * src/NetworkManagerDevice.c
16840                 - (nm_device_set_link_active): if a device's link switches from off->on,
16841                         and it's wired, and the active device is wireless (or there is no
16842                         active device), activate the new device whose link just came on
16843                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16844                         my only calling the link to the current ap "failed" when more than 2
16845                         consecutive link checks have failed
16846
16847 2005-05-04  Dan Williams  <dcbw@redhat.com>
16848
16849         * src/NetworkManagerDevice.c
16850                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16851                         but let link_to_specific_ap() do the locking where it needs
16852
16853         Patch from Bill Moss:
16854         * src/NetworkManagerSystem.c
16855                 - Set MTU of VPN devices to 1412
16856
16857 2005-05-04  Dan Williams  <dcbw@redhat.com>
16858
16859         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16860
16861         * Fix some holes in device activation and retaining the currently connected
16862                 access point
16863
16864 2005-05-03  Dan Williams  <dcbw@redhat.com>
16865
16866         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16867           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16868           means you need dhcdbd, which you can get here (get the latest one):
16869
16870                 http://people.redhat.com/jvdias/dhcdbd/
16871
16872           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16873           interface as dhcdbd.
16874
16875         * Rewrite device activation to facilitate the new DHCP infrastructure and
16876           future improvements.  Its now "activation request" based, ie there is a single
16877           activation request composed of the device, access point, and other info which
16878           follows the entire activation process.  There are 5 stages of the activation
16879           process which correspond to:
16880
16881                 1) Device preparation
16882                 2) Device configuration (bring it up, set ESSID/Key/etc)
16883                 3) IP Config Start (fire off DHCP if we're using it)
16884                 4) IP Config Get (grab config from DHCP or static config files)
16885                 5) IP Config Commit (set device's IP address, DNS, etc)
16886
16887           Note that there is no longer a "scanning" step, since the access point must
16888           be known _before_ activation starts.  If the access point drops out or does
16889           not exist for some reason, the entire activation process fails and must be
16890           restarted for a different access point or device.
16891
16892         Patch from Bill Moss:
16893         * gnome/applet/applet.c
16894                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16895
16896 2005-04-27  Dan Williams  <dcbw@redhat.com>
16897
16898         * gnome/applet/applet-dbus-vpn.c
16899           gnome/applet/applet.c
16900           gnome/applet/applet.h
16901                 - Fix up active VPN handling so that we reliably know when a VPN
16902                         connection has been deactivated
16903
16904         * src/vpn-manager/nm-vpn-manager.c
16905                 - Remove duplicate VPNConnectionChange signal
16906
16907 2005-04-27  Dan Williams  <dcbw@redhat.com>
16908
16909         Patch from Peter Jones:
16910         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16911
16912         Patch from Bill Moss:
16913         * src/NetworkManagerSystem.c
16914                 - Fix checking of return value from ioctl()
16915
16916 2005-04-27  Dan Williams  <dcbw@redhat.com>
16917
16918         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16919         * Warn and exit if icons cannot be found
16920
16921 2005-04-27  Dan Williams  <dcbw@redhat.com>
16922
16923         Patch from Tom Parker:
16924         * Update debian backend
16925
16926 2005-04-27  Dan Williams  <dcbw@redhat.com>
16927
16928         * Merge the applet and the info-daemon, and move the converged
16929                 applet under gnome/applet
16930         * Move libnm_glib to gnome/libnm_glib
16931         * Convert most dbus calls between the applet, info-daemon, and NM
16932                 into async calls
16933         * Fix a few things valgrind noticed
16934         * Make NM broadcast state more reliably
16935
16936 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16937
16938         * configure.in: Added ne in ALL_LINGUAS
16939
16940 2005-04-15  Dan Williams  <dcbw@redhat.com>
16941
16942         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16943                 code for dbus 0.2x versions
16944
16945 2005-04-15  Dan Williams  <dcbw@redhat.com>
16946
16947         Patches from Tom Parker:
16948         - Fix memleaks
16949         - Join with worker thread rather than polling for its exit
16950
16951         Patch from Bill Moss:
16952         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16953
16954 2005-04-15  Dan Williams  <dcbw@redhat.com>
16955
16956         - Fixes to pass 'make distcheck'
16957
16958 2005-04-15  Dan Williams  <dcbw@redhat.com>
16959
16960         Initial VPN Support
16961                 - supports 'vpnc'
16962                 - reworks device IP configuration, backend files have changed and will need
16963                         to be updated for all distributions.  I will try to do what I can for
16964                         them, but I cannot test them.
16965
16966         - Move named directory to src/named-manager
16967         - Make backends directory self-contained
16968
16969 2005-04-06  Dan Williams  <dcbw@redhat.com>
16970
16971         Add debug code for socket/file descriptor leaks.  We register every socket
16972         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16973         list of sockets that we forgot to close on shutdown.  This also consolidates
16974         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16975
16976 2005-04-06  Dan Williams  <dcbw@redhat.com>
16977
16978         * dhcpcd/dhcpcd.c
16979                 - (dhcp_interface_free): fix a file descriptor leak that may have
16980                         caused network drivers to not unload due to refcounts > 0
16981
16982 2005-04-04  Dan Williams  <dcbw@redhat.com>
16983
16984         * panel-applet/NMWirelessAppletDbus.c
16985                 - (nmwa_dbus_call_nm_method): remove some commented code
16986
16987         * src/NetworkManagerAPList.[ch]
16988                 - (nm_ap_list_remove_ap_by_essid): new function
16989
16990         * src/NetworkManagerDevice.c
16991                 - (nm_device_wireless_force_use): remove access points from the ignore list
16992                         when the user forces them
16993
16994         * src/nm-dbus-device.c
16995                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16996
16997 2005-04-04  Dan Williams  <dcbw@redhat.com>
16998
16999         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17000
17001 2005-04-04  Dan Williams  <dcbw@redhat.com>
17002
17003         * src/NetworkManagerDevice.c:
17004                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17005                         of only erroring after the second consecutive scan times out.  Also
17006                         don't exit when the card requires more time than we can give it, just
17007                         log the event and continue.
17008
17009 2005-04-01  Steve Murphy  <murf@e-tools.com>
17010
17011         * configure.in: Added "rw" to ALL_LINGUAS.
17012
17013 2005-04-01  Dan Williams <dcbw@redhat.com>
17014
17015         Perform scans during device activation, if needed.  Both activation 
17016         and scans run in the same GMainContext.  Therefore, if an access point
17017         is not found by the time the device starts activation, it will not
17018         be available until after activation.  We now try to scan during
17019         activation (in nm_wa_test) every 15s so that all available access
17020         points are more likely to be found and available for the activation
17021         procedure.
17022
17023         Also change nm_wireless_link_state_handle() to only update the "best"
17024         AP if we are not forcing a device and if we are not about to change
17025         state.  This attempts to work around a race when forcing a device,
17026         where the forced AP would get cleared out too soon by the link state
17027         checking timeout in the main thread, and the activation attempt with
17028         that AP would fail.
17029
17030 2005-04-01  Dan Williams <dcbw@redhat.com>
17031
17032         * po/POTFILES.in
17033                 - Update with new translatables
17034
17035 2005-03-31  Dan Williams <dcbw@redhat.com>
17036
17037         * panel-applet/NMWirelessAppletDbus.c
17038                 - Fix device names now that hal has changed device parenting for
17039                         network devices.
17040
17041 2005-03-31  Dan Williams <dcbw@redhat.com>
17042
17043         Tighten up handling of wireless devices that don't support wireless
17044         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17045         hadn't been doing pseudo-scanning for a while either and would just
17046         spin waiting for an access point.  They are now manual devices where
17047         the user must choose the access point from the menu every time.  All
17048         "allowed" access points are listed in the applet's menu regardless
17049         of whether or not they can be seen by the card, since it can't scan
17050         anyway.
17051
17052         * src/NetworkManager.c
17053                 - (nm_wireless_link_state_handle): new function, but only update
17054                         the "best" ap for non-scanning devices when its not activating,
17055                         and when no device is being forced on the card
17056                 - (nm_link_state_monitor): split wireless link state handling out
17057                         into separate function
17058
17059         * src/NetworkManagerDevice.c
17060                 - (nm_device_copy_allowed_to_dev_list): new function
17061                 - (nm_device_new): populate non-scanning cards' AP lists with
17062                         access points from the "allowed" list
17063                 - (nm_device_new): don't start a scanning timeout for devices that
17064                         can't scan
17065                 - (nm_device_activation_schedule_finish): new parameter, should be
17066                         the AP that failed to be connected to, pass it on to the
17067                         activation finish function in NetworkManagerPolicy.c
17068                 - (nm_device_activate_wireless): don't ever try to get a new AP
17069                         for non-scanning devices, just fail.  The user must choose
17070                         a new access point manually.
17071                 - (nm_device_activate): grab the AP that failed connection and
17072                         pass it on
17073                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17074                         a link to it, user must manually choose a new one
17075                 - (nm_device_do_pseudo_scan): remove function
17076                 - (nm_device_wireless_process_scan_results): remove bits for non-
17077                         scanning cards since they never get here
17078                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17079                         and fake the scan list for test devices a bit earlier
17080
17081         * src/NetworkManagerPolicy.c
17082                 - (nm_policy_activation_finish): use the failed_ap that we get
17083                         passed rather than getting the best_ap from the card, which
17084                         may have changed since we were scheduled
17085                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17086                         update their scan list directly from the allowed list when
17087                         we get updates to the allowed list from NetworkManagerInfo
17088
17089         * src/NetworkManagerPolicy.h
17090                 - New member for failed access point in NMActivationResult
17091
17092   -------------------------------------
17093
17094         Driver Notification patch: notifies the user when their driver
17095                 sucks.  Gives them the option to ignore further insertions
17096                 of the card that has the sucky driver.
17097
17098         * NetworkManager.h
17099                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17100                         enum and replace it with NO_CARRIER_DETECT and
17101                         NO_WIRELESS_SCAN
17102
17103         * panel-applet/NMWirelessApplet.[ch]
17104                 - Merge essid.glade -> wireless-applet.glade
17105                 - Implement the "Your driver sucks" notification dialog
17106
17107         * panel-applet/NMWirelessAppletDbus.c
17108                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17109                 - Grab hardware address for each device from NM too
17110                 - Check whether the driver for each device sucks or not whenever
17111                         a new device is noticed
17112
17113         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17114                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17115
17116         * src/NetworkManager.c
17117                 - Fix a double-unref on device removal
17118
17119         * src/NetworkManagerUtils.c
17120                 - Set appropriate driver support level on a device that doesn't
17121                         support scanning or carrier detection
17122
17123         * src/nm-dbus-device.c
17124                 - New "getHWAddress" dbus method on devices
17125                 - getSupportsCarrierDetect -> getDriverSupportLevel
17126
17127 2005-03-31  Dan Williams <dcbw@redhat.com>
17128
17129         * src/NetworkManagerDevice.c
17130                 - (nm_device_wireless_scan): Fix leak of scan results in some
17131                         instances
17132
17133 2005-03-29  Dan Williams <dcbw@redhat.com>
17134
17135         * src/NetworkManager.c
17136                 - (nm_poll_and_update_wireless_link_state): make code less indented
17137
17138         Patch from Bill Moss:
17139         * src/NetworkManager.c
17140                 - (nm_device_update_link_state): Update signal strength on wireless
17141                         devices every time we update link state too.
17142
17143 2005-03-29  Dan Williams <dcbw@redhat.com>
17144
17145         * src/NetworkManagerDevice.c
17146                 - (nm_device_set_essid): Work around Orinoco cards which need
17147                         extra time after setting the ESSID
17148
17149 2005-03-29  Dan Williams <dcbw@redhat.com>
17150
17151         * src/NetworkManagerDevice.c
17152                 - Merge one more bit of Peter Jones' completion patch
17153
17154 2005-03-29  Dan Williams <dcbw@redhat.com>
17155
17156         * src/NetworkManagerDevice.c
17157                 - (nm_device_force_use): Fix possible segfault
17158
17159 2005-03-29  Dan Williams <dcbw@redhat.com>
17160
17161         * src/NetworkManagerDevice.c
17162                 - Use iw_get_ext() where we should rather than iw_set_ext()
17163
17164 2005-03-29  Dan Williams <dcbw@redhat.com>
17165
17166         * src/NetworkManagerDevice.c
17167                 - (nm_device_set_up_down): remove check for unsupported devices
17168                         that caused NM to not bring devices up when they were
17169                         added to the device list.
17170
17171 2005-03-28  Dan Williams <dcbw@redhat.com>
17172
17173         * src/NetworkManagerDevice.c
17174                 - (mdio_read): Fix two bugs that caused all devices to fail
17175                         the MII carrier detection support checks
17176
17177 2005-03-26  Dan Williams <dcbw@redhat.com>
17178
17179         * src/NetworkManagerDevice.c
17180                 - (nm_device_wireless_scan): Remove duplicated scanning code
17181
17182 2005-03-25  Dan Williams <dcbw@redhat.com>
17183
17184         * panel-applet/NMWirelessApplet.c
17185                 - (nmwa_about_cb): Add some more contributors
17186                 - (nmwa_update_state): show the applet when there's no connection
17187                 - Enable the "Stop/Resume all wireless devices" option in the
17188                         context menu
17189                 - New "no connection" icon
17190
17191         * src/NetworkManager.c
17192                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17193                         wireless is disabled or we're asleep
17194
17195         * src/NetworkManagerDHCP.c
17196                 - Remove trailing "\n" on debug messages
17197
17198         * src/NetworkManagerDbus.c
17199                 - (nm_dbus_network_status_from_data): new state "asleep"
17200
17201         * src/NetworkManagerDevice.c
17202                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17203                         latency and wait times for most operations
17204                 - (nm_device_wireless_scan): Don't scan when asleep
17205
17206         * src/NetworkManagerPolicy.c
17207                 - (nm_policy_get_best_device): return no device when asleep
17208                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17209                         for all wireless devices on update, not just active device
17210
17211         * src/NetworkManagerUtils.c
17212                 - Merge Peter Jones' "completion" patch
17213
17214         * src/nm-dbus-nm.c
17215                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17216                         we're told to disable them
17217                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17218
17219         * utils/nm-utils.h
17220                 - New variants of the warn/info/error/debug print functions that can take
17221                         variables rather than static strings
17222
17223 2005-03-24  Dan Williams <dcbw@redhat.com>
17224
17225         * src/NetworkManagerUtils.c
17226                 - (nm_get_device_driver_name): driver names are now on the parents of
17227                         "Network Interface" objects, so look for them there
17228
17229 2005-03-24  Dan Williams <dcbw@redhat.com>
17230
17231         * test/nmtest.c
17232                 - Escape some forgotten object paths before we shove them through dbus
17233
17234 2005-03-24  Dan Williams <dcbw@redhat.com>
17235
17236         * dhcpcd/dhcpcd.[ch]
17237           src/NetworkManagerDHCP.c
17238                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17239                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17240
17241         * src/NetworkManagerDbus.c
17242                 - spacing cleanups
17243
17244         * src/nm-dbus-dhcp.c
17245                 - Make the API suck less.  There is now only 1 type of each function,
17246                         ie only "getInteger" and no longer also "getIntegerv".  All types
17247                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17248                         that will never have more than 1 element.  This should simplify
17249                         things greatly.
17250
17251         * test/nm-dhcp-opt-test.c
17252                 - Make the tool not segfault
17253                 - adapt to new DHCP Options API
17254
17255 2005-03-22  Dan Williams <dcbw@redhat.com>
17256
17257         * src/NetworkManager.c
17258                 - (nm_wired_link_deactivated): actually ignore netlink events from
17259                         wireless devices.
17260
17261 2005-03-22  Dan Williams <dcbw@redhat.com>
17262
17263         * src/NetworkManager.c
17264                 - (nm_wired_link_activated): actually ignore netlink events from
17265                         wireless devices.
17266
17267 2005-03-17  Dan Williams <dcbw@redhat.com>
17268
17269         Patch from Tom Parker:
17270         * src/nm-netlink-monitor.c
17271                 - Include unistd.h
17272         * info-daemon/NetworkManagerInfoDbus.c
17273                 - (nmi_dbus_update_network_auth_method): free GConf values
17274
17275         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17276         * src/NetworkManagerDevice.c
17277                 - (nm_device_set_wireless_config): wait for successful
17278                         association longer for some cards (Atheros a/b/g)
17279
17280 2005-03-15  Ray Strode  <rstrode@redhat.com>
17281
17282         * src/NetworkManager.c:
17283         (sigterm_pipe_handler):
17284         remove bogus FIXME
17285
17286 2005-03-15  Ray Strode  <rstrode@redhat.com>
17287
17288         * src/NetworkManagerDbus.c:
17289         Fix some sign weirdness that gcc4 doesn't like,
17290         and add a header file so PPC can hopefully find
17291         SIGTRAP
17292
17293 2005-03-14  Ray Strode  <rstrode@redhat.com>
17294         
17295         Fourth (probably working) cut at porting to
17296         dbus 0.30 api and new hal. This cut adds
17297         some new logging macros to make debugging
17298         easier.
17299
17300         * dispatcher-daemon/NetworkManagerDispatcher.c:
17301         * info-daemon/NetworkmanagerInfo.c:
17302         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17303         * info-daemon/NetworkManagerInfoVPN.c:
17304         * src/NetworkManager.c:
17305         * src/NetworkManagerAP.c:
17306         * src/NetworkManagerAPList.c:
17307         * src/NetworkManagerDHCP.c:
17308         * src/NetworkManagerDbus.c:
17309         * src/NetworkManagerDevice.c:
17310         * src/NetworkManagerPolicy.c:
17311         * src/NetworkManagerSystem.c:
17312         * src/NetworkManagerUtils.c:
17313         * src/NetworkManagerWireless.c:
17314         * src/autoip.c:
17315         * src/nm-dbus-nm.c:
17316         * src/backends/NetworkManagerDebian.c:
17317         * src/backends/NetworkManagerGentoo.c:
17318         * src/backends/NetworkManagerRedHat.c:
17319         * src/backends/NetworkManagerSlackware.c:
17320         use new logging macros.
17321
17322         * dispatcher-daemon/NetworkManagerDispatcher.c:
17323         (nmd_dbus_filter): s/dbus_free/g_free/
17324
17325         * info-daemon/Makefile.am: link in utils library.
17326         * info-daemon/NetworkmanagerInfo.c: use new logging 
17327         macros.
17328         (nmi_dbus_get_network): don't assume enumerations
17329         are 32-bit.
17330         (nmi_dbus_nmi_message_handler): don't free what 
17331         doesn't belong to us.
17332
17333         * libnm_glib/libnm_glib.c:
17334         (libnm_glib_get_nm_status): 
17335         (libnm_glib_init): don't free what doesn't
17336         belong to us.
17337         (libnm_glib_dbus): strdup result, so it doesn't get
17338         lost when message is unref'd.
17339
17340         * panel-applet/NMWirelessAppletDbus.c:
17341         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17342
17343         * src/NetworkManager.c:
17344         (nm_monitor_wired_link_state): request initial status 
17345         dump of all cards when we start up, instead of relying
17346         on /sys/.../carrier.
17347         (nm_info_handler), (nm_set_up_log_handlers): 
17348         log handlers to specify what syslog priorites 
17349         the logging macros default to.
17350
17351         * src/NetworkManagerAPList.c: 
17352         (nm_ap_list_populate_from_nmi):
17353         s/dbus_free_string_array/g_strfreev/
17354
17355         * src/NetworkManagerDbus.c:
17356         (nm_dbus_get_network_object):
17357         validate d-bus message argument types.
17358         Advance message iterator after reading argument,
17359         prepend instead of append to GSList.
17360
17361         * src/NetworkManagerDevice.c:
17362         (nm_device_probe_wired_link_status):
17363         remove redundant /sys in /sys path. remove wrong
17364         contents == NULL means has carrier assumption.
17365
17366         * src/nm-netlink-monitor.c 
17367         (nm_netlink_monitor_request_status): implement
17368         function to ask kernel to dump interface link
17369         status over netlink socket.
17370
17371         * test/*.c: s/dbus_free/g_free/
17372
17373         * utils/nm-utils.h:
17374         (nm_print_backtrace): new macro to print backtrace.
17375         (nm_get_timestamp): new macro to get sub-second precise
17376         unix timestamp.
17377         (nm_info), (nm_debug), (nm_warning), (nm_error):
17378         new logging functions. nm_info just prints,
17379         nm_debug includes timestamp and function,
17380         nm_warning includes function, nm_error includes
17381         backtrace and sigtrap.
17382
17383 2005-03-11  Ray Strode  <rstrode@redhat.com>
17384
17385         Third (unfinished, partially working) cut at porting to 
17386         dbus 0.30 api and new hal.
17387
17388         * info-daemon/NetworkManagerInfoDbus.c:
17389                 don't free null arrays.
17390
17391         * panel-applet/NMWirelessAppletDbus.c: 
17392         * src/nm-dbus-device.c:
17393         * src/nm-dbus-net.c: 
17394         * src/NetworkManagerDbus.c: more 
17395         STRING -> OBJECT_PATH fun
17396         * src/NetworkManagerDevice.c:
17397         * src/NetworkManagerDevice.h:
17398         (rename nm_device_get_link_active): rename to 
17399         nm_device_has_active_link
17400         (nm_device_wireless_link_active): rename to
17401         nm_device_probe_wireless_link_state
17402         (nm_device_wired_link_active): rename to
17403         nm_device_probe_wired_link_state.  Rewrite to
17404         use carrier file since hal doesn't maintain
17405         link state anymore.
17406         (nm_device_update_link_active): rename to
17407         nm_device_update_link_state
17408         * src/NetworkManagerPolicy.c 
17409           (nm_policy_activation_finish): check for NULL
17410           MAC address.
17411
17412         * src/Makefile.am:
17413         * src/NetworkManagerMain.h: 
17414         * src/NetworkManager.c:
17415         * src/nm-netlink-monitor.c:
17416         * src/nm-netlink-monitor.h: New class to support
17417         monitoring wired ethernet link status, since HAL
17418         doesn't export that information anymore.
17419
17420 2005-03-09  Ray Strode  <rstrode@redhat.com>
17421
17422         Second (unfinished, unworking) cut at porting to 
17423         dbus 0.30 api.
17424
17425         * dispatcher-daemon/NetworkManagerDispatcher.c:
17426         * info-daemon/NetworkManagerInfoDbus.c:
17427         * panel-applet/NMWirelessAppletDbus.c:
17428         * src/NetworkManagerDbusUtils.c:
17429         * src/NetworkManagerDbusUtils.h:
17430         * src/nm-dbus-device.c:
17431         * src/nm-dbus-nm.c:
17432         * test/nmtest.c: support dbus "object path" type
17433
17434         * configure.in: 
17435         * Makefile.am:
17436         * info-daemon/Makefile.am:
17437         * libnm_glib/Makefile.am:
17438         * panel-applet/Makefile.am:
17439         * dispatcher-daemon/Makefile.am
17440         * src/Makefile.am:
17441         * test/Makefile.am:
17442         * utils/Makefile.am: 
17443         * utils/nm-utils.c: 
17444         * utils/nm-utils.h: new utils static lib
17445
17446 2005-03-07  Ray Strode  <rstrode@redhat.com>
17447
17448         * info-daemon/NetworkManagerInfoDbus.c:
17449         * libnm_glib/libnm_glib.c:
17450         * panel-applet/NMWirelessAppletDbus.c:
17451         * src/NetworkManager.c:
17452         * src/NetworkManagerDbus.c:
17453         * src/NetworkManagerDevice.c:
17454         * src/NetworkManagerUtils.c:
17455         * src/nm-dbus-device.c:
17456         * src/nm-dbus-dhcp.c:
17457         * src/nm-dbus-net.c:
17458         * src/nm-dbus-nm.c:
17459         * test/nminfotest.c:
17460         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17461
17462 2005-03-04  Dan Williams  <dcbw@redhat.com>
17463
17464         * configure.in
17465                 - Mark HEAD as 0.4
17466
17467 2005-03-04  Dan Williams  <dcbw@redhat.com>
17468
17469         Patch from Peter Jones:
17470         - Make stuff work with gcc 4.0
17471
17472 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17473
17474         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17475
17476 2005-02-27  Jim Huang  <jserv@kaffe.org>
17477
17478         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17479
17480 2005-02-27  Dan Williams  <dcbw@redhat.com>
17481
17482         Patch from Bill Moss:
17483         * panel-applet/NMWirelessAppletDbus.c
17484                 - Make sure strength for current access point is up-to-date when we
17485                         update the gui data model
17486
17487 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17488
17489         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17490
17491 2005-02-27  Dan Williams  <dcbw@redhat.com>
17492
17493         * src/backends/NetworkManagerRedHat.c
17494                 - (nm_system_init): Kill any dhclient processes lying around as well
17495                         as stopping 'nifd' if its already been started.  NetworkManager
17496                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17497
17498 2005-02-27  Dan Williams  <dcbw@redhat.com>
17499
17500         * panel-applet/NMWirelessApplet.c
17501                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17502                         dbus data model, not the GUI data model twice.
17503
17504 2005-02-27  Dan Williams  <dcbw@redhat.com>
17505
17506         * panel-applet/NMWirelessApplet.[ch]
17507           panel-applet/NMWirelessAppletDbus.[ch]
17508                 - Move to incremental network updates.  Instead of blowing away our list
17509                         of devices every time we get a signal from NetworkManager, we now
17510                         incrementally add/remove networks when NetworkManager notifies us that
17511                         a new network has appeared or disappered.  Strength updates now happen
17512                         on-the-fly for each access point as well.  There are now two copies of
17513                         data from NetworkManager: one for the dbus side, and one for the gui side.
17514                         When the dbus side data is modified, it is copied over to the gui side
17515                         so we don't have to hold the data_mutex for long periods of time (and
17516                         therefore block animation of the applet's icon).
17517                 - Clean up some memleaks too
17518
17519         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17520                 - Minor code beautification
17521
17522         * src/NetworkManagerAPList.c
17523                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17524                         completely new and whether or not an existing one's strength was updated.
17525                         Try to fix multiple access points and signal strength by using the highest
17526                         signal strength in each scan for any given ESSID.
17527
17528         * src/NetworkManagerDbus.[ch]
17529                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17530                         wireless networks; now we have only WirelessNetworkUpdate which includes
17531                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17532                 - Kill usage of DbusMessageIter
17533
17534         * src/NetworkManagerDevice.c
17535                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17536                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17537                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17538                         currently associated with from the network list.
17539                 - Update for new signals during scan, send out Appeared, Disappeared, or
17540                         StrengthChanged when necessary.
17541
17542 2005-02-25  Dan Williams  <dcbw@redhat.com>
17543
17544         * README
17545                 - Line break the README
17546
17547 2005-02-25  Dan Williams  <dcbw@redhat.com>
17548
17549         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17550                 - Remove usage of gtk_window_set_default_size()
17551
17552         * panel-applet/essid.glade
17553                 - Stick default size here
17554                 - Add in random crap that current glade wants to add in now
17555
17556 2005-02-25  Dan Williams  <dcbw@redhat.com>
17557
17558         * src/backends/NetworkManagerRedHat.c
17559                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17560                         and that we actually tell nscd to reload the hosts cache when it changes
17561
17562 2005-02-25  Dan Williams  <dcbw@redhat.com>
17563
17564         * info-daemon/NetworkManagerInfoDbus.c
17565                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17566
17567         * test/nminfotest.c
17568                 - Whack usage of DbusMessageIter
17569                 - Clean up DbusError and DbusMessage handling and freeing
17570                 - Remove unused unregister handler
17571
17572         * test/nmtest.c
17573                 - Whack usage of DbusMessageIter
17574
17575         * test/nmtestdevices.c
17576                 - Whack usage of DbusMessageIter
17577
17578 2005-02-25  Dan Williams  <dcbw@redhat.com>
17579
17580         * NetworkManager.h
17581                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17582                         signal
17583
17584 2005-02-25  Dan Williams  <dcbw@redhat.com>
17585
17586         * named/nm-named-manager.c
17587                 - Ensure that pid and watch variables for child named process get cleared out
17588                         when the child goes away.
17589
17590 2005-02-22  Dan Williams  <dcbw@redhat.com>
17591
17592         * src/NetworkManagerPolicy.c
17593                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17594                         and NULL out data->active_device so that we have to choose another one.
17595                         This may make NetworkManager keep attempting to connect to a wired network
17596                         if it fails, but if it keeps failing the wired network has more problems than
17597                         just NetworkManager.
17598
17599         * src/backends/NetworkManagerRedHat.c
17600                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17601                         is already running
17602
17603         * named/nm-named-manager.c
17604                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17605                         named so that the distro can flush whatever name service caching
17606                         daemon it uses
17607
17608 2005-02-21  Dan Williams  <dcbw@redhat.com>
17609
17610         * src/NetworkManagerDHCP.[ch]
17611                 - (nm_device_dhcp_remove_timeouts): new function
17612
17613         * src/NetworkManagerDevice.c
17614                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17615                         remove the DHCP timeouts.
17616
17617 2005-02-21  Dan Williams  <dcbw@redhat.com>
17618
17619         * panel-applet/NMWirelessApplet.[ch]
17620           panel-applet/menu-info.[ch]
17621                 - Give the panel applet some major love: menu items are no longer
17622                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17623                         This allows the applet to actually reflect theme changes correctly,
17624                         since themeing of subclassed items in GTK _sucks_.
17625
17626 2005-02-18  Dan Williams  <dcbw@redhat.com>
17627
17628         * libnm_glib/libnm_glib.[ch]
17629           test/libnm_glib_test.c
17630                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17631                         and its data, and doesn't have to free the callback data anymore
17632
17633 2005-02-18  Dan Williams  <dcbw@redhat.com>
17634
17635         * panel-applet/NMWirelessApplet.c
17636                 - Revert 2005-02-18 William Jon McCann fix for standard
17637                         copyright string until it passes 'make distcheck'.
17638                         With standard copyright string, xgettext complains
17639                         about "Non-ASCII string at ...".
17640
17641 2005-02-18  Dan Williams  <dcbw@redhat.com>
17642
17643         * panel-applet/essid.glade
17644           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17645                 - Correct spelling of "adaptor"->"adapter"
17646
17647 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17648
17649         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17650         (nmwa_about_cb): Use standard copyright string.  Update comment
17651         text to reflect that it is a notification area applet.  Remove
17652         leading newline in authors list.
17653         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17654         instead of on parent menu item activation.  Fixes #167550.
17655
17656 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17657
17658         * panel-applet/essid.glade: Capitalize items as per HIG.
17659           Fixes #167632
17660
17661 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17662
17663         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17664         files for GTK 2.4 or lower, since now public in GTK 2.6.
17665
17666         * panel-applet/essid.glade: Don't specify window size.
17667         
17668 2005-02-17  Dan Williams  <dcbw@redhat.com>
17669
17670         Caught by Bill Moss:
17671         * dhcpcd/client.c
17672                 - Time remaining for DHCP transaction calculation was incorrectly
17673                         inside a #ifdef DEBUG
17674
17675 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17676
17677         * configure.in: Added fr (French) to ALL_LINGUAS.
17678
17679 2005-02-14  Dan Williams  <dcbw@redhat.com>
17680
17681         * src/NetworkManagerDHCP.c
17682                 - (set_domain_searches): Fix free of invalid pointer
17683
17684 2005-02-14  Dan Williams  <dcbw@redhat.com>
17685
17686         Patch from Peter Jones:
17687         * dhcpcd/client.c
17688                 - Ensure we return RET_DHCP_CEASED everywhere we should
17689         * dhcpcd/udpipgen.c
17690                 - Use faster TOS for IP packets
17691                 - Don't set ip_id since we're UDP
17692
17693         Patch from Tomislav Vujec:
17694         * src/nm-dbus-dhcp.c
17695           test/nm-dhcp-opt-test.c
17696                 - Clean up warnings to enable cvs tree compilation.
17697
17698 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17699
17700         * configure.in
17701           po/hr.po
17702                 - Add the Croatian locale.
17703
17704 2005-02-14  Colin Walters  <walters@verbum.org>
17705
17706         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17707         list of domains to search.
17708         
17709         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17710
17711 2005-02-13  Dan Williams  <dcbw@redhat.com>
17712
17713         * dhcpcd/client.c
17714                 - Debug output cleanups of DHCP option printing and parsing.
17715
17716 2005-02-13  Dan Williams  <dcbw@redhat.com>
17717
17718         Patch from Dan Reed:  DHCP options D-BUS API
17719                 Exposes the DHCP options that a device receives to clients over D-BUS.
17720
17721         * configure.in
17722                 - A few cleanups
17723
17724         * dhcpcd/client.h
17725                 - Correct names, option length, and types for DHCP options
17726
17727         * dhcpcd/dhcpcd.[ch]
17728                 - Clarify function names that access DHCP options & data
17729
17730         * src/NetworkManagerDHCP.c
17731                 - Use new DHCP data access functions
17732
17733         * src/NetworkManagerDbus.c
17734                 - Message handler for DHCP functions
17735
17736         * src/nm-dbus-dhcp.[ch] (new)
17737                 - DHCP dbus methods
17738
17739         * test/nm-dhcp-opt-test.c
17740                 - Test DHCP D-BUS API and return all present DHCP options
17741
17742 2005-02-12  Dan Williams  <dcbw@redhat.com>
17743
17744         * test/Makefile.am
17745           test/nmclienttest.c
17746           test/nmtest.c
17747                 - Move nmclienttest.c -> nmtest.c
17748
17749 2005-02-12  Dan Williams  <dcbw@redhat.com>
17750
17751         * dhcpcd/buildmsg.c
17752                 - Pad DHCP packets until they are at least 300 bytes in size.
17753
17754 2005-02-11  Dan Williams  <dcbw@redhat.com>
17755
17756         * dhcpcd/client.c
17757                 - (dhcp_init): only print out client ID and class ID if they are specified
17758
17759         * src/NetworkManagerDbus.[ch]
17760           src/nm-dbus-nm.[ch]
17761           src/nm-dbus-device.[ch]
17762           src/nm-dbus-net.[ch]
17763                 - Move NM, Device, and Net functions to separate files and use the
17764                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17765                         method dispatching
17766
17767         * src/NetworkManagerDbusUtils.c
17768                 - Add new validate_method called before each dispatch (if present)
17769                         that can validate the method call
17770
17771         * src/NetworkManagerWireless.c
17772                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17773                         levels never to be evaluated
17774
17775         Patch from j@bootlab.org
17776         * src/NetworkManagerDevice.c
17777                 - Add typedef for "u64"
17778
17779         * src/backends/NetworkManagerDebian.c
17780                 - Copy in Dave Woodhouse's fixes for IPv6
17781
17782 2005-02-11  Dan Williams  <dcbw@redhat.com>
17783
17784         Patch from Dave Woodhouse for IPv6:
17785         * src/NetworkManagerUtils.c
17786                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17787                         and multicast addresses
17788
17789         * src/NetworkManagerDevice.c
17790                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17791                         after bringing up a card.
17792
17793 2005-02-10  Dan Williams  <dcbw@redhat.com>
17794
17795         Patch from Dave Woodhouse:
17796         * src/NetworkManagerSystem.h
17797           src/backends/NetworkManagerDebian.c
17798           src/backends/NetworkManagerGentoo.c
17799           src/backends/NetworkManagerSlackware.c
17800                 - New nm_system_device_add_ip6_link_address() function to add link-local
17801                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17802
17803         * src/backends/NetworkManagerRedHat.c
17804                 - (nm_system_device_add_ip6_link_address): implement
17805                 - (nm_system_device_flush_addresses): revert to previous behavior of
17806                         flushing all addresses
17807
17808 2005-02-10  Dan Williams  <dcbw@redhat.com>
17809
17810         Patch from Tom Parker:
17811         * src/NetworkManagerDevice.c
17812                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17813                         mii.h headers are broken, and instead use our own typedefs
17814
17815 2005-02-10  Dan Williams  <dcbw@redhat.com>
17816
17817         * dhcpcd/buildmsg.c
17818                 - (fill_host_and_class_id): only fill in client and class IDs if
17819                         they are set by callers.
17820
17821         * dhcpcd/client.c
17822                 - (class_id_setup): don't autogenerate a class ID, only use one
17823                         we're given, if any.
17824                 - (client_id_setup): don't autogenerate a client ID, only use one
17825                         we're given, if any.
17826
17827         * dhcpcd/dhcpcd.c
17828                 - (dhcp_interface_init): ensure that client options are correctly
17829                         NULL terminated
17830
17831         * src/NetworkManagerDHCP.c
17832                 - (nm_device_dhcp_request): pass hostname to dhcp library
17833
17834 2005-02-10  Dan Williams  <dcbw@redhat.com>
17835
17836         * dhcpcd/client.c
17837                 - #rh147661# Don't send kernel version in DHCP requests
17838
17839         * src/NetworkManagerSystem.h
17840           src/backends/NetworkManagerDebian.c
17841           src/backends/NetworkManagerGentoo.c
17842           src/backends/NetworkManagerRedHat.c
17843           src/backends/NetworkManagerSlackware.c
17844                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17845                         functions, they are no longer used anyway
17846
17847         * src/backends/NetworkManagerRedHat.c
17848                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17849                         addresses in an attempt to keep IPv6 local-scope addresses around
17850
17851 2005-02-10  Dan Williams  <dcbw@redhat.com>
17852
17853         * src/NetworkManager.c
17854                 - (nm_create_device_and_add_to_list): change the add message slightly
17855
17856         * src/NetworkManagerUtils.c
17857                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17858                         Return driver name to calling function
17859                 - (nm_get_driver_support_level): print out the driver a device is using
17860                         during the support check
17861
17862         Patch from Dave Woodhouse:
17863         * dhcpcd/udpipgen.c
17864                 - (in_cksum): copy last byte of odd-sized packets into a
17865                         'u_short' rather than a 'u_char', should fix wrong checksums
17866                         on big-endian platforms
17867
17868 2005-02-09  Dan Williams  <dcbw@redhat.com>
17869
17870         * Clean up usage of GSList objects and looping through their members
17871         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17872                 now.
17873         * Fix problem where even if scanning was turned off, card would still
17874                 cycle through frequencies.
17875
17876 2005-02-08  Dan Williams  <dcbw@redhat.com>
17877
17878         * panel-applet/NMWirelessApplet.c
17879                 - Fix for gtk 2.4
17880
17881 2005-02-08  Dan Williams  <dcbw@redhat.com>
17882
17883         Patch from Bill Moss
17884         * panel-applet/NMWirelessApplet.c
17885                 - Restore correct ESSID in tooltips
17886
17887 2005-02-07  Dan Williams  <dcbw@redhat.com>
17888
17889         * panel-applet/NMWirelessApplet.[ch]
17890                 - Add a context menu that contains:
17891                         Pause/Resume Wireless Scanning
17892                         Stop/Start All Wireless Devices
17893                         About...
17894                 - Grab active device strength off active device,
17895                         not its network
17896
17897         * panel-applet/NMWirelessAppletDbus.[ch]
17898                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17899                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17900                 - Update active device strength every 2 seconds, not every 1 second
17901
17902         * panel-applet/menu-info.c
17903                 - Only disable wired devices in the menu when they support carrier detection,
17904                         and don't currently have a link.  Non-carrier-detect devices will always
17905                         remain choosable
17906
17907         * src/Makefile.am
17908           src/NetworkManagerDbusUtils.[ch]
17909                 - Add new new dbus utils sources
17910
17911         * src/NetworkManager.c
17912                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17913                         with the boolean parameter
17914                 - Set scanning_enabled & wireless_enabled to TRUE
17915
17916         * src/NetworkManagerDbus.c
17917                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17918                 - Implement scanning & wireless enable/disable calls
17919                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17920
17921         * src/NetworkManagerDevice.c
17922                 - New link detection stuff again...
17923                         o  Create device's mainloop earlier (but don't run it earlier)
17924                         o  Hook up new carrier-detect support stuff
17925                         o  Add in the ethtool & mii support detection code
17926                 - Don't scan if scanning is disabled
17927
17928         * src/NetworkManagerPolicy.c
17929                 - Never automatically choose a device that doesn't support carrier detection
17930                 - Don't automatically choose a wireless device if wireless is disabled
17931
17932 2005-02-07  Dan Williams  <dcbw@redhat.com>
17933
17934         * libnm_glib/libnm_glib.c
17935                 - Small cleanup in element list iteration
17936
17937 2005-02-07  Dan Williams  <dcbw@redhat.com>
17938
17939         * src/NetworkManagerWireless.c
17940                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17941                         to be in line with the WEXT quality specification
17942
17943 2005-02-02  Dan Williams  <dcbw@redhat.com>
17944
17945         Patch from Nathan Fredrickson <nathan@silverorange.com>
17946         * Fix up compile for deprecation of libgnomeui
17947                 - Switch to <glib/gi18n.h> from <libintl.h>
17948                 - Remove <libgnomeui/libgnomeui.h> includes
17949                 - Use gtk_window_set_default_icon_from_file() rather than
17950                         gnome_window_set_default_icon_from_file()
17951
17952         * named/nm-named-manager.c
17953                 - (generate_named_conf): Fix return-nothing in non-void
17954                         function
17955
17956 2005-02-02  Dan Williams  <dcbw@redhat.com>
17957
17958         * Clean up unused variables and the like
17959
17960 2005-02-02  Dan Williams  <dcbw@redhat.com>
17961
17962         * src/NetworkManagerAPList.c
17963                 - (nm_ap_list_merge_scanned_ap): merge strength too
17964
17965         * src/NetworkManagerUtils.c
17966                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17967                         of locking issues by printing out prettier information than g_mutex_lock
17968                 - Print out names of mutexes registered with nm_register_mutex_desc()
17969                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17970                         us to seemingly block here for too long
17971
17972         * src/NetworkManager.c
17973           src/NetworkManagerAPList.c
17974           src/NetworkManagerDevice.c
17975                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17976                         so we get better debug information printed
17977
17978         * src/NetworkManagerDbus.c
17979                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17980                         since it sometimes has locking side effects
17981                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17982                         from 10s
17983                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17984                         we don't need a switch.  This gets called often enough that we can't block
17985                         until the scan mutex is acquired, because we'll block on device activation
17986                         and a few other things, which hangs main thread for too long.
17987
17988         * src/NetworkManagerPolicy.c
17989                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17990                         nm_device_need_ap_switch() will be called               
17991
17992 2005-02-02  Dan Williams  <dcbw@redhat.com>
17993
17994         * panel-applet/NMWirelessApplet.c
17995                 - Display name of wireless network we are connecting to or connected to
17996                         in the tooltip of the applet
17997
17998 2005-02-02  Dan Williams  <dcbw@redhat.com>
17999
18000         * src/NetworkManagerDHCP.c
18001                 - Hopefully fix double-default-route problem by cleaning up the default
18002                         route added by DHCP code right before the DHCP transaction begins
18003
18004 2005-02-02  Dan Williams  <dcbw@redhat.com>
18005
18006         * named/nm-named-manager.c
18007                 - Write out valid resolv.conf when we exit
18008
18009 2005-02-01  Dan Williams  <dcbw@redhat.com>
18010
18011         Patch from Colin Walters:
18012         * named/nm-named-manager.c
18013                 - Make multi-domain search options work
18014
18015 2005-01-31  Dan Williams  <dcbw@redhat.com>
18016
18017         * info-daemon/NetworkManagerInfoDbus.c
18018                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18019
18020         * src/NetworkManagerDevice.c
18021                 - (nm_device_new): Don't store the entire range struct, use only what we need
18022                         (which is currently avg_quality, max_quality, and frequencies).  Also
18023                         zero device structure when we've free'd it to maybe expose errors down
18024                         the line.
18025                 - (nm_device_update_signal_strength): grab the scan mutex before getting
18026                         quality data from the card since quality will be useless during a scan.
18027                         Call updated wireless qual-to-percent function with values stored in
18028                         nm_device_new() earlier.
18029                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18030                         nm_device_get_bad_crypt_packets())
18031                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18032                         nm_device_new()
18033                 - (get_initial_auth_method): always use the Auth method that's in the allowed
18034                         list if available.  Problem was this: when the WEP key is wrong, NM will
18035                         try OS then SK modes, and then get stuck in SK mode after that.  This
18036                         should reset it.
18037                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18038                         function
18039
18040         * src/NetworkManagerWireless.c
18041                 - (nm_wireless_qual_to_percent): try to make this function actually work and
18042                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18043                         if that's all present, otherwise fall back to signal-to-noise ratios.
18044
18045 2005-01-29  Dan Williams  <dcbw@redhat.com>
18046
18047         * initscript/RedHat/NetworkManager
18048                 - Don't spit out sysctl stuff to console
18049
18050         * libnm_glib/libnm_glib.c
18051                 - (libnm_glib_init): call dbus_g_thread_init()
18052
18053         * panel-applet/NMWirelessAppletDbus.c
18054                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18055
18056         * src/NetworkManager.c
18057                 - (main): call dbus_g_thread_init()
18058
18059         * src/NetworkManagerAPList.c
18060                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18061                         so we can actually see what's there in a normal syslog
18062
18063         * src/NetworkManagerDevice.c
18064                 - (nm_device_activate_wireless): print out the "waiting for access point"
18065                         message only once, then say what access point we actually got after
18066                         the wait.
18067                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18068                         function, wait until the scan is done.  Scans may change the ESSID of
18069                         the card, making this function think we need to switch access points
18070                 - (nm_device_wireless_process_scan_results): for artificial access points
18071                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18072                         prevents collisions with the scanning code, which may change the card's
18073                         ESSID and cause the access point to get dropped from the device's AP
18074                         list.  Also increase the keep-around time to 2m from 60s since the max
18075                         scan interval could be 60s in some cases.
18076
18077         * src/NetworkManagerPolicy.c
18078                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18079                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18080                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18081                         between NM and NMI.
18082
18083 2005-01-27  Dan Williams  <dcbw@redhat.com>
18084
18085         * info-daemon/NetworkManagerInfoDbus.c
18086                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18087                         GConf, make a minimal entry for it (essid & timestamp)
18088
18089         * src/NetworkManagerAPList.c
18090                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18091                         NetworkManagerInfo isn't running
18092
18093         * src/NetworkManagerDbus.[ch]
18094                 - (nm_dbus_nmi_is_running): new function
18095
18096         * src/NetworkManagerDevice.c
18097                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18098                         address to garbage.
18099
18100         * src/NetworkManagerPolicy.c
18101                 - (nm_policy_activation_finish): On successful activation, make sure
18102                         the "best" AP has a MAC address, and don't tell NMI to add the
18103                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18104                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18105                         access point after refreshing our allowed list if it doesn't already
18106                         have a "best" access point.
18107
18108 2005-01-25  Dan Williams  <dcbw@redhat.com>
18109
18110         * panel-applet/NMWirelessAppletDbus.c
18111                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18112                         so we check for NM_DBUS_SERVICE rather than not for it
18113
18114         * libnm_glib/libnm_glib.c
18115                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18116                         ServiceOwnerChanged signal
18117
18118 2005-01-25  Dan Williams  <dcbw@redhat.com>
18119
18120         * configure.in
18121                 - Check DBUS version in configure, and set the C macros
18122                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18123
18124         * info-daemon/NetworkManagerInfoDbus.c
18125                 - Remove #if 0-d section of code that quit NMI if NM went away.
18126
18127         * panel-applet/NMWirelessAppletDbus.c
18128                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18129
18130         * src/NetworkManager.c
18131           src/NetworkManagerMain.h
18132           src/NetworkManagerDbus.c
18133                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18134                 - Make updating of our Allowed Wireless Network lists from NMI
18135                         an idle function in the main thread now, with a high priority.
18136
18137 2005-01-24  Dan Williams  <dcbw@redhat.com>
18138
18139         * panel-applet/gtkcellview.[ch]
18140           panel-applet/menu-info.c
18141                 - Fix GTK version checks to be <= rather than <
18142
18143         * test/Makefile.am
18144                 - Include the libtool archive of libnm_glib rather than
18145                         trying to pull in the .so
18146
18147 2005-01-24  Dan Williams  <dcbw@redhat.com>
18148
18149         * src/NetworkManagerDevice.c
18150           src/NetworkManagerDevicePrivate.h
18151                 - Block nm_device_new() until our device's worker thread has had a
18152                         chance to start up.  Fixes a race between main thread and worker
18153                         thread starting that caused activation requests to get lost.
18154
18155 2005-01-24  Dan Williams  <dcbw@redhat.com>
18156
18157         * initscript/RedHat/NetworkManager
18158                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18159                         to add the NM startup script at priority 50, which was
18160                         way too early
18161
18162 2005-01-24  Colin Walters  <walters@redhat.com>
18163
18164         * named/named.conf: Use any port for query source instead of
18165         restricting to port 53.
18166
18167 2005-01-24  Dan Williams  <dcbw@redhat.com>
18168
18169         * initscript/RedHat/NetworkManager
18170                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18171                         to add the NM startup script at priority 50, which was
18172                         way too early
18173
18174 2005-01-24  Dan Williams  <dcbw@redhat.com>
18175
18176         Patch from Tom Parker <palfrey@tevp.net>
18177         * Fix up compile warnings & errors in the wireless applet
18178
18179 2005-01-24  Dan Williams  <dcbw@redhat.com>
18180
18181         * panel-applet/NMWirelessApplet.c
18182                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18183
18184 2005-01-24  Dan Williams  <dcbw@redhat.com>
18185
18186         * panel-applet/gtkcellview.[ch]
18187                 - Only compile these files for GTK 2.4 or lower, since 
18188                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18189                         when choosing "Other Wireless Networks" from the panel
18190                         applet menu
18191
18192 2005-01-21  Dan Williams  <dcbw@redhat.com>
18193
18194         * src/NetworkManager.c
18195                 - Daemonize earlier so that glib doesn't get confused (?)
18196
18197 2005-01-21  Dan Williams  <dcbw@redhat.com>
18198
18199         * panel-applet/NMWirelessApplet.[ch]
18200           panel-applet/NMWirelessAppletDbus.c
18201           panel-applet/menu-info.c
18202           src/NetworkManagerDevice.c
18203                 - Disable wired devices in the menu when they have no link.
18204
18205 2005-01-21  Dan Williams  <dcbw@redhat.com>
18206
18207         * Cache last-known-good wireless authentication method in
18208                 NetworkManagerInfo, and use that method first during
18209                 wireless device activation.  Should speed up devices that
18210                 need Shared Key authentication method since Open System is
18211                 now the default.
18212
18213         * Remove the hack to not do full activation on wired connections
18214                 that are active when we launch, it causes too many problems
18215                 with name resolution and was a hack in the first place.
18216
18217         * Re-work wireless device activation again somewhat to have a
18218                 clearer chain of events and to use last-known-good
18219                 authentication method of the access point.  Also provide
18220                 better status throughout activation to ensure the applet
18221                 can tell the user exactly what's going on.
18222
18223         * Remove the "find wireless network" code and now simply attempt
18224                 to activate with that access point.  This reduces the delay
18225                 between selecting "Other wireless Network" and actually
18226                 connecting to that network.
18227
18228         * Correctly stop the device's worker thread when its removed.
18229
18230 2005-01-21  Dan Williams  <dcbw@redhat.com>
18231
18232         * dhcpcd/client.c
18233                 - Clean up some of the debug messages
18234
18235 2005-01-21  Dan Williams  <dcbw@redhat.com>
18236
18237         * Add new icons, more frames of animation
18238         * Remove some hacks to get the panel applet to display correct
18239                 status, an NM update will soon follow that will fix the
18240                 real issue.
18241
18242 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18243
18244         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18245         the first include for working i18n. Also, don't include it in .h files
18246         * panel-applet/NMWirelessApplet.h: Same
18247         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18248         * panel-applet/menu-info.c: Same
18249
18250 2005-01-18  Dan Williams <dcbw@redhat.com>
18251
18252         * dhcpcd/client.c
18253                 - Remove some debug messages
18254                 - Wrap others in #ifdef DEBUG/#endif
18255
18256         * src/NetworkManager.c
18257                 - Remove some debug messages
18258                 - Clarify some debug messages
18259                 - Remove code related to old single-thread wireless scanning
18260
18261         * src/NetworkManagerAP.[ch]
18262                 - New AP property "last_seen" to track how recently an AP was
18263                         found in a scan
18264                 - Start using 'const' more in function arguments
18265
18266         * src/NetworkManagerAPList.[ch]
18267                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18268                         of an AP found in an AP list from a source AP, or if not found
18269                         in the list add the source AP
18270                 - (nm_ap_list_combine): remove, no longer needed
18271
18272         * src/NetworkManagerDevice.c
18273                 - Each device now has a "worker" thread from start to end of its life.
18274                         Scanning for wireless devices now happens in that thread,
18275                         not in a single "wireless scanning thread" for all devices as
18276                         previously.  Activation consists of adding an idle handler to the
18277                         thread's main loop/context, which gets run at the next available
18278                         opportunity.
18279                 - Wireless scanning is also simplified, there is now only one list of
18280                         access points per wireless device, and APs older than 60s are
18281                         removed from the list.  Previously, we kept results for the last
18282                         3 scans and merged whole lists, which was complicated.
18283                 - Cleaned up activation debug messages.
18284                 - Wireless activation and access-point search routines now use Open System
18285                         authentication before trying Shared Key.
18286                 - Removed some code in nm_device_update_best_ap() that could cause cards
18287                         to loose their link to the access point.
18288                 - Scanning now uses a backoff algorithm, where the inverval becomes
18289                         progressively longer between scans when the list of scanned access
18290                         points doesn't change.  A change will revert to the shortest scan
18291                         interval (20s).
18292
18293         * src/NetworkManagerWireless.[ch]
18294                 - Remove code related to old single-thread wireless scanning
18295
18296 2005-01-18  Colin Walters  <walters@redhat.com>
18297
18298         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18299         of older nameservers.
18300
18301 2005-01-18  Colin Walters  <walters@redhat.com>
18302
18303         * named/nm-named-manager.c (generate_named_conf): Many fixes
18304         to config file generation.
18305         (safer_kill): Remove, was too much trouble for little gain.
18306         (nm_named_manager_start): Run named as NM_NAMED_USER.
18307
18308         * configure.in: Add option --with-named-user.
18309
18310 2005-01-14  Colin Walters  <walters@redhat.com>
18311
18312         Patch from ed@catmur.co.uk (Ed Catmur)
18313
18314         * named/nm-named-manager.c: Add "context" property.
18315         Use it to add child watch source in specific GMainContext.
18316
18317         * src/NetworkManager.c (nm_data_new): Initialize
18318         named with correct main context.  Start named only
18319         after forking.
18320
18321 2005-01-14  Colin Walters  <walters@redhat.com>
18322
18323         * named/nm-named-manager.c (generate_named_conf): Write config
18324         and pid files into NM_NAMED_DATA_DIR; this allows things to
18325         work better with FC3 named SELinux policy.  Also fix up silly
18326         format error.
18327
18328         * configure.in: Add --with-named-dir option.
18329
18330 2005-01-14  Colin Walters  <walters@redhat.com>
18331
18332         * configure.in: Make named support require passing --with-named.
18333
18334         * named/nm-named-manager.c: Support writing resolv.conf directly
18335         without running named.
18336
18337 2005-01-13  Dan Williams <dcbw@redhat.com>
18338
18339         * named/nm-named-manager.c
18340                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18341
18342         * src/NetworkManagerDevice.c
18343                 - Rework wireless link detection code to be more reliable
18344
18345 2005-01-12  Dan Williams <dcbw@redhat.com>
18346
18347         * initscripts/RedHat/NetworkManager
18348                 - Change initial level to "-" rather than "345" so that
18349                         we don't activate ourselves by default on install
18350
18351 2005-01-12  Dan Williams <dcbw@redhat.com>
18352
18353         * libnm_glib/
18354                 - Client library for applications using glib
18355
18356         * configure.in
18357           various Makefiles
18358                 - Split NM_CFLAGS and NM_LIBS into separate variables
18359                         like DBUS_*, HAL_* and GLIB_*
18360
18361         * src/NetworkManager.c
18362           src/NetworkManagerMain.h
18363                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18364                         broadcast a status changed signal over DBUS from the main thread.
18365                         Still unused anywhere for the moment.
18366
18367         Patch from j@bootlab.org
18368         * panel_applet/NMWirelessAppletDbus.c
18369           src/NetworkManagerDbus.c
18370                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18371                         for the "getMode" method call
18372
18373 2005-01-10  Dan Williams <dcbw@redhat.com>
18374
18375         * src/NetworkManagerDevice.c
18376                 - Minor fixups & corrections to "auto" frequency mode, make it
18377                         less chatty with syslog
18378
18379 2005-01-10  Dan Williams <dcbw@redhat.com>
18380
18381         * src/NetworkManagerDevice.c
18382                 - Implement "auto" frequency/channel support, since cards like Atheros
18383                         can't use other frequencies at all when you've told it to use a
18384                         specific one, even for scanning.
18385                 - Grab the scan mutex around places where we can't tolerate wireless
18386                         settings changing underneath us, like nm_device_wireless_network_exists()
18387                         and nm_device_activate_wireless()
18388
18389         * src/NetworkManagerWireless.c
18390                 - Back scan interval off to 20s instead of 14s
18391
18392 2005-01-09  Dan Williams <dcbw@redhat.com>
18393
18394         * src/NetworkManagerDevice.c
18395                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18396                         already set.  Stops some drivers like Atmel from continually
18397                         reloading the firmware, which they do upon every configuration
18398                         change.
18399
18400 2005-01-09  Dan Williams <dcbw@redhat.com>
18401
18402         * dhcpcd/client.c
18403                 - Use correct timeout value
18404
18405         * info-daemon/NetworkManagerInfoDbus.c
18406           src/NetworkManagerDbus.c
18407                 - Consolidate communication between NM and NMI by doing only 1 dbus
18408                         method call to get Wireless Network info from NMI instead of 6
18409
18410         * src/NetworkManager.c
18411                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18412                         when we didn't have an AP to use, we'd wait for one forever without
18413                         quitting
18414
18415         * src/NetworkManagerDevice.c
18416                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18417                         activation, dhcp might not have started yet but we don't quit activation
18418                         before starting it, so the quit signal gets lost
18419
18420 2005-01-07  Dan Williams <dcbw@redhat.com>
18421
18422         * dhcpcd/client.c
18423                 - Rework the DHCP client code to be much less chatty when
18424                         it receives non-DHCP UDP packets during the DHCP run
18425                         (reported by and preliminary patches from Bill Moss)
18426
18427         * Move wireless scanning to a separate thread.  This thread forwards the
18428                 results to the main thread when done where they are integrated into
18429                 the device's access point lists.  This keeps the main thread (which
18430                 does all the DBUS communication) from being blocked for long periods
18431                 of time by wireless scanning.
18432
18433         * Make state modification an idle routine in the main loop, and trigger
18434                 state changes rather than polling for them.
18435
18436         * src/backends/NetworkManagerGentoo.c
18437                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18438
18439         * src/NetworkManagerDevice.c
18440                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18441                         router advertisements, causing problems and infinite loop
18442                         during "best" device determination due to link going up/down
18443                         (reported by Bill Moss)
18444
18445         Apply patch from Peter Jones
18446         * src/NetworkManagerDevice.c
18447                 - Shortcut for link-checking for ipw2x00 cards
18448                 - Split out association check into separate routine
18449
18450 2004-01-05  Colin Walters  <walters@redhat.com>
18451
18452         * named/named.conf: Add PID_FILE.
18453
18454         * named/nm-named-manager.c: Always generate a pid
18455         file, since older BIND versions don't support
18456         "pid-file none".
18457
18458 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18459
18460         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18461
18462 2004-12-22  Dan Williams <dcbw@redhat.com>
18463
18464         * src/NetworkManagerDevice.c
18465                 - Silently fail when setting bitrate doesn't work
18466
18467
18468         Patches from j@bootlab.org:
18469         * src/backends/NetworkManagerDebian
18470                 - Update backend to match functionality in RedHat backend
18471         * src/NetworkManagerDevice.c
18472                 - Take down then bring up wired devices after connection so
18473                 they send out ipv6 router advertisements
18474
18475 2004-12-21  Colin Walters  <walters@verbum.org>
18476
18477         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18478         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18479
18480 2004-12-21  Colin Walters  <walters@redhat.com>
18481
18482         * configure.in: Correct named detection.
18483
18484 2004-12-21  Colin Walters  <walters@redhat.com>
18485
18486         * src/NetworkManager.c (nm_data_new): Initialize named.
18487         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18488         the mainloop when these signals are received.
18489         (nm_data_free): Unref named.
18490         (sigterm_handler, sigterm_pipe_handler): New functions for
18491         exiting mainloop.
18492         
18493         * src/NetworkManagerMain.h (NMData): Add signal handling and
18494         nameserver bits.
18495
18496         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18497         unref.
18498
18499         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18500         set nameservers from DHCP response data.
18501         (set_domain_search): Set domain search from DHCP response.
18502         (nm_device_dhcp_configure): Invoke them.
18503
18504         * src/NetworkManagerSystem.c
18505         (nm_system_device_update_resolv_conf): Delete.  Deleting
18506         code is totally sweet.
18507
18508         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18509
18510         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18511         implements an object which controls a nameserver.  Currently
18512         uses bind 9.
18513
18514         * configure.in: Check for named.
18515
18516         * Makefile.am (SUBDIRS): Add named dir.
18517
18518         * named/named.conf: New template config file.
18519
18520 2004-12-20  Colin Walters  <walters@redhat.com>
18521
18522         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18523         instead of '='.
18524
18525 2004-12-17  Dan Williams  <dcbw@redhat.com>
18526
18527         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18528                 link-local addresses instead of doing DHCP.
18529
18530         * In the panel applet, there's a new "Create new Wireless Network..." item
18531
18532         * The panel applet also sticks around now even if NetworkManager dies, but
18533                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18534                 a bug, I'll fix that later.
18535
18536         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18537                 lookups after a switch rather than actually doing them.
18538
18539         * Clean up some of those warnings in nm_ap_list_* functions
18540
18541         * Delay between scans changed to 15s instead of 10s
18542
18543 2004-12-15  Dan Williams  <dcbw@redhat.com>
18544
18545         Patch from Tom Parker
18546         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18547                 address
18548
18549         * Longer pause after setting ESSID on cards that support a larger number
18550                 of channels to give the card time to find the right channel
18551
18552         * Add system hook to restart mDNSResponder (or whatever the local implementation
18553                 of Multicast DNS is) when we activate interfaces
18554
18555 2004-12-15  Dan Williams  <dcbw@redhat.com>
18556
18557         * Rework the DHCP code again to revert to sending full ethernet frames
18558                 rather then relying on the kernel to do the right thing with our
18559                 packets.
18560
18561 2004-12-06  Dan Williams  <dcbw@redhat.com>
18562
18563         * dhcpcd/client.c
18564                 - Fix some minor errors in dhcp_handle_transaction() that caused
18565                         unexpected early timeouts of DHCP transactions
18566
18567         * dhcpcd/client.h
18568                 - DHCP retransmit time from 4s -> 5s
18569
18570 2004-12-05  Dan Williams  <dcbw@redhat.com>
18571
18572         * Major rework of the DHCP code, taking some cues from pump.  We don't
18573                 write raw Ethernet packets anymore, which simplifies the code quite
18574                 a bit.  The new code should be more robust, not hang in recvfrom()
18575                 as much, and generally work better.  This also means that we need
18576                 to force HAL/dbus to use a created GMainContext rather than the
18577                 default context, since having the DHCP renew/rebind thread using
18578                 its own GMainContext seemed to give dbus a fit.  There is also more
18579                 debugging information printed from the DHCP loop to help with future
18580                 problems.
18581
18582         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18583                 assume that the default gateway should be the DHCP server.
18584
18585         Patch from Matthew Schick <matt oss-institute org>
18586         * src/backends/NetworkManagerGentoo.c
18587                 - Fix compilation error due to missing "ip4_broadcast"
18588
18589 2004-12-03  Dan Williams  <dcbw@redhat.com>
18590
18591         * initscript/Makefile.am
18592         * initscript/Debian/NetworkManager
18593         * initscript/Gentoo/NetworkManager
18594         * initscript/RedHat/NetworkManager
18595         * initscript/NMLaunchHelper.c
18596                 - Remove NMLaunchHelper, if you need to wait until the network
18597                         comes up, use the dead code from CVS.
18598
18599 2004-12-01  Colin Walters  <walters@redhat.com>
18600         
18601         * configure.in: Suck in gcc warnings code from Rhythmbox,
18602         but use fewer default flags, and in particular add -Wno-unused,
18603         since the codebase has a lot of unused variables.
18604
18605         * test/nmtestdevices.c (create_device): 
18606         * test/nminfotest.c (get_network_string_property) 
18607         (get_networks_of_type): 
18608         * test/nmclienttest.c (main): 
18609         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18610         * initscript/NMLaunchHelper.c (get_nm_status): 
18611         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18612         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18613         Fix declarations after statements.
18614
18615 2004-12-01  Colin Walters  <walters@redhat.com>
18616
18617         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18618         (nmi_dbus_get_vpn_userpass): New method.
18619         (nmi_dbus_nmi_message_handler): Invoke it.
18620
18621         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18622
18623         * info-daemon/NetworkManagerInfoVPN.h,
18624         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18625         to requests for VPN passwords.
18626
18627         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18628
18629 2004-12-01  Colin Walters  <walters@redhat.com>
18630
18631         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18632         includes.
18633
18634 2004-12-01  Colin Walters  <walters@redhat.com>
18635
18636         * panel-applet/NMWirelessAppletDbus.c
18637         (nmwa_dbus_update_active_device_strength): Fix missing
18638         return value.
18639
18640 2004-12-01  Colin Walters  <walters@redhat.com>
18641
18642         * panel-applet/NMWirelessApplet.c: Add missing include.
18643
18644 2004-12-01  Colin Walters  <walters@redhat.com>
18645
18646         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18647         Remove useless CLAMP (); the value is unsigned, and the case tests
18648         qual->qual < 100, so the value must always be between 0 and 100.
18649
18650 2004-12-01  Colin Walters  <walters@redhat.com>
18651
18652         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18653
18654 2004-11-22  Colin Walters  <walters@verbum.org>
18655
18656         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18657         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18658         which is essentially a noop since nscd caches hosts on disk too.
18659         
18660 2004-11-22  Colin Walters  <walters@redhat.com>
18661
18662         * src/Makefile.am (NetworkManager_SOURCES): Add
18663         NetworkManagerDevicePrivate.h.
18664
18665 2004-11-22  Dan Williams <dcbw@redhat.com>
18666
18667         * src/NetworkManagerDevicePrivate.h
18668                 - Split out the NMDevice struct to a different file so that stuff like
18669                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18670
18671         * dhcpcd/client.c
18672                 - fprintf->syslog
18673                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18674                         need to cancel the dhcp request during the send and recv
18675
18676         * dhcpcd/client.h
18677                 - Move the DHCP option enum to dhcpcd.h
18678
18679         * src/NetworkManagerDHCP.c
18680                 - Split out the actual IP/netmask/etc setting code
18681                 - New Renew/Rebind functions
18682                 - New timer setup function for renew/rebind operations
18683
18684         * src/NetworkManagerDevice.c
18685                 - For device activation, if we are using DHCP then keep the activation thread
18686                         alive until device deactivation.  We need to renew/rebind the DHCP address
18687                         after the T1 (renew) and T2 (rebind) times have expired.
18688                 - Increase some timeouts after bringing wireless cards up/down
18689
18690 2004-11-17  Dan Williams <dcbw@redhat.com>
18691
18692         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18693                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18694                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18695                 show known access points that don't broadcast their ESSID in the menus without
18696                 any user intervention whatsoever.
18697
18698         * info-daemon/NetworkManagerInfoDbus.c
18699                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18700                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18701
18702         * src/NetworkManagerAP.[ch]
18703                 - Add a "user_addresses" data member to the NMAccessPoint structure
18704                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18705                         the user_addresses data member
18706
18707         * src/NetworkManagerAPList.c
18708                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18709                         the AP's reported address
18710                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18711
18712         * src/NetworkManagerDHCP.c
18713                 - Increase DHCP timeout from 25s -> 30s
18714
18715         * src/NetworkManagerDbus.[ch]
18716                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18717                         user addresses
18718
18719         * src/NetworkManagerDevice.c
18720                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18721                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18722                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18723                         So, we take the card down to clear it out.
18724                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18725                         too, since that's where the user_addresses are
18726
18727         * src/NetworkManagerPolicy.c
18728                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18729                         that wireless networks' user_addresses list upon successful activation
18730
18731 2004-11-16  Dan Williams <dcbw@redhat.com>
18732
18733         * src/NetworkManagerDevice.[ch]
18734                 - (nm_device_clear_activation_fail): new function
18735
18736         * src/NetworkManagerPolicy.c
18737                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18738                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18739
18740 2004-11-16  Dan Williams <dcbw@redhat.com>
18741
18742         * src/NetworkManagerDevice.c
18743                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18744                         leak the structure, better updating of now_scanning status
18745                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18746
18747 2004-11-15  Dan Williams <dcbw@redhat.com>
18748
18749         Major rework of link detection code.  We now use DHCP
18750         as part of the link detection which proves to be much more robust,
18751         and also supports Open System authentication for wireless networks.
18752
18753         We no longer use external DHCP client programs.  Instead, we use 
18754         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18755         which was written by:
18756                 Yoichi Hariguchi <yoichi@fore.com>
18757                 Sergei Viznyuk <sv@phystech.com>
18758                 http://www.phystech.com/download/
18759         It resides in the "dhcpcd" directory and was refactored into a general
18760         purpose DHCP client library by me.
18761
18762         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18763         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18764
18765 2004-11-15  Dan Williams <dcbw@redhat.com>
18766
18767         Patch from Tom Parker <palfrey@tevp.net>:
18768
18769         * src/NetworkManagerDevice.c
18770                 - Less output to console when no access
18771                         points are found during a scan
18772
18773 2004-11-15  Dan Williams <dcbw@redhat.com>
18774
18775         Patch from Tom Parker <palfrey@tevp.net>:
18776
18777         * src/backends/interface_parser.c
18778                 - Use g_strdup ()
18779                 - Check for inp == NULL
18780                 - use syslog ()
18781
18782 2004-11-13  Colin Walters  <walters@redhat.com>
18783
18784         Patch from Tom Parker <palfrey@tevp.net>:
18785
18786         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18787         
18788         * src/backends/NetworkManagerRedHat.c: Switch to
18789         including shvar.h instead of shvar.c.
18790
18791         * src/backends/NetworkManagerDebian.c: Don't include
18792         interface_parser.c in source file.
18793
18794         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18795         and interface_parser.[ch].
18796         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18797         Include shvar.c and shvar.h here.
18798         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18799         interface_parser.c and interface_parser.h here.
18800
18801 2004-11-12  Colin Walters  <walters@redhat.com>
18802
18803         * configure.in: Strip out TARGET_DISTRO and
18804         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18805         conditionals.
18806
18807         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18808         (libnmbackend_la_SOURCES): Use Automake conditionals
18809         to add distro-specific files.
18810
18811         * initscript/Makefile.am (SUBDIRS): Update to
18812         use conditionals.
18813
18814 2004-11-12  Colin Walters  <walters@redhat.com>
18815
18816         Patches from j bootlab org
18817
18818         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18819         Add interface_parser.[ch].
18820
18821         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18822         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18823
18824 2004-11-12  Colin Walters  <walters@redhat.com>
18825
18826         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18827         call to nmi_dbus_is_running too, not necessary anymore.
18828         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18829         pick up exit().
18830
18831 2004-11-11  Colin Walters  <walters@verbum.org>
18832
18833         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18834         Delete.
18835         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18836         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18837         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18838         This avoids a race condition that made it pretty easily
18839         possible to get two NetworkManagerInfo daemons running.
18840
18841 2004-11-11  Colin Walters  <walters@verbum.org>
18842         
18843         * src/NetworkManager.c (main): Use daemon(3).
18844
18845         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18846
18847         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18848
18849 2004-11-10 Dan Williams <dcbw@redhat.com>
18850
18851         Patches from j bootlab org
18852         * src/NetworkManagerDevice.c
18853                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18854                         whether the card has a link or not, some cards are slow
18855                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18856
18857         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18858                 - Disable the "Login" button on the passphrase dialog until the user
18859                         enters a valid passphrase or key
18860
18861         Patches from Tom Parker <palfrey tevp net>
18862         * src/backends/NetworkManagerDebian.c
18863                 - Add static IP support to the debian backend
18864
18865         * src/backends/interface_parser.[ch]
18866                 - Parse debian interface config files
18867
18868 2004-11-08 Dan Williams <dcbw@redhat.com>
18869
18870         * src/NetworkManagerDevice.c
18871                 - Some random fprintf->syslog conversions
18872                 - (nm_device_wireless_network_exists): double-check for network
18873                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18874
18875         * src/NetworkManagerWireless.[ch]
18876                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18877                         so that the binary->ascii conversion works (if unsigned, the bitshift
18878                         will fill with zeros, which is what's required).  Also mask bitshift
18879                         result with 0xF for futher assurance.
18880
18881 2004-11-06 Dan Williams <dcbw@redhat.com>
18882
18883         * src/NetworkManagerUtils.c
18884                 - (nm_get_wireless_driver_support_level): default to
18885                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18886                         flip this when changing from whitelist->blacklist of
18887                         wireless drivers
18888
18889 2004-11-05 Dan Williams <dcbw@redhat.com>
18890
18891         Patch from Robert Paskowitz:
18892         * src/backends/NetworkManagerGentoo.c
18893                 - Update static IP config code
18894
18895 2004-11-05 Dan Williams <dcbw@redhat.com>
18896
18897         * info-daemon/NetworkManagerInfoDbus.c
18898           src/NetworkManagerDbus.[ch]
18899           src/NetworkManagerDevice.c
18900                 - Keep track of the # of attempts to get the WEP key
18901                         from the user and pass that along to the info daemon
18902
18903 2004-11-05 Dan Williams <dcbw@redhat.com>
18904
18905         * src/NetworkManagerUtils.c
18906                 - Blacklist wireless cards rather than whitelisting them.
18907                 - Grab driver name from HAL rather than trying to find it
18908                         ourselves.
18909
18910 2004-11-03 Dan Williams <dcbw@redhat.com>
18911
18912         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18913                 - Disable OK button until valid data is entered
18914                         for encryption stuff too
18915
18916         * panel-applet/NMWirelessApplet.c
18917                 - Report card strength for current AP if the card
18918                         doesn't report strength data for scanned access
18919                         points
18920
18921         * src/NetworkManagerDevice.c
18922                 - Smooth out cards reported quality, Atmel card was
18923                         intermittently reporting no quality data but soon
18924                         recovers
18925
18926         * src/NetworkManagerWireless.c
18927                 - Better quality data percentage calculation.  Atmel
18928                         cards (mine at least) seem to report the quality
18929                         in percentage format already, so honor that
18930
18931         Patch from <j@bootlab.org>
18932         * NetworkManager.h
18933           info-daemon/NetworkManagerInfoPassphraseDialog.c
18934           info-daemon/passphrase.glade
18935           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18936           panel-applet/essid.glade
18937           src/NetworkManagerAP.c
18938           src/NetworkManagerDevice.c
18939           src/NetworkManagerWireless.[ch]
18940                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18941
18942 2004-11-03 Dan Williams <dcbw@redhat.com>
18943
18944         * src/NetworkManagerDevice.[ch]
18945                 - (nm_device_set_enc_key): Add parameter to set Authentication
18946                         Mode (Open System, Shared Key, or None).  We're still using
18947                         Shared Key for now though.
18948
18949 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18950
18951         * panel-applet/menu-info.c: change from bold text to light
18952         colored, may cause problems with some themes, i've tested a lot
18953         and they seem fine. 
18954
18955         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18956
18957 2004-11-01  Colin Walters  <walters@verbum.org>
18958
18959         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18960         (nm_wireless_128bit_key_from_passphrase): Add const.
18961
18962         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18963         (nm_ap_set_enc_key_source): Add const.
18964         
18965 2004-11-01  Colin Walters  <walters@verbum.org>
18966
18967         * .cvsignore: Update.
18968
18969 2004-10-29 Dan Williams <dcbw@redhat.com>
18970
18971         * src/NetworkManagerDevice.c
18972                 - (nm_device_wireless_network_exists): Actually use the encryption
18973                         key we got from the applet when attempting to find a wireless network
18974                 - Don't bring devices down so much since on some cards it triggers
18975                         firmware hotplugs each time
18976
18977         * src/NetworkManagerDbus.c
18978                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18979                         from the caller
18980
18981 2004-10-29 Dan Williams <dcbw@redhat.com>
18982
18983         * src/NetworkManager.c
18984                 - (nm_hal_device_property_modified): unlock a locked active
18985                         wireless device when a wired connection gets a link.
18986                         (Means you'll switch to wired whenever you plug in no
18987                         matter what).
18988
18989 2004-10-29 Dan Williams <dcbw@redhat.com>
18990
18991         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18992                 - New files, implement the "Other wireless network" dialog
18993
18994         * panel-applet/NMWirelessApplet.c
18995                 - Move "other wireless network" dialog to separate file
18996
18997         * panel-applet/NMWirelessAppletDbus.[ch]
18998                 - Take key and key_type paramaters for the set_device function
18999
19000         * panel-applet/essid.glade
19001                 - Add UI bits for encryption settings
19002
19003         * src/NetworkManagerDbus.c
19004                 - Retrieve key and key_type params for "setActiveDevice" method call
19005                         and pass them on
19006                 - unref AP returned from nm_device_get_best_ap() when needed
19007
19008         * src/NetworkManagerDevice.c
19009                 - (nm_device_get_best_ap): ref the ap before returning it
19010                 - unref AP returned from nm_device_get_best_ap() when needed
19011                 - (nm_device_activate_wireless): add "ap" parameter so we don't
19012                         need to call nm_device_get_best_ap() here, it was pretty much
19013                         redundant anyway
19014                 - (AP_NEED_KEY): break second link check condition out into separate
19015                         function, and fix segfault when ap->enc_key_source was NULL
19016                 - (nm_device_find_and_use_essid): take key and key_type parameters and
19017                         pass them along to nm_device_wireless_network_exists().  If the
19018                         network does exist, set the passed-in key+key_type on the AP
19019
19020         * src/NetworkManagerPolicy.c
19021                 - unref AP returned from nm_device_get_best_ap() when needed
19022
19023 2004-10-28 Dan Williams <dcbw@redhat.com>
19024
19025         * src/NetworkManagerUtils.c
19026                 - (nm_spawn_process): Fix a potential dereference of NULL
19027
19028         Patches from Peter Jones:
19029
19030         * src/NetworkManagerDevice.c
19031                 - (nm_device_test_wireless_extensions): Better check for
19032                         wireless devices
19033
19034         * src/NetworkManagerUtils.c
19035                 - (nm_spawn_process): Pass in valid stdout and stderr so
19036                         executed programs don't randomly SIGPIPE and fail
19037                 - (nm_get_wired_driver_support_level): quash hal warning
19038                         when checking for USB ethernet device
19039
19040 2004-10-27 Dan Williams <dcbw@redhat.com>
19041
19042         * info-daemon/NetworkManagerInfo.c
19043           info-daemon/NetworkManagerInfoDbus.c
19044           info-daemon/NetworkManagerInfoPassphraseDialog.c
19045           panel-applet/NMWirelessApplet.c
19046                 - Properly escape gconf keys
19047
19048         * src/NetworkManager.c
19049                 - remove unused variables
19050
19051         * src/NetworkManagerAP.c
19052                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19053                         refcount since it got set in nm_ap_new()
19054
19055         * src/NetworkManagerAPList.c
19056                 - (nm_ap_list_combine): Give up ownership of newly created
19057                         access points to the ap list, fixes memleak
19058
19059         * src/NetworkManagerDevice.c
19060                 - Remove cached_ap_list4 member since its not really needed
19061                 - (nm_device_wireless_network_exists): Try to get correct
19062                         encryption status of a found AP if its already in our
19063                         device list
19064                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19065                         memory allocs/deallocs a bit clearer and shorter-lived
19066
19067 2004-10-26 Ray Strode <rstrode@redhat.com>
19068
19069         * panel-applet/NMWirelessApplet.c:
19070           (custom_essid_item_selected):  kill some compiler
19071         warnings 
19072
19073 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19074
19075         * info-daemon/NetworkManagerInfoDbus.c
19076                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19077                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19078
19079 2004-10-23 Dan Williams <dcbw@redhat.com>
19080
19081         * info-daemon/NetworkManagerInfoDbus.c
19082                 - Trap the "DeviceActivationFailed" signal
19083
19084         * docs/NetworkManager DBUS API.txt
19085                 - Add "DeviceActivationFailed" signal
19086
19087         * panel-applet/NMWirelessAppletDbus.c
19088                 - Quash the "NetworkManager service not available" message
19089
19090         * src/NetworkManagerDbus.[ch]
19091                 - Add the "DeviceActivationFailed" signal
19092
19093         * src/NetworkManagerDevice.c
19094                 - Add support for activation_failed flag
19095                 - Fix deadlock where activation thread didn't clean itself up, making
19096                         main thread still believe it was alive forever (didn't reset activation
19097                         flags like activating, just_activated, etc when IP configuration
19098                         failed)
19099
19100         * src/NetworkManagerPolicy.c
19101                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19102                         for wireless networks, try to fall back to some other access point
19103
19104 2004-10-23 Dan Williams <dcbw@redhat.com>
19105
19106         * panel-applet/NMWirelessApplet.[ch]
19107                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19108                         to the applet object, so we can get tooltips
19109                 - Add tooltips (RH #136866)
19110
19111         * src/NetworkManagerDevice.c
19112                 - When trying to find a wireless network, try to connect with encryption
19113                         turned on first, so that we can more accurately detect whether or not
19114                         we need to use encryption for the actual association later on
19115
19116 2004-10-21 Dan Williams <dcbw@redhat.com>
19117
19118         * Add some support for telling NetworkManagerInfo to tell the user
19119                 that they are using a device that's not fully supported
19120
19121         * Fix some assertions in debug messages due to null access point args
19122
19123 2004-10-21 Dan Williams <dcbw@redhat.com>
19124
19125         * src/NetworkManagerDevice.c
19126                 - Don't try to activate/bring up/down unsupported
19127                         devices
19128
19129         * src/NetworkManagerUtils.c
19130                 - Fix case of PCI ID checks for driver support levels
19131
19132 2004-10-21 Dan Williams <dcbw@redhat.com>
19133
19134         * NetworkManager.h
19135                 - New file, now contains commonly used structures and bits
19136                         for the dbus API of NetworkManager
19137
19138         * Makefile.am
19139                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19140
19141         * src/NetworkManager.h
19142                 - Rename -> src/NetworkManagerMain.c
19143
19144         * Various fixups all around to use NetworkManager.h and new
19145                 src/NetworkManagerMain.h, remove redundant bits that got
19146                 moved into NetworkManager.h
19147
19148         * src/NetworkManagerDevice.[ch]
19149           src/NetworkManagerUtils.[ch]
19150           src/NetworkManagerPolicy.c
19151           src/NetworkManagerDbus.c
19152                 - Whitelist wireless drivers, and blacklist some wired
19153                         drivers.  Also blacklist cipsec and ethernet-over-usb
19154                         devices at this time (RH #135722, RH #135648)
19155                 - Don't leak unsupported devices out over dbus, or allow
19156                         them to be set as the active device.  Skip over them
19157                         during automatic device picking
19158
19159         * test/nmclienttest.c
19160                 - Clean up the dbus code a lot
19161
19162 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19163
19164         * configure.in: post release bump.
19165
19166 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19167
19168         * configure.in:
19169         * NEWS: Released NetworkManager-0.3.1
19170
19171 2004-10-18 Dan Williams <dcbw@redhat.com>
19172
19173         Patches from Thom May:
19174         * test/nmtestdevices.c
19175                 - Include <string.h>
19176         * src/backends/NetworkManagerDebian.c:
19177                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19178                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19179                         Move to using g_strdup_printf rather than arbitrary buffers
19180                 - (nm_system_device_setup_static_ip4_config) Implement function.
19181                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19182
19183 2004-10-17 Dan Williams <dcbw@redhat.com>
19184
19185         * info-daemon/NetworkManagerInfoDbus.c
19186                 - Display name of network in the "network not found" dialog
19187
19188         * panel-applet/NMWirelessAppletDbus.c
19189                 - (nmwa_dbus_call_nm_method): new function replaces all other
19190                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19191                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19192                         consolidated into nmwa_dbus_get_object_name()
19193
19194 2004-10-15 Dan Williams <dcbw@redhat.com>
19195
19196         * src/NetworkManagerDbus.c
19197           info-daemon/NetworkManagerInfoDbus.c
19198                 - Display an error dialog when the user tries to use an
19199                         "Other wireless network" that's not found.
19200
19201 2004-10-15 Dan Williams <dcbw@redhat.com>
19202
19203         * panel-applet/NMWirelessApplet.[ch]
19204                 - Fix up corner cases in applet state, making it
19205                         look more responsive.  Change state to "connecting" when
19206                         the user is forcing a device too.
19207
19208 2004-10-15 Dan Williams <dcbw@redhat.com>
19209
19210         * src/NetworkManagerAPList.c
19211                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19212
19213         * src/NetworkManagerDbus.c
19214                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19215
19216         * src/NetworkManagerDevice.c
19217                 - Disown APs after the device's AP list takes ownership
19218
19219 2004-10-15 Dan Williams <dcbw@redhat.com>
19220
19221         * panel-applet/NMWirelessApplet.c
19222                 - Update our applet state from the GUI thread
19223
19224         * panel-applet/NMWirelessAppletDbus.c
19225                 - Greatly simplify the locking to make the GUI thread
19226                         smoother.  Update a private copy of the device list
19227                         and active device and only when done talking to
19228                         NetworkManager turn it over to the GUI thread.
19229
19230 2004-10-15 Dan Williams <dcbw@redhat.com>
19231
19232         * src/NetworkManagerAP.[ch]
19233                 - Add "artificial" get/set functions, set for APs that
19234                         aren't discovered as part of a scan but instead
19235                         discovered by force-setting the ESSID
19236
19237         * src/NetworkManagerDevice.[ch]
19238                 - (nm_device_wireless_network_exists): pass back whether
19239                         or not the discovered AP was encrypted.  Also, try
19240                         falling back to encrypted mode on the card if unencrypted
19241                         association doesn't work
19242                 - (nm_device_find_and_use_essid): If the network requested
19243                         did in fact exists, but it wasn't in our scan list, add
19244                         an "artificial" entry for it.  Some Cisco cards don't
19245                         see non-ESSID-broadcasting APs in their scan but can still
19246                         associate with them if you know the ESSID, this works around
19247                         that behavior
19248                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19249                         to scan if the card is currently associated with that AP
19250
19251 2004-10-15 Dan Williams <dcbw@redhat.com>
19252
19253         ---- We have a website ----
19254         http://people.redhat.com/dcbw/NetworkManager
19255
19256         Patch from Robert Paskowitz:
19257         * src/NetworkManager.c
19258                 - (main): Make sure we are run as root
19259         * src/NetworkManagerDevice.c
19260                 - Fix type in ad-hoc setting function
19261
19262         Patch from Thom May:
19263         * src/backends/NetworkManagerDebian.c
19264                 - Make Debian backend compile again
19265
19266 2004-10-14 Dan Williams <dcbw@redhat.com>
19267
19268         * Tagged NetworkManager-0_3
19269
19270 2004-10-14 Dan Williams <dcbw@redhat.com>
19271
19272         Patch from Robert Paskowitz:
19273         * NEWS
19274           src/NetworkManagerDevice.[ch]
19275           src/backends/NetworkManagerDebian.c
19276           src/backends/NetworkManagerGentoo.c
19277           src/backends/NetworkManagerRedHat.c
19278           src/backends/NetworkManagerSlackware.c
19279                 - Add support for grabbing and using a broadcast address
19280                         from system config files
19281                 - Some Gentoo backend fixes for grabbing network config
19282                 - Fix LOG_WARN->LOG_WARNING
19283
19284 2004-10-14 Dan Williams <dcbw@redhat.com>
19285
19286         * NEWS: a few small fixes in the credits
19287
19288 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19289
19290         * NEWS: prep for release.
19291
19292 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19293
19294         * panel-applet/NMWirelessAppletDbus.c
19295         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19296
19297 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19298
19299         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19300         applet->state == APPLET_STATE_NO_NM animation.
19301
19302         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19303         set the text correctly.
19304
19305 2004-10-14 Dan Williams <dcbw@redhat.com>
19306
19307         * src/NetworkManager.c
19308                 - Only accept and manager 802.3 and 802.11 devices
19309
19310         * src/NetworkManagerDbus.[ch]
19311                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19312                         logic into NetworkManagerDevice.c
19313                 - (nm_dbus_network_status_from_data): new function
19314                 - (nm_dbus_signal_network_status_change): new function, unused for now
19315                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19316
19317         * src/NetworkManagerDevice.[ch]
19318                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19319                         a random ESSID.
19320
19321 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19322
19323         * info-daemon/NetworkManagerInfo.c 
19324                 - (main): Added session management
19325
19326 2004-10-14 Dan Williams <dcbw@redhat.com>
19327
19328         * panel-applet/NMWirelessAppletDbus.[ch]
19329                 - Expose network_device_[un]ref()
19330                 - Expose wireless_network_[un]ref()
19331                 - (wireless_network_new_with_essid): new function, create and return
19332                         a wireless network with a particular essid
19333
19334         * panel-applet/NMWirelessApplet.c
19335                 - Hook up the "other network" dialog to do something
19336
19337 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19338
19339         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19340         doesn't work yet, but it looks okay.
19341
19342         * panel-applet/icons/*png: Resize to 22x22 and install in the
19343         right place.
19344
19345 2004-10-13 Dan Williams <dcbw@redhat.com>
19346
19347         * panel-applet/NMWirelessApplet.c
19348                 - Add function to print out applet_state in a readable
19349                         manner
19350
19351         * src/NetworkManager.c
19352                 - (main): Don't segfault when nm_dbus_init() fails, we had
19353                         a left-over call to hal_shutdown() into which we passed NULL
19354
19355         * src/NetworkManagerAP.c
19356                 - (nm_ap_set_essid): Allow NULL essids
19357
19358         * src/NetworkManagerAPList.[ch]
19359                 - More use of nm_ap_list_[un]lock ()
19360                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19361                         network/essid, just return nothing.  Also skip over NULL
19362                         essid access points in the list when searching
19363                 - (nm_ap_list_get_ap_by_address): new function
19364                 - (nm_ap_list_update_network): set the access point's key source to
19365                         NULL when the key returned from NetworkManagerInfo is NULL or
19366                         of 0 length
19367                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19368                         copy timestamp over too
19369                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19370                         find the correct ESSID for a blank-essid access point by searching
19371                         through another list and matching access point MAC addresses
19372                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19373
19374         * src/NetworkManagerDbus.c
19375                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19376                         may specify.  This is mainly for access points that don't
19377                         broadcast their essid.  So if the user tells us to associate with
19378                         some random ESSID that's not in our access point list, we find
19379                         out if the access point does in fact exist (by attempting association
19380                         and then matching that access point's MAC address with the essid the
19381                         user gave us) and then we switch to it.
19382                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19383                         to the returned list of networks for the "getNetworks" method
19384
19385         * src/NetworkManagerDevice.[ch]
19386                 - Extra debugging info for link detection
19387                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19388                         based on MAC address
19389                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19390                 - (nm_device_wireless_network_exists): new function, find out whether
19391                         a random ESSID exists by attempting to associate with it
19392                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19393                         device list as long as they have an AP MAC address we can use.
19394                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19395                         devices too.  Lets the applet update more frequently.
19396
19397         * src/backends/NetworkManagerGentoo.c
19398                 - Patch from: Robert Paskowitz
19399                         - Update backend code for Gentoo
19400                         - Implement nm_system_device_update_config_info ()
19401
19402         * test/nmclienttest.c
19403                 - (set_network_device): new function, takes a command-line argument
19404                         and tells NetworkManager to use that wireless network
19405
19406 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19407
19408         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19409         if the notification icon crashes 5 times within 5 seconds of each respawn 
19410
19411 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19412
19413         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19414         g_print.
19415
19416 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19417
19418         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19419
19420         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19421         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19422         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19423         Change the name of the icons.
19424
19425         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19426         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19427         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19428         (nm_menu_wireless_expose_event): Really bad hack to get the style
19429         to draw in the right color.
19430
19431 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19432
19433         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19434         Notification if it crashes
19435
19436 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19437
19438         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19439         (nmwa_dbus_get_string): remove unused functions
19440
19441         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19442         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19443         remove unused functions
19444
19445         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19446
19447 2004-10-12 Dan Williams <dcbw@redhat.com>
19448
19449         * panel-applet/NMWirelessAppletDbus.c
19450                 - New functions:
19451                         wireless_network_new
19452                         wireless_network_copy
19453                         network_device_new
19454                         network_device_copy
19455
19456         * src/NetworkManagerDevice.[ch]
19457                 - New functions:
19458                         nm_device_set_mode_managed
19459                         nm_device_set_mode_adhoc
19460                 - Use these functions where appropriate
19461                 - When creating a new wireless device, force the card
19462                         to managed/Infrastructure mode as soon as possible
19463
19464 2004-10-12 Dan Williams <dcbw@redhat.com>
19465
19466         * src/NetworkManagerDevice.c
19467                 - Force wireless cards into Infrastructure mode before we use them
19468
19469 2004-10-12 Dan Williams <dcbw@redhat.com>
19470
19471         * TODO
19472                 - Remove bit about static IP address support
19473
19474         * src/NetworkManagerUtils.c
19475                 - (nm_spawn_process): Add some error reporting
19476
19477         * src/NetworkManagerDevice.c
19478                 - (nm_device_activation_configure_ip): hook up to the static config
19479                         routines in the backends
19480
19481         * src/backends/NetworkManagerRedHat.c
19482                 - (nm_system_device_update_config_info): use shvar.c routines to
19483                         parse the config file iformation, not our own
19484                 - (nm_system_device_setup_static_ip4_config): new function, based
19485                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19486                         with a static IP address and gateway
19487
19488         * src/backends/shvar.[ch]
19489                 - Parser (filched from initscripts package) for ifcfg-* files
19490
19491         * src/backends/NetworkManagerSystem.h
19492           src/backends/NetworkManagerGentoo.c
19493           src/backends/NetworkManagerDebian.c
19494           src/backends/NetworkManagerSlackware.c
19495                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19496
19497 2004-10-11 Dan Williams <dcbw@redhat.com>
19498
19499         * TODO
19500                 - Remove bit about more robust AP diffing since I just implemented it
19501
19502 2004-10-11 Dan Williams <dcbw@redhat.com>
19503
19504         * src/NetworkManagerAP.c
19505                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19506                         enough RAM to allocate new AP structures, but return NULL instead
19507
19508         * src/NetworkManagerAPList.[ch]
19509                 - (nm_ap_list_is_empty): new function
19510                 - (nm_ap_list_combine): new function, combine two access point lists
19511                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19512                         into another
19513
19514         * src/NetworkManagerDevice.[ch]
19515                 - Rename some functions to be clearer:
19516                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19517                         nm_device_just_activated     -> nm_device_is_just_activated
19518                         nm_device_activating         -> nm_device_is_activating
19519                         nm_device_now_scanning       -> nm_device_is_scanning
19520                 - Cache the last 4 scans so that the access point list is more stable.
19521                         We combine the lastest two scans and use that as the AP list,
19522                         and diff that combined list against the combination of the earliest
19523                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19524
19525 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19526
19527         * info-daemon/NWManagerInfo.h
19528                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19529
19530         * info-daemon/NWManagerInfoDbus.c
19531                 - (shutdown_callback): new function
19532                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19533                         if NetworkManager goes away.  Kill the timeout
19534                         if NetworkManager restarts before the 30 seconds
19535                         are up.
19536                 - (nmi_dbus_service_init): 
19537                         - call gtk_main_quit if NetworkManager is not running
19538                         - add filters to monitor dbus service creations and
19539                                 deletions
19540         
19541 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19542
19543         * panel-applet/NMWirelessApplet.c
19544                 - (nmwa_update_state): Hide notification icon if we are only
19545                         showing one wired card and no wireless interfaces 
19546                         (Red Hat Bug #134895)
19547
19548         * panel-applet/NMWirelessAppletDbus.c
19549                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19550
19551         * info-daemon/NWManagerInfo.c
19552                 - (main): Terminated the notification_icon_cmd array with a NULL
19553
19554 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19555
19556         * configure.in (ALL_LINGUAS): Added de (German).
19557
19558 2004-10-08 Dan Williams <dcbw@redaht.com>
19559
19560         * src/NetworkManagerDevice.c
19561                 - Be a bit more robust about link checking, ie make sure that
19562                         the WEP key we were given actually has some data in it
19563
19564 2004-10-08 Dan Williams <dcbw@redhat.com>
19565
19566         * info-daemon/NetworkManagerInfo.c (main):
19567                 - Initialize GError object to NULL
19568
19569 2004-10-08 Dan Williams <dcbw@redhat.com>
19570
19571         * panel-applet/NMWirelessAppletDbus.c
19572                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19573
19574 2004-10-08 Dan Williams <dcbw@redhat.com>
19575
19576         * info-daemon/NetworkManagerInfo.[ch]
19577           info-dameon/NetworkManagerInfoDbus.[ch]
19578           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19579                 - Preserve original label text in the passphrase dialog so that
19580                         it actually gets updated with the new network name the next
19581                         time around.  Previously, we were overwriting it so you'd get
19582                         the wrong network name to enter a key for
19583                 - Add a "Key Type" combo to the passphrase dialog, user selects
19584                         encryption key type now, type is stored in GConf too
19585                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19586
19587         * src/NetworkManagerAP.[ch]
19588                 - Remove all the encyption method magic.  It's now set by the user
19589                         and NetworkManager retrieves the type of encryption key from
19590                         NetworkManagerInfo
19591
19592         * src/NetworkManagerAPList.[ch]
19593           src/NetworkManagerDbus.[ch]
19594                 - Adjust to new way of setting encryption key and method
19595                 - Pull encryption method down from NMI along with key
19596
19597         * src/NetworkManagerDevice.[ch]
19598                 - Removed encryption method fallback magic as the method is now
19599                         determined by the user.  This greatly simplifies the connection
19600                         logic.
19601                 - More robust connection/link logic.  Besides removing the encryption
19602                         method fallback magic, check whether or not the card is receiving
19603                         invalidly encrypted packets, which usually indicates that we have
19604                         a bad WEP key set.
19605                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19606
19607         * test/nminfotest.c
19608                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19609
19610 2004-10-07 Dan Williams <dcbw@redhat.com>
19611
19612         * info-daemon/NetworkManagerInfo.conf
19613                 - Allow root user to run NMI too
19614
19615 2004-10-06 Dan Williams <dcbw@redhat.com>
19616
19617         * src/NetworkManagerDevice.[ch]
19618           src/NetworkManagerDbus.c
19619           doc/NetworkManager DBUS API.txt
19620                 - Add a new status tag "scanning", which is set when there
19621                         is no active network connection, but NetworkManager is
19622                         looking for an access point to associate with
19623
19624         * panel-applet/main.c
19625                 - Cast the applet appropriately for gtk_widget_show_all ()
19626
19627 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19628
19629         * panel-applet/eggtrayicon.[ch]:
19630         * panel-applet/main.c: Add missing file
19631
19632 2004-10-04 Dan Williams <dcbw@redhat.com>
19633
19634         * src/NetworkManagerDevice.[ch]
19635                 - Add a slightly more robust method of determining if the WEP key
19636                         is correct or not, by checking the WEP-discarded packet count
19637                         on the card
19638
19639         * info-daemon/NetworkManagerInfo.c
19640                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19641                         un-escape values we pull out rather than escaping them
19642
19643 2004-10-03  Marcel Telka  <marcel@telka.sk>
19644
19645         * configure.in (ALL_LINGUAS): Added sk.
19646
19647 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19648
19649         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19650         and feel.  We should be back to working, and have a good, clean
19651         look.
19652
19653 2004-09-30 Dan Williams <dcbw@redhat.com>
19654
19655         * info-daemon/NetworkManagerInfo.c
19656           info-daemon/NetworkManagerInfoDbus.c
19657           test/nminfotest.c
19658                 - Escape ESSIDs in gconf
19659
19660         * src/NetworkManagerDevice.c
19661                 - Fix pseudo-scanning to use netowrk list from info daemon
19662
19663 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19664
19665         * configure.in: Add a temporary --enable-notification-icon.  This
19666         will prolly go away.
19667
19668         * info-daemon/Makefile.am:
19669         * info-daemon/NetworkManagerInfo.c:
19670         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19671
19672         * panel-applet/Makefile.am:
19673         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19674         * panel-applet/NMWirelessApplet.h:
19675
19676 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19677
19678         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19679         before 'select custom ESSID'.
19680
19681         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19682         fully complete, but syncing in prep for merge.
19683
19684         * panel-applet/icons/*png: New images
19685
19686 2004-09-28 Dan Williams <dcbw@redhat.com>
19687
19688         * src/NetworkManager.c
19689           src/NetworkManagerDevice.c
19690           src/NetworkManagerPolicy.c
19691                 - Don't blow away an active wired connection on startup
19692
19693 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19694
19695         Changes from J5
19696         
19697         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19698
19699         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19700         syslog output
19701
19702 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19703
19704         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19705         have a wireless card.
19706
19707 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19708
19709         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19710         Also, get the right device strings.
19711
19712 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19713
19714         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19715         the logic to make this right.
19716
19717         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19718         devices so that wired networks are always first.
19719
19720 2004-09-22    <clarkbw@cvs.gnome.org>
19721
19722         * initscript/Debian/.cvsignore:
19723         * initscript/Slackware/.cvsignore:
19724         Added new cvsignores for Makefile, Makefile.in
19725         
19726         * test/.cvsignore:
19727         Added nmtestdevices
19728         
19729         * src/NetworkManagerDevice.c: 
19730         * src/NetworkManager.c: 
19731         Updated the wireless/wired HAL device strings from net.ethernet to
19732         net.80203 or net.80211 depending on wired or wireless respectively
19733         
19734         * examples/python/NetworkManager.py: 
19735         s/Quality/Strength/
19736
19737         * examples/python/systray/network_tray.py:
19738         Lots of little changes and fixes.  been rotting for a while so I
19739         figured I'd finally sync them all with CVS
19740
19741 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19742
19743         * configure.in: Add graphics
19744
19745         * panel-applet/Makefile.am: Add graphics
19746
19747         * panel-applet/icons/*: Add graphics
19748
19749         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19750         the icons fully lined up.
19751
19752         * panel-applet/menu-info.c: 
19753         * panel-applet/menu-info.h: Add another menu type.
19754
19755 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19756
19757         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19758
19759         * panel-applet/menu-item.[ch]: Wireless menu item.
19760
19761 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19762
19763         * info-daemon/NetworkManagerInfo.conf
19764                 - Created a more robust security policy for the DBus service
19765                         - everything is denied by default
19766                         - root can own and send to the service
19767                         - users logged in at the console can send to the service
19768
19769 2004-09-13  Dan Williams <dcbw@redhat.com>
19770
19771         * src/NetworkManagerDevice.c
19772                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19773                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19774                         the latter
19775
19776 2004-09-13  Dan Williams <dcbw@redhat.com>
19777
19778         * TODO: fix typo
19779
19780         * docs/NetworkManager DBUS API.txt
19781                 - Update for new signal strength changes
19782
19783         * panel-applet/NMWirelessApplet.c
19784                 - Make panel icon show strength of the current connection
19785                 - Cleanups and memleak fixes
19786
19787         * panel-applet/NMWirelessApplet.h
19788                 - Add data members for signal strength on devices and networks
19789
19790         * panel-applet/NMWirelessAppletDbus.c
19791                 - Free more DBusErrors
19792                 - Update for new signal strength changes
19793                 - Make devices and networks more like real objects, use ref/unref methods
19794                 - Actually unlock the mutex when updating the active device
19795
19796         * src/NetworkManagerAP.c
19797                 - Change AP functions and data members from "quality"->"strength"
19798
19799         * src/NetworkManagerDbus.c
19800                 - Kill "getMaxQuality" and "getQuality" methods
19801                 - Add "getStrength" methods for Networks and Devices
19802
19803         * src/NetworkManagerDevice.[ch]
19804                 - Add accessors for device strength
19805                 - Add functions to update strength for a device.  Note that not all drivers
19806                         actually support signal strength for scanned access points (Atmel drivers
19807                         being one)
19808                 - Calculate signal strength for each AP during scan
19809
19810         * src/NetworkManagerWireless.[ch]
19811                 - Add function to return signal strength % from a device and a raw quality struct
19812
19813         * test/nmclienttest.c
19814                 - Update for new signal strength changes
19815
19816 2004-09-11  Dan Williams <dcbw@redhat.com>
19817
19818         * src/NetworkManager.c
19819                 - Fix race condition between initscripts and NM on card insertion
19820                         which could cause a card to keep an IP address and routes around
19821                         even when it was not the active device
19822
19823         * src/NetworkManagerDbus.c
19824                 - Fix compile errors, free more DBusErrors
19825
19826 2004-09-11  Dan Williams <dcbw@redhat.com>
19827
19828         * docs/NetworkManager DBUS API.txt
19829                 - Add an explanation of NM's API
19830
19831         * src/NetworkManagerDbus.c
19832                 - Free some more DBusErrors if needed
19833
19834 2004-09-11  Dan Williams <dcbw@redhat.com>
19835
19836         * panel-applet/NMWirelessApplet.c
19837           panel-applet/NMWirelessAppletDbus.c
19838                 - Start using NetworkDevice/WirelessNetwork structures in more places
19839                 - Update for unified device/network forcing in NetworkManager
19840
19841         * src/NetworkManager.c
19842                 - some code consolidation
19843
19844         * src/NetworkManagerDbus.c
19845                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19846                         or two arguments:  the first is the NM ID of the device to switch to,
19847                         and the second (optional) argument is the ESSID of a wireless network
19848                         to use as well.
19849                 - Get rid of "setNetwork" method due to above change
19850
19851         * src/NetworkManagerDevice.c
19852                 - (nm_device_new): perform scan and update best AP on device creation
19853                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19854                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19855                         spin waiting for cancellation to finish before returning
19856
19857         * src/NetworkManagerPolicy.c
19858                 - Changes here clarify the situations in which a device switch occurs, and 
19859                         make sure to keep using a forced device and network if the user gives
19860                         us one
19861                 - Remove old unused code
19862
19863 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19864
19865         * configure.in: Added Danish (da) to ALL_LINGUAS.
19866
19867 2004-09-09  Dan Williams <dcbw@redhat.com>
19868
19869         * panel-applet/NMWirelessAppletDbus.c
19870                 - Pull fresh devices and networks from NM when wireless networks
19871                         change.  Provides faster feedback of a forced wireless network
19872
19873         * src/NetworkManagerDbus.c
19874                 - Return error when "getMaxQuality" is called on a wired device
19875                 - Make best_ap freezing actually work again, and signal cancellation
19876                         of activation if there's already a device activation when the user
19877                         freezes the best_ap
19878
19879         * src/NetworkManagerDevice.c
19880                 - Don't clear out the best_ap for wireless devices when the link goes
19881                         down, that's done elsewhere
19882                 - Kill any dhcp daemons when cancelling device activation since they
19883                         may be stuck waiting for a DHCP address, and since we're cancelling
19884                         activation we don't care about that anymore
19885
19886         * src/NetworkManagerPolicy.c
19887                 - Make sure to unref the device we ref earlier (we refed it to make sure
19888                         it stuck around during device activation and such)
19889                 - If we were going to change the best device, but its activating currently
19890                         (and therefore the change didn't occur due to the check earlier)
19891                         we mark the state changed to we come back to it later when device
19892                         activation has canceled and its no longer activating
19893
19894         * src/backends/NetworkManagerRedHat.c
19895                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19896
19897 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19898
19899         * info-daemon/passphrase.glade: 
19900         set passphrase input to activates_default : True
19901
19902         * examples/python/systray/network_tray.py
19903         (network_tray.sort_networks):
19904
19905         Added support for having wireless always scanning
19906
19907 2004-09-09  Dan Williams <dcbw@redhat.com>
19908
19909         NOTE: this commit changes the behavior of wireless devices in
19910         NetworkManager.  They are now up all the time, scanning all
19911         the time.  Only the active device has an IP address and routing
19912         information set up however.  Also, NetworkManager will no longer
19913         opportunistically switch wireless networks when a better one
19914         comes in range, it will remain associated with one wireless network
19915         until that one drops out.
19916
19917         * panel-applet/NMWirelessApplet.c
19918           panel-applet/NMWirelessAppletDbus.c
19919                 - List all wireless cards and their respective networks
19920
19921         * src/NMLoadModules
19922                 - Use full path to /sbin/ip
19923
19924         * src/NetworkManager.c
19925                 - Keep wireless devices up all the time so they can scan
19926
19927         * src/NetworkManagerDbus.c
19928                 - On a WirelessNetworkUpdate signal from NMI, don't update
19929                         the "best" AP
19930
19931         * src/NetworkManagerDevice.c
19932                 - (nm_device_set_link_active): clear out the best ap for
19933                         wireless devices when the link is set to FALSE
19934                 - Scan on all wireless cards, all the time
19935                 - (nm_device_activation_worker): split out the wireless card
19936                         link-waiting code to a separate function
19937                 - Keep wireless cards up even if device activation fails
19938                 - Don't update the "best" ap as much
19939
19940         * src/NetworkManagerPolicy.c
19941                 - Don't update the best ap when checking if its frozen,
19942                         let link checking clear out a frozen best ap for us
19943
19944         * src/NetworkManagerWireless.c
19945                 - Scan on all wireless cards, all the time
19946
19947 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19948
19949         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19950
19951 2004-09-09  Ankit Patel <ankit@redhat.com>
19952
19953         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19954
19955 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19956
19957         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19958
19959 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19960
19961         * examples/python/NetworkManager.py: 
19962         added CONNECTED, CONNECTING, and DISCONNECTED states
19963         added methods to return number of devices of a single type
19964
19965         * examples/python/systray/network_tray.py: 
19966         did some tweaks to get the menu looking near what it is supposed
19967         to look like.  Also did a Airo card hack to make it show the
19968         correct AP quality
19969
19970 2004-09-08  Dan Williams <dcbw@redhat.com>
19971
19972         * panel-applet/no-networkmanager.png
19973           panel-applet/Makefile.am
19974           panel-applet/NMWirelessApplet.c
19975                 - Add a "NetworkManager not running" icon and use it
19976                 - Use new consolidated GConf keys rather than Preferred/Trusted
19977
19978         * TODO: update
19979
19980         * info-daemon/NetworkManagerInfo.c
19981           info-daemon/NetworkManagerInfoDbus.[ch]
19982           info-daemon/NetworkManagerInfoPassphraseDialog.c
19983                 - There are now no longer two separate lists of wireless networks,
19984                         but one list where each network is "trusted" or not trusted
19985                 - Add a "getNetworkTrusted" dbus method
19986                 - "WirelessNetworkUpdate" signal now sent rather than
19987                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19988                 - Start freeing some dbus errors (not completed yet)
19989
19990         * info-daemon/passphrase.glade
19991                 - Remove the "don't show" hints for pager and taskbar
19992                 - Add a title since its going to be in the taskbar
19993
19994         * src/NetworkManager.[ch]
19995           src/NetworkManagerAPList.[ch]
19996                 - There are now no longer two separate lists of wireless networks,
19997                         but one list where each network is "trusted" or not trusted
19998
19999         * src/NetworkManagerAP.[ch]
20000                 - Add get/set "trusted" accessors and data bit
20001
20002         * src/NetworkManagerDbus.[ch]
20003                 - Add function to get "trusted" status of a network from NetworkManagerInfo
20004                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20005
20006         * src/NetworkManagerDevice.[ch]
20007                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20008                 - (nm_device_new): Get device config from backend when initializing devices
20009                 - (nm_device_activation_worker): Split out device configuration on
20010                         activation to deal with static/dynamic IP differences, and try encryption
20011                         fallbacks on a device if the encryption method for the best AP is not good
20012                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20013                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20014
20015         * src/NetworkManagerWireless.c
20016                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20017
20018         * src/backends/NetworkManagerRedHat.c
20019           src/backends/NetworkManagerSystem.h
20020                 - (nm_system_device_update_config_info): Add function to get device configuration
20021                         from system data in ifcfg-* files
20022
20023         * src/backends/NetworkManagerDebian.c
20024           src/backends/NetworkManagerGentoo.c
20025           src/backends/NetworkManagerSlackware.c
20026                 - Add stub functions for getting device configuration
20027
20028 2004-09-07  Dan Williams <dcbw@redhat.com>
20029
20030         * src/backends/NetworkManagerRedhat.c
20031           src/backends/NetworkManagerSlackware.c
20032                 - Use full path to /sbin/ip everywhere
20033
20034 2004-09-07  Dan Williams <dcbw@redhat.com>
20035
20036         Patch from: Narayan Newton <narayan_newton@yahoo.com>
20037
20038         * configure.in
20039           initscript/Makefile.am
20040           initscript/Slackware/Makfile.am
20041           initscript/Slackware/rc.networkmanager
20042           src/Makefile.am
20043           src/backends/NetworkManagerSlackware.c
20044                 - Add Slackware support
20045
20046 2004-09-07  Dan Williams <dcbw@redhat.com>
20047
20048         Patches below from:
20049                 <j@bootlab.org>
20050                 Mark Roach <mrroach@okmaybe.com>
20051                 Thom May <thom@debian.org>
20052
20053         * configure.in
20054           initscript/Debian/NetworkManager
20055           initscript/Debian/Makefile.am
20056                 - Initscript for Debian
20057
20058         * src/backends/NetworkManagerDebian.c
20059                 - Add missing system init function to allow compilation
20060                         on Debian
20061
20062 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20063
20064         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20065
20066 2004-09-03  Akagic Amila <bono@linux.org.ba>
20067
20068         * configure.in: Added 'bs' to ALL_LINGUAS.
20069
20070 2004-09-02  Colin Walters  <walters@verbum.org>
20071
20072         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20073         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20074         g_strdup_printf instead of arbitrarily sized buffers.
20075
20076 2004-09-01  Colin Walters  <walters@verbum.org>
20077
20078         * NetworkManager.pc.in: New file.
20079
20080         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20081
20082 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20083         
20084         * configure.in: Punjabi(pa) is added to po/.
20085
20086 2004-08-31  Dan Williams <dcbw@redhat.com>
20087
20088         * Remove 'debug' extern global from all files since we now
20089                 use syslog()
20090
20091         * src/NetworkManager.[ch]
20092                 - Break out routine that get the net.interface property from HAL,
20093                         removing that logic from nm_create_device_and_add_to_list()
20094                 - (nm_create_device_and_add_to_list): make this a bit more general so
20095                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20096                         the create of test devices.
20097                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20098                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20099                         which makes NetworkManager listen for dbus commands to create test
20100                         devices, which have no backing hardware.  Use when you're on a plane
20101                         for example, and/or forgot your wireless card at home.  Test devices
20102                         _cannot_ be created unless NM is started with --enable-test-devices.
20103
20104         * src/NetworkManagerDbus.[ch]
20105                 - New "getLinkActive" method for devices
20106                 - New "setLinkActive" method for devices (only works on test devices)
20107                 - New "createTestDevice" method on NetworkManager object to create a test
20108                         device of a specified type (ie wired, wireless).  UDI is created from
20109                         scratch, as is the interface name.  Only works when NM is started with
20110                         --enable-test-devices switch.
20111                 - New "removeTestDevice" method on NetworkManager object which removes a
20112                         test device.  Only works when NM is started with --enable-test-devices
20113
20114         * src/NetworkManagerDevice.[ch]
20115                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20116                         whether a device is a test device or not, and what its link status is.
20117                 - Deal with test devices in most functions.  For those that work directly on hardware
20118                         special-case test devices.
20119                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20120                         command-line.
20121                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20122                         checking to separate functions to facilitate test device link checking.
20123                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20124                         don't make a distinction between System Authentication and Encryption
20125                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20126                         on the card.  We don't deal with Shared Key auth yet.
20127                 - (nm_device_activation_worker): split the activation cancel check logic out into
20128                         a separate routine nm_device_activation_cancel_if_needed()
20129                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20130                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20131                         a list of fake access points that they can "see"
20132                 - (nm_device_is_test_device): return whether or not a device is a test device
20133
20134         * src/NetworkManagerPolicy.c
20135                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20136                         previously if you "locked"/forced NM to use a wireless device but then
20137                         selected a wireless network for NM to use, it would switch to a wired device.
20138                         So, if the active device is wireless and it has a "forced" best AP, use it
20139                         if the "forced" best AP is still valid
20140                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20141                         there were no usable network devices, or the last one was removed
20142
20143         * src/backends/NetworkManager*.c
20144                 - Deal with test devices, mostly just return success for operations like getting
20145                         a DHCP address
20146
20147         * test/nmtestdevices.c
20148                 - Test tool to create/remove/link-switch test devices
20149
20150 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20151
20152         * examples/python/NetworkManager.py: 
20153         added convience functions has_wired_device and has_wireless_device
20154
20155         * examples/python/systray/network_tray.py: 
20156         cleaned up a bunch of cruft, added support for listing wireless
20157         networks just like the real applet.  This is probably all I'm
20158         going to work on this applet from now on.
20159         TODO: add support for actually changing networks and devices
20160
20161         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20162         changed "nm.networks" into a dict from a list so I can store all
20163         the cool information about networks in there
20164
20165         * examples/python/systray/network_tray.py: 
20166         Added nice message when you try to run without running make first
20167
20168         * examples/python/NetworkManager.py: 
20169         Bug fixes to the code so we get all the device information
20170         that we need in get_device()
20171         
20172         * examples/python/NMTester.py: 
20173         Fixed _print_device_list to print_device_list
20174
20175 2004-08-29  Seth Nickell  <seth@gnome.org>
20176
20177         * configure.in:
20178
20179         Actually properly setup the Debian backend in configure.
20180         
20181 2004-08-29  Colin Walters  <walters@verbum.org>
20182
20183         * test/nminfotest.c: Include string.h and stdlib.h.
20184         (get_network_string_property, get_networks_of_type): Return NULL.
20185
20186         * test/nmclienttest.c (get_device_name, get_active_device): Return
20187         NULL.
20188
20189         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20190         use strlen, fgets always NULL-terminates the string.
20191
20192         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20193         dbus_message_get_member): Remove /* in comment.
20194
20195         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20196
20197         * src/NetworkManager.c (quit): Unused, delete.
20198         (nm_data_free): Cast arg to GFunc.
20199
20200         * panel-applet/NMWirelessAppletDbus.c: Need to include
20201         string.h, and dbus-glib-lowlevel.h (the latter is needed
20202         for dbus_connection_setup_with_g_main at present).
20203         (nmwa_dbus_update_wireless_network_list): Parenthesize
20204         assignment in conditional.
20205         (nmwa_dbus_worker): Return NULL.
20206
20207         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20208         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20209         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20210         (nmwa_populate_menu): Return NULL on failure, instead of just
20211         return;
20212
20213         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20214
20215         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20216         variables.
20217
20218         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20219         delete.
20220         
20221 2004-08-29  Colin Walters  <walters@verbum.org>
20222
20223         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20224         a GTimeVal instead of time_t.  This is easier to work with,
20225         since time_t may be a long or double, we don't know.
20226
20227         * src/NetworkManagerDbus.h: Update prototype.
20228         
20229         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20230         instead of time_t.
20231         (nm_ap_get_timestamp): Update to return GTimeVal.
20232         (nm_ap_set_timestamp): Update to take GTimeVal.
20233         
20234         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20235         to handle GTimeVal.
20236
20237         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20238         GTimeVal change.
20239         (nm_ap_list_print_members): Fix warnings in printf format.
20240
20241 2004-08-29  Colin Walters  <walters@verbum.org>
20242         
20243         * panel-applet/NMWirelessApplet.c: Include config.h.
20244
20245 2004-08-29  Colin Walters  <walters@verbum.org>
20246
20247         * configure.in: Generate config.h.
20248
20249         * configure.in: Dump dependency on OpenSSL; we can't
20250         use it since this package is GPL:
20251         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20252         Instead, check for libgcrypt, use it if available,
20253         otherwise use included MD5 code.
20254
20255         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20256         Suck in from gnome-keyring, munge a bit.
20257         
20258         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20259         gnome-keyring-md5.h gnome-keyring-md5.c.
20260         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20261
20262         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20263         libgcrypt or included gnome-keyring md5 bits.
20264         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20265
20266 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20267
20268         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20269
20270 2004-08-27  Bryan Clark  <bclark@redhat.com>
20271
20272         * examples/python/systray/Makefile: 
20273
20274         Updated the clean section
20275         
20276         * examples/python/systray/trayiconmodule.c: 
20277         * examples/python/systray/trayicon.override: 
20278         * examples/python/systray/network_tray.py: 
20279         * examples/python/systray/eggtrayicon.h: 
20280         * examples/python/systray/eggtrayicon.c: 
20281         * examples/python/systray/Makefile: 
20282         * examples/python/README: 
20283         * examples/python/NetworkManager.py: 
20284         * examples/python/NMTester.py: 
20285
20286         Initial commit of these python example files
20287
20288 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20289
20290         * panel-applet/NMWirelessApplet.c
20291                 - Make current device bold
20292                 - Show more user-friendly device name if we got one from hal
20293
20294         * panel-applet/NMWirelessAppletDbus.c
20295                 - Grab "info.product" key from hal for network devices
20296                 - Cache the current active device
20297
20298 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20299
20300         * configure.in: Added en_CA to ALL_LINGUAS.
20301
20302 2004-08-27  Christian Rose  <menthos@menthos.com>
20303
20304         * configure.in: Added "sv" to ALL_LINGUAS.
20305
20306 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20307
20308         * Tag NetworkManager-0.2
20309
20310 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20311
20312         * initscripts/Makefile.am
20313         * configure.in: Make pass distcheck
20314
20315         * po/ChangeLog: added
20316
20317 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20318
20319         * panel-applet/NMWirelessApplet.c
20320                 - Remove debugging code
20321                 - Enable device switching from menus
20322
20323         * panel-applet/NMWirelessAppletDbus.[ch]
20324                 - Method for asking NM to switch devices
20325
20326         * src/NetworkManagerDevice.c
20327                 - Set dev->activating earlier, avoids race between
20328                         the dbus signal of "DeviceActivating" and setting
20329                         dev->activating (which is what NM's "status" method call
20330                         looks at)
20331
20332 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20333
20334         * panel-applet/NMWirelessApplet.[ch]
20335                 - Rework menu code to add devices to menu, and to show
20336                         signal strength for each access point.  Code cleanups
20337                         too.
20338
20339         * panel-applet/NMWirelessAppletDbus.c
20340                 - Grab network devices from NetworkManager too
20341                 - Grab quality information from NM for wireless networks
20342
20343         * src/NetworkManagerDbus.[ch]
20344                 - Add dbus methods for getting the HAL UDI from a device and
20345                         for getting its base quality, if its wireless
20346                 - Consolidate some functions (wireless network notifications,
20347                         device notifications)
20348                 - Add method for requesting NM to use a particular device
20349
20350         * src/NetworkManager.c
20351                 - Change for function consolidations from NetworkManagerDbus.c
20352                 - Implement active device locking and user-requested devices
20353                         (ie, tell NM to use a particular device instead of the one
20354                         it autochose)
20355
20356         * src/NetworkManagerDevice.c
20357                 - Add method for getting the base quality of a device, if its
20358                         wireless
20359                 - Grab device base quailty info from iwlib during scans
20360
20361         * src/NetworkManagerPolicy.c
20362                 - Use a user-requested device rather than the auto-chosen device
20363                         if we are told to
20364
20365 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20366
20367         * Makefile.am: add po as a supdir
20368
20369         * autogen.sh: use gnome-autogen.sh
20370
20371         * initscript/Gentoo/.cvsignore:
20372         * initscript/RedHat/.cvsignore: Shut up cvs
20373
20374         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20375
20376         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20377         (nmwa_fill): Use gettext.
20378
20379         * configure.in: add gettext support
20380         * po/.cvsignore:
20381         * po/NetworkManager.pot:
20382         * po/POTFILES.in:
20383
20384 2004-08-26  Seth Nickell  <seth@gnome.org>
20385
20386         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20387         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20388         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20389         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20390         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20391         * panel-applet/NMWirelessApplet.h:
20392
20393         Use a menu bar instead of a button for the main clickable
20394         thingy.
20395         
20396 2004-08-25  Dan Williams <dcbw@redhat.com>
20397
20398         * src/NetworkManagerDevice.c
20399                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20400                         turning encryption off, because the Cisco driver doesn't associate
20401                         with WEP-enabled access points unless we are in "open"
20402
20403 2004-08-25  Dan Williams <dcbw@redhat.com>
20404
20405         * src/NetworkManagerWireless.c
20406                 - Don't try to defererence blank passphrases
20407
20408 2004-08-25  Dan Williams <dcbw@redhat.com>
20409
20410         * panel-applet/NMWirelessApplet.c
20411                 - Rebuild the menu whenever a user clicks
20412
20413 2004-08-25  Dan Williams <dcbw@redhat.com>
20414
20415         * panel-applet/NMWirelessApplet.c
20416                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20417                         when NM isn't around or when its not connected
20418
20419         * src/NetworkManagerDevice.c
20420                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20421                         canceled.
20422
20423 2004-08-25  Dan Williams <dcbw@redhat.com>
20424
20425         * panel-applet/NMWirelessAppletDbus.c
20426                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20427                         for getting encryption, and don't stop on "val" once we've gotten it
20428                         from NetworkManager.  Short form:  encryption should now show up.
20429
20430 2004-08-25  Dan Williams <dcbw@redhat.com>
20431
20432         * panel-applet/NMWirelessApplet.c
20433                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20434                         network to associate with
20435
20436 2004-08-25  Dan Williams <dcbw@redhat.com>
20437
20438         * panel-applet/*
20439                 - Rework the panel applet to do all DBUS communication in a separate
20440                         thread
20441
20442 2004-08-25  Dan Williams <dcbw@redhat.com>
20443
20444         * info-daemon/NetworkManagerInfo.[ch]
20445                 - Remove "get_next_priority" function
20446
20447         * info-daemon/NetworkManagerInfoDbus.[ch]
20448                 - Convert "priority" functions to "timestamp"
20449
20450 2004-08-25  Dan Williams <dcbw@redhat.com>
20451
20452         * src/NetworkManagerAP.[ch]
20453                 - Add a "enc_method_good" member and accessors to an Access Point
20454                         to signal when we've found the correct encryption method
20455                         for an access point
20456                 - Add a "timestamp" member and accessors, remove "priority" member
20457                         and accessors (use timestamps instead)
20458                 - Rename "wep_key"->"enc_key"
20459                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20460                         for a specified encryption method using the access points
20461                         source encryption key/passphrase
20462
20463         * src/NetworkManagerAPList.c
20464                 - When updating a network with dbus, grab timestamp now instead of
20465                         priority
20466
20467         * src/NetworkManagerDBus.[ch]
20468                 - Add signal for "DeviceActivating"
20469                 - Switch priority->timestamp
20470
20471         * src/NetworkManagerDevice.c
20472                 - Change references of "wep_key" -> "enc_key" or "key"
20473                 - Signal DeviceActivating when starting activation
20474                 - When activating a wireless device, if the access point we are connecting
20475                         to is encrypted, and we have a source key, try to generate a mangled
20476                         key and use that (ie, generate real WEP key from a passphrase)
20477                 - Rework device activation to fallback to other encryption methods if
20478                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20479                         first, then if that doesn't work fall back to direct hex key).
20480                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20481                         priority.  We now prefer the latest access point used, rather than using
20482                         a priority scheme
20483                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20484                         points we've just discovered, and merge in correct info from the global
20485                         access point lists
20486
20487 2004-08-25  Seth Nickell  <seth@gnome.org>
20488
20489         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20490         Debian support.
20491         
20492         * src/Makefile.am:
20493         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20494         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20495         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20496         (nm_system_delete_default_route),
20497         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20498         (nm_system_load_device_modules):
20499
20500 2004-08-24  Dan Willemsen <dan@willemsen.us>
20501
20502         * src/NetworkManager.c
20503           src/backends/NetworkManagerGentoo.c
20504           src/backends/NetworkManagerRedHat.c
20505           src/backends/NetworkManagerSystem.h
20506                 - Implement preliminary Gentoo support, adding a
20507                         nm_system_init function to the backend specification
20508
20509         * configure.in
20510                 - Distribution auto-detection, lowercase any user-fed
20511                         distribution names
20512
20513         * initscript/.cvsignore
20514           initscript/Makefile.am
20515           initscript/RedHat/Makefile.am
20516           initscript/RedHat/NetworkManager
20517           initscript/Gentoo/Makefile.am
20518           initscript/Gentoo/NetworkManager
20519                 - Refactored initscript code separately for each
20520                         distribution
20521
20522 2004-08-23  Dan Williams <dcbw@redhat.com>
20523
20524         * configure.in
20525           src/Makefile.am
20526           src/NetworkManagerDevice.c
20527           src/NetworkManager.c
20528           src/NetworkManagerUtils.[ch]
20529           src/backends/NetworkManagerSystem.h
20530           src/backends/NetworkManagerRedHat.c
20531           src/backends/NetworkManagerGentoo.c
20532                 - Refactor system-specific code into separate backends for
20533                         each distribution
20534
20535 2004-08-23  Dan Willemsen <dan@willemsen.us>
20536
20537         * dispatcher-daemon/NetworkManagerDispatcher.c
20538           info-daemon/NetworkManagerInfo.[ch]
20539           info-daemon/NetworkManagerInfoDbus.c
20540           info-daemon/NetworkManagerInfoPassphraseDialog.c
20541           src/NetworkManager.c
20542           src/NetworkManagerAP.c
20543           src/NetworkManagerAPList.c
20544           src/NetworkManagerDbus.c
20545           src/NetworkManagerDevice.c
20546           src/NetworkManagerPolicy.c
20547           src/NetworkManagerUtils.[ch]
20548           src/NetworkManagerWireless.c
20549                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20550
20551         * src/NetworkManager.c
20552                 - Fixed usage wording for --no-daemon
20553
20554 2004-08-23  Dan Williams <dcbw@redhat.com>
20555
20556         * panel-applet/NMWirelessApplet.c
20557                 - Update our state every second to get more responsive panel icon
20558                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20559                         was causing our marching ants status blips to never move when
20560                         looking for a wireless network
20561
20562         * src/NetworkManagerDevice.c
20563                 - (nm_device_activation_begin): return if activation has already begun
20564                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20565                         trusted/preferred network into the device's access point when the
20566                         scan list is processed
20567
20568 2004-08-23  Dan Williams <dcbw@redhat.com>
20569
20570         * initscript/NetworkManager
20571                 - Use NMLaunchHelper rather than sleeping
20572
20573         * initscript/NMLaunchHelper.c
20574           Makefile.am
20575                 - Add helper program that exits only when NM activates a device,
20576                         or 10 seconds have passed, whichever happens first.  This
20577                         stops the boot processes until we have a network connection,
20578                         which NM can't do because it daemonizes and brings the connection
20579                         up in the background.  Allows stuff like NFS to not die.
20580
20581 2004-08-20  Dan Williams <dcbw@redhat.com>
20582
20583         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20584                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20585                         for a network, set the essid as well since it may not exist yet
20586                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20587                         since WEP keys/passphrases are long and prone to entry-error
20588
20589         * panel-applet/Makefile.am
20590           panel-applet/wired.png
20591                 - Add (pulled from system-config-network temporarily)
20592
20593         * panel-applet/NMWirelessApplet.[ch]
20594                 - Show wired picture when a wired connection is used
20595                 - Rename wireless icon enums, adding WIRELESS
20596
20597         * src/NetworkManagerDevice.c
20598                 - (nm_device_activate_wireless): unset encryption before bringing
20599                         down the card and setting the essid
20600                 - (nm_device_activatin_worker): request a key from the user if the
20601                         AP we are connecting to is encrypted but we don't have a key
20602                         for it yet
20603                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20604                         strcmp() that prevented a user-entered key from actually getting
20605                         used
20606
20607 2004-08-16  Dan Williams <dcbw@redhat.com>
20608
20609         * initscript/NetworkManager
20610                 - Check for /sbin/ip
20611                 - Do sysctl magic that network service does
20612                 - sleep 4s after start to allow network time to come up [hack]
20613
20614         * src/Makefile.am
20615           src/NMLoadModules
20616                 - Load all network device kernel modules (hal doesn't know devices
20617                         are ethernet until the module is loaded, and therefore we don't know)
20618
20619         * src/NetworkManager.c
20620                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20621                         network devices, and bring up the loopback device explicitly
20622
20623         * src/NetworkManagerUtils.[ch]
20624                 - (nm_enable_loopback): new function
20625
20626 2004-08-13  Dan Williams <dcbw@redhat.com>
20627
20628         * configure.in
20629           panel-applet/Makefile.am
20630                 - Fix up cleanfiles and server_DATA/server_in_files
20631
20632         * README
20633                 - Update with some comments on theory of operation
20634
20635         * CONTRIBUTING
20636           Makefile.am
20637                 - Add CONTRIBUTING
20638
20639 2004-08-12  Dan Williams <dcbw@redhat.com>
20640
20641         * info-daemon/passphrase.glade
20642                 - Set window title to " "
20643
20644         * panel-applet/Makefile.am
20645           panel-applet/keyring.png
20646                 - Deliver to correct place
20647
20648         * panel-applet/NMWirelessApplet.[ch]
20649                 - Add comments
20650                 - Remove applet->have_active_device as its no longer used
20651                 - (nmwa_load_theme): load keyring.png too
20652                 - (error_dialog): remove
20653                 - (show_warning_dialog): subsume functionality of error dialog too
20654                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20655                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20656                         the networks menu
20657                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20658                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20659                         and when we get broadcasts of changed wireless access points only, not when the
20660                         user clicks on the button to display the menu (too long of a wait)
20661                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20662                         networks that are encrypted
20663                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20664                         menu item with g_object_set_data()
20665
20666         * panel-applet/NMWirelessAppletDbus.[ch]
20667                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20668                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20669                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20670                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20671                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20672                         activation/deactivation signals and rebuild the menu when they happen
20673
20674         * src/NetworkManager.c
20675                 - (main): use new nm_spawn_process() rather than system()
20676
20677         * src/NetworkManagerDbus.c
20678                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20679                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20680                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20681                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20682                         to freeze the best_ap.
20683
20684         * src/NetworkManagerDevice.[ch]
20685                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20686                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20687                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20688                         ap list
20689
20690         * src/NetworkManagerUtils.[ch]
20691                 - (nm_spawn_process): add replacement for system() usage
20692
20693 2004-08-11  Dan Williams <dcbw@redhat.com>
20694
20695         * panel-applet/NMWirelessApplet.[ch]
20696                 - Fix up copyright and credits to include Bastien and Eskil,
20697                         who created the gnome-applets wireless applet, from whose
20698                         skeleton this one was created
20699                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20700                         pixmap to draw is computed during nmwa_update_state()
20701                 - Applet now shows itself all the time due to panel packing issues
20702                         which caused the applet to previously never come back after hiding.
20703                         When a wired device is the active device, the applet shows "not connected"
20704
20705         * panel-applet/NMWirelessAppletDbus.[ch]
20706                 - Clean up error messages and show what function they are from
20707                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20708                 - Add new device type getters, and a status getter
20709
20710         * src/NetworkManagerDbus.c
20711                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20712                         network is actually in the device's ap list
20713                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20714
20715         * src/NetworkManagerDevice.c
20716                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20717                         card
20718
20719         * test/nmclienttest.c
20720                 - Report status of NetworkManager too
20721
20722 2004-08-11  Dan Williams <dcbw@redhat.com>
20723
20724         * info-daemon/NetworkManagerInfo.c:
20725                 - (main): clean up Seth's code style
20726
20727         * info-daemon/NetworkManagerInfoDbus.c:
20728                 - Use the more aptly-named path/service/interface constants from NetworkManager
20729                 - Don't return empty strings ("") as object paths ever, instead return errors
20730
20731         * panel-applet/NMWirelessApplet.c:
20732                 - Clean up Seth's code style
20733
20734         * src/NetworkManager.[ch]
20735                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20736                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20737
20738         * src/NetworkManagerAPList.[ch]
20739                 - Move Iter struct right above the iter functions to preserve opacity
20740                 - (nm_ap_list_remove_ap): implement
20741                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20742                         remove AP if NetworkManagerInfo doesn't know anything about it
20743                 - (nm_ap_list_diff): user NMAPList iterators
20744                 - (nm_ap_list_print_members): implement debugging function
20745
20746         * src/NetworkManagerDbus.[ch]
20747                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20748                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20749                         and move the actual key setting stuff into NetworkManagerDevice.c
20750                 - (nm_dbus_get_network_priority): return -1 now on errors
20751                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20752                         get lost, and force the active device to update its "best" ap when AP lists change
20753                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20754                         method call due to pending_device member removal
20755
20756         * src/NetworkManagerDevice.[ch]
20757                 - Move NMDevice structure to the top
20758                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20759                 - Remove Pending Action stuff from everywhere
20760                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20761                         activation for us.  This thread blocks until all conditions for activation have
20762                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20763                         then setup up the interface and runs dhclient.  We have to do this because there
20764                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20765                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20766                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20767                         can tell nm_device_activation_worker() that we've got a key
20768                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20769                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20770                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20771                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20772
20773         * src/NetworkManagerPolicy.c
20774                 - Remove anything to do with pending_device
20775                 - Adjust device activation to deal with activation-in-worker-thread
20776
20777         * src/NetworkManagerUtils.c
20778                 - Clean up locking debugging a bit
20779
20780         * src/NetworkManagerWireless.[ch]
20781                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20782                         was badly named and is better as a device function
20783
20784         * panel-applet/.cvsignore: add
20785
20786 2004-08-09  Seth Nickell  <seth@gnome.org>
20787
20788         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20789         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20790         (nmwa_new):
20791         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20792
20793         Don't load the menus until clicked on (also removes a call outside
20794         normal code paths at first load).
20795
20796         Hide applet when NM is not present.
20797         
20798         Improve printf debugging stuff.
20799         
20800 2004-08-09  Dan Williams <dcbw@redhat.com>
20801
20802         * dispatcher-daemon/NetworkManagerDispatcher.c:
20803                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20804                 - Use constants for NetworkManager interface, service, and path
20805
20806 2004-08-09  Dan Williams <dcbw@redhat.com>
20807
20808         * src/NetworkManagerDbus.c:
20809                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20810                         instead return an error message
20811                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20812                         on a wired device.  Also never return an empty object path, instead return an error message
20813
20814 2004-08-06  Seth Nickell  <seth@gnome.org>
20815
20816         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20817
20818         Check the error code when getting a connection.
20819         
20820         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20821
20822         Check if the NM service exists when initializing (rather than
20823         assuming it does not).
20824         
20825         * src/NetworkManagerDbus.c: (nm_dbus_init):
20826
20827         Don't acquire the well-known service name until we have
20828         registered object/path handlers and can actually receive
20829         calls.
20830         
20831 2004-08-06  Dan Williams <dcbw@redhat.com>
20832
20833         * panel-applet/*
20834                 - Add panel applet
20835
20836         * src/NetworkManagerPolicy.c
20837           src/NetworkManager.c
20838                 - Get access point lists from NetworkManagerInfo on-demand,
20839                         and look for ServiceCreate/ServiceDeleted signals to see when
20840                         we should query NMI for lists
20841         * src/NetworkManagerAPList.c
20842                 - Make sure to init the list's mutex
20843                 - Convert traversals of the list over to the list iter functions
20844
20845         * src/NetworkManagerDbus.[ch]
20846                 - Use more aptly-named path/service/interface constants
20847                 - Treat both active and pending devices the same for "getActiveDevice"
20848                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20849
20850         * src/NetworkManagerDevice.c
20851                 - Honor "ignored" network list when picking best ap to use
20852
20853 2004-08-06  Seth Nickell  <seth@gnome.org>
20854
20855         * aclocal.m4:
20856
20857         Autogenerated, remove from CVS.
20858         
20859         * autogen.sh:
20860
20861         Don't hardcode automake version.
20862         
20863         * configure.in:
20864         * info-daemon/Makefile.am:
20865         * info-daemon/NetworkManagerInfo.c: (main):
20866
20867         Use GnomeProgram et al. for doing session management.
20868         Use popt stuff for argument parsing rather than doing
20869         it manugally.
20870         
20871 2004-08-05  Dan Williams <dcbw@redhat.com>
20872
20873         * test/nminfotest.c
20874                 - Update to new NMI dbus API, check different network types
20875
20876         * info-daemon/NetworkManagerInfoDbus.c
20877                 - Update to new NM dbus API, ie network type sent in query message
20878
20879 2004-08-05  Dan Williams <dcbw@redhat.com>
20880
20881         * An assload of changes
20882
20883 2004-08-02  Dan Williams <dcbw@redhat.com>
20884
20885         * TODO
20886                 - new task: proper logging support
20887
20888         * info-daemon/NetworkManagerInfo.c
20889                 - Correct spelling of "canceled"
20890                 - Correct casting of objects for g_signal_connect()
20891
20892         * info-daemon/NetworkManagerInfoDbus.c
20893                 - Add defines for NetworkManager namespace and object path, and use them
20894                 - Add filter function to trap new signals from NetworkManager:
20895                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20896
20897         * info-daemon/passphrase.glade
20898                 - Change name of "ok" button to "Login to Network..."
20899                 - Mark invisible
20900
20901         * src/NetworkManager.c
20902                 - Code and debug message cleanups
20903                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20904                 - (nm_add_initial_devices) Check returned string array of devices
20905                         and don't try to add devices if array is NULL
20906                 - (main) Initialize libhal a bit later, make code a bit clearer
20907
20908         * src/NetworkManagerAP.[ch]
20909                 - New accessor and data member "matched": used to speed up AP list
20910                         diffing
20911                 - New accessor and data member "enc_method": will be used during key
20912                         fallback to cache which passphrase->key conversion actually works
20913                         so we don't have to do it every time
20914
20915         * src/NetworkManagerAPList.[ch]
20916                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20917                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20918                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20919                         dbus in response to those differences
20920
20921         * src/NetworkManagerDbus.[ch]
20922                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20923                         make an object path for that access point (NOTE that we don't yet check to
20924                         make sure that access point is actually in the device's AP list yet)
20925                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20926                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20927                         New: signal appearance/disappearance of wireless networks
20928                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20929                         key entry
20930
20931         * src/NetworkManagerDevice.[ch]
20932                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20933                 - (nm_device_ap_list_get) New: return the AP list (static function)
20934                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20935                         new one resulting from the scan with the old one
20936
20937         * src/NetworkManagerWireless.c
20938                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20939
20940         * test/nminfotest.c
20941                 - #define object paths and namespaces and use the #defines rather than static strings
20942                 - Test out user-key functionality of NetworkManagerInfo too
20943
20944 2004-07-29  Dan Williams <dcbw@redhat.com>
20945
20946         * info-daemon/NetworkManagerInfoDbus.c
20947           src/NetworkManagerDbus.c
20948                 - Update to current DBus (ie don't use decomposed paths when registering
20949                         object paths/fallbacks)
20950
20951 2004-07-27  Dan Williams <dcbw@redhat.com>
20952
20953         * Remove various Makefile.in files
20954
20955         * TODO
20956                 - Add some more items
20957
20958         * configure.in
20959                 - Add checks for OpenSSL/md5 headers and libs
20960
20961         * src/Makefile.am
20962                 - Use OpenSSL CFLAGS
20963
20964         * src/NetworkManagerAP.[ch]
20965                 - Remove 'stamp' functions, replace with 'invalid' functions
20966                         to support user cancelling WEP key entry
20967
20968         * src/NetworkManagerDbus.c
20969                 - Remove 'stamp' return functions
20970                 - Treat returned user key as a passphrase and convert to a WEP key,
20971                         but don't actually use the WEP key yet.  We use the returned user
20972                         key as a hexadecimal WEP key until we can figure out a UI for
20973                         passphrase-vs-hex key
20974
20975         * src/NetworkManagerWireless.[ch]
20976                 - Add passphrase-to-128bit-key function
20977
20978 2004-07-27  Dan Williams <dcbw@redhat.com>
20979
20980         * TODO
20981                 - Add a couple of items
20982
20983 2004-07-27  Dan Williams <dcbw@redhat.com>
20984
20985         * info-daemon/NetworkManagerInfo.c
20986                 - Update allowed network's GConf key when user enters a WEP key explicitly
20987
20988         * info-daemon/NetworkManagerDbus.c
20989                 - Fix some comments
20990                 - nmi_dbus_get_allowed_networks(): kill warning
20991
20992 2004-07-27  Dan Williams <dcbw@redhat.com>
20993
20994         * initscript/Makefile.in
20995                 - Remove
20996
20997         * initscript/Makefile.am
20998                 - Add correct rules to install the init.d initscript
20999
21000         * info-daemon/NetworkManagerInfoDbus.c
21001                 - Remove debug fprintf
21002
21003         * src/NetworkManagerDbus.[ch]
21004                 - Remove debug fprintfs
21005                 - Add macros for NetworkManagerInfo object path/namespace
21006                 - Use said macros instead of constant strings
21007
21008 2004-07-27  Dan Williams <dcbw@redhat.com>
21009
21010         * initscript/.cvsignore
21011                 - Add
21012
21013         * info-daemon/Makefile.am
21014                 - Install .glade files and keyring.png
21015                 - Fix stupid omission of a \ that caused half the flags not to be
21016                         passed to gcc
21017
21018         * info-daemon/NetworkManagerInfo.c
21019                 - gtk_signal_connect->g_signal_connect
21020                 - Alert NetworkManagerInfo to new glade file location
21021
21022 2004-07-27  Dan Williams <dcbw@redhat.com>
21023
21024         * test/nmclienttest.c
21025           test/nminfotest.c
21026                 - Add missing <dbus/dbus.h> headers
21027                 - Add GPL message at top
21028
21029 2004-07-27  Dan Williams <dcbw@redhat.com>
21030
21031         * src/NetworkManagerAPList.[ch]
21032           src/Makefile.am
21033                 - Add.  Deal with allowed network list additions, deletions, and updates
21034
21035         * dispatcher-daemon/NetworkManagerDispatcher.c
21036                 - Add missing <dbus/dbus.h> header
21037
21038         * info-daemon/NetworkManagerInfo.[ch]
21039                 - Add missing <dbus/dbus.h> header
21040                 - Implement the GConf notify callback to signal NetworkManager of an allowed
21041                         network change
21042                 - Better error checking
21043
21044         * info-daemon/NetworkManagerInfoDbus.[ch]
21045                 - Add missing <dbus/dbus.h> header
21046                 - Convert to using dbus_message_append_args/dbus_message_get_args
21047                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21048                         that an allowed network changed.  We don't want to signal on individual
21049                         keys _inside_ an allowed network really, just want NM to query the info
21050                         daemon for updated info on all keys.
21051                 - Better error checking
21052
21053         * src/NetworkManager.[ch]
21054                 - Add missing <dbus/dbus.h> header
21055                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21056                 - Zero out NMData structure on free
21057                 - No longer use a thread for allowed_ap_list updating, instead its now done
21058                         through dbus queries against NetworkManagerInfo
21059                 - Populate allowed_ap_list initially before adding existing network devices
21060                         to the device list, so wireless devices can get their "best" AP
21061
21062         * src/NetworkManagerDbus.[ch]
21063                 - Convert to using dbus_message_append_args/dbus_message_get_args
21064                 - Better error checking
21065                 - Implement Allowed Network info functions to request allowed network
21066                         info from NetworkManagerInfo
21067                 - Implement the filter function to process signals from NetworkManagerInfo
21068                         about changing allowed networks
21069
21070         * src/NetworkManagerDevice.c
21071                 - Fix file descriptor leak in nm_device_update_ip4_address()
21072
21073 2004-07-27  Dan Williams <dcbw@redhat.com>
21074
21075         * .cvsignore
21076           src/.cvsignore
21077           test/.cvsignore
21078           dispatcher-daemon/.cvsignore
21079           info-daemon/.cvsignore
21080                 - Add .cvsignore files to reduce noise when diffing
21081
21082 2004-07-24  Dan Williams <dcbw@redhat.com>
21083
21084         * src/NetworkManager.[ch]
21085           src/NetworkManagerDbus.[ch]
21086           src/NetworkManagerDevice.[ch]
21087           src/NetworkManagerPolicy.c
21088           src/NetworkManagerWireless.[ch]
21089                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21090                 - Pass the NMData application data structure through all calls
21091                         that need it so we can get rid of nm_get_global_data()
21092                 - Change deallocation of the allowed_ap_list GSList in preparation
21093                         for not completely clearing it every time we get an update,
21094                         but instead getting incremental updates via GConf/dbus
21095
21096 2004-07-22  Dan Williams <dcbw@redhat.com>
21097
21098         * configure.in
21099                 - Add checks for GConf libs & headers & flags
21100
21101         * info-daemon/Makefile.am
21102                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21103
21104         * info-daemon/NetworkManagerInfo.[ch]
21105                 - Don't use gquarks for data storage, just use normal data storage
21106                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21107
21108         * info-daemon/NetworkManagerDbus.[ch]
21109                 - Add method call for getting allowed networks
21110                 - Add method calls for getting an allowed network's essid, priority, and key
21111                 - Hook the method calls up to GConf
21112                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21113                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21114                 
21115         * src/NetworkManagerDbus.[ch]
21116                 - Switch for enumeration of networks to using essid instead
21117
21118         * test/Makefile.am
21119           test/nminfotest.c
21120                 - Add test program for NetworkManagerInfo
21121
21122 2004-07-19  Dan Williams <dcbw@redhat.com>
21123
21124         * src/NetworkManagerDbus.c
21125                 - Switch from indexed device paths to names.  Less code, more efficient.
21126                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21127
21128 2004-07-19  Dan Williams <dcbw@redhat.com>
21129
21130         * dispatcher-daemon/NetworkManagerDispatcher.c
21131                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21132
21133 2004-07-19  Dan Williams <dcbw@redhat.com>
21134
21135         * Makefile.am
21136                 - Add info-daemon directory
21137
21138         * configure.in
21139                 - Check for glade libs and headers
21140                 - Add info-daemon directory
21141
21142         * src/NetworkManagerAP.c
21143                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21144                         copied over to the new AP.
21145
21146         * src/NetworkManagerDbus.c
21147           src/NetworkManagerDbus.h
21148                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21149                 - Remove nm_dbus_signal_need_key_for_network()
21150                 - Add disabled code for asynchronous user wep key callbacks
21151                 - Add functions for getting, setting, and cancelling user key operations
21152                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21153                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21154
21155         * src/NetworkManagerDevice.c
21156           src/NetworkManagerDevice.h
21157                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21158                         logic is in device activation now
21159                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21160                         key is wrong) trigger get-user-key pending action
21161                 - Implement get-user-key pending action stuff, tie to dbus messages
21162                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21163                 - Add nm_device_ap_list_get_ap_by_essid()
21164                 - Instead of copying "best" access points, ref them instead so that the key we set
21165                         sticks around
21166
21167         * src/NetworkManagerPolicy.c
21168                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21169                 - Don't cancel pending actions on a device if its the same device as last iteration
21170                 - Only promote pending_device->active_device if activation was successfull
21171
21172         * src/Makefile.am
21173                 - Rename nmclienttest->nmtest
21174
21175         * info-daemon/Makefile.am
21176           info-daemon/NetworkManagerInfo.c
21177           info-daemon/NetworkManagerInfo.h
21178           info-daemon/NetworkManagerInfoDbus.c
21179           info-daemon/NetworkManagerInfoDbus.h
21180           info-daemon/passphrase.glade
21181           info-daemon/NetworkManagerInfo.conf
21182           info-daemon/keyring.png
21183                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21184                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21185                         lists to NetworkManager by proxying user's GConf
21186           
21187
21188 2004-07-15  Dan Williams <dcbw@redhat.com>
21189
21190         * src/Makefile.am
21191                 - Turn on warnings
21192
21193         * src/NetworkManager.c
21194                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21195                         that doing the deactivation ourselves
21196                 - Cancel an pending actions on a device if its being removed
21197                 - Break up link state checking a bit, make non-active wireless cards
21198                         deactivated to save power
21199                 - Remove unused variables
21200
21201         * src/NetworkManager.h
21202                 - Add support for "pending" device
21203
21204         * src/NetworkManagerAP.h
21205           src/NetworkManagerAP.c
21206                 - Add support for determining whether and AP has encryption enabled or not
21207                 - AP address is now "struct ether_addr" rather than a string
21208
21209         * src/NetworkManagerDbus.h
21210           src/NetworkManagerDbus.c
21211                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21212                 - Changes for AP address from struct ether_addr->string
21213
21214         * src/NetworkManagerDevice.h
21215           src/NetworkManagerDevice.c
21216                 - Remove unused variables, fix warnings
21217                 - Add support for Pending Actions (things that block a device from being "active"
21218                         until they are completed).
21219                 - First pending action:  Get a WEP key from the user
21220                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21221                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21222                 - Update wireless link checking to try to determine if the AP we are associated
21223                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21224                         trigger the GetUserKey pending action on the device
21225                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21226                         up in that case, otherwise we can't scan or link-check on it
21227                 - Add IP address change notifications at appropriate points (still needs some work)
21228                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21229
21230         * src/NetworkManagerPolicy.h
21231           src/NetworkManagerPolicy.c
21232                 - Split out "best" access point determiniation into separate function
21233                 - Make device activation 2-stage:  first the device is pending, then
21234                         in the next iteration through it becomes "active" unless it has
21235                         pending actions
21236
21237         * src/NetworkManagerUtils.h
21238           src/NetworkManagerUtils.c
21239                 - Clean up unused variables and warnings
21240                 - Wrap our debug macros in {} to prevent possible confusion
21241
21242         * src/NetworkManagerWireless.c
21243                 - Forgot to return current best priority, which lead to last available AP always
21244                         being chosen no matter what its priority was.  Corrected.
21245
21246 2004-07-15  Dan Williams <dcbw@redhat.com>
21247
21248         * dispatcher-daemon/Makefile.am
21249                 - Turn on warnings
21250
21251         * dispatcher-daemon/NetworkManagerDispatcher.c
21252                 - Remove unused variables due to warnings
21253                 - Fix some comments
21254                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21255
21256 2004-07-06  Dan Williams <dcbw@redhat.com>
21257
21258         * src/NetworkManager.c
21259                 - Add IPv4 address update for active device during link state check
21260                 - Don't allow wireless cards to be powered up when they are not the
21261                         active device
21262
21263         * src/NetworkManagerDbus.c
21264           src/NetworkManagerDbus.h
21265                 - Add DBUS IPv4 address change signal
21266                 - Add DBUS IPv4 address get method for devices
21267
21268         * src/NetworkManagerDevice.c
21269                 - Make setting the WEP key actually work
21270                 - Move IP address get/set/update stuff here, per-device
21271                 - Power down/bring down wireless device when deactivated
21272                 - For scanning wireless devices, if first scan returned ENODATA, try again
21273
21274         * src/NetworkManagerPolicy.c
21275                 - Only set the WEP key for an allowed access point if there is one.
21276                         We were setting it to be blank if one wasn't specified.
21277
21278         * src/NetworkManagerUtils.h
21279           src/NetworkManagerUtils.c
21280                 - Move the IP address stuff to NetworkManagerDevice.c
21281
21282         * dispatcher-daemon/NetworkManagerDispatcher.c
21283                 - Add device IPv4 address change notification stuff
21284
21285 2004-07-05  Dan Williams <dcbw@redhat.com>
21286
21287         * dispatcher-daemon/NetworkManagerDispatcher.c
21288                 - A bit more descriptive state message
21289                 - Don't segfault when reading directory
21290
21291         * src/NetworkManager.h
21292                 - Remove NMData desired_ap member, its now
21293                         per-device rather than global
21294
21295         * src/NetworkManager.c
21296                 - Remove references to desired_ap
21297                 - Move the allowed AP list refresh stuff into a thread
21298
21299         * src/NetworkManagerDevice.c
21300           src/NetworkManagerDevice.h
21301                 - Each wireless device now has a "best ap"
21302                 - Make device activate/deactivate functions per-device
21303                 - Make wireless scanning per-device
21304                 - Add IPv4 address discover functions, stub IPv6 ones
21305                 - Move ethernet address validation functions to NetworkManagerUtils.c
21306                 - Add wireless access point accessor function
21307                 - Get/Set functions for "best ap"
21308
21309         * src/NetworkManagerPolicy.c
21310                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21311                 - Deal with per-device "best ap" rather than data->desired_apa
21312                 - Implement allowed access point worker thread
21313                 - Add nm_policy_essid_is_allowed() function
21314
21315         * src/NetworkManagerUtils.c
21316           src/NetworkManagerUtils.h
21317                 - Add nm_ethernet_address_is_valid() function
21318                 - Add IPv4/IPv6 address get functions
21319
21320         * src/NetworkManagerWireless.c
21321           src/NetworkManagerWireless.h
21322                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21323
21324 2004-06-29  Dan Williams <dcbw@redhat.com>
21325
21326         * dispatcher-daemon/NetworkManagerDispatcher.c
21327                 - Implement script callout functionality
21328
21329 2004-06-24  Dan Williams <dcbw@redhat.com>
21330
21331         * NetworkManager.c
21332             - Spacing cleanups
21333             - Flush device routes and ip addresses when added to the device list
21334
21335         * NetworkManagerDbus.c
21336             - Spacing cleanups
21337             - Add missing returns in the two signal functions
21338         
21339         * NetworkManagerPolicy.c
21340             - Spacing and variable cleanups
21341
21342 2004-06-24  Dan Williams <dcbw@redhat.com>
21343
21344         * Makefile.am
21345           Makefile.in
21346           configure.in
21347           dispatcher-daemon/Makefile.am
21348           dispatcher-daemon/Makefile.in
21349           dispatcher-daemon/NetworkManagerDispatcher.c
21350             - Add a daemon that receives signals from NetworkManager
21351                         and will (eventually) call scripts in /etc/somewhere
21352                         when devices go up or down.
21353         
21354         * NetworkManager.c
21355             - Spacing cleanups
21356             - Flush device routes and ip addresses when added to the device list
21357
21358         * NetworkManagerDbus.c
21359             - Spacing cleanups
21360             - Add missing returns in the two signal functions
21361         
21362         * NetworkManagerPolicy.c
21363             - Spacing and variable cleanups
21364             - Rename nm_policy_switch_interface->nm_policy_switch_device
21365             - nm_policy_switch_device():
21366                                 Use kill (pid) instead of system ("kill <pid>")
21367             - nm_state_modification_monitor():
21368                                 Add wireless essid to output of debug statements
21369                                 Correct typo in device compare to switch or not (should be !=)
21370                                 Don't sleep after sending "no longer active" signal, was useless
21371
21372 2004-06-24  Dan Williams <dcbw@redhat.com>
21373
21374         * Initial import