2008-10-22 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-22  Dan Williams  <dcbw@redhat.com>
2
3         * include/NetworkManager.h
4           introspection/nm-device.xml
5                 - Add device state change reason for carrier changes
6
7         * src/nm-device-ethernet.c
8                 - (set_carrier): use the carrier change reason when changing device
9                         state in response to carrier changes
10
11 2008-10-21  Dan Williams  <dcbw@redhat.com>
12
13         * src/NetworkManagerPolicy.c
14                 - (update_etc_hosts): don't leak errors, and ensure that
15                         g_file_set_contents() gets a valid error placeholder (rh #461933)
16
17 2008-10-21  Dan Williams  <dcbw@redhat.com>
18
19         * src/nm-manager.c
20                 - (free_get_settings_info): don't use the DBusGProxy which could be
21                         disposed of by the time the function is called
22                 - (internal_new_connection_cb): save connection scope
23                 - (connection_get_settings_cb): don't replace a connection unless it's
24                         actually different from the existing one; fixes an issue where
25                         killing the settings service wouldn't deactivate an active connection
26                         provided by that settings service, because it was using a connection
27                         that had already been replaced in the system or user hash
28
29 2008-10-21  Dan Williams  <dcbw@redhat.com>
30
31         * src/NetworkManager.c
32                 - (main): keep the DHCP manager around since it's a singleton; fixes
33                         a use-after-free exposed by r4196 since the DHCP manager singleton
34                         variable isn't cleared when the DHCP manager object is finalized
35
36 2008-10-20  Dan Williams  <dcbw@redhat.com>
37
38         * libnm-util/nm-setting-wireless-security.c
39                 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
40
41 2008-10-20  Dan Williams  <dcbw@redhat.com>
42
43         * src/supplicant-manager/nm-supplicant-config.c
44                 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
45
46 2008-10-20  Dan Williams  <dcbw@redhat.com>
47
48         * src/dhcp-manager/nm-dhcp-manager.c
49                 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
50                         manager object already refs it once
51                 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
52                         also get cleaned up by nm_dhcp_device_destroy() to prevent
53                         double-frees
54
55 2008-10-20  Dan Williams  <dcbw@redhat.com>
56
57         * src/nm-manager.c
58                 - (initial_get_connections): use private dbus manager, don't keep
59                         ref-ing the singleton.  Fixes mismatched refcounts of the dbus
60                         manager object.
61
62 2008-10-18  Dan Williams  <dcbw@redhat.com>
63
64         * libnm-glib/nm-settings.c
65           libnm-glib/nm-settings.h
66                 - Rename the "get_secrets" virtual function "service_get_secrets" to
67                         clarify when it's used; NMExportedConnetion is a base-class for both
68                         the client and service side, which is sort of confusing, and
69                         get_secrets only makes sense on the service side.
70
71         * libnm-glib/nm-dbus-connection.c
72                 - (get_secrets): remove, unused, and clients need to do extra work to
73                         get secrets anyway since the call can block on the remote side
74
75         * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
76           system-settings/plugins/keyfile/nm-keyfile-connection.c
77                 - Fix up for get_secrets -> service_get_secrets
78
79 2008-10-16  Dan Williams  <dcbw@redhat.com>
80
81         * src/nm-device-wifi.c
82                 - (constructor): correctly determine encryption capabilities
83
84 2008-10-15  Dan Williams  <dcbw@redhat.com>
85
86         * src/nm-device-wifi.c
87                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
88                         (Johannes Berg)
89
90 2008-10-15  Dan Williams  <dcbw@redhat.com>
91
92         * src/NetworkManagerSystem.c
93                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
94                         if the ip4_dest is in a smaller subnet contained within a subnet
95                         the machine is currently on, the destination is in the same subnet
96                 - (nm_system_device_set_ip4_route): move subnet checks to callers
97                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
98                         subnet as the parent device, and if so, don't add the direct
99                         host route via the parent device's gateway (bgo #481620)
100                 - (nm_system_apply_ip4_config): check whether the route to be added
101                         is contained within a subnet the device is already on
102
103 2008-10-11  Dan Williams  <dcbw@redhat.com>
104
105         * include/NetworkManager.h
106           introspection/nm-device.xml
107           include/NetworkManagerVPN.h
108                 - Add a few more state reasons for the device deactivated state
109
110         * src/nm-device-interface.c
111           src/nm-device-interface.h
112                 - (nm_device_interface_deactivate): add a 'reason' argument
113
114         * src/nm-device.c
115           src/nm-device.h
116                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
117                 - (nm_device_state_changed): pass the state change reason to
118                         nm_device_take_down()
119                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
120                         to the state change function
121
122         * src/nm-manager.c
123           src/nm-manager.h
124                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
125                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
126                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
127                         something reasonable along to VPN deactivation
128
129         * src/vpn-manager/nm-vpn-manager.c
130           src/vpn-manager/nm-vpn-manager.h
131                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
132                         pass that along to nm_vpn_connection_disconnect()
133
134 2008-10-11  Dan Williams  <dcbw@redhat.com>
135
136         * src/nm-device-wifi.c
137                 - (can_scan): remove old madwifi hack for not scanning while connected
138
139 2008-10-11  Dan Williams  <dcbw@redhat.com>
140
141         Add support for VPN subnet gateways (bgo #549196)
142
143         * include/NetworkManager.h
144                 - Add key for internal VPN subnet gateway
145
146         * src/vpn-manager/nm-vpn-connection.c
147                 - (ip_address_to_string): return a const from a static buffer so we
148                         don't leak a lot of strings
149                 - (print_vpn_config): print internal VPN gateway as well
150                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
151                         VPN service too
152                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
153
154         * src/NetworkManagerSystem.c
155           src/NetworkManagerSystem.h
156                 - (nm_system_device_replace_default_ip4_route): split into two, one for
157                         VPN connections and one for normal devices
158                 - (replace_default_ip4_route): break out route stuff into its own function
159                 - (nm_system_replace_default_ip4_route_vpn,
160                    nm_system_replace_default_ip4_route): simplify by having two cases,
161                         one for VPNs and one for normal devices
162
163         * src/NetworkManagerPolicy.c
164                 - (update_routing_and_dns): simplify, use split default route replacement
165                         functions
166
167 2008-10-10  Dan Williams  <dcbw@redhat.com>
168
169         Rework default route handling to consolidate decisions in the policy,
170         and to take active VPN connections into account when changing the default
171         route (bgo #545912)
172
173         * src/NetworkManager.c
174                 - (main): pass the vpn_manager to the policy so it knows about active
175                         VPN connections; clean up the named manager which wasn't done before
176
177         * src/NetworkManagerPolicy.c
178           src/NetworkManagerPolicy.h
179                 - (nm_policy_new): get a clue about the vpn_manager
180                 - (update_default_route): remove, fold into update_routing_and_dns()
181                 - (update_routing_and_dns): handle active VPN connections too; an
182                         active VPN connection becomes the default route if it does not have
183                         server-specified or user-specified custom routes.  Otherwise, the
184                         best active device gets the default route
185                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
186                    nm_policy_destroy): track VPN connection activation and deactivation
187                         and update the default route when appropriate
188
189         * src/NetworkManagerSystem.c
190           src/NetworkManagerSystem.h
191                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
192                         in the VPN connection itself
193                 - (nm_system_vpn_device_set_from_ip4_config,
194                    nm_system_device_set_from_ip4_config): merge together to make
195                         nm_system_apply_ip4_config()
196                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
197                         via the parent device
198                 - (nm_system_apply_ip4_config): simplify
199                 - (add_ip4_route_to_gateway): new function; add a direct route to the
200                         gateway if needed
201                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
202                         route stuff out into add_ip4_route_to_gateway() for clarity
203
204         * src/nm-device.c
205                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
206
207         * src/vpn-manager/nm-vpn-connection.c
208           src/vpn-manager/nm-vpn-connection.h
209                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
210                    nm_vpn_connection_get_parent_device): add
211                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
212                         device explicit
213                 - (connection_state_changed): update the named manager now that
214                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
215                         useful on errors
216
217         * src/vpn-manager/nm-vpn-manager.c
218           src/vpn-manager/nm-vpn-manager.h
219                 - Add a 'connection-activated' signal
220                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
221                         policy to find out about active VPN connections
222
223 2008-10-10  Tambet Ingo  <tambet@gmail.com>
224
225         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
226         a daemon to prevent NM logging spew on console on startup and shutdown (due
227         to dependency loop between NM and syslog).
228
229 2008-10-10  Alexander Sack  <asac@ubuntu.com>
230
231         Implement managed mode. We bind devices configured in /etc/network/interfaces
232         to their connections by updating wired/wireless setting with the
233         mac address of the device.
234
235         * system-settings/plugins/ifupdown/plugin.c
236                 - (get_net_address_for_udi): implement function to retrieve MAC
237                         address of udi from hal in GByteArray format
238                 - (bind_device_to_connection): bind mac address of device to
239                         wired/wireless system connection
240                 - (hal_device_added_cb): call bind_device_to_connection for
241                         system connections with a matching interface.name
242                 - (hal_device_added_cb): ensure that all code paths
243                         properly free the "iface" string.
244
245 2008-10-10  Alexander Sack  <asac@ubuntu.com>
246
247         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
248         mode of the ifupdown system config plugin.
249
250         * system-settings/plugins/ifupdown/plugin.c
251                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
252                         private unmanage_well_known state field accordingly
253
254 2008-10-10  Alexander Sack  <asac@ubuntu.com>
255
256         Implement unmanaged mode that will prevent all devices in the
257         well_known_udis set from being touched by NetworkManager
258
259         * system-settings/plugins/ifupdown/plugin.c
260                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
261                         unmanage_well_known field used to turn on/off unmanaged
262                         mode
263                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
264                         signal when well_known_udis get added/removed
265                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
266                         if we are in unmanaged mode
267
268 2008-10-10  Alexander Sack  <asac@ubuntu.com>
269
270         Add support to track network devices that have a configuration
271         with a matching interface.name in /etc/network/interfaces
272
273         * system-settings/plugins/ifupdown/plugin.c
274                 - (typedef struct SCPluginIfupdownPrivate): add hash table
275                         to track |well_known_udis|
276                 - (get_iface_for_udi): helper function to get interface.name
277                         for a udi
278                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
279                         that add and remove devices to and from the well_known_udis
280                         set depending on whether their |interface.name| matches
281                         any interface definition in /etc/network/interfaces
282                 - (SCPluginIfupdown_init): connect callbacks from above with
283                         hal_mgr and setup well_known_udis hashtable
284                 - (GObject__dispose): destroy well_known_udis hashtable
285                 - (hal_device_added_cb2): implement wrapper callback with GFunc
286                         signature. user_data is supposed to be a triple (hal_mgr,
287                         config and devtype)
288                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
289                         startup and call hal_device_added_cb2
290
291 2008-10-10  Alexander Sack  <asac@ubuntu.com>
292
293         Remove implementation for not used NMSystemConfigInterface callback functions
294         in ifupdown plugin
295
296         * system-settings/plugins/ifupdown/plugin.c
297                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
298                 - (SCPluginIfupdown_connection_added): removed
299
300 2008-10-08  Dan Williams  <dcbw@redhat.com>
301
302         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
303
304         * src/NetworkManagerUtils.c
305                 - (nm_utils_call_dispatcher): add a 'hostname' action
306
307         * src/NetworkManagerPolicy.c
308                 - (set_system_hostname): dispatch hostname changes
309
310         * callouts/nm-dispatcher-action.c
311                 - (nm_dispatcher_action): handle 'hostname' actions
312
313 2008-10-08  Dan Williams  <dcbw@redhat.com>
314
315         * src/NetworkManagerSystem.c
316                 - (find_route): ref the route so it doesn't get destroyed when the cache
317                         is cleared
318                 - (nm_system_device_set_priority): unref the route here after it's done
319                         being used
320
321 2008-10-08  Dan Williams  <dcbw@redhat.com>
322
323         * src/nm-serial-device.c
324                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
325
326 2008-10-08  Tambet Ingo  <tambet@gmail.com>
327
328         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
329         connection with new settings before saving it.
330
331 2008-10-06  Dan Williams  <dcbw@redhat.com>
332
333         * src/nm-ip4-config.c
334           src/nm-ip4-config.h
335                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
336
337         * src/nm-device-interface.c
338                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
339                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
340                         by using '/' for the object path
341
342         * src/nm-device.c
343                 - (src/nm-device.c): marshal missing/unexported ip4-config through
344                         dbus as '/' since dbus-glib can't handle NULL objects nor can
345                         dbus handle NULL object paths
346
347 2008-10-03  Alexander Sack  <asac@ubuntu.com>
348
349         Implement system hostname support for debian/ubuntu
350
351         * system-settings/plugins/ifupdown/plugin.c
352                 - (GObject__get_property): extend announced capabilities; add
353                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
354                 - (GObject__set_property,write_system_hostname): implement
355                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
356                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
357                    update_system_hostname, get_hostname):
358                         implement hostname property that watches and
359                         parses /etc/hostname
360
361 2008-10-03  Alexander Sack  <asac@ubuntu.com>
362
363         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
364           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
365           system-settings/plugins/ifcfg-fedora/Makefile.am
366           system-settings/src/nm-inotify-helper.c
367           system-settings/src/nm-inotify-helper.h
368           src/Makefile.am
369                 - Move ifcfg-fedora inotify helpers to the system settings service so
370                         they are available to all plugins
371
372 2008-10-03  Alexander Sack  <asac@ubuntu.com>
373
374         Implement support for wep-tx-keyidx in ifupdown system
375         config plugin.
376
377         * system-settings/plugins/ifupdown/parser.c
378                 - (update_wireless_security_setting_from_if_block): introduce
379                         free_type_mapping func table; rename a few local
380                         variables to improve readability; add wpa security mapping
381                         for wep-tx-keyidx property
382                 - (string_to_gpointerint): new function used for the auto_type_mapping
383                         of new wep-tx-keyidx property
384                 - (slist_free_all): free func used for mapped slist types
385
386 2008-10-03  Alexander Sack  <asac@ubuntu.com>
387
388         * system-settings/src/main.c:
389                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
390                         always used as the hash key; fixes a crash when removing wired
391                         devices
392
393 2008-10-02  Dan Williams  <dcbw@redhat.com>
394
395         * src/nm-gsm-device.c
396                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
397                         pass the required GSM secret along via user_data rather than keeping
398                         it around in the private data where it sometimes didn't get cleared
399                 - (real_get_ppp_name): implement using the GSM username
400
401 2008-10-02  Dan Williams  <dcbw@redhat.com>
402
403         * src/ppp-manager/nm-ppp-manager.c
404           src/ppp-manager/nm-ppp-manager.h
405                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
406                         the settings daemon for completely new ones
407                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
408                         local PPP peer name; allow PPP debuging by launching NM with
409                         the environment variable NM_PPP_DEBUG defined
410                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
411                         create_pppd_cmd_line()
412
413         * src/nm-serial-device.c
414           src/nm-serial-device.h
415                 - New 'get_ppp_name' function for subclasses to implement to return the
416                         local PPP peer name
417                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
418                         and pass that name to the PPP manager
419
420         * src/nm-device-ethernet.c
421                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
422                         the local peer name
423
424         * src/nm-cdma-device.c
425                 - (real_get_ppp_name): implement using the CDMA username
426
427 2008-10-02  Dan Williams  <dcbw@redhat.com>
428
429         Patch from Alexander Sack <asac ubuntu com>
430
431         * system-settings/plugins/ifupdown/parser.c
432                 - Implement more graceful ip4 config parsing for cases where
433                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
434                   by using default values
435
436 2008-10-02  Dan Williams  <dcbw@redhat.com>
437
438         * src/NetworkManagerPolicy.c
439                 - (device_state_changed): when marking a connection invalid, clear its
440                         secrets too so that fresh secrets get requested the next time
441
442 2008-10-01  Dan Williams  <dcbw@redhat.com>
443
444         * system-settings/src/dbus-settings.c
445                 - (nm_sysconfig_settings_init): cache system hostname on startup as
446                         a fallback if no plugin provides a hostname
447                 - (get_property): fall back to cached hostname if no plugin provides
448                         a hostname
449
450 2008-10-01  Dan Williams  <dcbw@redhat.com>
451
452         Fix setting value comparison issue that caused some settings to look the
453         same when they were really different (rh #464417)
454
455         * libnm-util/nm-param-spec-specialized.c
456                 - (type_is_fixed_size): return fundamental size of the fixed type too
457                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
458                         in the comparison so that the _entire_ fixed type collection gets
459                         compared rather than just the first 'len1' bytes
460
461 2008-09-30  Dan Williams  <dcbw@redhat.com>
462
463         * src/NetworkManagerPolicy.c
464                 - (lookup_thread_worker): don't store the idle handler ID becuase the
465                         idle handler could have already run and freed the LookupThread
466                         structure
467
468 2008-09-30  Tambet Ingo  <tambet@gmail.com>
469
470         * src/nm-device.c (nm_device_get_priority): Implement.
471         (nm_device_set_ip4_config): Send the device priority to system ip4 
472         config setter.
473
474         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
475         Add priority argument and if it's >= 0, set the priority of the network
476         route added automatically by netlink (or kernel?).
477         (nm_system_device_set_priority): Implement.
478
479         * src/NetworkManagerPolicy.c (get_best_device): Use 
480         nm_device_get_priority() instead of home-grown version. Revert the
481         meaning, best priority is the lowest one.
482
483 2008-09-29  Dan Williams  <dcbw@redhat.com>
484
485         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
486         when it returns EAGAIN (rh #362421)
487
488         * src/nm-device-wifi.c
489                 - (wireless_get_range): try GIWRANGE a few times until the card responds
490                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
491
492 2008-09-28  Dan Williams  <dcbw@redhat.com>
493
494         * src/nm-serial-device.c
495           src/nm-serial-device.h
496                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
497                         cleaned at the right times when subclasses close the serial port too
498                 - (nm_serial_device_send_command): use a default send delay; don't
499                         spin forever on EAGAIN
500                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
501                         remove, no longer used
502                 - (find_response): return the matched response if any
503                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
504                         while doing so
505                 - (wait_for_reply_done): pass the matched response to the callback
506                 - (wait_for_reply_got_data): save the matched response; simplify timeout
507                         handling
508                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
509                         const since they never get modified
510                 - (cleanup_device): split out common cleanup stuff to a new function
511                 - (real_deactivate_quickly, finalize): use cleanup_device()
512
513         * src/nm-gsm-device.c
514                 - (modem_get_reply): remove, unused
515                 - (set_apn): give the card a bit more time to respond
516                 - (manual_registration_again, schedule_manual_registration_again,
517                    manual_registration_response, manual_registration): handle manual
518                         registration timeouts better by retrying registration a few times
519                         because cards are a bit slow after CFUN=1
520                 - (automatic_registration_get_network, get_network_response): use
521                         modem_wait_for_reply() because it interacts better with the serial
522                         buffer and does more intelligent matching; need to wait for 'OK'
523                         rather than just matching terminators
524                 - (schedule_automatic_registration_again,
525                    automatic_registration_response, automatic_registration): retry
526                         registration a few times on timeout or "searching" because cards
527                         take a bit to find a network after being powered up with CFUN=1
528                 - (power_up_response, power_up, init_full_done, enter_pin,
529                    check_pin_done): power up the card with CFUN=1 before trying to
530                         register with the network
531                 - (init_modem_full, init_modem): use more standard 3G init strings
532
533         * src/nm-hso-gsm-device.c
534                 - (modem_get_reply): remove, unused
535                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
536                         modem_wait_for_reply() to match actual responses instead of single
537                         termination characters; it doesn't leave stuff in the serial buffer
538                         that might confuse later calls
539                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
540                         to ensure that the call is really disconnected and not leave extra
541                         stuff in the serial buffer
542
543         * src/nm-cdma-device.c
544                 - (power_up_response, power_up, init_done): try Sierra-style modem
545                         power up before attempting to connect
546
547 2008-09-27  Dan Williams  <dcbw@redhat.com>
548
549         * libnm-util/nm-setting-gsm.c
550                 - (verify): verify GSM network ID
551
552 2008-09-25  Dan Williams  <dcbw@redhat.com>
553
554         * libnm-util/nm-setting-gsm.c
555           libnm-util/nm-setting-gsm.h
556                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
557                         technology terms (bgo #551361)
558
559 2008-09-25  Dan Williams  <dcbw@redhat.com>
560
561         Fix bgo #549401 (inspired by patch from Alexander Sack)
562
563         * src/nm-device-ethernet.c
564                 - (finish_supplicant_task): clean up scheduled tasks and free memory
565                 - (remove_supplicant_interface_error_handler): remove the supplicant
566                         error idle callback too
567                 - (supplicant_interface_release): rename from supplicant_interface_clean
568                         to match nm-device-wifi.c; clean up supplicant interface-related
569                         state tasks when the supplicant interface is disposed of
570                 - (schedule_state_handler): add scheduled tasks to a list so they can
571                         be cleaned up later
572                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
573                    supplicant_iface_connection_state_cb_handler): use
574                         finish_supplicant_task() to clean up each completed task
575                 - (supplicant_iface_connection_error_cb_handler,
576                    supplicant_connection_timeout_cb): clear source id when the task is
577                         complete
578                 - (supplicant_iface_connection_error_cb): save scheduled task id for
579                         later cleanup
580                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
581                         tasks
582
583         * src/nm-device-wifi.c
584                 - (finish_supplicant_task): clean up scheduled tasks and free memory
585                 - (remove_supplicant_interface_error_handler): remove the supplicant
586                         error idle callback too
587                 - (supplicant_interface_release): clean up supplicant interface-related
588                         state tasks when the supplicant interface is disposed of
589                 - (schedule_state_handler): add scheduled tasks to a list so they can
590                         be cleaned up later
591                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
592                    supplicant_iface_connection_state_cb_handler): use
593                         finish_supplicant_task() to clean up each completed task
594                 - (supplicant_iface_connection_error_cb_handler): clear source id when
595                         the task is complete
596                 - (supplicant_iface_connection_error_cb): save scheduled task id for
597                         later cleanup
598                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
599
600 2008-09-24  Tambet Ingo  <tambet@gmail.com>
601
602         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
603         method and get/set hostname property.
604
605 2008-09-24  Tambet Ingo  <tambet@gmail.com>
606
607         * src/supplicant-manager/nm-supplicant-interface.c
608         (nm_supplicant_interface_disconnect): Don't increment the reference 
609         count when disconnecting. The problem is on shutdown, when the replies
610         to these commands do not arrive before NM exits, resulting on never
611         calling supplicant interface's dispose(), which removes the interface
612         from supplicant.
613
614 2008-09-24  Tambet Ingo  <tambet@gmail.com>
615
616         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
617         all the public function arguments.
618
619 2008-09-22  Tambet Ingo  <tambet@gmail.com>
620
621         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
622         "Failure" signal from VPN plugins, store the failure reason, and
623         use it when the state is changed to failure.
624
625         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
626         description.
627
628         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
629         reason to the end of the list to not break the API.
630         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
631         so it can be shared by plugins and daemon.
632
633 2008-09-18  Dan Williams  <dcbw@redhat.com>
634
635         Patch from Alexander Sack <asac@ubuntu.com>
636
637         * configure.in
638           system-settings/plugins/Makefile.am
639           system-settings/plugins/ifupdown/Makefile.am
640           system-settings/plugins/ifupdown/interface_parser.c
641           system-settings/plugins/ifupdown/interface_parser.h
642           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
643           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
644           system-settings/plugins/ifupdown/parser.c
645           system-settings/plugins/ifupdown/parser.h
646           system-settings/plugins/ifupdown/plugin.c
647           system-settings/plugins/ifupdown/plugin.h
648                 - Implement a Debian/Ubuntu legacy network configuration plugin
649                         (gnome.org #551941)
650
651 2008-09-18  Dan Williams  <dcbw@redhat.com>
652
653         Implement support for honoring configured and automatic hostnames, and for
654         setting the configured hostname.
655
656         * introspection/nm-ip4-config.xml
657           src/nm-ip4-config.c
658           src/nm-ip4-config.h
659           src/dhcp-manager/nm-dhcp-manager.c
660                 - Remove useless hostname property; it's not really part of the IPv4
661                         config
662
663         * introspection/nm-settings-system.xml
664           libnm-glib/nm-dbus-settings-system.c
665           libnm-glib/nm-dbus-settings-system.h
666                 - Add SetHostname() call to system settings D-Bus interface
667                 - Add Hostname property to system settings D-Bus interface
668                 - (nm_dbus_settings_system_save_hostname,
669                    nm_dbus_settings_system_get_hostname): implement
670
671         * src/nm-device.c
672           src/nm-device.h
673                 - (nm_device_get_dhcp4_config): implement
674
675         * src/nm-manager.c
676           src/nm-manager.h
677                 - Fetch and track system settings service hostname changes, and proxy
678                         the changes via a GObject property of the manager
679
680         * system-settings/src/nm-system-config-interface.c
681           system-settings/src/nm-system-config-interface.h
682                 - Replace nm_system_config_interface_supports_add() with a capabilities
683                         bitfield
684
685         * system-settings/src/nm-system-config-error.c
686           system-settings/src/nm-system-config-error.h
687                 - Add additional errors
688
689         * system-settings/src/dbus-settings.c
690           system-settings/src/dbus-settings.h
691                 - (get_property, nm_sysconfig_settings_class_init): add hostname
692                         property; first plugin returning a hostname wins
693                 - (impl_settings_add_connection): use plugin capabilities instead of
694                         nm_system_config_interface_supports_add()
695                 - (impl_settings_save_hostname): implement hostname saving
696
697         * src/NetworkManagerPolicy.c
698                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
699                    lookup_thread_die): implement an asynchronous hostname lookup thread
700                         which given an IPv4 address tries to look up the hostname for that
701                         address with reverse DNS
702                 - (get_best_device): split out best device code from
703                         update_routing_and_dns()
704                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
705                         to preserve the 127.0.0.1 reverse mapping that so many things require
706                 - (set_system_hostname): set a given hostname
707                 - (update_system_hostname): implement hostname policy; a configured
708                         hostname (from the system settings service) is used if available,
709                         otherwise an automatically determined hostname from DHCP, VPN, etc.
710                         If there was no automatically determined hostname, reverse DNS of
711                         the best device's IP address will be used, and as a last resort the
712                         hostname 'localhost.localdomain' is set.
713                 - (update_routing_and_dns): use get_best_device(); update the system
714                         hostname when the network config changes
715                 - (hostname_changed): update system hostname if the system settings
716                         service signals a hostname change
717                 - (nm_policy_new): list for system settings service hostname changes
718                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
719                         gets told to die
720
721         * system-settings/plugins/keyfile/plugin.c
722           system-settings/plugins/ifcfg-suse/plugin.c
723                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
724                         capabilities properties
725
726         * system-settings/plugins/ifcfg-fedora/shvar.c
727                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
728                         writes out /etc/sysconfig/network now
729
730         * system-settings/plugins/ifcfg-fedora/plugin.c
731                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
732                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
733                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
734                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
735                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
736                         hostname get/set and capabilities get
737
738 2008-09-18  Dan Williams  <dcbw@redhat.com>
739
740         * libnm-util/nm-setting-wireless.c
741                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
742                         group ciphers if the wireless-security setting explicitly specified
743                         them, effectively making the default be "all ciphers"  (idea from
744                         Alexander Sack)
745
746 2008-09-15  Dan Williams  <dcbw@redhat.com>
747
748         Patch from Alexander Sack <asac@ubuntu.com>
749
750         * src/named-manager/nm-named-manager.c
751                 - (dispatch_resolvconf): respect resolvconf exit code
752
753 2008-09-12  Tambet Ingo  <tambet@gmail.com>
754
755         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
756         again. Add some debugging.
757
758 2008-09-11  Dan Williams  <dcbw@redhat.com>
759
760         * system-settings/plugins/keyfile/plugin.c
761                 - (update_connection_settings): update connection manually, since
762                         nm_exported_connection_update() does authentication
763                 - (dir_changed): update_connection_settings() doesn't need to return
764                         an error
765
766 2008-09-09  Dan Williams  <dcbw@redhat.com>
767
768         * libnm-glib/nm-vpn-plugin-ui-interface.c
769           libnm-glib/nm-vpn-plugin-ui-interface.h
770           libnm-glib/libnm_glib_vpn.ver
771                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
772                         should clean up resources related to the connection (like keyring
773                         secrets)
774                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
775                         should save user-scope secrets (like to the keyring)
776
777 2008-09-08  Dan Williams  <dcbw@redhat.com>
778
779         Patch from Alexander Sack <asac@ubuntu.com>
780
781         * libnm-util/crypto_gnutls.c
782           libnm-util/crypto_nss.c
783                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
784
785         * libnm-util/nm-utils.c
786           libnm-util/nm-utils.h
787           libnm-util/libnm-util.ver
788                 - (nm_utils_init): initialize libnm-util
789                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
790
791         * libnm-util/nm-setting-8021x.c
792                 - (nm_setting_802_1x_class_init): init libnm-util when needed
793
794 2008-09-05  Dan Williams  <dcbw@redhat.com>
795
796         Patch from Roy Marples <roy@marples.name> and others
797
798         * configure.in
799           src/named-manager/nm-named-manager.c
800                 - Add support for resolvconf; use --with-resolvconf at configure time
801                         to enable it
802
803 2008-09-05  Dan Williams  <dcbw@redhat.com>
804
805         * libnm-util/crypto_nss.c
806           libnm-util/crypto_gnutls.c
807           libnm-util/crypto.h
808                 - (crypto_init): return error when init fails
809
810 2008-09-05  Dan Williams  <dcbw@redhat.com>
811
812         * libnm-glib/nm-device-wifi.c
813                 - (access_point_removed_proxy): clean up the active access point too
814                         just in case the active ap changed signal didn't come through yet
815                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
816
817 2008-09-05  Dan Williams  <dcbw@redhat.com>
818
819         * libnm-glib/nm-client.c
820                 - (constructor): get initial state after we know whether NM is running
821                         or not
822
823 2008-09-05  Dan Williams  <dcbw@redhat.com>
824
825         * libnm-glib/nm-ip4-config.c
826           libnm-glib/nm-dhcp4-config.c
827                 - (finalize): clean up the DBusGProxy
828
829 2008-09-04  Dan Williams  <dcbw@redhat.com>
830
831         * src/nm-ip4-config.c
832           src/nm-ip4-config.h
833                 - (nm_ip4_config_new): don't export over D-Bus here
834                 - (nm_ip4_config_export): new function; export the config over D-Bus
835                 - (nm_ip4_config_is_exported): new function
836
837         * src/nm-device.c
838                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
839                         objects by balancing the IP4Config constructor; the device holds
840                         a reference to the IP4Config already
841                 - (nm_device_set_ip4_config): export the IP4Config when needed
842
843 2008-09-04  Dan Williams  <dcbw@redhat.com>
844
845         * src/supplicant-manager/nm-supplicant-settings-verify.c
846                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
847
848 2008-09-04  Dan Williams  <dcbw@redhat.com>
849
850         * libnm-util/nm-setting-vpn.c
851           libnm-util/nm-setting-vpn.h
852                 - Split VPN secrets from VPN data so that settings services can actually
853                         figure out that they are secrets and store them accordingly
854
855         * system-settings/plugins/keyfile/nm-keyfile-connection.c
856           system-settings/plugins/keyfile/reader.c
857           system-settings/plugins/keyfile/reader.h
858           system-settings/plugins/keyfile/writer.c
859                 - Store VPN secrets separately from VPN data so that they can be fetched
860                         on demand
861                 - Implement the get_secrets() call so that (a) secrets don't leak out
862                         to unprivileged callers, and (b) secrets can be sent to privileged
863                         callers when needed
864
865         * vpn-daemons/vpnc/src/nm-vpnc-service.c
866                 - Handle split VPN secrets
867
868 2008-08-27  Dan Williams  <dcbw@redhat.com>
869
870         * system-settings/plugins/ifcfg-fedora/reader.c
871                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
872
873 2008-08-27  Dan Williams  <dcbw@redhat.com>
874
875         Ensure zombie children get cleaned up.  To get notifications when children
876         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
877         that requires calling waitpid() yourself if you've removed the child watch
878         handler before the process has actually died, which NM needs to do in a few
879         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
880         cleans up after the child when required.  Should fix problems trying to
881         activate mobile broadband connections after a previous failure.
882
883         * src/dhcp-manager/nm-dhcp-dhclient.c
884           src/dhcp-manager/nm-dhcp-dhcpcd.c
885                 - Use G_SPAWN_DO_NOT_REAP_CHILD
886
887         * src/dhcp-manager/nm-dhcp-manager.c
888                 - (nm_dhcp_device_destroy): ensure child is cleaned up
889                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
890                         block on child quitting, since the non-blocking functionality was
891                         never actually used
892
893         * src/dnsmasq-manager/nm-dnsmasq-manager.c
894                 - (dm_watch_cb): child is already reaped here
895                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
896
897         * src/nm-device.c
898                 - (aipd_cleanup): block until child is dead
899
900         * src/named-manager/nm-named-manager.c
901                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
902                         event bothering to watch the child
903
904         * src/ppp-manager/nm-ppp-manager.c
905                 - (ppp_watch_cb): child is already reaped here
906                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
907
908         * src/vpn-manager/nm-vpn-service.c
909                 - (vpn_service_watch_cb): child is already reaped here
910                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
911                         status of the child is actually tracked
912                 - (ensure_killed, finalize): block until child is dead
913
914 2008-08-26  Dan Williams  <dcbw@redhat.com>
915
916         * system-settings/plugins/keyfile/nm-keyfile-connection.c
917                 - (update): Update filename of the connection if the connection id
918                         was changed
919
920         * system-settings/plugins/keyfile/plugin.c
921                 - (dir_changed): first pass at handling connection renames correctly
922
923         * system-settings/plugins/keyfile/writer.c
924           system-settings/plugins/keyfile/writer.h
925                 - (write_connection): replace '/' with '*' when writing out the filename
926                         from the connection id
927
928 2008-08-26  Dan Williams  <dcbw@redhat.com>
929
930         Add connection UUIDs, since connection names can be changed, and since
931         old-style connection IDs could change over the life of the connection.  The
932         UUID should be assigned at connection creation time, be stable for a given
933         connection, and should be unique among all connections for a given settings
934         service.
935
936         * configure.in
937           libnm-util/Makefile.am
938                 - Require libuuid
939
940         * introspection/nm-exported-connection.xml
941                 - Remove "GetID" method
942
943         * libnm-glib/nm-dbus-connection.c
944           libnm-glib/nm-settings.c
945           libnm-glib/nm-settings.h
946                 - Remove id-related stuff
947
948         * libnm-util/nm-utils.c
949           libnm-util/nm-utils.h
950           libnm-util/libnm-util.ver
951                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
952                         utility functions to generate UUIDs
953
954         * libnm-util/nm-setting-connection.c
955           libnm-util/nm-setting-connection.h
956                 - Add 'uuid' member to the connection setting
957                 - (verify): require valid 'uuid' for a valid connection
958
959         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
960           system-settings/plugins/ifcfg-fedora/reader.c
961           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
962           system-settings/plugins/ifcfg-suse/parser.c
963           system-settings/plugins/keyfile/nm-keyfile-connection.c
964           system-settings/src/main.c
965                 - Remove id-related stuff
966                 - Give connections UUIDs where needed
967
968 2008-08-25  Dan Williams  <dcbw@redhat.com>
969
970         * libnm-util/crypto_gnutls.c
971           libnm-util/crypto_nss.c
972                 - (crypto_init, crypto_deinit): refcount init/deinit
973                 - (crypto_md5_hash): allow NULL salt
974
975 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
976
977         * libnm-glib/Makefile.am
978           libnm-util/Makefile.am
979           libnm-glib/libnm_glib.ver
980           libnm-glib/libnm_glib_vpn.ver
981           libnm-util/libnm-util.ver
982                 - Use linker version scripts to control the list of exported 
983                 symbols. List each exported symbol explicitely.
984         * libnm-util/Makefile.am
985                 - Fix compilation of the test-crypto binary. The crypto
986                 functions are no longer part of the libnm-util API. Add 
987                 crypto_*.c to test_crypto_SOURCES and link against the correct
988                 crypto libraries.
989
990 2008-08-19  Dan Williams  <dcbw@redhat.com>
991
992         * configure.in
993           test/Makefile.am
994                 - Don't build test/test-common
995                 - Remove unused stuff
996
997         * test/nm-set-fallback
998           test/nmtestdevices.c
999           test/test-common/.cvsignore
1000           test/test-common/Makefile.am
1001           test/test-common/test-common.c
1002           test/test-common/test-common.h
1003                 - delete
1004
1005 2008-08-18  Dan Williams  <dcbw@redhat.com>
1006
1007         * libnm-util/nm-utils.c
1008           libnm-util/nm-utils.h
1009                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1010                         export anything that needs to be converted with this function
1011
1012         * src/dhcp-manager/nm-dhcp-manager.c
1013                 - (garray_to_string): convert a byte array to a UTF-8 string with
1014                         minimal validation; the DHCP client sends it in ASCII anyway
1015                 - (get_option, copy_option): use garray_to_string()
1016
1017 2008-08-18  Dan Williams  <dcbw@redhat.com>
1018
1019         * include/NetworkManager.h
1020           introspection/nm-device.xml
1021                 - Add a "missing firmware" device state reason
1022
1023         * src/NetworkManagerSystem.c
1024           src/NetworkManagerSystem.h
1025                 - (nm_system_device_set_up_down): add a no_firmware argument
1026                 - (nm_system_device_set_up_down_with_iface): if the result of setting
1027                         IFF_UP is ENOENT, that almost always means missing firmware
1028
1029         * src/backends/NetworkManagerGeneric.c
1030           src/nm-device-ethernet.c
1031           src/nm-device-private.h
1032           src/nm-device-wifi.c
1033           src/nm-device.c
1034           src/nm-device.h
1035           src/nm-hso-gsm-device.c
1036           src/vpn-manager/nm-vpn-connection.c
1037                 - Pass no_firmware along; check it where appropriate
1038
1039 2008-08-18  Dan Williams  <dcbw@redhat.com>
1040
1041         Patch from Robert Buchholz <rbu@gentoo.org>
1042
1043         * autogen.sh
1044           configure.in
1045                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1046                         1003.1-1988, allowing for file names longer than 99 characters
1047
1048 2008-08-17  Dan Williams  <dcbw@redhat.com>
1049
1050         * include/NetworkManager.h
1051           introspection/nm-device.xml
1052           src/nm-gsm-device.c
1053                 - Finer-grained GSM registration failure error codes
1054
1055 2008-08-17  Dan Williams  <dcbw@redhat.com>
1056
1057         * callouts/Makefile.am
1058           src/Makefile.am
1059                 - Move dispatcher directory creation to callouts/Makefile.am
1060
1061         * system-settings/plugins/keyfile/Makefile.am
1062                 - Create keyfile connections directory in DESTDIR (bgo #546833)
1063
1064 2008-08-15  Dan Williams  <dcbw@redhat.com>
1065
1066         Do connection sharing in a cleaner manner; all required iptables rules
1067         are now stored in the activation request and pertain only to the device
1068         which is being shared to other computers. (rh #458625)
1069
1070         * src/nm-activation-request.c
1071           src/nm-activation-request.h
1072                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1073                         the activation request which will get torn down automatically when
1074                         the activation request dies
1075                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1076                         is started, and tear them down when sharing is stopped
1077
1078         * src/nm-device.c
1079                 - (start_sharing): start up sharing by doing the required iptables magic
1080                 - (share_init): poke the right bits of the kernel and load the right
1081                         modules for NAT
1082                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1083                         connection if it's a 'shared' connection
1084
1085         * src/NetworkManagerPolicy.c
1086                 - Remove all sharing stuff; done in the device code itself
1087
1088 2008-08-15  Dan Williams  <dcbw@redhat.com>
1089
1090         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1091                 - (create_dm_cmd_line): send the right router address
1092
1093 2008-08-15  Dan Williams  <dcbw@redhat.com>
1094
1095         * src/ppp-manager/nm-ppp-manager.c
1096                 - (pppd_timed_out): ensure timeouts fail the connection
1097
1098 2008-08-14  Dan Williams  <dcbw@redhat.com>
1099
1100         * src/nm-properties-changed-signal.c
1101           src/nm-properties-changed-signal.h
1102                 - Add a property spec flag for "don't export this property" in
1103                         property changed signals
1104
1105         * src/nm-hso-gsm-device.c
1106           src/nm-gsm-device.c
1107           src/nm-cdma-device.c
1108                 - Don't export monitor interface or netdev interface properties
1109
1110 2008-08-14  Dan Williams  <dcbw@redhat.com>
1111
1112         * src/NetworkManagerPolicy.c
1113                 - (update_routing_and_dns): 'hso' devices can be default even if they
1114                         don't have a gateway
1115
1116 2008-08-14  Dan Williams  <dcbw@redhat.com>
1117
1118         * src/nm-device.c
1119                 - (nm_device_deactivate_quickly): tear down activation request after
1120                         calling device-specific deactivation
1121
1122         * src/nm-hso-gsm-device.c
1123                 - (real_deactivate_quickly): terminate connection when deactivating
1124
1125 2008-08-14  Dan Williams  <dcbw@redhat.com>
1126
1127         * src/nm-activation-request.h
1128                 - Add HSO secrets caller
1129
1130         * src/nm-gsm-device.c
1131           src/nm-gsm-device.h
1132                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1133                         something to the callback function
1134                 - (set_apn, set_apn_done): call class dial function, not a static one
1135                 - (nm_gsm_device_class_init): add a class 'dial' function
1136
1137         * src/nm-hal-manager.c
1138                 - (get_hso_netdev): find the hso-driven hardware's net device
1139                 - (modem_device_creator): recognize hso-driven hardware and create the
1140                         right type of device object for it
1141
1142         * src/Makefile.am
1143           src/nm-hso-gsm-device.c
1144           src/nm-hso-gsm-device.h
1145                 - Implement support for devices driven by the 'hso' driver as a subclass
1146                         of NMGsmDevice
1147
1148 2008-08-14  Dan Williams  <dcbw@redhat.com>
1149
1150         * src/NetworkManagerSystem.c
1151                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1152                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1153                         success if the operation really was successful
1154
1155 2008-08-14  Dan Williams  <dcbw@redhat.com>
1156
1157         * src/nm-netlink-monitor.c
1158           src/nm-netlink-monitor.h
1159           src/nm-device-ethernet.c
1160                 - (nm_netlink_monitor_request_status): return an error on failure
1161                 - (constructor): don't segfault on missing error
1162
1163 2008-08-13  Dan Williams  <dcbw@redhat.com>
1164
1165         * callouts/nm-dispatcher-action.c
1166                 - Add IP4 config info to script environment
1167
1168 2008-08-12  Dan Williams  <dcbw@redhat.com>
1169
1170         * src/nm-device.c
1171                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1172                         that want to use DHCP hostnames should use dispatcher scripts
1173                         for that
1174
1175         * src/NetworkManagerSystem.h
1176           src/backends/NetworkManagerArch.c
1177           src/backends/NetworkManagerDebian.c
1178           src/backends/NetworkManagerFrugalware.c
1179           src/backends/NetworkManagerGeneric.c
1180           src/backends/NetworkManagerGeneric.h
1181           src/backends/NetworkManagerGentoo.c
1182           src/backends/NetworkManagerMandriva.c
1183           src/backends/NetworkManagerPaldo.c
1184           src/backends/NetworkManagerRedHat.c
1185           src/backends/NetworkManagerSlackware.c
1186           src/backends/NetworkManagerSuSE.c
1187                 - Remove nm_system_set_hostname(), no longer used
1188           
1189         * src/backends/Makefile.am
1190           src/backends/shvar.c
1191           src/backends/shvar.h
1192                 - Remove shvar.*; no longer used
1193
1194 2008-08-12  Dan Williams  <dcbw@redhat.com>
1195
1196         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1197         hostname is updated at runtime.  Distros or users who want hostname updates
1198         can use dispatcher scripts to update the hostname if they need it.
1199
1200 2008-08-12  Dan Williams  <dcbw@redhat.com>
1201
1202         * introspection/nm-settings-system.xml
1203           system-settings/src/dbus-settings.c
1204           system-settings/src/dbus-settings.h
1205                 - Add a 'Hostname' property (rw) which represents the configured
1206                         hostname and domain of the system, if any
1207
1208         * system-settings/src/nm-system-config-error.c
1209           system-settings/src/nm-system-config-error.h
1210           system-settings/src/nm-system-config-interface.c
1211           system-settings/src/nm-system-config-interface.h
1212                 - Add a 'hostname' property to the plugin interface
1213                 - Add a method to send updated hostname to plugins to save in their
1214                         backing configuration store
1215
1216         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1217           system-settings/plugins/keyfile/plugin.c
1218           system-settings/plugins/keyfile/writer.c
1219           system-settings/plugins/keyfile/writer.h
1220           system-settings/plugins/ifcfg-suse/plugin.c
1221                 - Add minimal hostname support
1222
1223         * system-settings/plugins/ifcfg-fedora/plugin.c
1224                 - Add support for updating system hostname in /etc/sysconfig/network
1225
1226 2008-08-12  Dan Williams  <dcbw@redhat.com>
1227
1228         * system-settings/plugins/ifcfg-fedora/shvar.c
1229           system-settings/plugins/ifcfg-fedora/shvar.c
1230                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1231
1232 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1233
1234         * Makefile.am: Fix distcheck.
1235
1236 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1237
1238         * libnm-glib/*.c. Document some more.
1239
1240 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1241
1242         Start documenting libnm-glib public API using gtk-doc.
1243
1244         * libnm-glib/nm-serial-device.c: 
1245         * libnm-glib/nm-object.c: 
1246         * libnm-glib/nm-gsm-device.c: 
1247         * libnm-glib/nm-device.c: 
1248         * libnm-glib/nm-device-wifi.c: 
1249         * libnm-glib/nm-device-ethernet.c: 
1250         * libnm-glib/nm-client.c: 
1251         * libnm-glib/nm-cdma-device.c: Document the public API.
1252
1253         * docs/libnm-glib/libnm-glib.types: Implement.
1254
1255         * docs/libnm-glib/Makefile.am: Implement.
1256
1257         * autogen.sh: 
1258         * configure.in: 
1259         * Makefile.am: Add gtk-doc support.
1260
1261 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1262
1263         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1264
1265         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1266         the composite result of all the IP4 configurations and call a distro
1267         specific update_resolv_conf().
1268         (update_resolv_conf): Implement one for directly writing to 
1269         /etc/resolv.conf and one for opensuse to call netconfig.
1270
1271 2008-08-11  Dan Williams  <dcbw@redhat.com>
1272
1273         * src/ppp-manager/nm-ppp-manager.c
1274                 - (impl_ppp_manager_need_secrets): pass interface as required
1275
1276 2008-08-11  Dan Williams  <dcbw@redhat.com>
1277
1278         Merge the vpn-properties setting with the vpn setting since it was pointless
1279         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1280         of string:string (instead of string:variant) so that system settings plugins
1281         can have an easier time dealing with the arbitrary key/value pairs.
1282
1283 2008-08-11  Dan Williams  <dcbw@redhat.com>
1284
1285         * libnm-util/nm-utils.c
1286                 - (nm_utils_register_value_transformations): add value transform for
1287                         a hash table of string:string
1288
1289 2008-08-10  Dan Williams  <dcbw@redhat.com>
1290
1291         * libnm-glib/nm-vpn-plugin.c
1292                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1293                         an idle handler so the Connect reply gets delivered before the
1294                         stop StateChanged signal
1295
1296 2008-08-10  Dan Williams  <dcbw@redhat.com>
1297
1298         * src/nm-ip4-config.c
1299                 - (get_property): use common ip4 address/route conversion functions
1300                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1301                         copy the new route here, not take ownership
1302
1303 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1304
1305         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1306         Update the IP4 setting's method name.
1307
1308 2008-08-07  Dan Williams  <dcbw@redhat.com>
1309
1310         * introspection/nm-ip4-config.xml
1311           libnm-glib/libnm-glib-test.c
1312           libnm-glib/nm-ip4-config.c
1313           libnm-glib/nm-ip4-config.h
1314           src/NetworkManagerSystem.h
1315           src/backends/NetworkManagerArch.c
1316           src/backends/NetworkManagerDebian.c
1317           src/backends/NetworkManagerFrugalware.c
1318           src/backends/NetworkManagerGeneric.c
1319           src/backends/NetworkManagerGeneric.h
1320           src/backends/NetworkManagerGentoo.c
1321           src/backends/NetworkManagerMandriva.c
1322           src/backends/NetworkManagerPaldo.c
1323           src/backends/NetworkManagerRedHat.c
1324           src/backends/NetworkManagerSlackware.c
1325           src/backends/NetworkManagerSuSE.c
1326           src/dhcp-manager/nm-dhcp-manager.c
1327           src/nm-device.c
1328           src/nm-ip4-config.c
1329           src/nm-ip4-config.h
1330                 - Remove NIS logic; should be done from dispatcher scripts instead
1331
1332 2008-08-07  Dan Williams  <dcbw@redhat.com>
1333
1334         * src/dhcp-manager/nm-dhcp-manager.c
1335                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1336                         mis-handling of DHCP responses that returned more than one router
1337                         (found by Grant Williamson)
1338
1339 2008-08-07  Dan Williams  <dcbw@redhat.com>
1340
1341         * callouts/nm-dispatcher-action.c
1342                 - (nm_dispatcher_action): grab device path and create the device; pass
1343                         the device's DHCP4 config to script caller
1344                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1345                         scripts
1346
1347         * libnm-glib/nm-dhcp4-config.c
1348           libnm-glib/nm-dhcp4-config.h
1349                 - (nm_dhcp4_config_get_options): expose
1350                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1351
1352 2008-08-07  Dan Williams  <dcbw@redhat.com>
1353
1354         * include/NetworkManager.h
1355                 - Add the DHCP4Config D-Bus interface
1356
1357         * libnm-glib/Makefile.am
1358           libnm-glib/nm-dhcp4-config.c
1359           libnm-glib/nm-dhcp4-config.h
1360                 - Handle DHCP4 config objects exported by NM over D-Bus
1361
1362         * libnm-glib/nm-device.c
1363           libnm-glib/nm-device.h
1364                 - Add a 'dhcp4-config' property
1365
1366         * libnm-glib/libnm-glib-test.c
1367                 - Print out DHCP4 config for devices
1368                 - Fix some crashes when no connections are active
1369
1370         * src/nm-device-interface.c
1371           src/nm-device.c
1372           src/nm-dhcp4-config.c
1373           src/nm-dhcp4-config.h
1374                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1375                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1376                         doesn't let us do when the property type is G_TYPE_OBJECT
1377
1378 2008-08-07  Dan Williams  <dcbw@redhat.com>
1379
1380         * src/NetworkManager.c
1381           src/NetworkManagerSystem.h
1382           src/backends/NetworkManagerArch.c
1383           src/backends/NetworkManagerDebian.c
1384           src/backends/NetworkManagerFrugalware.c
1385           src/backends/NetworkManagerGeneric.c
1386           src/backends/NetworkManagerGeneric.h
1387           src/backends/NetworkManagerGentoo.c
1388           src/backends/NetworkManagerMandriva.c
1389           src/backends/NetworkManagerPaldo.c
1390           src/backends/NetworkManagerRedHat.c
1391           src/backends/NetworkManagerSlackware.c
1392           src/backends/NetworkManagerSuSE.c
1393                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1394
1395 2008-08-06  Dan Williams  <dcbw@redhat.com>
1396
1397         * libnm-glib/nm-ip4-config.c
1398           libnm-glib/nm-ip4-config.h
1399                 - Add 'routes' property
1400
1401         * libnm-util/nm-setting-vpn.c
1402           libnm-util/nm-setting-vpn.h
1403                 - Remove 'routes' property
1404
1405         * libnm-util/nm-setting-ip4-config.c
1406           libnm-util/nm-setting-ip4-config.h
1407                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1408                 - Add 'ignore-auto-routes' property
1409                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1410                         accomodate route metrics
1411                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1412
1413         * libnm-util/nm-utils.c
1414           libnm-util/nm-utils.h
1415                 - Add helpers for marshalling IP4 routes
1416
1417         * src/NetworkManagerUtils.c
1418                 - (nm_utils_merge_ip4_config): handle property renames and new route
1419                         structure
1420
1421         * src/NetworkManagerSystem.c
1422                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1423                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1424
1425         * src/dhcp-manager/nm-dhcp-manager.c
1426                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1427
1428         * system-settings/plugins/ifcfg-fedora/reader.c
1429           system-settings/plugins/ifcfg-fedora/writer.c
1430                 - Handle routes separately from addresses now that routes have a different
1431                         format
1432
1433         * introspection/nm-ip4-config.xml
1434           src/nm-ip4-config.c
1435           src/nm-ip4-config.h
1436                 - Rename internal routing functions
1437                 - 'static-routes' renamed to 'routes'
1438
1439 2008-08-04  Dan Williams  <dcbw@redhat.com>
1440
1441         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1442
1443         * src/NetworkManager.c
1444           src/nm-manager.c
1445           src/nm-manager.h
1446                 - More explicitly make the NMManager a singleton
1447
1448 2008-08-04  Dan Williams  <dcbw@redhat.com>
1449
1450         * libnm-util/nm-connection.c
1451           libnm-util/nm-connection.h
1452                 - (nm_connection_verify): return error on missing 'connection' setting
1453                         (found by Sjoerd Simons)
1454
1455 2008-08-04  Dan Williams  <dcbw@redhat.com>
1456
1457         Handle multiple concurrent PPP connections.
1458
1459         * src/ppp-manager/nm-ppp-manager.c
1460           src/ppp-manager/nm-ppp-manager.h
1461                 - (constructor): only PPP Manager request bus name once; each
1462                         NMPPPManager object gets a unique object path
1463                 - (nm_ppp_manager_class_init, get_property, set_property,
1464                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1465                         at construct time
1466                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1467                         remove timeout until PPP manager gets an IP4 config
1468                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1469                         the plugin can call back to this specific PPP manager instance
1470
1471         * src/nm-device-ethernet.c
1472           src/nm-serial-device.c
1473                 - Pass parent device in nm_ppp_manager_new()
1474
1475         * src/nm-gsm-device.c
1476           src/nm-cdma-device.c
1477                 - (device_state_changed): don't close serial device on NEED_AUTH
1478                         state changed, that's not a failure case like the rest are
1479
1480         * src/ppp-manager/nm-pppd-plugin.c
1481                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1482                         binds one interface to any pppd process, thus the correct index
1483                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1484                         problems; try harder to get a peer address in spite of pppd
1485                 - (plugin_init): use 'ipparam' as the object path back to our specific
1486                         PPP manager instance
1487
1488 2008-08-04  Dan Williams  <dcbw@redhat.com>
1489
1490         * src/ppp-manager/nm-ppp-manager.c
1491                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1492                         since the GSM and CDMA settings now implement need_secrets, we can
1493                         rely on them to do the right thing.  Where secrets are not required,
1494                         just pass empty strings back to the pppd plugin.
1495                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1496                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1497                         on successful IP4 config receipt
1498
1499 2008-08-04  Dan Williams  <dcbw@redhat.com>
1500
1501         * libnm-util/nm-setting-cdma.c
1502           libnm-util/nm-setting-gsm.c
1503                 - (verify): validate username & password if they exist
1504                 - (need_secrets): if username given, require a password too
1505
1506 2008-08-04  Dan Williams  <dcbw@redhat.com>
1507
1508         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1509                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1510                         manpage says about --listen-address without --interface
1511                         (bgo #546033)
1512
1513 2008-08-01  Dan Williams  <dcbw@redhat.com>
1514
1515         * libnm-glib/nm-device.c
1516                 - (proxy_get_string): util function for querying a HAL property
1517                 - (get_ancestor_device): split out from get_product_and_vendor()
1518                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1519                         from PCI devices by querying subsys properties
1520                 - (nm_device_update_description): simplify
1521
1522 2008-08-01  Dan Williams  <dcbw@redhat.com>
1523
1524         * libnm-util/nm-setting-ip4-config.c
1525           libnm-util/nm-setting-ip4-config.h
1526                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1527                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1528                         settings, and they don't necessarily use DHCP.
1529
1530         * src/NetworkManagerPolicy.c
1531           src/nm-device.c
1532           system-settings/plugins/ifcfg-fedora/reader.c
1533           system-settings/plugins/ifcfg-suse/parser.c
1534                 - Fixup for method changes
1535
1536 2008-07-31  Dan Williams  <dcbw@redhat.com>
1537
1538         * src/nm-activation-request.c
1539           src/vpn-manager/nm-vpn-connection.c
1540                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1541                         itself should be attached to the activation request or the VPN
1542                         connection, not the NMConnection object, since the call is not
1543                         expected to live as long as the NMConnection itself
1544
1545 2008-07-31  Dan Williams  <dcbw@redhat.com>
1546
1547         * src/nm-device-wifi.c
1548                 - (real_act_stage2_config): fix issue where association would continue
1549                         even though secrets were needed; 'goto out' was in wrong scope and
1550                         result of handle_auth_or_fail() should have been dumped directly to
1551                         'ret' to ensure that the association was postponed until secrets
1552                         are available
1553
1554 2008-07-31  Dan Williams  <dcbw@redhat.com>
1555
1556         * system-settings/plugins/ifcfg-fedora/plugin.c
1557           system-settings/plugins/ifcfg-fedora/reader.c
1558                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1559                         valid NM connection
1560
1561 2008-07-29  Dan Williams  <dcbw@redhat.com>
1562
1563         * src/nm-gsm-device.c
1564                 - (automatic_registration_response, automatic_registration): recognize
1565                         denied registration and reorder responses
1566
1567 2008-07-29  Dan Williams  <dcbw@redhat.com>
1568
1569         * src/nm-serial-device.c
1570                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1571                         time(2) is used for current time, which returns seconds, we shouldn't
1572                         be multiplying by 1000.
1573
1574 2008-07-28  Dan Williams  <dcbw@redhat.com>
1575
1576         Patch from Fabrice Bellet <fabrice@bellet.info>
1577
1578         * src/NetworkManagerSystem.c
1579                 - (route_in_same_subnet): mask addresses and compare them so that the
1580                         function actually does what it says it's going to do (rh #456685)
1581
1582 2008-07-27  Dan Williams  <dcbw@redhat.com>
1583
1584         * libnm-util/nm-setting-ip6-config.c
1585                 - (set_property): add missing break that caused routes to be overwritten
1586                         with addresses
1587
1588         * libnm-util/nm-setting-ip6-config.c
1589                 - (verify): validate routes and return GError everywhere on invalid setting
1590                 - (finalize): don't leak routes
1591                 - (set_property): add missing break that caused routes to be overwritten
1592                         with addresses
1593
1594 2008-07-27  Dan Williams  <dcbw@redhat.com>
1595
1596         * libnm-util/*
1597                 - Relicense to LGPLv2+
1598
1599 2008-07-27  Dan Williams  <dcbw@redhat.com>
1600
1601         * system-settings/plugins/ifcfg-fedora/reader.c
1602                 - (make_ip4_setting): fix parsing automatic configs
1603
1604 2008-07-27  Dan Williams  <dcbw@redhat.com>
1605
1606         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1607           src/nm-device.c
1608           src/ppp-manager/nm-ppp-manager.c
1609                 - Ensure child process gets reaped.  The child watch function may be
1610                         removed from the mainloop before the child gets killed, so we have
1611                         to make sure the child is reaped when it's told to die intentionally
1612
1613 2008-07-27  Dan Williams  <dcbw@redhat.com>
1614
1615         Patch from Roy Marples <roy@marples.name>
1616
1617         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1618                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1619
1620 2008-07-27  Dan Williams  <dcbw@redhat.com>
1621
1622         * src/nm-gsm-device.c
1623                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1624                         Huawei devices turn echo back on after CPIN (rh #456770)
1625
1626 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1627
1628         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1629         format argument to g_set_error() call.
1630
1631         * src/backends/interface_parser.[ch]: Remove.
1632
1633         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1634
1635 2008-07-21  Dan Williams  <dcbw@redhat.com>
1636
1637         * src/ppp-manager/nm-ppp-manager.c
1638                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1639                         to prevent pppd from picking up some random local address from an
1640                         interface that doesn't have anything to do with the one we're
1641                         interested in (rh #455348)
1642
1643 2008-07-17  Dan Williams  <dcbw@redhat.com>
1644
1645         * libnm-util/nm-utils.c
1646                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1647                         by locale
1648                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1649                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1650
1651 2008-07-17  Dan Williams  <dcbw@redhat.com>
1652
1653         * introspection/Makefile.am
1654           introspection/nm-device.xml
1655           introspection/nm-dhcp4-config.xml
1656                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1657                         itself
1658         * src/nm-device-interface.c
1659           src/nm-device-interface.h
1660                 - Add the DHCP4Config property
1661
1662         * src/nm-device.c
1663                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1664                         D-Bus clients when it changes
1665
1666         * src/nm-dhcp4-config.c
1667           src/nm-dhcp4-config.h
1668                 - Simple object to store DHCP4 options, export them over D-Bus, and
1669                         notify when they change
1670
1671         * src/dhcp-manager/nm-dhcp-manager.c
1672           src/dhcp-manager/nm-dhcp-manager.h
1673                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1674                         filter server-returned DHCP options into an NMDHCP4Config object
1675
1676 2008-07-16  Dan Williams  <dcbw@redhat.com>
1677
1678         * introspection/nm-device.xml
1679                 - Add device state reasons
1680
1681 2008-07-16  Dan Williams  <dcbw@redhat.com>
1682
1683         Patch from Roy Marples <roy@marples.name>
1684
1685         * configure.in
1686                 - Add --with-dhcp-client option
1687
1688         * src/dhcp-manager/Makefile.am
1689                 - pass DHCP_CLIENT_PATH on compile line
1690
1691         * src/dhcp-manager/nm-dhcp-manager.c
1692           src/dhcp-manager/nm-dhcp-manager.h
1693                 - Genericize for both dhcpcd and dhclient
1694
1695         * src/dhcp-manager/nm-dhcp-dhclient.c
1696                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1697
1698         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1699                 - Implement support for dhcpcd too
1700
1701 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1702
1703         * system-settings/src/nm-system-config-interface.c 
1704         (nm_system_config_interface_supports_add): Implement.
1705         (nm_system_config_interface_add_connection): Return a boolean to notify
1706         of errors.
1707
1708         * system-settings/src/nm-polkit-helpers.c: 
1709         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1710         a separate file.
1711
1712         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1713         Return an error when none of the plugins support add or if addition
1714         failed for some reason.
1715
1716         * system-settings/src/nm-system-config-error.h: 
1717         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1718         here from nm-polkit-helpers.[ch].
1719
1720         * system-settings/src/Makefile.am: Build new files.
1721
1722         * system-settings/plugins/keyfile/reader.c 
1723         (read_array_of_array_of_uint): Make it more general so that it would
1724         work for routes as well.
1725
1726         * system-settings/plugins/keyfile/writer.c
1727         (write_array_of_array_of_uint): Ditto.
1728         Fix the netmask/prefix writing.
1729
1730         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1731         boolean to notify errors.
1732
1733         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1734         Return more specific error.
1735         (delete): Ditto.
1736
1737 2008-07-11  Dan Williams  <dcbw@redhat.com>
1738
1739         Modify the NMDevice::state-changed signal to include the previous state
1740         and reason. Enables the applet to provide more information why device
1741         activation failed.
1742
1743 2008-07-09  Dan Williams  <dcbw@redhat.com>
1744
1745         * callouts/Makefile.am
1746           callouts/nm-avahi-autoipd-action.c
1747           callouts/nm-avahi-autoipd.conf
1748                 - avahi-autoipd callout to send options back to NM
1749
1750         * src/autoip.c
1751           src/autoip.h
1752                 - remove
1753
1754         * src/nm-device.c
1755           src/nm-device-private.h
1756           src/nm-manager.c
1757                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1758                         old custom stuff
1759
1760 2008-07-07  Dan Williams  <dcbw@redhat.com>
1761
1762         * system-settings/plugins/ifcfg-fedora/reader.c
1763                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1764                         handle PREFIX too; clean up
1765
1766 2008-07-07  Dan Williams  <dcbw@redhat.com>
1767
1768         Convert to using IPv4 prefixes instead of netmasks.
1769
1770 2008-07-03  Dan Williams  <dcbw@redhat.com>
1771
1772         * libnm-util/nm-setting-ip4-config.c
1773           libnm-util/nm-setting-ip4-config.h
1774                 - Add properties for DHCP Client Identifier and DHCP Hostname
1775
1776         * src/dhcp-manager/nm-dhcp-manager.c
1777           src/dhcp-manager/nm-dhcp-manager.h
1778                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1779                         setting as an argument to pass on to the dhclient config file
1780                         creation function
1781                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1782                         DHCP is torn down
1783                 - (dhclient_run): punt config file handling to create_dhclient_config()
1784                 - (create_dhclient_config): create an interface-specific dhclient
1785                         config file since there may need to be interface-specific options
1786                         passed to dhclient
1787                 - (merge_dhclient_config): merge normal distro dhclient config file and
1788                         add options from the connection
1789                 - (nm_dhcp_device_new): generate the interface specific dhclient
1790                         config file path once
1791                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1792                         dhclient config file path
1793
1794         * src/nm-device.c
1795                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1796                         DHCP manager when starting DHCP
1797
1798 2008-07-02  Dan Williams  <dcbw@redhat.com>
1799
1800         * libnm-util/nm-setting-8021x.c
1801                 - (verify): allow forcing the PEAP label to 0
1802
1803 2008-07-02  Dan Williams  <dcbw@redhat.com>
1804
1805         * introspection/nm-active-connection.xml
1806           introspection/nm-vpn-connection.xml
1807           libnm-glib/nm-active-connection.c
1808           src/nm-activation-request.c
1809           src/nm-active-connection.h
1810           src/vpn-manager/nm-vpn-connection.c
1811                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1812                         and libnm-glib API since sharing didn't get implemented that way
1813
1814 2008-07-02  Dan Williams  <dcbw@redhat.com>
1815
1816         * src/nm-device-wifi.c
1817                 - (can_scan): don't scan when a shared connection is activated since
1818                         that makes drivers mad (causing disconnects); also NM doesn't need
1819                         to hedge against disconnects by keeping up-to-date network topology
1820                         because the connection originates from the local machine, and thus
1821                         there should be no disconnects
1822
1823 2008-07-01  Dan Williams  <dcbw@redhat.com>
1824
1825         Fix mobile broadband username/password issues.  NM was never requesting
1826         mobile broadband secrets, nor was it passing back the username and password
1827         if it had them.
1828
1829         * marshallers/nm-marshal.list
1830                 - Add some new types for activation request objects
1831
1832         * src/nm-activation-request.c
1833           src/nm-activation-request.h
1834                 - (get_secrets_cb): pass the caller type in the signal
1835                 - (nm_act_request_request_connection_secrets): take a caller type, so
1836                         that GetSecrets() reply handlers know who asked for the secrets in
1837                         the first place; use secret hints too so the settings service can
1838                         figure out exactly what NM wants (ie, PIN or the PPP password)
1839
1840         * src/ppp-manager/nm-ppp-manager.c
1841           src/ppp-manager/nm-ppp-manager.h
1842                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1843                         detect needed secrets when the secret could be blank, like GSM/CDMA
1844                         passwords.  So always ask for secrets, and send a hint as to what
1845                         secret we really want.
1846                 - (nm_ppp_manager_update_secrets): make function more generic by making
1847                         the device specific class figure out the username and password, and
1848                         accept an error argument to return back over D-Bus
1849
1850         * src/nm-device-wifi.c
1851                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1852                         nm_act_request_request_connection_secrets()
1853                 - (real_connection_secrets_updated): update for 'caller' changes
1854
1855         * src/nm-device.c
1856           src/nm-device.h
1857                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1858                         for 'caller' changes
1859
1860         * src/nm-device-ethernet.c
1861                 - (real_connection_secrets_updated): update for 'caller' changes and
1862                         move logic for getting PPPoE username and password here before
1863                         calling nm_ppp_manager_update_secrets()
1864                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1865                         nm_act_request_request_connection_secrets()
1866
1867         * src/nm-cdma-device.c
1868                 - (real_connection_secrets_updated): pass username and password back
1869                         to the PPP manager when required
1870
1871         * src/nm-gsm-device.c
1872                 - (enter_pin): send the required secret name to the settings service
1873                 - (real_connection_secrets_updated): pass username and password back
1874                         to the PPP manager when required
1875
1876 2008-06-30  Dan Williams  <dcbw@redhat.com>
1877
1878         * src/nm-device-wifi.c
1879                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1880
1881 2008-06-30  Dan Williams  <dcbw@redhat.com>
1882
1883         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1884         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1885         priv->supplicant.iface.  When either condition is false, the device should
1886         transition back to UNAVAILABLE because it cannot be used.
1887
1888         * src/nm-device-wifi.c
1889                 - (constructor): cleanup; connect to supplicant manager here since the
1890                         supplicant manager is always around
1891                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1892                         ensure the supplicant manager is in the IDLE state
1893                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1894                         cancel any pending scans too
1895                 - (real_bring_up): don't set up the supplicnat interface here, because
1896                         we need the supplicant interface at times when the device may not
1897                         be "up"
1898                 - (real_take_down): just remove the periodic source
1899                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1900                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1901                         do anything if there's no supplicant interface
1902                 - (cleanup_association_attempt): cleanup
1903                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1904                         the interface enters the READY state; transition to UNAVAILABLE
1905                         state when the interface goes down because the device can't be used
1906                         without a supplicant interface
1907                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1908                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1909                         acquire the supplicant interface and transition to DISCONNECTED
1910                         if the radio isn't killed
1911                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1912                 - (state_changed_cb): release any existing supplicant interface; if the
1913                         radio is enabled then try to acquire a new supplicant interface;
1914                         if the radio is enabled and a supplicant interface has been acquired,
1915                         we can transition to DISCONNECTED
1916                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1917                         don't enable the radio, because HAL probably lied to us about the
1918                         killswitch being off.  If bringing the hardware up worked, then
1919                         try to grab a supplicant interface, and if that was successful,
1920                         transition to DISCONNECTED
1921
1922 2008-06-30  Dan Williams  <dcbw@redhat.com>
1923
1924         * src/supplicant-manager/nm-supplicant-interface.c
1925                 - (request_scan_results, nm_supplicant_interface_dispose,
1926                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1927                         the id of the timeout, not a GSource
1928
1929 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1930
1931         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1932         bunch of typoes introduced by "Patch from David Cantrell 
1933         <dcantrell@redhat.com> and me".
1934
1935 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1936
1937         * src/nm-serial-device.c: 
1938         * src/nm-gsm-device.c: 
1939         * src/nm-cdma-device.c: Move the pending call handling to a common location
1940         in serial device. Handle setting device state to failed in one place as well.
1941
1942 2008-06-29  Dan Williams <dcbw@redhat.com>
1943
1944         * src/nm-hal-manager.c
1945                 - Rework killswitch handling to query killswitch status immediately
1946                         when the first killswitch is added, so that rfkill state is
1947                         known as early as possible
1948                 - Also treat failure of GetPower() as rfkill when the dbus method
1949                         call times out (but not when the HAL callout returns an error)
1950
1951 2008-06-26  Dan Williams <dcbw@redhat.com>
1952
1953         Patch from David Cantrell <dcantrell@redhat.com> and me
1954
1955         * include/nm-dbus-glib-types.h
1956                 - Add IP6 address types
1957
1958         * libnm-util/Makefile.am
1959           libnm-util/nm-setting-ip6-config.c
1960           libnm-util/nm-setting-ip6-config.h
1961                 - Add IP6 settings object
1962
1963         * libnm-util/nm-connection.c
1964                 - (register_default_settings): register ip6 settings object
1965
1966         * libnm-util/nm-utils.c
1967           libnm-util/nm-utils.h
1968                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1969                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1970                         ip6 address conversion functions
1971         
1972 2008-06-26  Dan Williams <dcbw@redhat.com>
1973
1974         Patch from David Cantrell <dcantrell@redhat.com>
1975         
1976         * Use inet_ntop() and inet_pton() everwhere and check for errors
1977
1978 2008-06-26  Dan Williams <dcbw@redhat.com>
1979
1980         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1981
1982 2008-06-26  Dan Williams <dcbw@redhat.com>
1983
1984         Patch from Adel Gadllah <adel.gadllah@gmail.com>
1985
1986         * src/nm-device-wifi.c
1987                 - (link_timeout_cb): don't ignore disconnects due to scanning
1988                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1989                         a longer timeout when scanning; avoids case where supplicant can't
1990                         find the AP and just keeps scanning forever but isn't connected
1991
1992 2008-06-26  Dan Williams <dcbw@redhat.com>
1993
1994         Patch from Michael Biebl <biebl@debian.org>
1995
1996         * Clean up build system stuff
1997
1998 2008-06-23  Christian Persch  <chpe@gnome.org>
1999
2000         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2001         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2002         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2003         (impl_get_object):
2004         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2005         (impl_get_object):
2006         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2007         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2008         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2009         (impl_get_object):
2010         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2011         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2012         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2013         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2014         * vpn-daemons/pptp/properties/vpnui_opt.c:
2015         (vpnui_opt_connect_signals):
2016         * vpn-daemons/pptp/properties/vpnui_opt.h:
2017         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2018         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2019         deprecated gtk type macros. Bug #539325.
2020
2021 2008-06-20  Dan Williams  <dcbw@redhat.com>
2022
2023         * libnm-glib/nm-vpn-plugin-ui-interface.c
2024           libnm-glib/nm-vpn-plugin-ui-interface.h
2025                 - 'validity-changed' -> 'changed' to work better with the connection
2026                         editor.  Plugin UI widgets should emit 'changed' whenever their
2027                         UI values change in a meaningful way.
2028                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2029                         update_connection member now returns validity of the UI widget
2030
2031 2008-06-20  Tambet Ingo  <tambet@gmail.com>
2032
2033         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2034
2035 2008-06-17  Dan Williams  <dcbw@redhat.com>
2036
2037         * libnm-glib/nm-vpn-plugin-ui-interface.c
2038           libnm-glib/nm-vpn-plugin-ui-interface.h
2039                 - Add "desc" property for longer descriptions of the VPN plugin
2040
2041 2008-06-16  Dan Williams  <dcbw@redhat.com>
2042
2043         * configure.in
2044           libnm-glib/libnm_glib_vpn.pc.in
2045                 - add a .pc file for libnm_glib_vpn
2046
2047         * libnm-glib/nm-vpn-plugin-ui-interface.c
2048           libnm-glib/nm-vpn-plugin-ui-interface.h
2049                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2050                         rework it substantially
2051
2052 2008-06-12  Dan Williams  <dcbw@redhat.com>
2053
2054         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2055         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
2056         returns a descriptive GError when verification fails.
2057
2058 2008-06-11  Dan Williams  <dcbw@redhat.com>
2059
2060         Patch from Tambet Ingo <tambet@gmail.com>
2061
2062         * libnm-util/nm-setting-gsm.c
2063                 - (verify): validate APN
2064
2065         * src/nm-gsm-device.c
2066                 - (manual_registration_done): start setting APN if needed
2067                 - (set_apn, set_apn_done): set the APN
2068                 - (do_dial): use the APN when dialing
2069
2070 2008-06-11  Dan Williams  <dcbw@redhat.com>
2071
2072         * src/NetworkManagerSystem.c
2073                 - (nm_system_device_set_ip4_route,
2074                    nm_system_device_replace_default_ip4_route): check for the right
2075                         return value from rtnl_route_add() to know when to add a gateway
2076                         route (from Tambet)
2077
2078 2008-06-11  Dan Williams  <dcbw@redhat.com>
2079
2080         * src/NetworkManagerPolicy.c
2081                 - do_ipt_cmd -> do_cmd
2082                 - (sharing_init): use do_cmd() instead of system()
2083
2084 2008-06-10  Dan Williams  <dcbw@redhat.com>
2085
2086         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2087         and use "wifi" everwhere instead.
2088
2089 2008-06-10  Dan Williams  <dcbw@redhat.com>
2090
2091         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2092
2093 2008-06-10  Dan Williams  <dcbw@redhat.com>
2094
2095         Patch from Tambet Ingo <tambet@gmail.com>
2096
2097         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2098                 changes.
2099
2100         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2101                 a signal to emit these changes over dbus.
2102
2103         * src/Makefile.am: Genereate nm-serial-device-glue.
2104
2105         * libnm-glib/nm-serial-device.[ch]: Implement.
2106
2107         * libnm-glib/nm-cdma-device.[ch]
2108           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2109
2110         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2111
2112         * introspection/nm-device-serial.xml: Implement.
2113
2114         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2115
2116         * introspection/Makefile.am: Add nm-device-serial.xml.
2117
2118         * include/NetworkManager.h: Add a DBus interface for serial device.
2119
2120 2008-06-10  Dan Williams  <dcbw@redhat.com>
2121
2122         * configure.in
2123                 - Add TARGET_* define to config.h to distinguish distros
2124
2125         * src/dhcp-manager/nm-dhcp-manager.c
2126                 - (dhclient_run): use distro-specific path for dhclient config file
2127
2128 2008-06-09  Dan Williams  <dcbw@redhat.com>
2129
2130         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2131           src/dnsmasq-manager/nm-dnsmasq-manager.h
2132                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2133                         calculate the addresses passed to dnsmasq instead of hard-coding
2134                         them
2135
2136         * src/nm-device.c
2137                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2138                         IP addresses for shared connections to guard against shared
2139                         connection address collisions
2140                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2141                         error conditions
2142                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2143                         the dnsmasq manager
2144
2145 2008-06-09  Dan Williams  <dcbw@redhat.com>
2146
2147         * src/NetworkManagerPolicy.c
2148                 - (update_routing_and_dns): set the default connection _after_ unsetting
2149                         default on all non-default connections so that two connections can
2150                         never be default at the same time
2151                 - (device_state_changed): start and stop connection sharing when
2152                         needed
2153                 - (active_connection_default_changed): restart or stop sharing when
2154                         the default connection changes to keep shared connections always
2155                         NAT-ed through the default connection
2156                 - (check_sharing): handle activation/deactivation of shared connections
2157                 - (sharing_restart): atom-bomb approach to connection sharing until we
2158                         can use libnl; reinit all sharing when the default connection or
2159                         shared connections change
2160                 - (sharing_init, sharing_stop): evil functions that init and deinit
2161                         iptables
2162
2163 2008-06-09  Dan Williams  <dcbw@redhat.com>
2164
2165         * src/nm-activation-request.c
2166           src/nm-activation-request.h
2167                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2168                    nm_act_request_get_device): new functions to facilitate connection
2169                         sharing
2170
2171 2008-06-09  Dan Williams  <dcbw@redhat.com>
2172
2173         * src/nm-device.c
2174                 - (clear_act_request): unset the 'default' property of the activation
2175                         request when clearing it to ensure the property changed signal gets
2176                         delivered and handled
2177
2178 2008-06-09  Dan Williams  <dcbw@redhat.com>
2179
2180         * libnm-glib/nm-device-802-11-wireless.c
2181                 - (access_point_removed_proxy): actually unref the AP after removing
2182                         it from the device's AP list.  Fixes refcounting bug for APs that
2183                         caused them to get mixed up in the applet's menu.
2184
2185 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2186
2187         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2188         (nm_dhcp_device_destroy): Destroy the device options hash table.
2189
2190 2008-06-06  Dan Williams <dcbw@redhat.com>
2191
2192         * system-settings/src/nm-polkit-helpers.c
2193                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2194                         unref the context if the initialization fails; also avoid spew when
2195                         the error isn't set
2196
2197 2008-06-06  Dan Williams <dcbw@redhat.com>
2198
2199         Patch from Tambet Ingo  <tambet@gmail.com>
2200
2201         * src/NetworkManagerSystem.c
2202           src/NetworkManagerSystem.h
2203                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2204                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2205                 - (nm_system_device_set_ip4_route): clean up
2206                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2207
2208         * src/nm-device.c
2209                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2210
2211         * src/vpn-manager/nm-vpn-connection.c
2212                 - (ip_address_to_string): new function
2213                 - (print_vpn_config): use ip_address_to_string
2214                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2215                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2216
2217         * include/NetworkManagerVPN.h
2218                 - Add 'routes' key
2219
2220 2008-06-05  Dan Williams <dcbw@redhat.com>
2221
2222         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2223
2224         * test/nm-tool.c
2225                 - Show which device is the default device
2226
2227 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2228
2229         Fix memory leaks.
2230
2231         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2232         Free data returned from dbus method call.
2233
2234         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2235         dbus_g_method_get_sender() returns a duplicated string, free it 
2236         when done.
2237         (check_polkit_privileges): Looks like policykit sometimes returns
2238         error and non-null return value, don't leak errors in that case.
2239
2240         * system-settings/src/main.c (find_plugin): Don't leak existing 
2241         plugin names.
2242         (load_stuff): Don't leak device list and list items.
2243         (have_connection_for_device): Don't leak connection list.
2244
2245         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2246         Free the data received from g_keyfile_get_*.
2247
2248         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2249         the key when the security object is updated.
2250
2251         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2252         Free data returned from dbus method call.
2253         (iface_state_cb): Ditto.
2254         (add_network_cb): Ditto.
2255         (nm_supplicant_interface_add_cb): Don't make another copy of already
2256         duplicated object path.
2257         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2258         when done.
2259
2260         * src/supplicant-manager/nm-supplicant-config.c 
2261         (ADD_STRING_LIST_VAL): Fix a memory leak.
2262
2263         * src/nm-manager.c (free_get_settings_info): Free the allocated
2264         memory slice.
2265         (list_connections_cb): Free data returned from dbus method call.
2266         (system_settings_get_unmanaged_devices_cb): Ditto.
2267
2268         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2269
2270         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2271         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2272         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2273         of the GList.
2274
2275         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2276         arguments after the object is created.
2277
2278 2008-06-04  Dan Williams <dcbw@redhat.com>
2279
2280         * libnm-util/Makefile.am
2281                 - Don't distribute nm-param-spec-specialized.h
2282
2283 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2284
2285         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2286
2287         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2288         NMIP4Address, update the getters and setters.
2289
2290         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2291         Use the updated NMIP4Config routes api.
2292
2293         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2294         static routes as well.
2295
2296         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2297         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2298         routes api.
2299
2300 2008-05-30  Dan Williams <dcbw@redhat.com>
2301
2302         * src/named-manager/nm-named-manager.c
2303           src/named-manager/nm-named-manager.h
2304                 - Remove stale/obsolete bits for controlling bind over DBus
2305
2306 2008-05-29  Dan Williams <dcbw@redhat.com>
2307
2308         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2309           src/dnsmasq-manager/nm-dnsmasq-manager.h
2310                 - (nm_dnsmasq_manager_new): move iface argument here
2311                 - (constructor): remove, not needed
2312                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2313                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2314
2315         * src/nm-device.c
2316                 - (real_act_stage4_get_ip4_config,
2317                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2318                         changes
2319
2320 2008-05-29  Dan Williams <dcbw@redhat.com>
2321
2322         * src/nm-device.c
2323                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2324                         something happens to dnsmasq
2325                 - (nm_device_new_ip4_shared_config): new function; create a new
2326                         ip4-config for shared connections.  Shared connections always use a
2327                         fixed static IP address.
2328                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2329                         autoip connections by actually using the returned ip4-config and
2330                         not leaking it
2331                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2332                         connections
2333                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2334                         if its active
2335
2336 2008-05-29  Dan Williams <dcbw@redhat.com>
2337
2338         * src/nm-device-802-11-wireless.c
2339                 - (real_get_best_auto_connection): auto-activate 'shared' method
2340                         connections too
2341
2342 2008-05-29  Dan Williams <dcbw@redhat.com>
2343
2344         * libnm-util/nm-setting-ip4-config.c
2345           libnm-util/nm-setting-ip4-config.h
2346                 - Add a 'shared' method to indicate that this connection should be
2347                         brought up with a DHCP and proxy DNS server to facilitate
2348                         connection sharing.
2349                 - (verify): 'shared' method doesn't allow DNS or searches either
2350
2351 2008-05-29  Dan Williams <dcbw@redhat.com>
2352
2353         * configure.in
2354           src/Makefile.am
2355           src/dnsmasq-manager/Makefile.am
2356           src/dnsmasq-manager/nm-dnsmasq-manager.c
2357           src/dnsmasq-manager/nm-dnsmasq-manager.h
2358                 - Add a dnsmasq daemon manager to facilitate connection sharing
2359
2360 2008-05-29  Dan Williams <dcbw@redhat.com>
2361
2362         * src/nm-device-private.h
2363                 - Remove unused prototypes and clean up
2364
2365         * src/nm-device.c
2366                 - Remove anything related to system_config_data, which is no longer used
2367                 - (nm_device_new_ip4_autoip_config): make static
2368
2369 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2370
2371         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2372         (file_changed): Fix a bug where suse system settings plugin didn't
2373         update the connections automatically when the files changed.
2374
2375 2008-05-28  Dan Williams  <dcbw@redhat.com>
2376
2377         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2378
2379 2008-05-28  Dan Williams  <dcbw@redhat.com>
2380
2381         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2382
2383         * src/NetworkManagerSystem.c
2384                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2385                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2386                         was causing -EINVAL errors since the libnl code actually does flush
2387                         the routes on VPN interfaces now
2388
2389         * src/backends/NetworkManagerArch.c
2390           src/backends/NetworkManagerDebian.c
2391           src/backends/NetworkManagerFrugalware.c
2392           src/backends/NetworkManagerGeneric.c
2393           src/backends/NetworkManagerGentoo.c
2394           src/backends/NetworkManagerMandriva.c
2395           src/backends/NetworkManagerPaldo.c
2396           src/backends/NetworkManagerRedHat.c
2397           src/backends/NetworkManagerSlackware.c
2398           src/backends/NetworkManagerSuSE.c
2399                 - (nm_system_device_flush_ip4_routes,
2400                    nm_system_device_flush_ip4_routes_with_iface): remove
2401
2402 2008-05-28  Dan Williams  <dcbw@redhat.com>
2403
2404         * libnm-util/nm-setting-wireless.c
2405           libnm-util/nm-setting-wireless.h
2406                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2407                         'adhoc-create' property, which when TRUE indicates that NM should
2408                         create this connection as an adhoc wifi network if it's not found
2409                         as an adhoc network during scanning.  Can be used to auto-create
2410                         adhoc networks when used in combination with autoconnect.
2411
2412 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2413
2414         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2415
2416         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2417         checked, it doesn't work on some devices.
2418
2419 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2420
2421         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2422         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2423
2424         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2425         Use inet_aton() everywhere to improve error detection.
2426         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2427         provided.
2428
2429 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2430
2431         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2432         Fix a typo.
2433
2434 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2435
2436         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2437         reference counting issue.
2438
2439 2008-05-23  Dan Williams  <dcbw@redhat.com>
2440
2441         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2442
2443         * src/backends/NetworkManagerGeneric.c
2444                 - (nm_generic_enable_loopback): use libnl
2445
2446 2008-05-23  Dan Williams  <dcbw@redhat.com>
2447
2448         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2449
2450         * src/NetworkManagerSystem.h
2451           src/backends/NetworkManagerArch.c
2452           src/backends/NetworkManagerDebian.c
2453           src/backends/NetworkManagerFrugalware.c
2454           src/backends/NetworkManagerGentoo.c
2455           src/backends/NetworkManagerMandriva.c
2456           src/backends/NetworkManagerPaldo.c
2457           src/backends/NetworkManagerRedHat.c
2458           src/backends/NetworkManagerSlackware.c
2459           src/backends/NetworkManagerSuSE.c
2460                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2461                    nm_system_flush_arp_cache): remove, unused
2462
2463         * src/backends/NetworkManagerGeneric.c
2464           src/backends/NetworkManagerGeneric.h
2465                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2466                    nm_generic_flush_arp_cache): remove, unused
2467
2468 2008-05-23  Dan Williams  <dcbw@redhat.com>
2469
2470         * system-settings/plugins/ifcfg-fedora/reader.c
2471                 - (make_ip4_setting): honor PEERDNS setting
2472
2473 2008-05-23  Dan Williams  <dcbw@redhat.com>
2474
2475         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2476
2477         * src/NetworkManagerSystem.c
2478                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2479                         libnl
2480
2481         * src/backends/NetworkManagerArch.c
2482           src/backends/NetworkManagerDebian.c
2483           src/backends/NetworkManagerFrugalware.c
2484           src/backends/NetworkManagerGentoo.c
2485           src/backends/NetworkManagerMandriva.c
2486           src/backends/NetworkManagerPaldo.c
2487           src/backends/NetworkManagerRedHat.c
2488           src/backends/NetworkManagerSlackware.c
2489           src/backends/NetworkManagerSuSE.c
2490                 - (nm_system_device_flush_ip4_addresses,
2491                    nm_system_device_flush_ip4_addresses_with_iface): remove
2492
2493         * src/backends/NetworkManagerGeneric.c
2494                 - (nm_generic_device_flush_ip4_addresses,
2495                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2496
2497 2008-05-23  Dan Williams  <dcbw@redhat.com>
2498
2499         * src/supplicant-manager/nm-supplicant-settings-verify.c
2500                 - Switch 'bssid' from bytes to keyword type
2501                 - (validate_type_keyword): allow NULL keyword lists
2502
2503         * src/supplicant-manager/nm-supplicant-config.c
2504                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2505                         a byte array to string form, which is what the supplicant expects
2506
2507 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2508
2509         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2510         information received from DHCP.
2511
2512         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2513         to make it possible to ignore the DNS information (both servers and 
2514         searches) returned by DHCP server.
2515
2516         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2517         name servers and searches if "ignore_dhcp_dns" is set.
2518
2519         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2520         (nm_ip4_config_reset_searches): Implement.
2521
2522 2008-05-22  Dan Williams  <dcbw@redhat.com>
2523
2524         Remove anything mDNS related.  This is better done from a distro-specific
2525         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2526         avahi, since avahi can handle interface changes just fine using netlink.
2527
2528         * configure.in
2529                 - Remove --with-mdns-provider
2530
2531         * src/NetworkManagerPolicy.c
2532                 - (global_state_changed): don't restart the mdns provider
2533
2534         * src/NetworkManagerSystem.h
2535           src/backends/NetworkManagerArch.c
2536           src/backends/NetworkManagerDebian.c
2537           src/backends/NetworkManagerFrugalware.c
2538           src/backends/NetworkManagerGentoo.c
2539           src/backends/NetworkManagerMandriva.c
2540           src/backends/NetworkManagerPaldo.c
2541           src/backends/NetworkManagerRedHat.c
2542           src/backends/NetworkManagerSlackware.c
2543           src/backends/NetworkManagerSuSE.c
2544                 - (nm_system_restart_mdns_responder): remove
2545
2546         * src/backends/NetworkManagerGeneric.c
2547           src/backends/NetworkManagerGeneric.h
2548                 - (nm_generic_restart_mdns_responder): remove
2549
2550 2008-05-22  Dan Williams  <dcbw@redhat.com>
2551
2552         * configure.in
2553                 - clean up crypto options; just use --with-crypto=nss or
2554                         --with-crypto=gnutls
2555
2556 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2557
2558         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2559         anymore, do it right away.
2560
2561 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2562
2563         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2564         serial device open when we're not connecting or connected.
2565
2566         * src/nm-cdma-device.c (device_state_changed): Ditto.
2567
2568 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2569
2570         Don't remove all devices on waking up, sync with HAL.
2571
2572         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2573         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2574         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2575
2576 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2577
2578         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2579         If the default gateway is unreachable, add a route to gateway and try
2580         again.
2581
2582 2008-05-20  Dan Williams  <dcbw@redhat.com>
2583
2584         * system-settings/plugins/ifcfg-fedora/reader.c
2585                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2586
2587 2008-05-19  Dan Williams  <dcbw@redhat.com>
2588
2589         * system-settings/plugins/ifcfg-fedora/reader.c
2590                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2591                         if the ifcfg doesn't specify one (rh #446527)
2592
2593 2008-05-19  Dan Williams  <dcbw@redhat.com>
2594
2595         Make the system settings service exit when the bus goes away.  Since it's
2596         a bus-activated service, it's lifetime is limited to the bus that activated
2597         it (rh #444976).
2598
2599         * system-settings/src/Makefile.am
2600           system-settings/src/nm-system-config-hal-manager-private.h
2601                 - Remove nm-system-config-hal-manager-private.h
2602
2603         * system-settings/src/nm-system-config-hal-manager.c
2604                 - (nm_system_config_hal_manager_reinit_dbus,
2605                    nm_system_config_hal_manager_deinit_dbus): remove
2606
2607         * system-settings/src/main.c
2608                 - (dbus_reconnect): remove
2609                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2610                 - (destroy_cb): just quit when the bus goes away
2611                 - (start_dbus_service, dbus_init): simplify
2612                 - (main): destroy the wired devices hash table after destroying
2613                         the HAL manager so we don't have to disconnect signals from the
2614                         HAL manager
2615
2616 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2617
2618         Move crypto functions from nm-applet to libnm-util.
2619
2620         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2621         (nm_setting_802_1x_set_client_cert)
2622         (nm_setting_802_1x_set_phase2_ca_cert)
2623         (nm_setting_802_1x_set_phase2_client_cert)
2624         (nm_setting_802_1x_set_private_key)
2625         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2626         file (or private key and it's password), read the certificate data.
2627
2628         * libnm-util/crypto_nss.c: 
2629         * libnm-util/crypto_gnutls.c: 
2630         * libnm-util/crypto.[ch]: Move here from nm-applet.
2631
2632         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2633
2634         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2635         Imlement WPA-EAP configuration reading from sysconfig.
2636
2637 2008-05-16  Dan Williams  <dcbw@redhat.com>
2638
2639         * src/nm-device-802-11-wireless.c
2640                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2641                         wireless
2642
2643 2008-05-14  Dan Williams  <dcbw@redhat.com>
2644
2645         Fix Linus' bug in rh #134886
2646
2647         * src/nm-device-802-3-ethernet.c
2648                 - (constructor): request initial carrier state
2649
2650         * src/nm-netlink-monitor.c
2651                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2652                         signals after refilling the link cache.  Because the refill is a 
2653                         synchronous operation, the normal message hander won't get called
2654                         since libnl has already consumed the messages.
2655                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2656
2657 2008-05-14  Dan Williams  <dcbw@redhat.com>
2658
2659         * src/NetworkManagerSystem.c
2660                 - (nm_system_device_is_up_with_iface): clean up
2661
2662 2008-05-13  Dan Williams  <dcbw@redhat.com>
2663
2664         Fix refcounting issues over sleep/wake when a VPN connection was active that
2665         caused NM to try registering an object path for a device upon wake that was
2666         the same as an already registered object path.
2667
2668         * src/nm-device.c
2669                 - (nm_device_take_down): properly handle cases where the device is
2670                         no longer active but was just active, and therefore must be
2671                         deactivated.  When a device moves to unmanaged mode, this function
2672                         previously would not deactivate the device, because the state was
2673                         already unmanaged by the time this function was called.
2674
2675         * src/vpn-manager/nm-vpn-connection.c
2676                 - (device_state_changed): properly handle multiple devices states in
2677                         which the device is now deactivated.  Code previously didn't handle
2678                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2679                         UNMANAGED states.
2680
2681 2008-05-13  Dan Williams  <dcbw@redhat.com>
2682
2683         * src/nm-device-private.h
2684           src/nm-device.c
2685                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2686
2687         * src/nm-device-802-11-wireless.c
2688                 - (nm_device_802_11_wireless_set_enabled): take devices up
2689                         and down as appropriate for the rfkill state
2690
2691 2008-05-13  Dan Williams  <dcbw@redhat.com>
2692
2693         * marshallers/nm-marshal.list
2694                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2695
2696         * system-settings/plugins/ifcfg-fedora/Makefile.am
2697           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2698           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2699                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2700                         events.  Solely for use watching ifcfg files to pick up changes
2701                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2702
2703         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2704                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2705                         file contents change
2706                 - (finalize): clean up inotify watches
2707                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2708                         and the connection ifcfg for changes on their hardlinks
2709                 - (files_changed_cb): proxy the changed signal back out to listeners
2710
2711         * system-settings/plugins/ifcfg-fedora/plugin.c
2712                 - (dir_changed): 
2713                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2714                         changes
2715                 - (read_one_connection): connect to change signals on the new connection
2716                 - (dir_changed, connection_changed_handler,
2717                    handle_connection_remove_or_new): break out connection change
2718                         handling and connection new/remove handling so it can be used from
2719                         both the GFileMonitor callback and the NMIfcfgConnection changed
2720                         signals
2721
2722         * system-settings/plugins/ifcfg-fedora/reader.c
2723           system-settings/plugins/ifcfg-fedora/reader.h
2724                 - (connection_from_file): return the keyfile path the connection would use
2725
2726 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2727
2728         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2729         single PolKitContext which is shared by all. PolKitContext::unref leaks
2730         just about everything, including all open file descriptiors and results
2731         in 99% cpu usage when data arrives to any of the fds that don't belong
2732         to any context anymore.
2733
2734 2008-05-12  Dan Williams  <dcbw@redhat.com>
2735
2736         * gfilemonitor/glocaldirectorymonitor.c
2737           gfilemonitor/glocaldirectorymonitor.h
2738                 - (g_local_directory_monitor_constructor): actually subscribe to the
2739                         watch
2740                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2741
2742         * gfilemonitor/glocalfilemonitor.c
2743           gfilemonitor/glocalfilemonitor.h
2744                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2745                 - (_g_local_file_monitor_new): ensure that inotify is started up
2746
2747 2008-05-11  Dan Williams  <dcbw@redhat.com>
2748
2749         * configure.in
2750                 - record PolicyKit version
2751
2752         * system-settings/src/nm-polkit-helpers.c
2753                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2754                         with PolicyKit <= 0.6
2755
2756 2008-05-11  Dan Williams  <dcbw@redhat.com>
2757
2758         Update Fedora system-settings plugin to support latest API and use
2759         GFileMonitor rather than home-rolled inotify code.
2760
2761         * system-settings/plugins/ifcfg-fedora/Makefile.am
2762           system-settings/plugins/ifcfg-fedora/common.h
2763           system-settings/plugins/ifcfg-fedora/plugin.c
2764                 - Update to latest system settings plugin API; use GIO instead of
2765                         custom inotify code; use NMIfcfgConnection objects instead of
2766                         ConnectionData structures tacked onto NMConnection objects
2767
2768         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2769           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2770                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2771                         connections
2772
2773         * system-settings/plugins/ifcfg-fedora/reader.c
2774           system-settings/plugins/ifcfg-fedora/reader.h
2775                 - Move ifcfg parsing bits here from parser.c
2776
2777         * system-settings/plugins/ifcfg-fedora/parser.c
2778           system-settings/plugins/ifcfg-fedora/parser.h
2779                 - Remove; most code moved to reader.c
2780
2781 2008-05-11  Dan Williams  <dcbw@redhat.com>
2782
2783         * configure.in
2784           Makefile.am
2785           gfilemonitor/*
2786                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2787                         implementation, so that the same change monitoring code can be used
2788                         on systems without glib-2.14 (like Fedora 8)
2789
2790         * system-settings/plugins/keyfile/Makefile.am
2791           system-settings/plugins/keyfile/plugin.c
2792           system-settings/plugins/ifcfg-suse/Makefile.am
2793           system-settings/plugins/ifcfg-suse/plugin.c
2794                 - Use private gfilemonitor code if GIO is not present
2795
2796 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2797
2798         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2799         NMExportedConnection's 'update' and 'delete' and return error with
2800         descriptive message.
2801
2802 2008-05-08  Dan Williams  <dcbw@redhat.com>
2803
2804         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2805
2806         * src/nm-gsm-device.c
2807           src/nm-cdma-device.c
2808                 - (real_get_best_auto_connection): implement; allow autoconnection
2809                         to GSM & CDMA devices
2810
2811 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2812
2813         Use PolicyKit to authorize the system settings' AddConnection method
2814         and the system settings connections' Update and Delete methods.
2815         
2816         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2817         (impl_exported_connection_delete, nm_exported_connection_update)
2818         (nm_exported_connection_delete): Return boolean and fill GError
2819         to notify the callers of the reasons why it might have failed.
2820
2821         * libnm-glib/nm-dbus-settings-system.c
2822         (nm_dbus_settings_system_add_connection): Return the error from dbus
2823         call so that the callers can see why it failed.
2824
2825         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2826         signatures.
2827
2828         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2829
2830         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2831         abstract base class that checks PolicyKit permissions.
2832
2833         * system-settings/src/dbus-settings.c:
2834         (impl_settings_add_connection): Check the policy before carring out
2835         the request.
2836
2837         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2838         Inherit from NMSysconfigConnection, check the policies before
2839         allowing updating or removing.
2840
2841         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2842         Inherit from NMSysconfigConnection.
2843
2844         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2845         "Delete" methods with async flag so that the implementations can get
2846         access to DBusGMethodInvocation.
2847
2848         * system-settings/src/dbus-settings.c 
2849         (settings_add_connection_check_privileges): Implement.
2850         (impl_settings_add_connection): Check the privileges before adding a new
2851         connection. Improve error reporting.
2852
2853         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2854         async so that the implementation can access DBusGMethodInvocation.
2855
2856         * configure.in: Check for PolicyKit.
2857
2858         * policy/org.freedesktop.network-manager-settings.system.policy: 
2859         New file.
2860
2861         * policy/Makefile.am: Install the policy file.
2862
2863         * configure.in: Add 'policy' subdir.
2864
2865 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2866
2867         Rewrite the suse system settings plugin.
2868
2869         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2870
2871         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2872
2873         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2874
2875         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2876
2877         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2878
2879         * system-settings/src/main.c (load_plugins): Improve error reporting.
2880
2881         * system-settings/src/sha1.[ch] Add.
2882
2883         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2884
2885 2008-05-07  Dan Williams  <dcbw@redhat.com>
2886
2887         * system-settings/plugins/keyfile/reader.c
2888                 - (read_one_setting_value): handle IP address items separately
2889                 - (read_array_of_uint): read IPv4 DNS option as a string array
2890                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2891                         array
2892
2893         * system-settings/plugins/keyfile/writer.c
2894                 - (write_setting_value): handle IP address items separately
2895                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2896                         not an array of uint, so that it's user-editable
2897                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2898                         arrays, so they are user-editable
2899
2900 2008-05-07  Dan Williams  <dcbw@redhat.com>
2901
2902         * system-settings/plugins/keyfile/Makefile.am
2903                 - Change location of the keyfile plugin settings to
2904                         /etc/NetworkManager/system-connections
2905
2906 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2907
2908         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2909
2910         * system-settings/plugins/keyfile/plugin.c: Work with
2911         NMKeyfileConnections.
2912
2913         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2914         Plugins are supposed to return NMExportedConnections now and handle the
2915         updated(), removed(), and GetSecrets().
2916         Store the internal list of connections in hash table to make it easier
2917         to find duplicates.
2918
2919 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2920
2921         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2922         for multiple IP addresses.
2923
2924 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2925
2926         Patch from André Lemos.
2927
2928         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2929         corruption.
2930
2931 2008-05-06  Dan Williams  <dcbw@redhat.com>
2932
2933         * src/dhcp-manager/nm-dhcp-manager.c
2934                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2935                         NMIP4Config to support multiple IP addresses
2936
2937         * src/NetworkManagerUtils.c
2938                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2939
2940         * src/nm-ip4-config.c
2941           src/nm-ip4-config.h
2942                 - Store a list of IPv4 address/netmask/gateway tuples
2943                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2944                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2945                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2946                    nm_ip4_config_set_address): remove
2947                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2948                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2949                         new functions; handle multiple IPv4 addresses
2950
2951         * src/nm-device.c
2952           src/ppp-manager/nm-ppp-manager.c
2953           src/vpn-manager/nm-vpn-connection.c
2954           src/NetworkManagerPolicy.c
2955           test/nm-tool.c
2956           libnm-glib/libnm-glib-test.c
2957                 - update for changes to NMIP4Config for multiple IPv4 addresses
2958
2959         * src/NetworkManagerSystem.c
2960                 - (nm_system_device_set_ip4_route): don't add the route if any address
2961                         is on the same subnet as the destination
2962                 - (check_one_address): ignore the exact match, just match family and
2963                         interface index
2964                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2965                         an interface
2966                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2967                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2968
2969         * introspection/nm-ip4-config.xml
2970                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2971                 - Add 'addresses' property which is an array of (uuu) tuples of
2972                         address/netmask/gateway
2973
2974         * libnm-util/nm-setting-ip4-config.c
2975                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2976
2977         * libnm-glib/nm-ip4-config.c
2978           libnm-glib/nm-ip4-config.h
2979                 - Handle D-Bus interface changes to support multiple IP addresses
2980
2981 2008-05-06  Dan Williams  <dcbw@redhat.com>
2982
2983         * libnm-util/nm-utils.c
2984           libnm-util/nm-utils.h
2985                 - (nm_utils_ip4_addresses_from_gvalue,
2986                    nm_utils_ip4_addresses_to_gvalue): new functions
2987
2988 2008-05-06  Tambet Ingo  <tambet@gmail.com>
2989
2990         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2991         the returned connection paths.
2992
2993 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2994
2995         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
2996         "PropertiesChanged" signal signature.
2997
2998         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2999         defined in nm-dbus-glib-types.h.
3000         Don't register the connection on dbus, we're a proxy class to 
3001         communicate with an already registered connection over dbus.
3002
3003 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3004
3005         Implement new subclasses of NMSettings and NMExportedConnection to make
3006         it easier for the applet to access and modify system settings.
3007
3008         * libnm-glib/nm-dbus-connection.[ch]:
3009         * libnm-glib/nm-dbus-settings.[ch]:
3010         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3011
3012         * libnm-glib/Makefile.am: Add the new files to build, generate some more
3013         bindings and glue.
3014
3015         * include/NetworkManager.h: Define the system settings DBus interface.
3016
3017 2008-04-30  Tambet Ingo  <tambet@gmail.com>
3018
3019         Implement additional C API for exported connections to make them identical
3020         with the DBus API. Change the (list_connections) virtual function to be
3021         more usable from C - instead of requiring implementers to return a GPtrArray
3022         of dbus paths, return a list of connections.
3023
3024         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3025         (nm_settings_list_connections):
3026         (nm_exported_connection_new):
3027         (nm_exported_connection_update):
3028         (nm_exported_connection_delete): Implement.
3029
3030         (impl_settings_list_connections):
3031         (impl_exported_connection_update):
3032         (impl_exported_connection_delete): Use the new public functions to make 
3033         sure the C and dbus interfaces stay in sync.
3034
3035         * system-settings/src/dbus-settings.c (list_connections): Return a list of
3036         connections.
3037
3038 2008-05-02  Dan Williams  <dcbw@redhat.com>
3039
3040         * system-settings/plugins/ifcfg-fedora/plugin.c
3041                 - (dispose): use right unref call on the DBusGConnection
3042
3043 2008-05-02  Dan Williams  <dcbw@redhat.com>
3044
3045         * src/nm-serial-device.c
3046                 - (find_terminator): don't compare the whole line, just the size of the
3047                         terminator, since some modems put stuff after the terminator, like
3048                         "CONNECT 9600"
3049
3050 2008-05-01  Dan Williams  <dcbw@redhat.com>
3051
3052         Patch from Michael Biebl <biebl@debian.org>
3053
3054         * callouts/Makefile.am
3055           callouts/org.freedesktop.nm_dispatcher.service.in
3056           system-settings/src/Makefile.am
3057           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3058                 - use the right install location for dbus-activated stuff
3059
3060 2008-04-30  Dan Williams  <dcbw@redhat.com>
3061
3062         * src/nm-gsm-device.c
3063                 - (enter_pin): fix setting name passed to applets when asking for a GSM
3064                         PIN or PUK
3065
3066 2008-04-30  Dan Williams  <dcbw@redhat.com>
3067
3068         * src/nm-manager.c
3069                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3070
3071 2008-04-30  Dan Williams  <dcbw@redhat.com>
3072
3073         * src/nm-device-802-3-ethernet.c
3074           src/nm-device-802-11-wireless.c
3075                 - (real_is_up): return true instead of chaining up to unimplemented
3076                         parent method
3077
3078 2008-04-30  Dan Williams  <dcbw@redhat.com>
3079
3080         * src/NetworkManagerSystem.c
3081           src/NetworkManagerSystem.h
3082                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3083                         functions to check device flags for IFF_UP
3084
3085         * src/nm-serial-device.c
3086                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3087                         implement is_up
3088
3089         * src/nm-device-802-3-ethernet.c
3090           src/nm-device-802-11-wireless.c
3091                 - (real_hw_is_up): call nm_system_device_is_up()
3092
3093         * src/nm-device.c
3094                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3095                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3096                         does not implement
3097
3098 2008-04-29  Dan Williams  <dcbw@redhat.com>
3099
3100         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3101
3102         * marshallers/nm-marshal.list
3103                 - Add marshaller
3104
3105         * src/NetworkManager.c
3106                 - (main): let the NMManager handle the NMHalManager
3107
3108         * src/nm-hal-manager.c
3109           src/nm-hal-manager.h
3110                 - convert to a GObject, and emit singals when stuff changes.  Let the
3111                         NMManager handle the signals, instead of the NMHalManager calling
3112                         into the NMManager.  
3113
3114         * src/nm-manager.c
3115           src/nm-manager.h
3116                 - (remove_one_device): consolidate device removals here
3117                 - (dispose): use remove_one_device()
3118                 - (nm_manager_get_device_by_udi): make static
3119                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3120                         manager for devices at startup or wakeup time
3121                 - (nm_manager_new): create and monitor the HAL manager
3122                 - (hal_manager_udi_added_cb): new function; do what
3123                         nm_manager_add_device() used to do when signalled by the hal manager
3124                 - (hal_manager_udi_removed_cb): new function; do what
3125                         nm_manager_remove_device() used to do when signalled by the hal
3126                         manager
3127                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3128                         hal manager
3129                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3130                         in our device list that aren't known to HAL
3131                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3132                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3133                         commits ago
3134                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3135                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3136                    nm_manager_wireless_hardware_enabled,
3137                    nm_manager_set_wireless_hardware_enabled): remove, unused
3138
3139 2008-04-28  Dan Williams  <dcbw@redhat.com>
3140
3141         Fix the device up/down ambiguities.  Up/down state used to be a
3142         conglomeration of hardware state (IFF_UP) and any device-specific things
3143         (supplicant, periodic timers, etc) that the device used to indicate
3144         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3145         reason, then the device specific stuff wouldn't get run, and the device
3146         would be stuck.
3147
3148         * src/nm-device.c
3149           src/nm-device.h
3150                 - Create hw_is_up, hw_bring_up, and hw_take_down
3151                 - Rename bring_down -> take_down
3152                 - (real_hw_is_up): check interface flags for IFF_UP
3153                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3154                 - (nm_device_is_up): make static; only used locally
3155                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3156                         if the device is already up; if the device isn't up, bring it up
3157                 - (nm_device_hw_take_down): just take down hardware
3158                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3159                 - (nm_device_take_down): always deactivate device when called; always
3160                         try to take hardware down too
3161                 - (nm_device_state_changed): take device down when entering unmanaged
3162                         state from a higher state
3163
3164         * src/nm-device-802-11-wireless.c
3165                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3166                         check IFF_UP really
3167                 - (real_take_down, supplicant_iface_state_cb_handler, 
3168                    supplicant_iface_connection_state_cb_handler,
3169                    supplicant_mgr_state_cb_handler): fix some messages
3170
3171         * src/nm-device-802-3-ethernet.c
3172                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3173                         check IFF_UP really
3174
3175 2008-04-28  Dan Williams  <dcbw@redhat.com>
3176
3177         * src/nm-manager.c
3178           src/nm-manager.h
3179                 - (nm_manager_error_get_type): add new error
3180                 - (nm_manager_remove_device): don't bother taking down the device here,
3181                         the state change from unmanaging the device will do it
3182                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3183                         uses it; when going to sleep, just unmanage the device instead of
3184                         taking it down, because stuff will cleaned up correctly when the
3185                         device gets unmanaged
3186
3187 2008-04-28  Dan Williams  <dcbw@redhat.com>
3188
3189         * src/nm-hal-manager.c
3190                 - (add_initial_devices): convert to a GSourceFunc prototype
3191                 - (nm_manager_state_changed): when coming out of sleep, punt the
3192                         device re-addition to an idle handler to let D-Bus events go out
3193                         first, fixing a potential dbus-glib assert if the old device was
3194                         not yet disposed (due to references held while emitting the D-Bus
3195                         signals) but the new device was found, because the mainloop didn't
3196                         run between signal emission and add_initial_devices()
3197
3198 2008-04-27  Dan Williams  <dcbw@redhat.com>
3199
3200         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3201
3202         * initscript/paldo/NetworkManager.in
3203           initscript/SUSE/networkmanager.in
3204                 - Remove last bits of dhcdbd
3205
3206 2008-04-27  Dan Williams  <dcbw@redhat.com>
3207
3208         * src/nm-device-802-11-wireless.c
3209                 - (link_timeout_cb): don't ask for secrets when disconnected during
3210                         association/authentication phase, drivers are still just too crappy
3211
3212 2008-04-27  Dan Williams  <dcbw@redhat.com>
3213
3214         * Makefile.am
3215           configure.in
3216           dispatcher-daemon/Makefile.am
3217           dispatcher-daemon/NetworkManagerDispatcher.c
3218           initscript/Arch/Makefile.am
3219           initscript/Arch/networkmanager-dispatcher.in
3220           initscript/Gentoo/Makefile.am
3221           initscript/Gentoo/NetworkManagerDispatcher.in
3222           initscript/Mandriva/Makefile.am
3223           initscript/Mandriva/networkmanagerdispatcher.in
3224           initscript/RedHat/Makefile.am
3225           initscript/RedHat/NetworkManagerDispatcher.in
3226           initscript/SUSE/Makefile.am
3227           initscript/SUSE/networkmanager-dispatcher.in
3228           initscript/Slackware/Makefile.am
3229           initscript/Slackware/rc.networkmanager-dispatcher.in
3230           initscript/paldo/Makefile.am
3231           initscript/paldo/NetworkManagerDispatcher.in
3232           man/Makefile.am
3233           man/NetworkManagerDispatcher.8.in
3234                 - Remove the dispatcher daemon
3235
3236 2008-04-27  Dan Williams  <dcbw@redhat.com>
3237
3238         * callouts/Makefile.am
3239           callouts/nm-dispatcher-action.c
3240           callouts/nm-dispatcher-action.h
3241           callouts/nm-dispatcher.conf
3242           callouts/nm-dispatcher.xml
3243           callouts/org.freedesktop.nm_dispatcher.service
3244                 - Re-implement the dispatcher as a system-bus activated service that
3245                         NM calls on-demand, rather than an always running daemon
3246
3247         * src/Makefile.am
3248                 - Add callouts dir to includes to pick up dispatcher defines
3249
3250         * src/nm-device.c
3251                 - (nm_device_state_changed): call dispatcher on device activated/
3252                         deactivated
3253
3254         * src/vpn-manager/nm-vpn-connection.c
3255                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3256                         go up and down
3257
3258         * src/NetworkManagerUtils.c
3259           src/NetworkManagerUtils.h
3260                 - (nm_utils_call_dispatcher): helper to call dispatcher
3261
3262 2008-04-27  Dan Williams  <dcbw@redhat.com>
3263
3264         * src/NetworkManagerUtils.c
3265           src/NetworkManagerUtils.h
3266                 - remove unneeded includes
3267                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3268                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3269                    nm_timeval_cmp, nm_timeval_add): remove, unused
3270                 - clean up formatting
3271                 - (nm_spawn_process): de-uglify
3272
3273         * src/nm-device-802-11-wireless.c
3274                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3275
3276 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3277
3278         * initscript/Gentoo/NetworkManager.in:
3279                 Fix for starting the daemon.
3280
3281 2008-04-25  Dan Williams  <dcbw@redhat.com>
3282
3283         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3284
3285         * src/NetworkManagerSystem.c
3286                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3287
3288 2008-04-25  Dan Williams  <dcbw@redhat.com>
3289
3290         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3291
3292         * src/NetworkManagerSystem.c
3293                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3294                         implementation of nm_system_device_replace_default_route()
3295
3296         * src/NetworkManagerPolicy.c
3297                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3298
3299         * src/backends/NetworkManagerArch.c
3300           src/backends/NetworkManagerDebian.c
3301           src/backends/NetworkManagerFrugalware.c
3302           src/backends/NetworkManagerGeneric.c
3303           src/backends/NetworkManagerGeneric.h
3304           src/backends/NetworkManagerGentoo.c
3305           src/backends/NetworkManagerMandriva.c
3306           src/backends/NetworkManagerPaldo.c
3307           src/backends/NetworkManagerRedHat.c
3308           src/backends/NetworkManagerSlackware.c
3309           src/backends/NetworkManagerSuSE.c
3310                 - (nm_system_device_replace_default_route): remove
3311
3312 2008-04-25  Dan Williams  <dcbw@redhat.com>
3313
3314         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3315
3316         * src/NetworkManagerSystem.c
3317                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3318                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3319                         replace nm_system_device_add_route_via_device_with_iface() in the
3320                         backends
3321
3322         * src/backends/NetworkManagerArch.c
3323           src/backends/NetworkManagerDebian.c
3324           src/backends/NetworkManagerFrugalware.c
3325           src/backends/NetworkManagerGeneric.c
3326           src/backends/NetworkManagerGeneric.h
3327           src/backends/NetworkManagerGentoo.c
3328           src/backends/NetworkManagerMandriva.c
3329           src/backends/NetworkManagerPaldo.c
3330           src/backends/NetworkManagerRedHat.c
3331           src/backends/NetworkManagerSlackware.c
3332           src/backends/NetworkManagerSuSE.c
3333                 - Remove nm_system_device_add_route_via_device_with_iface()
3334
3335 2008-04-25  Dan Williams  <dcbw@redhat.com>
3336
3337         * system-settings/plugins/ifcfg-fedora/parser.c
3338                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3339
3340 2008-04-24  Dan Williams  <dcbw@redhat.com>
3341
3342         * dispatcher-daemon/NetworkManagerDispatcher.c
3343                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3344
3345 2008-04-24  Dan Williams  <dcbw@redhat.com>
3346
3347         * initscript/RedHat/NetworkManager.in
3348           initscript/RedHat/NetworkManagerDispatcher.in
3349                 - Be active at runlevel 2
3350                 - Adjust priorities earlier
3351
3352 2008-04-22  Dan Williams  <dcbw@redhat.com>
3353
3354         * src/NetworkManagerPolicy.c
3355                 - (update_routing_and_dns): when checking for a gateway, look at the
3356                         composite IP4 config, not the connection's ip4-config setting, which
3357                         doesn't include DHCP-returned information
3358
3359 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3360
3361         Implement GKeyFile system settings plugin.
3362         Implement writing system settings (currently supported only by GKeyFile plugin).
3363
3364         * system-settings/src/main.c: 
3365         * system-settings/src/dbus-settings.c: Move the communication with plugins
3366         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3367         plugins for adding/updating/removing connections.
3368
3369         * system-settings/src/nm-system-config-interface.c
3370         (nm_system_config_interface_add_connection): Implement
3371         (nm_system_config_interface_update_connection): Implement.
3372         (nm_system_config_interface_remove_connection): Implement.
3373
3374         * system-settings/plugins/keyfile/Makefile.am:
3375         * system-settings/plugins/keyfile/plugin.[ch]:
3376         * system-settings/plugins/keyfile/writer.[ch]:
3377         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3378
3379         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3380
3381         * configure.in: Generate GKeyFile Makefile.
3382
3383         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3384         corruption, need to duplicate the returned string.
3385         (impl_exported_connection_update): Implement.
3386         (impl_exported_connection_delete): Implement.
3387
3388         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3389
3390         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3391
3392 2008-04-22  Dan Williams  <dcbw@redhat.com>
3393
3394         Patch from Charles R. Anderson (cra@wpi.edu)
3395
3396         * src/NetworkManagerPolicy.c
3397                 - (update_routing_and_dns): don't select devices without a gateway
3398                         as having the default route (rh #437338)
3399
3400 2008-04-21  Dan Williams  <dcbw@redhat.com>
3401
3402         * src/nm-activation-request.c
3403           src/nm-activation-request.h
3404                 - (dispose): ensure to disconnect from the device's state-changed signal
3405                         when appropriate so the signal doesn't get handled by an already
3406                         disposed NMActRequest
3407                 - (device_state_changed): update is_default here too just to make sure
3408                         default is only True when the child device is activated
3409                 - (nm_act_request_set_default): new function
3410
3411         * src/NetworkManagerPolicy.c
3412                 - (update_routing_and_dns): set 'default' on the active connection which
3413                         has the default route and DNS
3414
3415 2008-04-21  Dan Williams  <dcbw@redhat.com>
3416
3417         * src/NetworkManagerPolicy.c
3418                 - (device_state_changed): update routing and DNS when a device goes
3419                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3420
3421 2008-04-21  Dan Williams  <dcbw@redhat.com>
3422
3423         * include/NetworkManager.h
3424                 - Add NMActiveConnectionState enum
3425
3426         * introspection/nm-active-connection.xml
3427           introspection/nm-vpn-connection.xml
3428                 - Add 'State' property for overall active connection state
3429                 - Add 'Default' property, when True means this active connection
3430                         has the default route
3431                 - Add PropertyChanged signals so changes actually go out over the bus
3432
3433         * src/nm-active-connection.h
3434                 - Add defines for State & Default properties
3435
3436         * src/nm-activation-request.c
3437                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3438                         signal to determine active connection state
3439
3440         * src/vpn-manager/nm-vpn-connection.c
3441           src/vpn-manager/nm-vpn-connection.h
3442           src/vpn-manager/nm-vpn-manager.c
3443           src/vpn-manager/nm-vpn-service.c
3444                 - Rename old 'state' to 'vpn-state'
3445                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3446                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3447                         'vpn-state-changed' signal
3448
3449         * libnm-glib/nm-active-connection.c
3450           libnm-glib/nm-active-connection.h
3451                 - Add new 'state' and 'default' properties and accessors
3452
3453         * libnm-glib/nm-vpn-connection.c
3454           libnm-glib/nm-vpn-connection.h
3455                 - Rename old 'state' property to 'vpn-state'
3456                 - Add new 'state' and 'default' properties and accessors
3457
3458 2008-04-21  Dan Williams  <dcbw@redhat.com>
3459
3460         * src/nm-ip4-config.c
3461                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3462                         not specified (rh #443474)
3463
3464 2008-04-20  Dan Williams  <dcbw@redhat.com>
3465
3466         * src/NetworkManagerUtils.c
3467           src/NetworkManagerUtils.h
3468                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3469                         NMSettingIP4Config to an NMIP4Config object
3470
3471         * src/nm-device.c
3472                 - (merge_ip4_config): move to NetworkManagerUtils.c
3473
3474         * src/vpn-manager/nm-vpn-connection.c
3475                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3476                         too
3477
3478 2008-04-18  Dan Williams  <dcbw@redhat.com>
3479
3480         * libnm-util/nm-setting-ppp.c
3481           libnm-util/nm-setting-ppp.h
3482                 - Add 'no-vj-comp' option for TCP header compression
3483                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3484                         uint32
3485
3486 2008-04-18  Dan Williams  <dcbw@redhat.com>
3487
3488         * libnm-util/nm-setting-ppp.c
3489           libnm-util/nm-setting-ppp.h
3490           src/ppp-manager/nm-ppp-manager.c
3491                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3492
3493 2008-04-18  Dan Williams  <dcbw@redhat.com>
3494
3495         * libnm-util/nm-setting-ppp.c
3496           libnm-util/nm-setting-ppp.h
3497           src/ppp-manager/nm-ppp-manager.c
3498                 - Remove the 'usepeerdns' option and always request DNS servers from
3499                         the PPP server; the connection chooses to use/override/ignore the
3500                         DNS servers returned from the PPP server
3501
3502 2008-04-18  Dan Williams  <dcbw@redhat.com>
3503
3504         * libnm-util/nm-setting-ppp.c
3505           libnm-util/nm-setting-ppp.h
3506           src/ppp-manager/nm-ppp-manager.c
3507                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3508                         it seems to have been an erroneous addition to the PPTP plugin in
3509                         the first place (from which the ppp-manager is derived)
3510
3511 2008-04-17  Dan Williams  <dcbw@redhat.com>
3512
3513         * libnm-util/nm-setting-pppoe.c
3514                 - (verify): require a PPP setting too
3515
3516         * src/ppp-manager/nm-ppp-manager.c
3517                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3518                         segfaulting
3519
3520 2008-04-17  Dan Williams  <dcbw@redhat.com>
3521
3522         * src/nm-device.c
3523                 - (nm_device_state_changed): do deactivation and and promotion to
3524                         unavailable here, so that the device gets cleaned up before the
3525                         manager runs and starts emitting signals; do the
3526                         FAILED->DISCONNECTED transition from an idle handler rather than
3527                         immediately to guard against recursion
3528                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3529                         FAILED->DISCONNECTED handler if it's scheduled
3530
3531 2008-04-17  Dan Williams  <dcbw@redhat.com>
3532
3533         * src/nm-device-802-11-wireless.c
3534                 - (state_changed_cb): clear AP list when device transitions to
3535                         unavailable or unmanaged
3536                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3537                         since this is already done in device_cleanup()
3538                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3539                         isn't available or managed
3540                 - (device_cleanup): use remove_all_aps()
3541                 - (remove_all_aps): consolidate code removing all APs
3542
3543 2008-04-17  Dan Williams  <dcbw@redhat.com>
3544
3545         * src/nm-serial-device.c
3546           src/nm-serial-device.h
3547                 - (wait_for_reply_got_data): break input into lines, and search each
3548                         line for responses _and_ terminator strings; also make sure that
3549                         the read loop doesn't continue after the timeout is supposed to fire
3550                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3551
3552         * src/nm-gsm-device.c
3553           src/nm-cdma-device.c
3554                 - Send terminators to nm_serial_device_wait_for_reply()
3555
3556 2008-04-16  Dan Williams  <dcbw@redhat.com>
3557
3558         Patch from 陈鑫 <znscnchen@gmail.com>
3559
3560         * src/ppp-manager/nm-pppd-plugin.c
3561                 - (get_credentials): return correct value for success; handle case where
3562                         pppd just does some checking but doesn't want a password
3563                 - (plugin_init): make CHAP work too
3564
3565 2008-04-16  Dan Williams  <dcbw@redhat.com>
3566
3567         Patch from 陈鑫 <znscnchen@gmail.com>
3568
3569         * src/ppp-manager/nm-ppp-manager.c
3570                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3571
3572 2008-04-16  Dan Williams  <dcbw@redhat.com>
3573
3574         Patch from 陈鑫 <znscnchen@gmail.com>
3575
3576         * src/nm-device-802-3-ethernet.c
3577                 - (real_deactivate_quickly): clear the IP interface name on
3578                         deactivation, otherwise the wrong interface might get used later
3579                         for routing and IP management
3580
3581 2008-04-15  Dan Williams  <dcbw@redhat.com>
3582
3583         * libnm-glib/nm-device.c
3584                 - (get_product_and_vendor): handle serial devices correctly
3585                 - (nm_device_update_description): pass device to get_product_and_vendor()
3586
3587 2008-04-15  Dan Williams  <dcbw@redhat.com>
3588
3589         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3590
3591         * src/NetworkManagerSystem.h
3592           src/backends/NetworkManagerArch.c
3593           src/backends/NetworkManagerDebian.c
3594           src/backends/NetworkManagerFrugalware.c
3595           src/backends/NetworkManagerGeneric.c
3596           src/backends/NetworkManagerGeneric.h
3597           src/backends/NetworkManagerGentoo.c
3598           src/backends/NetworkManagerMandriva.c
3599           src/backends/NetworkManagerPaldo.c
3600           src/backends/NetworkManagerRedHat.c
3601           src/backends/NetworkManagerSlackware.c
3602           src/backends/NetworkManagerSuSE.c
3603           src/nm-device.c
3604                 - (nm_generic_device_add_ip6_link_address,
3605                    nm_system_device_add_ip6_link_address): remove
3606
3607 2008-04-15  Dan Williams  <dcbw@redhat.com>
3608
3609         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3610
3611         * src/backends/NetworkManagerArch.c
3612           src/backends/NetworkManagerDebian.c
3613           src/backends/NetworkManagerFrugalware.c
3614           src/backends/NetworkManagerGeneric.c
3615           src/backends/NetworkManagerGeneric.h
3616           src/backends/NetworkManagerGentoo.c
3617           src/backends/NetworkManagerMandriva.c
3618           src/backends/NetworkManagerPaldo.c
3619           src/backends/NetworkManagerRedHat.c
3620           src/backends/NetworkManagerSlackware.c
3621           src/backends/NetworkManagerSuSE.c
3622           src/NetworkManagerSystem.h
3623                 - flush_routes -> flush_ip4_routes
3624                 - flush_addresses -> flush_ip4_addresses
3625
3626         * src/NetworkManagerSystem.c
3627           src/nm-device.c
3628           src/vpn-manager/nm-vpn-connection.c
3629                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3630
3631 2008-04-15  Dan Williams  <dcbw@redhat.com>
3632
3633         Remove exposure of wireless-tools mode types in the API.
3634
3635         * include/NetworkManager.h
3636                 - Define NM80211Mode enum
3637
3638         * introspection/generic-types.xml
3639                 - Describe NM_802_11_MODE enum
3640                 - Remove IW_MODE_* enum
3641
3642         * introspection/nm-access-point.xml
3643           libnm-glib/nm-access-point.c
3644           libnm-glib/nm-access-point.h
3645                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3646
3647         * introspection/nm-device-802-11-wireless.xml
3648           libnm-glib/nm-device-802-11-wireless.c
3649           libnm-glib/nm-device-802-11-wireless.h
3650                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3651
3652         * libnm-util/nm-setting-wireless.c
3653           src/NetworkManagerAP.c
3654           src/NetworkManagerAP.h
3655           src/nm-device-802-11-wireless.c
3656           src/nm-device-802-11-wireless.h
3657           test/nm-tool.c
3658                 - Use NM80211Mode not IW_MODE_*
3659
3660 2008-04-15  Dan Williams  <dcbw@redhat.com>
3661
3662         Enhance nm-online based on a patch from Bill Nottingham.
3663
3664         * test/nm-online.c
3665                 - Add a '-q' option
3666                 - Add help messages and option summary
3667                 - Add long-format options
3668                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3669
3670 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3671
3672         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3673
3674         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3675
3676 2008-04-15  Dan Williams  <dcbw@redhat.com>
3677
3678         * nm-setting-ip4-config.c
3679                 - (ip4_addresses_from_gvalue): handle NULL address array
3680
3681         * nm-setting-8021x.c
3682                 - (verify_tls, verify_ttls): warn on failed verification
3683
3684 2008-04-10  Dan Williams  <dcbw@redhat.com>
3685
3686         * src/nm-gsm-device.c
3687                 - (automatic_registration): accept "+CREG: 0,0"
3688                 - (automatic_registration_response): fail on "+CREG: 0,0"
3689
3690 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3691
3692         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3693
3694 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3695
3696         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3697         Make it compile again by commenting out broken code that at first didn't work and
3698         now didn't compile either.
3699
3700 2008-04-08  Dan Williams  <dcbw@redhat.com>
3701
3702         * libnm-glib/nm-object-cache.c
3703           libnm-glib/nm-settings.c
3704           src/dhcp-manager/nm-dhcp-manager.c
3705           system-settings/plugins/ifcfg-fedora/plugin.c
3706           system-settings/plugins/ifcfg-suse/plugin.c
3707           system-settings/src/nm-system-config-hal-manager.c
3708           libnm-util/nm-utils.c
3709                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3710                         not threadsafe anyway
3711
3712 2008-04-08  Dan Williams  <dcbw@redhat.com>
3713
3714         * system-settings/src/main.c
3715                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3716                         callbacks take a device type too
3717
3718 2008-04-08  Dan Williams  <dcbw@redhat.com>
3719
3720         The system settings service will now create a new default DHCP connection
3721         for wired devices that have no existing applicable connection.
3722
3723         * system-settings/src/nm-system-config-hal-manager.c
3724           system-settings/src/nm-system-config-hal-manager.h
3725                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3726
3727         * system-settings/src/dbus-settings.c
3728           system-settings/src/dbus-settings.h
3729                 - (nm_sysconfig_settings_get_connections): new function
3730                 - (nm_sysconfig_settings_is_device_managed): new function
3731
3732         * system-settings/src/main.c
3733                 - (load_stuff): check for wired devices that need a default connection
3734                 - (get_details_for_udi): get interface and MAC address from HAL
3735                 - (add_default_dhcp_connection): add a default connection for a wired
3736                         device if needed
3737                 - (device_added_cb, device_removed_cb): do the right thing with
3738                         wired devices and their default connections on HAL device events
3739
3740 2008-04-07  Dan Williams  <dcbw@redhat.com>
3741
3742         * libnm-glib/nm-device.c
3743           libnm-glib/nm-device.h
3744                 - Proxy the 'managed' property
3745
3746 2008-04-07  Dan Williams  <dcbw@redhat.com>
3747
3748         * src/nm-gsm-device.c
3749           src/nm-cdma-device.c
3750                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3751                         handler to transition to DISCONNECTED
3752
3753 2008-04-07  Dan Williams  <dcbw@redhat.com>
3754
3755         Patch from Bill Nottingham
3756
3757         * dispatcher-daemon/NetworkManagerDispatcher.c
3758                 - ignore backup/packaging crufy (rh #440143)
3759
3760 2008-04-07  Dan Williams  <dcbw@redhat.com>
3761
3762         * include/NetworkManager.h
3763                 - Remove the DOWN and CANCELLED device states
3764                 - Add UNMANAGED and UNAVAILABLE device states
3765                 - Document the device states
3766
3767         * introspection/nm-device.xml
3768           src/nm-device-interface.c
3769           src/nm-device-interface.h
3770                 - Add the 'managed' property
3771
3772         * test/nm-tool.c
3773                 - (detail_device): print out device state
3774
3775         * src/NetworkManagerSystem.h
3776           src/backends/NetworkManagerArch.c
3777           src/backends/NetworkManagerDebian.c
3778           src/backends/NetworkManagerFrugalware.c
3779           src/backends/NetworkManagerGentoo.c
3780           src/backends/NetworkManagerMandriva.c
3781           src/backends/NetworkManagerPaldo.c
3782           src/backends/NetworkManagerRedHat.c
3783           src/backends/NetworkManagerSlackware.c
3784           src/backends/NetworkManagerSuSE.c
3785                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3786                    nm_system_device_free_system_config): remove; they were unused and
3787                         their functionality should be re-implemented in each distro's
3788                         system settings service plugin 
3789
3790         * src/nm-gsm-device.c
3791           src/nm-gsm-device.h
3792           src/nm-cdma-device.c
3793           src/nm-cdma-device.h
3794                 - (*_new): take the 'managed' argument
3795
3796         * src/nm-device.c
3797                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3798                 - (nm_device_init): start in unmanaged state, not disconnected
3799                 - (constructor): don't start device until the system settings service
3800                         has had a chance to figure out if the device is managed or not
3801                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3802                         don't set device state here, let callers handle that as appropriate
3803                 - (nm_device_dispose): don't touch the device if it's not managed
3804                 - (set_property, get_property, nm_device_class_init): implement the
3805                         'managed' property
3806                 - (nm_device_state_changed): bring the device up if its now managed,
3807                         and deactivate it if it used to be active
3808                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3809                         with the managed state
3810
3811         * src/nm-hal-manager.c
3812                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3813                         take initial managed state and pass it along to device constructors
3814                 - (create_device_and_add_to_list): get managed state and pass to
3815                         type creators
3816
3817         * src/nm-device-802-11-wireless.c
3818                 - (real_can_activate): fold in most of
3819                         nm_device_802_11_wireless_can_activate()
3820                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3821                 - (link_timeout_cb): instead of deactivating, change device state and
3822                         let the device state handler to it
3823                 - (real_update_hw_address): clean up
3824                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3825                         handler to transition to DISCONNECTED if the device isn't rfkilled
3826
3827         * src/nm-device-802-3-ethernet.c
3828                 - (set_carrier): move above callers and get rid of prototype
3829                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3830                         idle handler to transition to DISCONNECTED if the device has a
3831                         carrier
3832                 - (real_update_hw_address): clean up
3833                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3834                         deactivation directly as deactivation doesn't change state anymore
3835
3836         * src/NetworkManagerPolicy.c
3837                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3838                         the NMManager and wireless devices work that out themselves now
3839                 - (device_state_changed): change to a switch and update for new device
3840                         states
3841                 - (device_carrier_changed): remove; device handles this now through
3842                         state changes
3843                 - (device_added): don't care about carrier any more; the initial
3844                         activation check will happen when the device transitions to
3845                         DISCONNECTED
3846
3847         * src/nm-manager.c
3848                 - (dispose): clear unmanaged devices
3849                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3850                         the managed property on each device when needed
3851                 - (system_settings_properties_changed_cb): handle signals from the
3852                         system settings service
3853                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3854                         getting the unmanaged device list method call
3855                 - (query_unmanaged_devices): ask the system settings service for its
3856                         list of unmanaged devices
3857                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3858                         devices
3859                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3860                         devices directly and let them handle the necessary state transitions
3861                 - (manager_device_state_changed): update for new device states
3862                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3863                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3864                 - (nm_manager_activate_connection): return error if the device is
3865                         unmanaged
3866                 - (nm_manager_sleep): handle new device states correctly; don't change
3867                         the state of unavailable/unmanaged devices
3868
3869         * libnm-glib/nm-device-802-11-wireless.c
3870                 - (state_changed_cb): update for new device states
3871
3872 2008-04-07  Dan Williams  <dcbw@redhat.com>
3873
3874         * marshallers/nm-marshal.list
3875                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3876
3877 2008-04-07  Dan Williams  <dcbw@redhat.com>
3878
3879         * system-settings/src/main.c
3880                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3881                         plugins to the dbus settings object
3882                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3883                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3884                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3885                 - (main): switch default logging to syslog with a 'debug' option to
3886                         output to console; start up the HAL manager
3887
3888 2008-04-07  Dan Williams  <dcbw@redhat.com>
3889
3890         * introspection/nm-settings-system.xml
3891           introspection/Makefile.am
3892                 - Define the unmanaged devices interface for the system settings service
3893
3894         * system-settings/src/nm-system-config-hal-manager.c
3895           system-settings/src/nm-system-config-hal-manager.h
3896           system-settings/src/nm-system-config-hal-manager-private.h
3897           system-settings/src/Makefile.am
3898                 - Add a lightweight HAL manager object for tracking network devices for
3899                         the purpose of determining unmanaged devices and which devices need
3900                         the default DHCP connections
3901
3902         * system-settings/src/nm-system-config-interface.c
3903           system-settings/src/nm-system-config-interface.h
3904                 - (nm_system_config_interface_init): add the HAL manager as an argument
3905                 - (nm_system_config_interface_get_unmanaged_devices): implement
3906                 - Define 'unmanaged-devices-changed' signal
3907
3908         * system-settings/src/dbus-settings.c
3909           system-settings/src/dbus-settings.h
3910                 - Implement the unmanaged devices interface; some cleanups
3911
3912         * system-settings/plugins/ifcfg-suse/plugin.c
3913                 - Fixup for plugin interface changes
3914
3915         * system-settings/plugins/ifcfg-fedora/plugin.c
3916                 - (get_ether_device_udi): new function; find the device that has
3917                         a specified MAC address and return its UDI
3918                 - (get_udi_for_connection): new function; try to find the specific
3919                         device a connection is locked to, if any
3920                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3921                         response to HAL events
3922                 - (get_unmanaged_devices): new function; return unmanaged device list
3923                 - (build_one_connection): set the connection's locked device, if any
3924                 - (write_auto_wired_connection): remove
3925                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3926                 - (handle_connection_changed): alert listeners that the unmanaged device
3927                         list has changed
3928                 - (init): fixup for plugin interface changes, implement unmanaged devices
3929
3930         * system-settings/plugins/ifcfg-fedora/parser.c
3931           system-settings/plugins/ifcfg-fedora/parser.h
3932                 - (connection_data_free): clean up connection UDI
3933
3934 2008-04-07  Dan Williams  <dcbw@redhat.com>
3935
3936         * system-settings/plugins/ifcfg-fedora/parser.c
3937                 - (make_ip4_setting): fix parsing of DNS servers
3938
3939 2008-04-05  Dan Williams  <dcbw@redhat.com>
3940
3941         * Makefile.am
3942           configure.in
3943           marshallers/Makefile.am
3944           marshallers/nm-marshal-main.c
3945           marshallers/nm-marshal.list
3946                 - Consolidate marshallers
3947
3948         * libnm-glib/nm-marshal-main.c
3949           libnm-glib/nm-marshal.list
3950           src/marshallers/Makefile.am
3951           src/marshallers/nm-marshal-main.c
3952           src/marshallers/nm-marshal.list
3953                 - Remove
3954
3955         * libnm-glib/Makefile.am
3956           src/Makefile.am
3957           src/dhcp-manager/Makefile.am
3958           src/ppp-manager/Makefile.am
3959           src/supplicant-manager/Makefile.am
3960           src/vpn-manager/Makefile.am
3961                 - Use consolidated marshallers
3962
3963 2008-04-04  Dan Williams  <dcbw@redhat.com>
3964
3965         * src/nm-hal-manager.c
3966           src/nm-hal-manager.h
3967                 - (hal_init): don't look for hardware here
3968                 - (nm_hal_manager_start): new function; look for hardware here instead,
3969                         which can be done at a later time than hal_init()
3970
3971         * src/NetworkManager.c
3972                 - (main): start HAL manager after entering the main loop
3973
3974 2008-04-03  Dan Williams  <dcbw@redhat.com>
3975
3976         * libnm-glib/nm-settings.c
3977           libnm-glib/nm-settings.h
3978             - (nm_exported_connection_get_id): new function
3979                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3980
3981 2008-04-02  Dan Williams  <dcbw@redhat.com>
3982
3983         * src/nm-device-interface.c
3984           src/nm-device-interface.h
3985           src/nm-device.c
3986           src/nm-device.h
3987                 - Rename check_connection_conflicts() to check_connection_compatible()
3988
3989         * src/nm-device-802-11-wireless.c
3990                 - (real_check_connection_conflicts): remove
3991                 - (real_check_connection_compatible): implement; match MAC address
3992
3993         * src/nm-device-802-3-ethernet.c
3994                 - (real_check_connection_conflicts): remove
3995                 - (real_check_connection_compatible): implement; match MAC address
3996                 - (real_get_best_auto_connection): correctly handle PPPoE cases
3997
3998         * src/nm-manager.c
3999                 - (check_connection_allowed): remove; unused until PolicyKit integration
4000                 - (internal_activate_device): check whether the connection is compatible
4001                         with the device before trying to activate it
4002
4003 2008-04-02  Dan Williams  <dcbw@redhat.com>
4004
4005         * system-settings/plugins/ifcfg-fedora/parser.c
4006                 - (read_mac_address): new function; read in MAC address and stuff it
4007                         into the connection
4008                 - (add_one_wep_key): remove debug spew
4009                 - (make_wireless_security_setting): validate the default TX key; don't
4010                         add the wireless-security setting if the connection doesn't need
4011                         security; don't leak the keys shvarFile on error cases
4012                 - (make_wireless_setting, make_wired_setting): populate device's MAC
4013                         address
4014
4015 2008-04-02  Dan Williams  <dcbw@redhat.com>
4016
4017         * libnm-util/nm-setting-connection.c
4018           libnm-util/nm-setting-connection.h
4019                 - (set_property, get_property, nm_setting_connection_class_init): remove
4020                         the 'lockdown' property; it's functionality will be replaced by
4021                         PolicyKit instead
4022
4023 2008-04-01  Dan Williams  <dcbw@redhat.com>
4024
4025         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4026
4027         * configure.in
4028           initscript/Makefile.am
4029           initscript/Mandriva/Makefile.am
4030           initscript/Mandriva/networkmanager.in
4031           initscript/Mandriva/networkmanagerdispatcher.in
4032           src/backends/Makefile.am
4033           src/backends/NetworkManagerMandriva.c
4034           system-settings/plugins/Makefile.am
4035                 - Add Mandriva support
4036
4037 2008-03-31  Dan Williams  <dcbw@redhat.com>
4038
4039         * src/vpn-manager/nm-vpn-service.c
4040                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4041                         errors can be passed back to the caller; also no longer scheduled
4042                         as an idle handler, but called directly; and bump up VPN service
4043                         spawn timeout, 2s is really short
4044                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4045                         but call it directly so that errors are reported on return from
4046                         ActivateConnection() and don't get lost.  If scheduled as an idle
4047                         handler, clients don't have the time to query NM for the new VPN
4048                         connection's properties before the VPN connection is torn down again
4049                         if the service couldn't be launched, and therefore launch errors
4050                         get lost.
4051
4052 2008-03-31  Dan Williams  <dcbw@redhat.com>
4053
4054         * src/vpn-manager/nm-vpn-connection.c
4055                 - (device_state_changed): send correct state on device failure too
4056                 - (plugin_state_changed): failed state means unexpected disconnection,
4057                         thus if the service goes away while the VPN connection is activated
4058                         that's a failure too
4059
4060 2008-03-31  Dan Williams  <dcbw@redhat.com>
4061
4062         * src/vpn-manager/nm-vpn-manager.c
4063           src/vpn-manager/nm-vpn-manager.h
4064                 - Make VPNManager errors more available; add a service-start-failed error
4065
4066 2008-03-31  Dan Williams  <dcbw@redhat.com>
4067
4068         * libnm-glib/nm-client.c
4069           libnm-glib/nm-client.h
4070                 - (activate_cb): pass the new active connection to callback; fix
4071                         message when no callback is specified
4072
4073 2008-03-30  Dan Williams  <dcbw@redhat.com>
4074
4075         * libnm-util/nm-setting-wireless-security.c
4076                 - (need_secrets): only require key0 if the transmit key index is also
4077                         0
4078                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4079
4080 2008-03-29  Dan Williams  <dcbw@redhat.com>
4081
4082         * libnm-util/nm-setting-8021x.c
4083           libnm-util/nm-setting-ip4-config.c
4084           libnm-util/nm-setting-vpn-properties.c
4085           libnm-util/nm-setting-vpn.c
4086           libnm-util/nm-setting-wireless-security.c
4087           libnm-util/nm-setting-wireless.c
4088           libnm-util/nm-utils.c
4089           src/dhcp-manager/nm-dhcp-manager.c
4090           src/nm-activation-request.c
4091           src/nm-ip4-config.c
4092           src/nm-manager.c
4093           src/nm-properties-changed-signal.c
4094           src/ppp-manager/nm-pppd-plugin.c
4095           src/supplicant-manager/nm-supplicant-interface.c
4096           src/vpn-manager/nm-vpn-connection.c
4097                 - consistently use nm-dbus-glib-types.h
4098
4099 2008-03-29  Dan Williams  <dcbw@redhat.com>
4100
4101         * src/vpn-manager/nm-vpn-connection.c
4102                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4103                         not string
4104
4105         * src/nm-activation-request.c
4106                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4107                         not string
4108
4109 2008-03-29  Dan Williams  <dcbw@redhat.com>
4110
4111         * libnm-glib/nm-device-802-11-wireless.c
4112                 - (access_point_added_proxy): create new APs if not found
4113
4114 2008-03-29  Dan Williams  <dcbw@redhat.com>
4115
4116         * libnm-glib/nm-client.c
4117                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4118                         before freeing them
4119
4120 2008-03-29  Dan Williams  <dcbw@redhat.com>
4121
4122         * system-settings/plugins/ifcfg-fedora/parser.c
4123                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4124                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4125
4126 2008-03-29  Dan Williams  <dcbw@redhat.com>
4127
4128         * system-settings/plugins/ifcfg-fedora/parser.c
4129                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4130
4131 2008-03-27  Dan Williams  <dcbw@redhat.com>
4132
4133         * nm-object.c
4134                 - (nm_object_queue_notify): don't notify multiple times for the same
4135                         property
4136
4137         * nm-object-private.h
4138                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4139                         if it has zero elements
4140
4141         * nm-ip4-config.c
4142                 - (finalize): use g_ptr_array_foreach() when freeing domains
4143                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4144
4145         * nm-active-connection.c
4146                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4147
4148         * nm-device-802-11-wireless.c
4149           nm-device-802-11-wireless.h
4150                 - (nm_device_802_11_wireless_get_access_points): return const; use
4151                         handle_ptr_array_return()
4152
4153         * nm-types.c
4154                 - (nm_object_array_demarshal): always create an array, even of length
4155                         zero, to distinguish between "NM returned no items" and "haven't
4156                         asked NM yet"
4157
4158         * nm-client.c
4159                 - (dispose): free active connections too
4160                 - (proxy_name_owner_changed): free active connections too when NM goes
4161                         away
4162                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4163                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4164
4165 2008-03-26  Dan Williams  <dcbw@redhat.com>
4166
4167         Rework VPN connection handling for a more consistent D-Bus API.  The
4168         VPNManager object has been removed, and active VPN connections are now the
4169         same as any other active connection.  The Manager object's ActivateConnection
4170         and DeactivateConnection methods are used to start and stop a VPN connection,
4171         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4172         When activating a VPN connection, pass the path of the active connection
4173         to which the VPN connection is tied in the 'specific_object' argument.
4174
4175         Consequently, the libnm-glib API has been reworked to match this arrangement,
4176         with the VPNManager object removed, and the NMVPNConnection objects now
4177         being subclasses of NMActiveConnection.
4178
4179 2008-03-25  Dan Williams  <dcbw@redhat.com>
4180
4181         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4182
4183         * initscript/Arch/networkmanager.in
4184           initscript/Arch/networkmanager-dispatcher.in
4185                 - Updates for Arch Linux (gnome.org #523701)
4186
4187 2008-03-25  Dan Williams  <dcbw@redhat.com>
4188
4189         * libnm-glib/nm-ip4-config.c
4190           libnm-glib/nm-active-connection.c
4191           libnm-glib/nm-access-point.c
4192                 - Use nm_object_queue_notify() instead of g_object_notify()
4193
4194         * libnm-glib/nm-device.c
4195                 - (demarshal_ip4_config): distinguish between successful but missing
4196                         ip4-config request, and unsuccessful and missing ip4-config request
4197                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4198                         path
4199                 - Use nm_object_queue_notify() instead of g_object_notify()
4200
4201         * libnm-glib/nm-device-802-11-wireless.c
4202                 - (demarshal_active_ap): distinguish between successfull but missing
4203                         active-ap request, and unsuccessful and missing active-ap request
4204                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4205                         code
4206                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4207                         for the NMClient to notify the device that wireless is disabled,
4208                         and therefore to clear the AP list and active AP
4209                 - Use nm_object_queue_notify() instead of g_object_notify()
4210
4211         * libnm-glib/nm-client.c
4212                 - (poke_wireless_devices_with_rf_status): new function
4213                 - (update_wireless_status): notify wireless devices of the rfkill status
4214                         so they can clean up if needed
4215                 - Use nm_object_queue_notify() instead of g_object_notify()
4216
4217 2008-03-25  Dan Williams  <dcbw@redhat.com>
4218
4219         * libnm-glib/nm-object.c
4220           libnm-glib/nm-object-private.h
4221                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4222                         signals to an idle handler
4223                 - (nm_object_get_property): add a timeout to the D-Bus method call
4224
4225 2008-03-25  Dan Williams  <dcbw@redhat.com>
4226
4227         * introspection/nm-device-cdma.xml
4228           introspection/nm-device-gsm.xml
4229           introspection/Makefile.am
4230           introspection/all.xml
4231                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4232
4233         * src/nm-gsm-device.h
4234           src/nm-gsm-device.c
4235           src/nm-cdma-device.h
4236           src/nm-cdma-device.c
4237           src/Makefile.am
4238                 - Implement PropertiesChanged signals
4239
4240         * libnm-glib/nm-cdma-device.c
4241           libnm-glib/nm-cdma-device.c
4242                 - Attach to PropertiesChanged signals
4243
4244 2008-03-24  Dan Williams  <dcbw@redhat.com>
4245
4246         * libnm-glib/nm-client.c
4247                 - (client_device_added_proxy): add new devices to the internal device
4248                         list so they appear to clients
4249
4250 2008-03-24  Dan Williams  <dcbw@redhat.com>
4251
4252         Massive fixup of libnm-glib to:
4253         a) have all objects (with the exception of VPN) cache their properties and
4254                 update them asynchronously on PropertiesChanged signals from NM
4255         b) return internal const data for most attributes/properties instead of
4256                 allocated values that the caller must free
4257         c) cache wrapped objects such that a given D-Bus path will always map to the
4258                 same GObject returned by libnm-glib
4259         d) remove a few signals and move them to GObject property notifications
4260         e) match recent NM D-Bus API changes for activation/deactivation
4261         f) remove some private functions from libnm-glib headers
4262
4263 2008-03-20  Dan Williams  <dcbw@redhat.com>
4264
4265         * src/nm-manager.c
4266                 - (nm_manager_update_state, manager_device_state_changed,
4267                    nm_manager_activate_device, connection_added_default_handler,
4268                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4269                         queue PropertyChanged singals when the active connections change
4270
4271 2008-03-20  Dan Williams  <dcbw@redhat.com>
4272
4273         * introspection/nm-manager.xml
4274           introspection/nm-manager-client.xml
4275                 - (ActivateConnection): return the object path of the active connection
4276                         on success
4277                 - (GetActiveConnections): remove
4278                 - (DeactivateConnection): new function; deactivate a currently active
4279                         connection
4280                 - Add an ActiveConnections property which returns an array of
4281                         active connection object paths
4282
4283         * introspection/nm-device.xml
4284                 - (Deactivate): remove
4285
4286         * introspection/all.xml
4287                 - Add ActiveConnection introspection
4288
4289         * introspection/nm-active-connection.xml
4290                 - Add the ActiveConnection object
4291
4292         * include/NetworkManager.h
4293                 - Add the Connection.Active D-Bus interface
4294
4295         * src/nm-device-interface.c
4296                 - (impl_device_deactivate): remove
4297
4298         * src/nm-activation-request.c
4299           src/nm-activation-request.c
4300           src/Makefile.am
4301                 - Implement the Connection.Active D-Bus interface
4302
4303         * src/nm-manager.c
4304                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4305                 - (nm_manager_activate_device): return the active connection path
4306                 - (connection_added_default_handler, impl_manager_activate_connection):
4307                         return the active connection to the caller
4308                 - (add_one_connection_element, impl_manager_get_active_connections):
4309                         remove
4310                 - (impl_manager_deactivate_connection): new function; deactivate an
4311                         active connection
4312
4313         * libnm-glib/nm-device.c
4314           libnm-glib/nm-device.h
4315                 - Remove Deactivate() function
4316
4317 2008-03-19  Dan Williams  <dcbw@redhat.com>
4318
4319         * introspection/nm-manager.xml
4320           introspection/nm-manager-client.xml
4321                 - Rename the ActivateDevice method to ActivateConnection to better
4322                         reflect it's usage; it's arguments get reordered a bit too
4323                 - Convert GetActiveConnections method return from a struct to a dict
4324
4325         * include/NetworkManager.h
4326                 - Define the dict keys for return value of GetActiveConnections
4327
4328         * src/nm-manager.c
4329                 - impl_manager_activate_device -> impl_manager_activate_connection
4330                 - (add_one_connection_element): return a populated hash table, not
4331                         a structure
4332
4333         * libnm-glib/nm-client.c
4334           libnm-glib/nm-client.h
4335                 - nm_client_activate_device -> nm_client_activate_connection
4336                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4337                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4338                         instead of the custom structures.  Each element of the returned list
4339                         must be freed with nm_client_free_active_connections_element()
4340
4341 2008-03-18  Dan Williams  <dcbw@redhat.com>
4342
4343         * system-settings/plugins/ifcfg-fedora/parser.c
4344           system-settings/plugins/ifcfg-fedora/parser.h
4345           system-settings/plugins/ifcfg-fedora/plugin.c
4346                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4347                         profiles.  DNS servers and searches must now be stored in the ifcfg
4348                         files themselves
4349
4350 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4351
4352         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4353         print out username and password, it's supposed to be a secret.
4354
4355         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4356         request and set the device state accordingly.
4357
4358 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4359
4360         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4361
4362         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4363
4364 2008-03-18  Dan Williams  <dcbw@redhat.com>
4365
4366         * src/vpn-manager/nm-vpn-connection.c
4367                 - (get_secrets_cb): handle new GetSecrets return format
4368
4369 2008-03-18  Dan Williams  <dcbw@redhat.com>
4370
4371         Adapt system settings service for split 802.1x.
4372
4373         * system-settings/src/nm-system-config-interface.h
4374                 - clarify return value of get_secrets()
4375
4376         * system-settings/src/dbus-settings.c
4377                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4378                 - (check_for_secrets): check if there actually secrets returned by a
4379                         plugin
4380                 - (exported_connection_get_secrets): just return the plugin-returned
4381                         hash of settings' secrets if it looks valid
4382
4383         * system-settings/plugins/ifcfg-fedora/plugin.c
4384                 - (get_secrets): add split secrets with correct format to reply hash
4385
4386         * system-settings/plugins/ifcfg-fedora/parser.c
4387           system-settings/plugins/ifcfg-fedora/parser.h
4388                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4389                    connection_data_free, connection_data_add): keep secrets for
4390                         different settings in different hashes
4391
4392 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4393
4394         Clean up activating device deactivation.
4395
4396         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4397         should be done whether the device activation gets cancelled or the device
4398         is just getting deactivated.
4399         (nm_device_activation_cancel): Remove.
4400         (nm_device_deactivate_quickly): Handle the case where device is activating.
4401
4402         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4403         It does the exact same thing as real_deactivate_quickly().
4404
4405 2008-03-17  Dan Williams  <dcbw@redhat.com>
4406
4407         Split the 802.1x bits out of the wireless-security setting so they are
4408         generalized enough for wired 802.1x to use too.
4409
4410         * introspection/nm-exported-connection.xml
4411                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4412                         of just a hash of the secrets for one setting
4413
4414         * libnm-util/nm-setting-wireless-security.c
4415           libnm-util/nm-setting-wireless-security.h
4416                 - Remove 802.1x-specific stuff
4417                 - Added leap-username and leap-password properties for old-school LEAP
4418
4419         * src/nm-device.c
4420           src/nm-device.h
4421                 - (connection_secrets_updated_cb): take a list of updated settings names,
4422                         not just one
4423
4424         * src/supplicant-manager/nm-supplicant-config.c
4425           src/supplicant-manager/nm-supplicant-config.h
4426                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4427                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4428                         to nm_supplicant_config_add_setting_8021x()
4429                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4430                         the supplicant config
4431
4432         * src/nm-device-802-11-wireless.c
4433                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4434                 - (real_connection_secrets_updated): take a list of updated settings
4435                         names, not just one
4436
4437         * src/nm-device-802-3-ethernet.c
4438           src/nm-cdma-device.c
4439           src/nm-gsm-device.c
4440                 - (real_connection_secrets_updated_cb): take a list of updated settings
4441                         names, not just one
4442
4443         * src/nm-activation-request.c
4444           src/nm-activation-request.h
4445                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4446                         now passes a list of updated settings names, not just one
4447                 - (update_one_setting): new function; handle one updated setting
4448                 - (get_secrets_cb): handle multiple settings returned from the
4449                         settings service; have to be careful of ordering here as there are
4450                         some dependencies between settings (ex. wireless-security and 802.1x
4451                         in some cases)
4452
4453         * src/marshallers/nm-marshal.list
4454                 - new marshaller for connection-secrets-updated signal
4455
4456         * libnm-util/nm-setting-8021x.c
4457                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4458                         methods
4459                 - (verify): a valid 'eap' property is now required
4460
4461         * libnm-util/nm-connection.c
4462                 - (register_default_settings): add priorities to settings; there are
4463                         some dependencies between settings, and during the need_secrets
4464                         calls this priority needs to be respected.  For example, only the
4465                         wireless-security setting knows whether or not the connection is
4466                         going to use 802.1x or now, so it must be asked for secrets before
4467                         any existing 802.1x setting is
4468                 - (nm_connection_lookup_setting_type): expose
4469
4470         * libnm-util/nm-setting-wireless.c
4471                 - (verify): should verify even if all_settings is NULL; otherwise won't
4472                         catch the case where there is missing security
4473
4474         * libnm-util/nm-setting-wireless-security.c
4475                 - Remove everything to do with 802.1x
4476                 - Add old-school LEAP specific properties for username and password
4477                 - (need_secrets): rework LEAP secrets checking
4478                 - (verify): rework for LEAP and 802.1x verification
4479
4480 2008-03-17  Dan Williams  <dcbw@redhat.com>
4481
4482         * src/NetworkManagerPolicy.c
4483                 - (auto_activate_device): always remove the current activation check
4484                         from the pending activation list, otherwise when the policy gets
4485                         destroyed on NM exit it will attempt to free the already freed
4486                         activation check
4487
4488 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4489
4490         * src/backends/NetworkManagerSlackware.c 
4491         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4492
4493         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4494
4495 2008-03-14  Dan Williams  <dcbw@redhat.com>
4496
4497         * src/nm-manager.c
4498                 - (nm_device_interface_get_iface): g_object_get() will return an
4499                         allocated value, so this function must not return const
4500                 - (nm_device_interface_activate): free returned iface
4501
4502 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4503
4504         * libnm-util/Makefile.am: Add new files to build.
4505
4506         * libnm-util/nm-connection.c: Register NMSetting8021x.
4507
4508         * libnm-util/nm-setting-8021x.c
4509         * libnm-util/nm-setting-8021x.h: Implement.
4510
4511 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4512
4513         * libnm-util/Makefile.am: Add new files to build.
4514
4515         * libnm-util/nm-connection.c: Register NMSetting8021x.
4516
4517         * libnm-util/nm-setting-8021x.c
4518         * libnm-util/nm-setting-8021x.h: Implement.
4519
4520 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4521
4522         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4523         data.
4524
4525 2008-03-14  Dan Williams  <dcbw@redhat.com>
4526
4527         * include/wireless-helper.h
4528           include/Makefile.am
4529                 - One place for all the junk needed for #including wireless.h
4530
4531         * test/nm-tool.c
4532           src/NetworkManagerAP.c
4533           src/wpa.c
4534           src/Makefile.am
4535           libnm-util/nm-utils.c
4536           libnm-util/nm-setting-wireless.c
4537           libnm-glib/nm-device-802-11-wireless.c
4538           libnm-glib/nm-access-point.c
4539           libnm-glib/libnm-glib-test.c
4540                 - include wireless-helper.h, not iwlib.h
4541
4542         * configure.in
4543                 - Don't need libiw really, just need to check for wireless.h
4544
4545         * src/kernel-types.h
4546                 - Remove; used types moved into wpa.c
4547
4548         * src/nm-device-802-11-wireless.c
4549                 - (nm_device_802_11_wireless_update_signal_strength,
4550                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4551                    nm_device_802_11_wireless_set_mode,
4552                    nm_device_802_11_wireless_get_frequency,
4553                    nm_device_802_11_wireless_get_ssid,
4554                    nm_device_802_11_wireless_set_ssid,
4555                    nm_device_802_11_wireless_get_bitrate,
4556                    nm_device_802_11_wireless_get_bssid,
4557                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4558                         instead of iwlib functions
4559
4560 2008-03-14  Dan Williams  <dcbw@redhat.com>
4561
4562         * src/ppp-manager/nm-ppp-manager.c
4563                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4564                         should only take the DBusGMethodInvocation argument, not user/pass
4565                         too.  With dbus-glib, async functions only take 2 C arguments since
4566                         the real dbus method arguments get passed back with
4567                         dbus_g_method_return()
4568
4569 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4570
4571         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4572         Adapt the changes of NMSettingIP4Config.
4573
4574 2008-03-13  Dan Williams  <dcbw@redhat.com>
4575
4576         * src/NetworkManagerUtils.c
4577           src/NetworkManagerUtils.h
4578                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4579
4580         * src/NetworkManagerAP.c
4581           src/nm-device-802-11-wireless.c
4582           src/nm-device-802-3-ethernet.c
4583                 - s/iw_ether_ntop/nm_ether_ntop/g
4584
4585 2008-03-13  Dan Williams  <dcbw@redhat.com>
4586
4587         * src/NetworkManagerPolicy.c
4588                 - (update_routing_and_dns): never set the default route through an
4589                         IPv4LL addressed device
4590
4591 2008-03-13  Dan Williams  <dcbw@redhat.com>
4592
4593         * NetworkManagerUtils.c
4594           NetworkManagerUtils.h
4595                 - Remove NMSock stuff
4596                 - Remove the completion stuff
4597
4598         * nm-device.c
4599           nm-device.h
4600           NetworkManager.c
4601           NetworkManagerSystem.c
4602           autoip.c
4603           nm-device-802-11-wireless.c
4604           nm-device-802-3-ethernet.c
4605                 - Remove NMSock and completion stuff
4606                 - Remove nm_ioctl_info()
4607
4608 2008-03-12  Dan Williams  <dcbw@redhat.com>
4609
4610         * src/nm-device.c
4611                 - (merge_ip4_config): avoid duplicates
4612
4613 2008-03-12  Dan Williams  <dcbw@redhat.com>
4614
4615         * libnm-util/nm-setting-ip4-config.c
4616           libnm-util/nm-setting-ip4-config.h
4617                 - Remove 'manual' and 'autoip' properties
4618                 - Add 'method' property
4619                 - (verify): fix verification with 'method'
4620                 - (finalize): free 'method'
4621                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4622                         up for 'method'
4623
4624         * src/nm-device.c
4625                 - (real_act_stage3_ip_config_start): check IP4Config method
4626                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4627                         the future
4628                 - (merge_ip4_config): IP settings are valid with DHCP too
4629                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4630                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4631
4632         * src/nm-device-802-11-wireless.c
4633                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4634                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4635                         only on demand
4636
4637         * system-settings/plugins/ifcfg-fedora/parser.c
4638           system-settings/plugins/ifcfg-suse/parser.c
4639                 - (make_ip4_setting): fix up for 'method'
4640
4641 2008-03-12  Dan Williams  <dcbw@redhat.com>
4642
4643         * system-settings/plugins/ifcfg-fedora/parser.c
4644           system-settings/plugins/ifcfg-fedora/parser.h
4645                 - (get_ifcfg_name): ignore more file suffixes
4646                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4647
4648 2008-03-12  Dan Williams  <dcbw@redhat.com>
4649
4650         * configure.in
4651                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4652
4653 2008-03-12  Dan Williams  <dcbw@redhat.com>
4654
4655         * system-settings/plugins/ifcfg-fedora/plugin.c
4656                 - (write_auto_wired_connection): new function; write out an auto
4657                         wired connection file since the applet isn't doing it any more
4658                 - (reload_all_connections): write out the auto wired connection file
4659                         if there aren't any wired connections already
4660                 - (init): don't leak a GError
4661
4662 2008-03-12  Dan Williams  <dcbw@redhat.com>
4663
4664         * src/nm-device-interface.c
4665                 - (nm_device_interface_activate): print the ID of the connection
4666                         that's about to be activated
4667
4668 2008-03-12  Dan Williams  <dcbw@redhat.com>
4669
4670         Harmonize the 802.11 bitrate API
4671
4672         * introspection/nm-access-point.xml
4673                 - 'Rate' -> 'MaxBitrate'; clarify units
4674
4675         * introspection/nm-device-802-11-wireless.xml
4676                 - Clarify units of 'Bitrate'
4677
4678         * src/NetworkManagerAP.c
4679           src/NetworkManagerAP.h
4680                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4681                         property to 'max-bitrate'
4682                 - (foreach_property_cb): convert rate to Kb/s
4683
4684         * src/nm-device-802-11-wireless.c
4685                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4686
4687         * libnm-glib/nm-access-point.c
4688           libnm-glib/nm-access-point.h
4689                 - 'rate' -> 'max-bitrate'
4690
4691         * test/nm-tool.c
4692           libnm-glib/libnm-glib-test.c
4693                 - Fix up for these changes
4694
4695 2008-03-12  Dan Williams  <dcbw@redhat.com>
4696
4697         * src/nm-device.c
4698                 - (nm_device_set_ip4_config): don't send property notifications when
4699                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4700                         which dbus-glib can't parse because the value is NULL, which isn't
4701                         a legal object path.  Setting the IP4 config to NULL is only
4702                         valid when deactivating a device anyway, so the device state change
4703                         will alert listeners that the ip4 config is invalid.
4704
4705 2008-03-12  Dan Williams  <dcbw@redhat.com>
4706
4707         * src/nm-properties-changed-signal.c
4708                 - (add_to_string): better handling of NULL objects
4709
4710 2008-03-12  Dan Williams  <dcbw@redhat.com>
4711
4712         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4713         convert the libnm-glib NMDevice8023Ethernet to cached properties
4714
4715         * introspection/nm-device-802-3-ethernet.xml
4716                 - New 'Carrier' property
4717                 - New 'PropertiesChanged' signal
4718
4719         * introspection/nm-device.xml
4720                 - Remove 'Carrier' property
4721                 - Remove 'CarrierChanged' signal
4722
4723         * src/nm-device-interface.c
4724           src/nm-device-interface.h
4725                 - (nm_device_interface_init): remove 'carrier' property and
4726                         'carrier-changed' signal
4727
4728         * src/nm-device.c
4729           src/nm-device.h
4730                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4731                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4732                         the link here; wired device will handle that
4733                 - (handle_dhcp_lease_change): don't bother updating link here
4734                 - (get_property, nm_device_class_init): remove carrier property
4735
4736         * src/nm-device-802-11-wireless.c
4737                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4738                         real_update_link(); wireless devices don't use carrier at all
4739                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4740                    supplicant_iface_connection_state_cb_handler,
4741                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4742
4743         * src/nm-device-802-3-ethernet.c
4744           src/nm-device-802-3-ethernet.h
4745                 - (nm_device_802_3_ethernet_carrier_on,
4746                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4747                         instead of nm_device_set_carrier()
4748                 - (device_state_changed): update link from sysfs on activation;
4749                         replaces real_update_link()
4750                 - (real_update_link): remove, replaced by device_state_changed()
4751                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4752                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4753                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4754                         new get_carrier function
4755                 - (get_property): add 'carrier' property
4756                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4757                         hook into property-changed signal helper
4758
4759         * src/NetworkManagerPolicy.c
4760                 - (device_carrier_changed): will only ever be called with a wired device
4761                 - (device_added): only hook up to carrier-changed for wired devices
4762
4763         * libnm-glib/nm-device.c
4764           libnm-glib/nm-device.h
4765                 - (constructor, nm_device_class_init): remove carrier-changed signal
4766                 - (device_carrier_changed_proxy): remove; unused
4767                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4768
4769         * libnm-glib/nm-device-802-3-ethernet.c
4770           libnm-glib/nm-device-802-3-ethernet.h
4771                 - Convert to cached properties like AP and Wireless objects
4772                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4773                         instead of a 'char *', return value should not be freed
4774                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4775                 - (constructor): hook into properties-changed helper
4776                 - (set_property, get_property): new functions
4777                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4778
4779         * test/nm-tool.c
4780                 - (detail_device): strdup the wired hardware address too since it's
4781                         cached now
4782
4783         * libnm-glib/libnm-glib-test.c
4784                 - (dump_wired): strdup the wired hardware address too since it's
4785                         cached now
4786
4787 2008-03-12  Dan Williams  <dcbw@redhat.com>
4788
4789         * libnm-util/nm-setting-ip4-config.c
4790           libnm-util/nm-setting-ip4-config.h
4791                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4792                         the 'autoip' property from the spec
4793
4794 2008-03-11  Dan Williams  <dcbw@redhat.com>
4795
4796         * src/backends/NetworkManagerGeneric.c
4797           src/backends/NetworkManagerGeneric.h
4798                 - (nm_generic_device_get_use_dhcp): remove
4799
4800 2008-03-11  Dan Williams  <dcbw@redhat.com>
4801
4802         * src/nm-device.c
4803                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4804                         already in nm_device_set_ip4_config()
4805                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4806                         due to a DHCP rebind fails
4807                 - (nm_device_set_ip4_config): send property notifications when the
4808                         ip4 config changes
4809                 - (get_property): only report IP4Config property during valid states
4810
4811         * src/NetworkManagerPolicy.c
4812                 - (update_routing_and_dns): ignore devices that don't have an ip4
4813                         config; add parameter 'force_update' to allow callers to specify
4814                         that changes should be made even if the default device doesn't change
4815                 - (device_ip4_config_changed): update DNS and routing when the device's
4816                         IP4Config changes, like for DHCP updates
4817                 - (device_added): listen for ip4-config property changes
4818
4819 2008-03-11  Dan Williams  <dcbw@redhat.com>
4820
4821         Fix address handling as a result of DHCP rebind/renew/reboot.
4822
4823         * src/NetworkManagerSystem.c
4824                 - (check_one_address): delete an address if it doesn't match a given
4825                         one for the same interface
4826                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4827                         be smarter about flushing addresses (only flush ones that don't
4828                         match the one we're about to apply)
4829
4830         * src/backends/NetworkManagerDebian.c
4831           src/backends/NetworkManagerSuSE.c
4832           src/backends/NetworkManagerArch.c
4833           src/backends/NetworkManagerSlackware.c
4834           src/backends/NetworkManagerRedHat.c
4835           src/backends/NetworkManagerPaldo.c
4836           src/backends/NetworkManagerFrugalware.c
4837           src/backends/NetworkManagerGentoo.c
4838                 - (nm_system_delete_default_route): remove
4839
4840         * src/backends/NetworkManagerGeneric.c
4841           src/backends/NetworkManagerGeneric.h
4842                 - (nm_generic_enable_loopback): fix the loopback device label
4843                 - (nm_generic_delete_default_route): remove; no longer used
4844
4845 2008-03-11  Dan Williams  <dcbw@redhat.com>
4846
4847         * src/nm-device-interface.h
4848                 - Delimit property name words with '-', otherwise g_object_notify()
4849                         doesn't work the way we expect
4850
4851 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4852
4853         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4854
4855 2008-03-11  Dan Williams  <dcbw@redhat.com>
4856
4857         * src/NetworkManagerPolicy.c
4858                 - (update_routing_and_dns): don't change anything if the default device
4859                         hasn't changed; print something out when switching the default route
4860                         and DNS
4861
4862 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4863
4864         Implement PPPoE.
4865
4866         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4867         setting. Use "nic-$eth".
4868
4869         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4870         the device is activating here to fix a race condition.
4871
4872         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4873
4874         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4875         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4876         (nm_ppp_manager_start): Take activation request instead of connection, we might
4877         need it for asking secrets.
4878         (nm_ppp_manager_update_secrets): Implement.
4879
4880         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4881         ppp manager start. It might be needed for asking secrets.
4882
4883         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4884         (ppp_state_changed): Handle pppd daemon disappearing.
4885         (pppoe_stage2_config): Send activation request to ppp manager start.
4886
4887         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4888
4889         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4890         username and password.
4891         
4892 2008-03-10  Dan Williams  <dcbw@redhat.com>
4893
4894         * src/nm-device.c
4895                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4896                         response to a DHCP lease change
4897                 - (dhcp_state_changed): handle DHCP lease changes while activated
4898                 - (nm_device_set_ip4_config): remove a previously set named config
4899                         when setting an ip4 config
4900
4901 2008-03-10  Dan Williams  <dcbw@redhat.com>
4902
4903         * src/nm-serial-device.c
4904                 - (nm_serial_device_send_command): report errno on error
4905                 - (get_reply_got_data): limit the size of the overall buffer
4906                 - (wait_for_reply_info_destroy): destroy result string
4907                 - (wait_for_reply_got_data): append received data to an overall buffer
4908                         until timeout, filled buffer, or error instead of keeping a per-call
4909                         buffer.  Some devices send data slowly enough that this function
4910                         gets called multiple times for the same command stream.
4911                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4912                         wait_for_reply_got_data() here
4913
4914 2008-03-10  Dan Williams  <dcbw@redhat.com>
4915
4916         * src/nm-cdma-device.c
4917                 - (do_dial, init_modem): handle errors from
4918                         nm_serial_device_send_command_string()
4919
4920         * src/nm-gsm-device.c
4921                 - (do_dial, manual_registration, automatic_registration_get_network,
4922                    automatic_registration, enter_pin, check_pin, init_modem): handle
4923                         errors from nm_serial_device_send_command_string()
4924
4925 2008-03-10  Dan Williams  <dcbw@redhat.com>
4926
4927         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4928
4929         * src/named-manager/nm-named-manager.c
4930                 - (compute_searches): prefer searches before domains
4931                 - (compute_domain): new function
4932                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4933                 - (merge_one_ip4_config): if there are no searches in the source config,
4934                         merge domains of the source config into the target config
4935                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4936
4937 2008-03-10  Dan Williams  <dcbw@redhat.com>
4938
4939         * src/nm-serial-device.c
4940                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4941                 - (wait_for_reply_got_data): try to handle slower serial devices where
4942                         the reply is broken up into multiple reads by concatenating replies
4943                         together until either an error is received or the search string is
4944                         found
4945
4946 2008-03-10  Dan Williams  <dcbw@redhat.com>
4947
4948         * src/nm-device.c
4949                 - (nm_device_bring_down): deactivate the device if it's activating too,
4950                         not just if it's already activated.  This makes sure that everything
4951                         from an association attempt is cleaned up (like DHCP for example)
4952
4953 2008-03-10  Dan Williams  <dcbw@redhat.com>
4954
4955         * src/nm-serial-device.c
4956                 - (config_fd): report error from TCSETA
4957                 - (nm_serial_device_open): fail when config_fd() fails
4958
4959 2008-03-10  Dan Williams  <dcbw@redhat.com>
4960
4961         * src/nm-ip4-config.c
4962                 - (nm_ip4_config_init): allocate searches list
4963                 - (finalize): free searches list
4964
4965 2008-03-09  Dan Williams  <dcbw@redhat.com>
4966
4967         Patch from Bas Zoetekouw <bas@debian.org>
4968
4969         * src/dhcp-manager/nm-dhcp-manager.c
4970                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4971
4972 2008-03-09  Dan Williams  <dcbw@redhat.com>
4973
4974         Patch from Bas Zoetekouw <bas@debian.org>
4975
4976         * src/nm-ip4-config.c
4977           src/nm-ip4-config.h
4978                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4979                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
4980                         domains.  'searches' is the correct way to store multiple search
4981                         domains, whereas 'domains' is really just supposed to store one
4982                         domain.  Some sites abuse the DHCP 'domain-name' option to push
4983                         search domains to the client.
4984                 - (nm_ip4_config_add_domain): group with related functions (my patch)
4985
4986 2008-03-09  Dan Williams  <dcbw@redhat.com>
4987
4988         * src/dhcp-manager/nm-dhcp-manager.c
4989                 - (dhclient_run): send interface-specific config files to dhclient
4990
4991 2008-03-07  Dan Williams  <dcbw@redhat.com>
4992
4993         * system-settings/plugins/ifcfg-fedora/parser.c
4994                 - (is_wireless_device): new function; test a device for wireless
4995                         extensions
4996                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4997                         test the device for wireless extensions to determine the type
4998
4999 2008-03-07  Dan Williams  <dcbw@redhat.com>
5000
5001         Change manager's StateChange signal to StateChanged for consistency.
5002
5003         * introspection/nm-manager.xml
5004                 - Add 'StateChanged' signal
5005                 - Move 'StateChange' down to the deprecated section
5006
5007         * src/nm-hal-manager.c
5008                 - (nm_hal_manager_new): connect to 'state-changed' instead
5009
5010         * src/NetworkManagerPolicy.c
5011                 - (nm_policy_new): connect to 'state-changed' instead
5012
5013         * src/nm-manager.c
5014           src/nm-manager.h
5015                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5016                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5017                         of 'state-change'
5018
5019         * libnm-glib/nm-client.c
5020           libnm-glib/nm-client.h
5021                 - (constructor, nm_client_class_init, client_state_changed_proxy):
5022                         track and proxy 'state-changed' instead of 'state-change'
5023
5024 2008-03-07  Dan Williams  <dcbw@redhat.com>
5025
5026         First pass of multiple active device support.  Expect bugs.
5027
5028         * src/nm-ip4-config.c
5029           src/nm-ip4-config.h
5030                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5031                         there are better ways to do this in the named manager
5032
5033         * src/nm-device.c
5034           src/nm-device.h
5035                 - (nm_device_can_activate): return whether the device can activate a
5036                         connection right now; taking into account things like carrier state
5037                         and rfkill state
5038                 - (nm_device_get_best_auto_connection): renamed from
5039                         nm_device_get_best_connection
5040                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5041                         device subclasses themselves, so that each device can override the
5042                         MTU from it's NMSetting subclass if needed
5043                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5044                         in NetworkManagerSystem.c, not here
5045
5046         * src/named-manager/nm-named-manager.c
5047           src/named-manager/nm-named-manager.h
5048                 - (nm_named_manager_name_owner_changed,
5049                    nm_named_manager_dbus_connection_changed): fix for changes to
5050                         rewrite_resolv_conf()
5051                 - (compute_nameservers): don't need the NMNamedManager at all, remove
5052                         from parameter list
5053                 - (merge_one_ip4_config): new function; merge ip4 configs together
5054                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5055                         ip4 configs; the VPN config takes precedence, then the best
5056                         device config, then the rest of the configs
5057                 - (get_domain_for_config): take the NMNamedManager as an argument
5058                         to check whether the config is the VPN config
5059                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5060                         attribute from ip4 configs
5061                 - (add_all_ip4_configs_to_named): add all the configs in priority order
5062                 - (remove_ip4_config_from_named): fix for changes to
5063                         get_domain_for_config()
5064                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5065                         based on its type; callers must pass in the type now
5066                 - (get_last_default_domain): remove, unused
5067                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5068
5069         * src/nm-device-802-11-wireless.c
5070                 - (real_can_activate): new function
5071                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5072                 - (real_act_stage4_get_ip4_config): handle MTU override
5073
5074         * src/nm-device-802-3-ethernet.c
5075                 - (real_can_activate): new function
5076                 - (real_get_best_auto_connection): renamed from real_get_best_connection
5077                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5078
5079         * src/vpn-manager/nm-vpn-connection.c
5080                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5081                         attribute on the ip4 config
5082
5083         * src/NetworkManagerPolicy.c
5084                 - (nm_policy_auto_get_best_device): remove
5085                 - (nm_policy_device_change_check): remove
5086                 - (update_default_route): new function; set the default route via
5087                         the specified device
5088                 - (get_device_priority): new function; return the priority number of
5089                         a device type WRT which one should have the default route.  Order is
5090                         (highest to lowest)  wired, wireless, GSM, CDMA.
5091                 - (update_routing_and_dns): new function; determine which device should
5092                         have the default route, then update the routing table and DNS
5093                 - (maybe_auto_activate_device): new function; if a device is now
5094                         available for activation, find out what connection it would like to
5095                         activate and do it
5096                 - (schedule_activate_check): new function; if a device can be activated
5097                         now, schedule the activation.  Each device may have only one
5098                         pending activation at a given time.
5099                 - (device_state_changed): if activation was canceled, try again,
5100                         possibly with another connection; if the device was activated,
5101                         update routing and DNS; if the device was deactivated, try again
5102                         with another connection
5103                 - (device_carrier_changed): if there is no carrier, deactivate the
5104                         device; otherwise schedule an activation check for the device
5105                 - (wireless_networks_changed): schedule an activation check for the
5106                         device
5107                 - (device_added): keep track of the signal handler IDs so they can
5108                         be removed when the device goes away
5109                 - (device_removed): remove any signal handlers that might be attached
5110                         to the device; update routing and DNS
5111                 - (schedule_activate_all): new function
5112                 - (connections_added, connection_added, connection_updated): when
5113                         connections change, schedule all devices for an activation check
5114                 - (connection_removed): when a device is deactivated because its
5115                         connection was removed, schedule another activation check for it
5116                 - (nm_policy_destroy): destroy pending activations and disconnect
5117                         all device signal handlers
5118
5119         * src/nm-manager.c
5120                 - (nm_manager_activate_device): if the device was already actived,
5121                         deactivate it
5122                 - (deactivate_old_device): remove
5123                 - (connection_added_default_handler, impl_manager_activate_device):
5124                         don't deactivate other devices when activating this one
5125
5126         * src/backends/NetworkManagerGentoo.c
5127           src/backends/NetworkManagerFrugalware.c
5128           src/backends/NetworkManagerPaldo.c
5129           src/backends/NetworkManagerRedHat.c
5130           src/backends/NetworkManagerSlackware.c
5131           src/backends/NetworkManagerArch.c
5132           src/backends/NetworkManagerSuSE.c
5133           src/backends/NetworkManagerDebian.c
5134                 - (nm_system_get_mtu): remove; MTU should be provided through the
5135                         distro's system settings service plugin instead
5136                 - (nm_system_device_add_default_route_via_device): remove
5137                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5138                 - (nm_system_device_replace_default_route): new function; call
5139                         generic implementation
5140
5141         * src/backends/NetworkManagerGeneric.c
5142           src/backends/NetworkManagerGeneric.h
5143                 - (nm_generic_device_add_default_route_via_device,
5144                    nm_generic_device_add_default_route_via_device_with_iface): remove
5145                 - (nm_generic_device_replace_default_route): replace the default route
5146                         with the given route via some gateway
5147
5148         * src/NetworkManagerSystem.c
5149           src/NetworkManagerSystem.h
5150                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5151                         to routing and DNS; but set the MTU here
5152                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5153                         ip_iface of the active device; use the standard MTU setting function
5154                 - (nm_system_set_mtu): remove
5155                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5156
5157 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5158
5159         Rework the interaction between ppp manager and pppd plugin. Register a well
5160         known DBUS service in manager and let the plugin call it's methods instead
5161         of listening plugin's signals.
5162
5163         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5164         of emitting signals.
5165
5166         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5167
5168         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5169
5170         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5171         nm_ppp_manager_start().
5172
5173         * introspection/nm-ppp-manager.xml: New file.
5174
5175         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5176         the case correctly where driver is trying to send -1 for the speed, which gets
5177         casted to u16 and thus is always > 0.
5178
5179 2008-03-07  Dan Williams  <dcbw@redhat.com>
5180
5181         * src/nm-hal-manager.c
5182                 - (nm_get_device_driver_name): use net.originating_device first, fall
5183                         back to physical device.  HAL has deprecated physical_device.
5184
5185         * libnm-glib/nm-device.c
5186                 - (get_product_and_vendor): use net.originating_device first, fall
5187                         back to physical device.  HAL has deprecated physical_device.
5188                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5189
5190 2008-03-07  Dan Williams  <dcbw@redhat.com>
5191
5192         * src/nm-netlink.c
5193                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5194                         last commit; fix that
5195                 - (get_link_cache): print error string
5196
5197 2008-03-07  Dan Williams  <dcbw@redhat.com>
5198
5199         * src/nm-netlink.c
5200                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5201                         don't need this hack any more (Benoit Boissinot)
5202
5203 2008-03-06  Dan Williams  <dcbw@redhat.com>
5204
5205         * autogen.sh
5206                 - Die gnome-common, die
5207
5208 2008-03-04  Dan Williams  <dcbw@redhat.com>
5209
5210         Patch from Michael Biebl <biebl@debian.org>
5211
5212         * NetworkManager.pc.in
5213                 - doesn't actually depend on dbus-1
5214
5215         * libnm-util/nm-utils.h
5216                 - remove unused #include <dbus/dbus.h>
5217
5218         * libnm-glib/libnm_glib.pc.in
5219                 - depends on glib and dbus-glib
5220
5221 2008-03-02  Dan Williams  <dcbw@redhat.com>
5222
5223         * src/NetworkManagerPolicy.c
5224                 - s/device_state_changed_idle_id/update_state_id/
5225
5226 2008-03-02  Dan Williams  <dcbw@redhat.com>
5227
5228         * src/nm-device.c
5229           src/nm-device.h
5230           src/nm-device-802-11-wireless.c
5231           src/nm-device-802-3-ethernet.c
5232           src/NetworkManagerPolicy.c
5233                 - s/link_active/carrier
5234                 - nm_device_set_active_link() -> nm_device_set_carrier()
5235                 - nm_device_has_active_link() -> nm_device_get_carrier()
5236
5237 2008-03-02  Dan Williams  <dcbw@redhat.com>
5238
5239         * system-settings/plugins/ifcfg-fedora/parser.c
5240                 - (make_wireless_setting): fail connection creation on missing SSID
5241
5242 2008-02-29  Dan Williams  <dcbw@redhat.com>
5243
5244         * src/NetworkManagerPolicy.c
5245                 - (nm_policy_device_change_check): ensure that a previously active
5246                         device with a system connection has a link before denying a switch
5247                         to a user connection
5248
5249 2008-02-29  Dan Williams  <dcbw@redhat.com>
5250
5251         * src/nm-device-802-11-wireless.c
5252                 - (link_timeout_cb): try again if scanning; deactivate the device when
5253                         activated if the link dies
5254                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5255                         15 seconds
5256
5257 2008-02-29  Dan Williams  <dcbw@redhat.com>
5258
5259         * src/nm-device-802-11-wireless.c
5260           src/nm-device-802-11-wireless.h
5261                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5262                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5263                 - (device_cleanup): reset the scan interval lower when the device
5264                         deactivates
5265                 - (can_scan): base decision mostly off device state, not supplicant
5266                         interface state since the supplicant interface state isn't a
5267                         great indicator of whether the device is active or not
5268                 - (request_wireless_scan): clean up; schedule the next scan here
5269                 - (schedule_scan): only back the scan interval off if a new scan
5270                         actually gets scheduled; and make scan intervals tighter when the
5271                         device is disconnected
5272                 - (supplicant_iface_state_cb_handler): fold in the bits of
5273                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5274                         interval to minimum
5275                 - (activation_success_handler): reset scan interval to something
5276                         reasonable 
5277
5278 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5279
5280         reviewed by: Steev <steev@steev.net>
5281
5282         * configure.in:
5283         * src/backends/NetworkManagerGentoo.c:
5284         (nm_system_restart_mdns_responder):
5285                 Howl is no longer a supported mDNS provider
5286
5287 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5288
5289         Get rid of a bunch of unused distro specific functions.
5290
5291 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5292
5293         Implement suse plugin for system settings daemon.
5294
5295         * system-settings/plugins/ifcfg-suse/*: Implement.
5296
5297         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5298         suse.
5299
5300         * configure.in: Check (without failing) for gio.
5301         Create ifcfg-suse plugin's Makefile.
5302
5303 2008-02-20  Dan Williams  <dcbw@redhat.com>
5304
5305         * libnm-util/nm-connection.c
5306           libnm-util/nm-connection.h
5307                 - (nm_connection_compare): accept compare flags and pass them to the
5308                         setting compare function
5309
5310         * libnm-util/nm-setting.c
5311           libnm-util/nm-setting.h
5312                 - (nm_setting_compare): accept compare flags; ignore properties that are
5313                         marked fuzzy
5314
5315         * libnm-util/nm-setting-connection.c
5316           libnm-util/nm-setting-wireless.c
5317           libnm-util/nm-setting-ppp.c
5318           libnm-util/nm-setting-wired.c
5319                 - Mark some setting properties as ignorable when doing a fuzzy compare
5320
5321         * src/nm-device.c
5322                 - (device_activation_precheck): use exact compare
5323
5324 2008-02-20  Dan Williams  <dcbw@redhat.com>
5325
5326         * src/NetworkManagerPolicy.c
5327                 - (nm_policy_device_change_check): get scope off the connection, not
5328                         using the manager helper
5329
5330         * src/nm-manager.c
5331           src/nm-manager.h
5332                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5333                 - (connection_get_settings_cb): set scope and path on connection, not
5334                         using GObject data items
5335                 - (get_connection_for_proxy): don't need to return path, since that
5336                         can be gotten from the connection
5337                 - (get_connection_for_proxy): get path off the connection, not from
5338                         parameters
5339                 - (connection_removed_cb, connection_updated_cb): don't need to get
5340                         path from get_connection_for_proxy(); get scope off the connection
5341                         instead of using GObject data items
5342                 - (connection_added_default_handler, add_one_connection_element): use
5343                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5344                 - (nm_manager_get_connection_dbus_path): remove
5345                 - (nm_manager_get_connection_scope): remove
5346
5347 2008-02-20  Dan Williams  <dcbw@redhat.com>
5348
5349         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5350                 on confusing names
5351
5352         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5353                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5354                 NMExportedConnection
5355
5356         * Internally rename NMConnectionType -> NMConnectionScope
5357
5358         * Provide default implementations of the 'get_id' and 'get_settings' methods
5359                 of NMExportedConnection
5360
5361 2008-02-15  Dan Williams  <dcbw@redhat.com>
5362
5363         * src/nm-device-802-11-wireless.c
5364                 - (device_cleanup): release the AP list here too so that the AP list
5365                         doesn't survive across suspend/resume and up/down.  There is some
5366                         room for optimization, for example blow the list away when the card
5367                         brought back up, but only if the device has only been down for a
5368                         minute or more.
5369
5370 2008-02-15  Dan Williams  <dcbw@redhat.com>
5371
5372         * src/nm-hal-manager.c
5373                 - (modem_device_creator): recognize new HAL modem capabilities
5374
5375 2008-02-12  Dan Williams  <dcbw@redhat.com>
5376
5377         * system-settings/plugins/ifcfg-fedora/plugin.c
5378                 - (watch_path): handle IN_DELETE_SELF too
5379                 - (handle_connection_changed): notify when removing a connection
5380                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5381                         case of a file moving out of the profile directory
5382
5383 2008-02-12  Dan Williams  <dcbw@redhat.com>
5384
5385         * system-settings/plugins/ifcfg-fedora/parser.c
5386                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5387
5388 2008-02-12  Dan Williams  <dcbw@redhat.com>
5389
5390         * libnm-util/nm-utils.c
5391                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5392                         just any empty array
5393
5394 2008-02-12  Dan Williams  <dcbw@redhat.com>
5395
5396         * system-settings/src/nm-system-config-interface.c
5397           system-settings/src/nm-system-config-interface.h
5398                 - (load_connections): get_connections() should now return an allocated
5399                         GSList that the system settings service will free
5400
5401         * system-settings/plugins/ifcfg-fedora/plugin.c
5402           system-settings/plugins/ifcfg-fedora/parser.h
5403           system-settings/plugins/ifcfg-fedora/parser.c
5404                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5405                         in the profile directory, handle resolv.conf file changes
5406
5407 2008-02-10  Dan Williams  <dcbw@redhat.com>
5408
5409         * src/nm-device-802-3-ethernet.c
5410                 - (real_bring_up): save the supplicant interface state signal id
5411                 - (real_bring_down): disconnect from the supplicant interface state
5412                         signal
5413
5414 2008-02-07  Dan Williams  <dcbw@redhat.com>
5415
5416         * initscript/RedHat/NetworkManager.in
5417           initscript/RedHat/NetworkManagerDispatcher.in
5418                 - Add new-style LSB init headers
5419
5420 2008-02-07  Dan Williams  <dcbw@redhat.com>
5421
5422         * system-settings/src/dbus-settings.c
5423           system-settings/src/dbus-settings.h
5424                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5425                         table of secrets
5426                 - (connection_settings_get_secrets): consolidate error returns into
5427                         one place; use the new get_secrets() plugin interface function to
5428                         get secrets from the plugin itself rather than using GObject data
5429                         magic
5430
5431         * system-settings/src/main.c
5432                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5433                    load_connections): keep a private list of the plugin-returned
5434                         connections, don't use the plugin's GSList
5435
5436         * system-settings/plugins/ifcfg-fedora/plugin.c
5437                 - (watch_path): watch the path, not the filename (duh)
5438                 - (reload_all_connections): use the direct hash/equal functions; the
5439                         ones for int aren't appropriate here
5440                 - (get_secrets, system_config_interface_init): implement the
5441                         get_secrets() function
5442                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5443                         now in the connection's ConnectionData instead of being a GObject
5444                         data property
5445                 - (handle_profile_item_changed): ifcfg file path is now in the
5446                         connection's ConnectionData instead of being a GObject data property;
5447                         be sure to copy secrets over from the new connection to the existing
5448                         connection when updating the connection's settings
5449                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5450                         file descriptor
5451
5452         * system-settings/plugins/ifcfg-fedora/parser.c
5453           system-settings/plugins/ifcfg-fedora/parser.h
5454                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5455                    connection_data_copy_secrets, connection_data_free,
5456                    connection_data_add): new functions; connection data manipulation
5457                 - (make_wireless_security_setting): stuff secrets into the
5458                         connection data, not as GObject data items; make sure to close
5459                         the keys ifcfg file
5460                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5461                         connection data to the connection
5462
5463 2008-02-07  Dan Williams  <dcbw@redhat.com>
5464
5465         * system-settings/src/nm-system-config-interface.c
5466           system-settings/src/nm-system-config-interface.h
5467                 - Add a get_secrets() interface function to retrieve secrets for a
5468                         specific setting of a specific connection.  Document the interface
5469                         a bit more too.
5470
5471 2008-02-07  Dan Williams  <dcbw@redhat.com>
5472
5473         * src/nm-device-802-11-wireless.c
5474                 - (handle_auth_or_fail): new function; consolidate device activation
5475                         failure check after a certain number of failures getting secrets
5476                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5477                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5478                         the connection if secrets were requested more than a few times
5479                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5480                         tries here; otherwise they are cleared before the IP configure
5481                         timeout, which happens with open system WEP when key is wrong
5482                 - (activation_success_handler): clear wireless secrets tries here too
5483
5484 2008-02-07  Dan Williams  <dcbw@redhat.com>
5485
5486         * src/NetworkManagerPolicy.c
5487                 - (connection_updated): clear invalid tag when connection gets updated
5488                         to allow that connection to be tried again
5489                 - (nm_policy_new): save signal ids so they can be disconnected when
5490                         the policy is destroyed
5491                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5492                         and disconnect all signals from the manager object so that none
5493                         of the policy functions gets called after the policy is destroyed
5494
5495 2008-02-06  Dan Williams  <dcbw@redhat.com>
5496
5497         * src/nm-manager.c
5498                 - (finalize): remove devices a bit earlier; clean up system settings
5499                         poke
5500                 - (nm_manager_name_owner_changed): clean up system settings poke when
5501                         the service appears, and try to restart it if it fails
5502                 - (poke_system_settings_daemon_cb): try to get the system settings
5503                         service started through D-Bus service activation
5504                 - (initial_get_connections): start the system settings daemon if it's
5505                         not already running
5506
5507 2008-02-05  Dan Williams  <dcbw@redhat.com>
5508
5509         * src/supplicant-manager/nm-supplicant-config.c
5510                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5511                         broadcast networks too
5512
5513 2008-02-04  Dan Williams  <dcbw@redhat.com>
5514
5515         * system-settings/plugins/ifcfg-fedora/parser.c
5516                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5517                         need key_mgmt set too
5518                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5519                         .bak files; ensure that an error is set whenever NULL gets returned
5520
5521 2008-02-04  Dan Williams  <dcbw@redhat.com>
5522
5523         * system-settings/src/Makefile.am
5524                 - Install D-Bus service activation file for the system settings
5525                         service
5526
5527         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5528                 - D-Bus service activation file for system settings service
5529
5530 2008-02-04  Dan Williams  <dcbw@redhat.com>
5531
5532         * system-settings/src/main.c
5533                 - (parse_config_file): parse a config file
5534                 - (main): accept --config option and read plugins from config file
5535
5536 2008-02-04  Dan Williams  <dcbw@redhat.com>
5537
5538         * system-settings/plugins/ifcfg-fedora/plugin.c
5539                 - Change reported name to 'ifcfg-fedora'
5540                 - Use IFCFG_PLUGIN_NAME
5541
5542         * system-settings/plugins/ifcfg-fedora/plugin.c
5543                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5544
5545 2008-02-04  Dan Williams  <dcbw@redhat.com>
5546
5547         * system-settings/plugins/ifcfg-fedora/parser.c
5548                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5549                 - (make_connection_setting): use get_ifcfg_name()
5550                 - (make_wireless_security_setting): handle shadow key files
5551                 - (get_one_wep_key): treat empty string as NULL
5552
5553 2008-02-04  Dan Williams  <dcbw@redhat.com>
5554
5555         * src/supplicant-manager/nm-supplicant-manager.c
5556                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5557                         glib automatically reschedule
5558                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5559                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5560                         the supplicant
5561
5562 2008-02-01  Dan Williams  <dcbw@redhat.com>
5563
5564         * src/NetworkManagerPolicy.c
5565                 - (device_state_changed): schedule a change check when a device gets
5566                         deactivated so something happens if you disconnect GSM/CDMA
5567
5568 2008-01-31  Dan Williams  <dcbw@redhat.com>
5569
5570         * src/nm-device-802-11-wireless.h
5571           src/nm-device-802-11-wireless.c
5572                 - (ap_list_get_ap_by_ssid, is_associated,
5573                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5574                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5575                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5576                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5577                         function
5578
5579 2008-01-30  Dan Williams  <dcbw@redhat.com>
5580
5581         * system-settings/plugins/ifcfg
5582         * system-settings/plugins/ifcfg-fedora
5583                 - Move the ifcfg plugin to ifcfg-fedora
5584
5585 2008-01-24  Dan Williams  <dcbw@redhat.com>
5586
5587         * libnm-glib/nm-device-802-11-wireless.c
5588                 - (get_access_point): move the "/" check here; check for invalid path
5589                         too
5590                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5591                         to get_access_point()
5592                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5593                         to send signals for non-existent access points
5594
5595 2008-01-24  Dan Williams  <dcbw@redhat.com>
5596
5597         * libnm-glib/nm-device-802-11-wireless.c
5598                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5599
5600 2008-01-23  Dan Williams  <dcbw@redhat.com>
5601
5602         * libnm-glib/libnm_glib.c
5603                 - (libnm_glib_init): make thread joinable
5604                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5605
5606 2008-01-23  Dan Williams  <dcbw@redhat.com>
5607
5608         * test/libnm_glib_test.c
5609                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5610                 - (main): set up signal handlers; call libnm_glib_shutdown
5611
5612 2008-01-21  Dan Williams  <dcbw@redhat.com>
5613
5614         * include/NetworkManager.h
5615                 - Add CDMA mobile broadband card device type
5616
5617         * src/nm-hal-manager.c
5618                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5619                         must now be tagged with 'cdma' or 'gsm' capability
5620
5621         * src/nm-cdma-device.c
5622           src/nm-cdma-device.h
5623           src/Makefile.am
5624                 - Add the CDMA mobile broadband card device class
5625
5626         * libnm-util/nm-connection.c
5627                 - (register_default_settings): add NMSettingCdma
5628
5629         * libnm-util/nm-setting-cdma.c
5630           libnm-util/nm-setting-cdma.h
5631           libnm-util/Makefile.am
5632                 - Add the CDMA mobile broadband card setting class
5633
5634         * libnm-glib/nm-cdma-device.c
5635           libnm-glib/nm-cdma-device.h
5636           libnm-glib/Makefile.am
5637                 - Add the CDMA mobile broadband card GLib proxy class
5638
5639         * libnm-glib/nm-client.c
5640                 - (get_device): handle CDMA devices too
5641
5642 2008-01-21  Dan Williams  <dcbw@redhat.com>
5643
5644         * src/ppp-manager/nm-ppp-manager.c
5645                 - (ip4_config_get): set peer address too
5646
5647         * src/ppp-manager/nm-pppd-plugin.c
5648                 - (nm_ip_up): try harder to get the peer's address
5649
5650         * src/NetworkManagerSystem.c
5651                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5652                         address, use that too.  Otherwise, some PPP connections won't work.
5653
5654 2008-01-19  Dan Williams  <dcbw@redhat.com>
5655
5656         * src/NetworkManagerPolicy.c
5657                 - (nm_policy_device_change_check): system connections override user
5658                         connections; don't activate a user connection if there's a currently
5659                         active system connection, and new, better system connections always
5660                         interrupt user connections
5661
5662 2008-01-19  Dan Williams  <dcbw@redhat.com>
5663
5664         * src/nm-manager.h
5665                 - (nm_manager_get_connection_type): new function
5666
5667 2008-01-19  Dan Williams  <dcbw@redhat.com>
5668
5669         * src/nm-device-802-11-wireless.c
5670                 - (real_get_best_connection): collapse find_best_connection() into this
5671                         function
5672
5673 2008-01-19  Dan Williams  <dcbw@redhat.com>
5674
5675         * src/nm-device-802-3-ethernet.c
5676                 - (real_get_best_connection): collapse find_best_connection() into this
5677                         function
5678
5679 2008-01-18  Dan Williams  <dcbw@redhat.com>
5680
5681         * src/nm-device-802-3-ethernet.c
5682                 - (find_best_connection): check MAC address too
5683                 - (real_get_best_connection): let autoconnect=True connections activate
5684                         for devices that don't have carrier detection
5685
5686         * src/nm-device-802-11-wireless.c
5687                 - (find_best_connection): check MAC address too
5688
5689 2008-01-18  Dan Williams  <dcbw@redhat.com>
5690
5691         * system-settings/plugins/ifcfg/parser.c
5692                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5693
5694 2008-01-17  Dan Williams  <dcbw@redhat.com>
5695
5696         * src/nm-device-802-3-ethernet.c
5697                 - (nm_device_802_3_ethernet_carrier_on,
5698                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5699                         carrier events that might come in for devices that don't support
5700                         carrier detect
5701
5702 2008-01-17  Dan Williams  <dcbw@redhat.com>
5703
5704         * src/nm-device-interface.c
5705                 - (nm_device_interface_check_connection_conflicts): need to actually
5706                         get the interface, not cast to the object
5707
5708         * src/nm-device.c
5709                 - (nm_device_check_connection_conflicts): need to get the device class,
5710                         not cast the device to the device class
5711
5712 2008-01-17  Dan Williams  <dcbw@redhat.com>
5713
5714         * src/nm-device-802-11-wireless.c
5715                 - (real_check_connection_conflicts): ignore connections that aren't
5716                         wireless connections
5717
5718 2008-01-17  Dan Williams  <dcbw@redhat.com>
5719
5720         * src/NetworkManagerPolicy.c
5721                 - (nm_policy_device_change_check): clear change check idle here
5722                 - (device_change_check_done): remove
5723                 - (schedule_change_check): simplify
5724
5725 2008-01-17  Dan Williams  <dcbw@redhat.com>
5726
5727         * src/nm-manager.c
5728                 - (check_connection_allowed): take an NMDeviceInterface instead of
5729                         an NMDevice object as an argument
5730                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5731                         check_connection_allowed()
5732
5733 2008-01-13  Dan Williams  <dcbw@redhat.com>
5734
5735         * libnm-glib/nm-device-802-11-wireless.c
5736                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5737
5738 2008-01-12  Dan Williams  <dcbw@redhat.com>
5739
5740         * src/nm-device-802-11-wireless.c
5741                 - (activation_success_handler): if a match was found in the scan list
5742                         and that match is a hidden AP, update that AP's SSID
5743
5744 2008-01-11  Dan Williams  <dcbw@redhat.com>
5745
5746         * src/NetworkManagerAP.c
5747                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5748
5749         * src/nm-device-802-11-wireless.c
5750                 - (get_active_ap): do two passes over the scan list if the caller
5751                         requests that hidden APs get matched too; during the second pass
5752                         when matching hidden APs, ignore the SSID since hidden APs in the
5753                         scan list don't have an SSID yet
5754                 - (periodic_update): move some checks to
5755                         nm_device_802_11_periodic_update() because not all callers need them
5756                 - (nm_device_802_11_periodic_update): move some checks here from
5757                         perodic_update()
5758                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5759                         matching on incoming scan results, because the fake AP's flags
5760                         might be slightly different (yet still compatible) with the incoming
5761                         scan result's flags and they might actually be the same AP; update
5762                         the rate on merged APs too
5763                 - (activation_success_handler): update the frequency of the fake AP
5764                         on successful connection; match hidden APs too since if the
5765                         current AP is fake, there might already be a scan result in the
5766                         scan list for the desired AP, just without it's SSID filled in yet
5767
5768 2008-01-10  Dan Williams  <dcbw@redhat.com>
5769
5770         * src/NetworkManagerAP.c
5771                 - (foreach_property_cb): catch more hidden SSID formats
5772
5773 2008-01-10  Dan Williams  <dcbw@redhat.com>
5774
5775         Fix gnome.org #464215.  Requires the kernel patch titled
5776         "Introduce WEXT scan capabilities" but will handle the patch not being
5777         present, you'll just continue to have problems with hidden SSIDs when
5778         using mac80211-based drivers.
5779
5780         * src/supplicant-manager/nm-supplicant-config.h
5781           src/supplicant-manager/nm-supplicant-config.c
5782                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5783                         whether the driver supports SSID scans or not.  If it does, and if
5784                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5785
5786         * src/nm-device-802-11-wireless.c
5787                 - (constructor): check whether or not the driver supports SSID scans
5788                 - (build_supplicant_config): pass driver SSID scan capability when
5789                         building the wireless bits of the supplicant config
5790
5791 2008-01-09  Dan Williams  <dcbw@redhat.com>
5792
5793         * src/nm-device.c
5794           src/nm-device.h
5795                 - (device_activation_precheck, check_connection_complete): remove this
5796                         virtual function; incomplete connections should be invalid by
5797                         definition, complete-ness should be checked in the setting's
5798                         verify function
5799
5800         * src/nm-serial-device.c
5801           src/nm-gsm-device.c
5802                 - (real_check_connection_complete): remove
5803
5804         * libnm-util/nm-setting-serial.c
5805                 - (verify): new function; ensure there is a PPP setting too
5806
5807         * libnm-util/nm-setting-gsm.c
5808                 - (verify): ensure there is a serial setting too
5809
5810 2008-01-06  Dan Williams  <dcbw@redhat.com>
5811
5812         * src/dhcp-manager/nm-dhcp-manager.c
5813                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5814                         (gnome.org #332953)
5815
5816 2008-01-04  Dan Williams  <dcbw@redhat.com>
5817
5818         * src/named-manager/nm-named-manager.c
5819                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5820                         nameservers if the secondary config doesn't have any
5821                         (gnome.org #346833)
5822
5823 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5824
5825         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5826         with G_PARAM_CONSTRUCT so that they get the default values.
5827
5828         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5829         the monitoring device and prints out the output for now. Or more precicely, doesn't
5830         do absolutely anything right now since the montoring device argument is never set.
5831
5832         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5833         requires it's own knob to turn it on.
5834         (config_fd): Add NMSettingSerial to the arguments list.
5835         (nm_serial_device_open): Ditto.
5836         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5837         (nm_serial_device_get_io_channel): Implement.
5838
5839         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5840         a new reference every time (and forgetting to release it sometimes) is a pain and
5841         it's not like NMManager could work without dbus.
5842         (nm_manager_add_device): Register the added device on dbus here.
5843
5844         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5845         device.
5846
5847         * src/nm-device.c (constructor): Don't export the device here, instead export
5848         it when it's added to the NMManager's device list.
5849
5850 2007-12-31  Dan Williams  <dcbw@redhat.com>
5851
5852         * src/nm-device-interface.c
5853           src/nm-device-interface.h
5854                 - (nm_device_interface_check_connection_conflicts): new function
5855
5856         * src/nm-device.c
5857           src/nm-device.h
5858                 - (nm_device_check_connection_conflicts): new function
5859                 - (device_activation_precheck): don't require subclasses to implement
5860                         check_connection_complete()
5861                 - check_connection() -> check_connection_complete()
5862
5863         * src/nm-device-802-11-wireless.c
5864                 - (real_check_connection): remove; unused
5865                 - (real_check_connection_conflicts): implement, handle lockdown for
5866                         system connections
5867
5868         * src/nm-device-802-3-ethernet.c
5869                 - (real_check_connection): remove; unused
5870
5871         * src/nm-manager.c
5872                 - (check_connection_allowed): new function
5873                 - (nm_manager_activate_device): ensure the connection being requested
5874                         is allowed to be activated
5875
5876         * src/nm-serial-device.c
5877           src/nm-gsm-device.c
5878                 - real_check_connection() -> real_check_connection_complete()
5879
5880 2007-12-27  Dan Williams  <dcbw@redhat.com>
5881
5882         * src/nm-device-interface.c
5883           src/nm-device-interface.h
5884                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5885                         normalize and expand errors
5886                 - (nm_device_interface_init): register errors so they can be marshalled
5887                         through dbus-glib
5888                 - (nm_device_interface_activate): ensure that failure of activation
5889                         returns an error
5890
5891         * src/nm-device.c
5892           src/nm-device.h
5893                 - (device_activation_precheck): implementations of check_connection()
5894                         now take a GError and must fill it in if the check fails.  Return
5895                         more descriptive error if the requested connection is already
5896                         activating
5897                 - (nm_device_activate): actually try to return descriptive errors on
5898                         failures
5899
5900         * src/nm-device-802-11-wireless.c
5901           src/nm-device-802-3-ethernet.c
5902           src/nm-serial-device.c
5903           src/nm-gsm-device.c
5904                 - (real_check_connection): return more descriptive errors on failure
5905
5906         * src/NetworkManagerPolicy.c
5907                 - (nm_policy_device_change_check): print activation errors in the logs
5908
5909         * src/nm-manager.c
5910                 - (nm_manager_error_quark, nm_manager_error_get_type,
5911                    nm_manager_class_init): new errors
5912                 - (nm_manager_activate_device): handle errors
5913                 - (nm_manager_error_new): removed
5914                 - (wait_for_connection_expired, connection_added_default_handler,
5915                    impl_manager_activate_device): better error handling
5916
5917 2007-12-27  Dan Williams  <dcbw@redhat.com>
5918
5919         Fixes gnome.org #466954
5920
5921         * src/supplicant-manager/nm-supplicant-settings-verify.c
5922                 - Allow 'frequency' network property
5923
5924         * src/supplicant-manager/nm-supplicant-config.c
5925           src/supplicant-manager/nm-supplicant-config.h
5926                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5927                         for callers to specify the frequency an Ad-Hoc network should operate
5928                         on.  Some drivers require this to successfully create an Ad-Hoc
5929                         network.
5930
5931         * src/nm-device-802-11-wireless.c
5932                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5933                         guint32 value in MHz
5934                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5935                         iw_freq_to_uint32()
5936                 - (find_supported_frequency): new function; find a free supported
5937                         frequency for a user-created Ad-Hoc network
5938                 - (build_supplicant_config): if no frequency was specified for a user-
5939                         created Ad-Hoc network, find a free one to use
5940                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5941                         a specific object as user-created
5942
5943 2007-12-27  Dan Williams  <dcbw@redhat.com>
5944
5945         * libnm-util/nm-utils.c
5946           libnm-util/nm-utils.h
5947                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5948                         for adhoc networks
5949
5950 2007-12-24  Dan Williams  <dcbw@redhat.com>
5951
5952         * libnm-util/nm-setting-wireless.c
5953                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5954                         185, 187, 188, 192, and 196
5955
5956 2007-12-24  Dan Williams  <dcbw@redhat.com>
5957
5958         * src/nm-device-802-11-wireless.c
5959                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5960                         a channel # instead of a frequency
5961
5962 2007-12-24  Dan Williams  <dcbw@redhat.com>
5963
5964         * src/NetworkManagerAP.c
5965           src/NetworkManagerAP.h
5966                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5967                 - (freq_to_channel): handle split band tables
5968                 - (channel_to_freq): handle split band tables, take a band argument
5969
5970 2007-12-24  Dan Williams  <dcbw@redhat.com>
5971
5972         * libnm-util/nm-setting-connection.h
5973           libnm-util/nm-setting-connection.c
5974                 - Add 'lockdown' member
5975
5976 2007-12-22  Dan Williams  <dcbw@redhat.com>
5977
5978         * libnm-util/nm-setting-wireless.c
5979                 - (nm_setting_wireless_class_init): add missing 'rate' property
5980                         specification
5981
5982 2007-12-18  Dan Williams  <dcbw@redhat.com>
5983
5984         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5985
5986         * src/nm-netlink-monitor.c
5987           src/nm-netlink-monitor.h
5988                 - Remove handrolled netlink, use libnl instead
5989
5990         * src/nm-device-802-3-ethernet.c
5991                 - (constructor, nm_device_802_3_ethernet_carrier_off,
5992                    nm_device_802_3_ethernet_carrier_on): use new names
5993
5994 2007-12-17  Dan Williams  <dcbw@redhat.com>
5995
5996         * configure.in
5997                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5998                         and fixes memory leaks)
5999
6000         * src/nm-netlink.c
6001                 - (nm_netlink_get_default_handle): handle new versions of libnl that
6002                         automatically handle the netlink PID
6003
6004 2007-12-17  Dan Williams  <dcbw@redhat.com>
6005
6006         Patch from Michael Biebl <biebl@debian.org>
6007
6008         * configure.in
6009           src/ppp-manager/Makefile.am
6010                 - fix up install dir of pppd plugin
6011                 - clean up configure.in a bit
6012
6013 2007-12-12  Dan Williams  <dcbw@redhat.com>
6014
6015         * system-settings/src/nm-system-settings.conf
6016                 - Allow non-root clients (like the applet) to read settings
6017
6018 2007-12-10  Tambet Ingo  <tambet@gmail.com>
6019
6020         * Replace all occurences of 'UMTS' with 'GSM'.
6021
6022 2007-12-07  Dan Williams  <dcbw@redhat.com>
6023
6024         * src/nm-serial-device.c
6025                 - (real_is_up): serial devices are always "up"
6026
6027 2007-12-07  Dan Williams  <dcbw@redhat.com>
6028
6029         * src/nm-netlink.c
6030           src/NetworkManagerSystem.c
6031                 - (new_nl_handle): ensure that the same netlink pid is never chosen
6032                         twice (gnome.org #491047)
6033                 - Make more robust against allocation-related failures should they occur
6034
6035 2007-12-07  Dan Williams  <dcbw@redhat.com>
6036
6037         Noticed by Christian Persch <chpe@gnome.org>
6038
6039         Always chain up to parent object in dispose and finalize handlers.
6040                 (gnome.org #433112)
6041
6042 2007-12-07  Dan Williams  <dcbw@redhat.com>
6043
6044         * src/nm-device-802-11-wireless.c
6045                 - Wrap #include of linux/mii.h to fix redefined structures due to
6046                         incorrect kernel headers (gnome.org #350061)
6047
6048 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6049
6050         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6051         before doing anything else.
6052         (init_modem): Move modem initialization here.
6053
6054         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6055         (nm_serial_device_flash): Implement.
6056
6057         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6058         changes signal is "StateChanged" and not "Status".
6059         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6060
6061 2007-12-06  Dan Williams  <dcbw@redhat.com>
6062
6063         * src/supplicant-manager/nm-supplicant-config.c
6064                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6065                         to only send some options when they make sense; also send phase2
6066                         option to the supplicant (possible fix for rh #399631)
6067
6068 2007-12-06  Tambet Ingo  <tambet@gmail.com>
6069
6070         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6071         arguments: This whole file shouldn't really know anything about NMDevices, it
6072         should deal only with device interfaces. Devices might have different ifaces for
6073         different stuff and this place shouldn't know anything about it.
6074
6075         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6076         (global_state_changed): Implement. In the current NM it's not really important,
6077         but will be required in the case of multiple active devices. (Or even better,
6078         if stuff like that gets moved out from NM).
6079
6080         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6081         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6082         instead.
6083
6084         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6085         devices like serial devices (ttyS0 and ppp0 for example).
6086         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6087         set.
6088         (nm_device_set_ip_iface): Implement.
6089         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6090         after setting ip4_config from here ...
6091         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6092         than this function should call nm_system_device_set_from_ip4_config() because no
6093         other code has enough information on which arguments to use. So instead, other code
6094         could just set the new ip4 config using this function and everyone is happy.
6095
6096         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6097         if we happen to get deactivated while something is pending.
6098         (automatic_registration): Handle the response that indicates pending network
6099         registration and wait until the pending registration is done.
6100         (real_deactivate_quickly): If there's a pending operation, cancel it.
6101
6102         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6103         (real_deactivate_quickly): ... and remove it when it's down.
6104         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6105         it if needed.
6106         (nm_serial_device_wait_for_reply): Ditto.
6107
6108 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6109
6110         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6111         (get_network_done): Remove newline, nm_info() does it already.
6112         (real_act_stage1_prepare): Turn the modem echo off.
6113
6114         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6115         device, set the route to the device interface. This is a hack.
6116
6117         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6118         return, no need for a new-line.
6119         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6120         Change the device iface here (ugh).
6121         (real_act_stage4_get_ip4_config): Implement.
6122         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6123         Restore the device iface.
6124
6125         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6126         device is not wired or wireless (eg, automatically upped) device.
6127
6128         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6129         it isn't.
6130         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6131
6132         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6133         before calling it's is_device_fn().
6134
6135 2007-12-05  Dan Williams  <dcbw@redhat.com>
6136
6137         * libnm-util/nm-utils.c
6138                 - (nm_utils_register_value_transformations,
6139                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6140                         GHashTables of GValues too
6141
6142 2007-12-04  Dan Williams  <dcbw@redhat.com>
6143
6144         * initscript/RedHat/NetworkManager.in
6145                 - No longer start named; it's D-Bus interface is going away
6146
6147 2007-12-04  Dan Williams  <dcbw@redhat.com>
6148
6149         Patch from Michael Biebl <biebl@debian.org>
6150
6151         * system-settings/plugins/ifcfg/Makefile.am
6152           system-settings/src/main.c
6153           system-settings/src/Makefile.am
6154                 - Put system settings plugins in NM plugins dir
6155
6156         * src/ppp-manager/Makefile.am
6157           src/ppp-manager/nm-ppp-manager.c
6158                 - Move pppd plugin to NM plugins dir
6159
6160 2007-12-04  Dan Williams  <dcbw@redhat.com>
6161
6162         * libnm-util/nm-setting-vpn-properties.h
6163                 - Clarify usage of the 'data' member of the setting
6164
6165         * libnm-util/nm-setting-vpn-properties.c
6166                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6167                 - (set_property): just remove all the settings; don't recreate the has
6168                 - (update_one_secret): don't need to create the hash table here since
6169                         it should always be present
6170
6171 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6172
6173         Implement PIN and PUK requesting.
6174
6175         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6176         (enter_pin): Handle PIN and PUK requests.
6177         (real_act_stage1_prepare): Clear the secret type.
6178         (real_connection_secrets_updated): Implement this class method to get
6179         notified when new secrets arrive.
6180         (nm_umts_device_class_init): Add private data back to the umts device class
6181         to store the required secret type.
6182
6183 2007-12-01  Dan Williams  <dcbw@redhat.com>
6184
6185         * system-settings/plugins/ifcfg/parser.c
6186                 - (parser_parse_file): don't try to verify NULL connections
6187
6188 2007-12-01  Dan Williams  <dcbw@redhat.com>
6189
6190         * system-settings/src/main.c
6191                 - (load_connections, add_connection_to_settings): actually export
6192                         plugin-provided connections over D-Bus so NM can get them
6193
6194 2007-12-01  Dan Williams  <dcbw@redhat.com>
6195
6196         * system-settings/plugins/ifcfg/parser.c
6197           system-settings/plugins/ifcfg/parser.h
6198           system-settings/plugins/ifcfg/plugin.c
6199                 - Hook up more inotify bits (untested)
6200
6201 2007-11-29  Dan Williams  <dcbw@redhat.com>
6202
6203         * system-settings/src/nm-system-config-interface.h
6204           system-settings/src/nm-system-config-interface.c
6205                 - (nm_system_config_interface_init,
6206                    nm_system_config_interface_get_connections): add
6207
6208         * system-settings/src/main.c
6209                 - (load_plugins, load_connections, main): use a GSList for plugins
6210                         to ensure priority ordering
6211
6212         * system-settings/plugins/ifcfg/parser.c
6213                 - (ifcfg_error_quark): move to plugin.c, and rename
6214
6215         * system-settings/plugins/ifcfg/plugin.h
6216           system-settings/plugins/ifcfg/plugin.c
6217                 - (ifcfg_plugin_error_quark): move here from parser.c
6218                 - rework connection loading and initialization
6219                 - Add preliminary inotify support for network profile config file
6220
6221 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6222
6223         Merge the beginnings of the new GSM card support.
6224
6225         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6226         ppp watch source before killing pppd - If this happens from g_object_unref()
6227         then the ppp manager is already destroyed by the time the watch callback runs.
6228
6229         * src/nm-hal-manager.c: Add a device_type_name string to the device
6230         creators, so that we can print a nice human readable string when a
6231         device is added.
6232
6233         * src/nm-umts-device.c (automatic_registration_get_network): Query
6234         for the activated network, not much is done with the result thought.
6235
6236         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6237         (ppp_ip4_config): Change the device state to activated here for now.
6238         (real_check_connection): Make sure the connection includes ppp setting.
6239
6240         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6241
6242         * libnm-glib/Makefile.am: Add the new files to build.
6243
6244         * libnm-glib/nm-umts-device.c: 
6245         * libnm-glib/nm-umts-device.h: Implement.
6246
6247 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6248
6249         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6250         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6251
6252         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6253         the timeout source - this function is only called when the timeout source has
6254         been removed.
6255         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6256         to be big enough to contain the terminating zero element as well.
6257         The timeout argument is meant to be in seconds now.
6258         (real_deactivate_quickly): Implement.
6259
6260         * src/NetworkManager.conf: Allow root to own 
6261         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6262
6263         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6264         (not unsigned ints).
6265
6266         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6267         small issue with parity bounds - capital letters have lower ascii codes
6268         than lower case letters.
6269
6270         * libnm-util/nm-connection.c (register_default_settings): Register serial
6271         and umts settings.
6272
6273 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6274
6275         Remove the "index" property from devices as not all device types have this.
6276
6277         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6278
6279         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6280         (wired_device_creator): Get the device interface from hal to create the device.
6281         (wireless_device_creator): Ditto.
6282
6283         * src/nm-device.c (nm_device_init): Remove the index member.
6284         (constructor): Remove the checks for index property, make interface property
6285         a require constructor property.
6286         Use the HAL udi for DBus path for devices.
6287         (nm_device_get_index): Remove.
6288         (set_property): Remove index handling.
6289         (get_property): Ditto.
6290         (nm_device_get_dbus_path): Remove.
6291
6292         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6293         property.
6294
6295         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6296         Access the device index through it's interface.
6297         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6298         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6299         index argument. Add interface argument.
6300
6301         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6302         the useless test_dev argument. Remove index argument. Add interface arugment.
6303
6304         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6305         device index through interface.
6306         (nm_system_set_mtu): Ditto.
6307
6308         * introspection/nm-device.xml: Remove the "Index" property.
6309
6310 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6311
6312         * src/nm-serial-device.c: 
6313         * src/nm-serial-device.c: 
6314         * src/nm-umts-device.c:
6315         * src/nm-umts-device.h: Implement.
6316
6317         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6318         allocated by libhal.
6319         (modem_device_creator): Implement.
6320         (register_built_in_creators): Register the modem creator.
6321
6322         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6323         Remove the unused test_dev argument.
6324
6325         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6326
6327         * src/Makefile.am: Add new files to build.
6328         Link in ppp-manager.
6329
6330         * libnm-util/nm-setting-umts.c: 
6331         * libnm-util/nm-setting-umts.h: 
6332         * libnm-util/nm-setting-serial.c: 
6333         * libnm-util/nm-setting-serial.h: Implement.
6334
6335         * libnm-util/Makefile.am: Add new files to build.
6336
6337 2007-11-28  Dan Williams  <dcbw@redhat.com>
6338
6339         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6340
6341         Support DHCP-provided static routes.
6342
6343         * src/nm-ip4-config.h
6344           src/nm-ip4-config.c
6345                 - Add get/set functions for static routes
6346
6347         * src/dhcp-manager/nm-dhcp-manager.c
6348                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6349                         DHCP response
6350
6351         * src/NetworkManagerSystem.c
6352                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6353                         interface when applying the IP4Config
6354
6355 2007-11-28  Dan Williams  <dcbw@redhat.com>
6356
6357         * src/nm-device-802-11-wireless.c
6358                 - (real_act_stage1_prepare): mark APs created for hidden networks
6359                         as non-broadcasting
6360
6361 2007-11-27  Dan Williams  <dcbw@redhat.com>
6362
6363         * system-settings/src/nm-system-config-interface.h
6364                 - Note how to store secrets on NMSetting objects
6365
6366         * system-settings/src/dbus-settings.c
6367                 - (connection_settings_get_secrets): implement
6368
6369 2007-11-27  Dan Williams  <dcbw@redhat.com>
6370
6371         * system-settings/plugins/ifcfg/Makefile.am
6372           system-settings/plugins/ifcfg/parser.c
6373           system-settings/plugins/ifcfg/parser.h
6374           system-settings/plugins/ifcfg/plugin.c
6375                 - Parse wireless connections too
6376
6377         * system-settings/src/dbus-settings.c
6378           system-settings/src/dbus-settings.h
6379           system-settings/src/main.c
6380                 - Handle connection update/removal if the plugin supports it
6381
6382 2007-11-27  Dan Williams  <dcbw@redhat.com>
6383
6384         * src/nm-dbus-manager.h
6385           src/nm-hal-manager.c
6386                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6387                         do it for them
6388
6389         * src/Makefile.am
6390           src/NetworkManagerDbusUtils.c
6391           src/NetworkManagerDbusUtils.h
6392                 - Remove these two source files; they are unused
6393
6394 2007-11-27  Dan Williams  <dcbw@redhat.com>
6395
6396         * src/vpn-manager/nm-vpn-manager.c
6397                 - (impl_vpn_manager_connect): fix system settings check (found by
6398                         James M. Leddy)
6399
6400 2007-11-26  Dan Williams  <dcbw@redhat.com>
6401
6402         * Fix warnings so everything compiles with --enable-more-warnings
6403
6404 2007-11-25  Dan Williams  <dcbw@redhat.com>
6405
6406         * system-settings/*
6407                 - Rework structure and code to use GModule-loaded plugins and a plugin
6408                         interface that plugins export to the system settings service
6409
6410 2007-11-21  Dan Williams  <dcbw@redhat.com>
6411
6412         * system-settings/*
6413                 - Add Soren's system settings service.  Needs work for distros other
6414                         than Fedora; the backends from NM should mostly migrate to here
6415                         and be converted to GObjects
6416
6417 2007-11-21  Dan Williams  <dcbw@redhat.com>
6418
6419         * libnm-util/nm-setting-vpn-properties.c
6420                 - (set_property): must deep-copy the given settings hash, otherwise
6421                         double-free errors occur when the setting is disposed of
6422
6423 2007-11-21  Dan Williams  <dcbw@redhat.com>
6424
6425         * src/vpn-manager/nm-vpn-act-request.h
6426           src/vpn-manager/nm-vpn-act-request.c
6427                 - Remove; unused
6428
6429 2007-11-20  Dan Williams  <dcbw@redhat.com>
6430
6431         * libnm-util/nm-utils.c
6432                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6433                    nm_utils_convert_ip4_addr_struct_array_to_string,
6434                    nm_utils_register_value_transformations): print out the readable
6435                         values of more types of properties of NMSettings subclasses
6436
6437 2007-11-20  Dan Williams  <dcbw@redhat.com>
6438
6439         * libnm-util/nm-setting-ip4-config.c
6440                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6441                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6442                         marshal GValueArrays inside collections, so switch to types that it
6443                         can actually marshal/demarshal
6444
6445 2007-11-16  Dan Williams  <dcbw@redhat.com>
6446
6447         * libnm-util/nm-setting-wireless-security.c
6448                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6449                         minimal verification of EAP methods too
6450                 - (verify): verify phase1 eap methods too
6451
6452 2007-11-15  Dan Williams  <dcbw@redhat.com>
6453
6454         * libnm-glib/nm-device.h
6455           libnm-glib/nm-device.c
6456                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6457                         const char *
6458
6459 2007-11-15  Dan Williams  <dcbw@redhat.com>
6460
6461         * libnm-glib/nm-device.c
6462                 - (get_product_and_vendor): don't try to free things that should be
6463                         freed
6464
6465 2007-11-15  Dan Williams  <dcbw@redhat.com>
6466
6467         * src/NetworkManagerUtils.c
6468                 - (nm_ethernet_address_is_valid): unbreak previous fix
6469
6470 2007-11-15  Dan Williams  <dcbw@redhat.com>
6471
6472         * src/supplicant-manager/nm-supplicant-config.c
6473                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6474                         options
6475
6476 2007-11-15  Dan Williams  <dcbw@redhat.com>
6477
6478         * src/NetworkManagerUtils.c
6479                 - (nm_ethernet_address_is_valid): fix style, clarify
6480                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6481
6482         * src/nm-device-802-11-wireless.c
6483                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6484                 - (nm_device_802_11_wireless_get_ssid,
6485                    nm_device_802_11_wireless_get_bssid,
6486                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6487                         before calling the ioctl; fixes valgrind-reported jump depends on
6488                         uninitialized value errors
6489
6490 2007-11-15  Dan Williams  <dcbw@redhat.com>
6491
6492         * libnm-util/nm-setting.c
6493                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6494                         unecessary to serialize 'name'
6495
6496         * src/nm-activation-request.c
6497                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6498                         the GetSecrets call
6499
6500 2007-11-15  Dan Williams  <dcbw@redhat.com>
6501
6502         * libnm-util/nm-setting-connection.h
6503           libnm-util/nm-setting-connection.c
6504                 - Rename the 'name' property to 'id', because it conflicted with the
6505                         NMSetting superclass' 'name' property.
6506
6507         * libnm-util/nm-setting.c
6508                 - (nm_setting_to_hash): serialize the 'name' property
6509                 - (one_property_cb): ignore 'name' on deserialization of a connection
6510
6511         * src/nm-device-802-11-wireless.c
6512           src/vpn-manager/nm-vpn-connection.c
6513           src/NetworkManagerPolicy.c
6514                 - Fix up for NMSettingConnection 'name'->'id' changes
6515
6516 2007-11-13  Dan Williams  <dcbw@redhat.com>
6517
6518         * libnm-glib/nm-device-802-11-wireless.h
6519           libnm-glib/nm-device-802-11-wireless.c
6520                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6521
6522         * test/nm-tool.c
6523           libnm-glib/libnm-glib-test.c
6524                 - Fixes for above change
6525
6526 2007-11-12  Dan Williams  <dcbw@redhat.com>
6527
6528         * src/supplicant-manager/nm-supplicant-settings-verify.c
6529                 - Allow fragment_size option
6530
6531         * src/supplicant-manager/nm-supplicant-settings-verify.c
6532                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6533                         EAP fragment size than the default to help some TLS connections
6534
6535 2007-11-12  Dan Williams  <dcbw@redhat.com>
6536
6537         Make certs actually work.  The private key is now a secret, and should be
6538         decrypted when requested by NM.  The private key and phase2 private key
6539         passwords are no longer interesting to NM because they should be used by
6540         the settings service to decrypt the private key itself before passing it
6541         to NM, and hence have been removed as fields.
6542
6543         * libnm-util/nm-setting-wireless-security.h
6544           libnm-util/nm-setting-wireless-security.c
6545                 - Remove private-key-passwd and phase2-private-key-passwd from
6546                         properties
6547                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6548                    need_secrets): use property #defines instead strings to keep things
6549                         consistent
6550                 - (need_secrets_tls): if a client certificate is present but no
6551                         private key, request the private key
6552                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6553                         remove private key password stuff, mark private keys as secret
6554
6555         * src/supplicant-manager/nm-supplicant-settings-verify.c
6556                 - Remove private_key_passwd and private_key2_passwd from opt_table
6557
6558 2007-11-09  Dan Williams  <dcbw@redhat.com>
6559
6560         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6561         Since the vpn-properties are managed and known by the VPN daemons themselves,
6562         libnm-util doesn't know what's secret and what's in the setting's 'data'
6563         member.
6564
6565         * libnm-util/nm-setting.h
6566           libnm-util/nm-setting.c
6567                 - Add the ability for subclasses to override update_one_secret
6568
6569         * libnm-util/nm-setting-vpn-properties.c
6570                 - Override update_one_secret and just copy the values into the
6571                         internal table
6572
6573 2007-11-09  Dan Williams  <dcbw@redhat.com>
6574
6575         * libnm-glib/nm-settings.h
6576           libnm-glib/nm-settings.c
6577                 - (nm_settings_new_error): remove
6578                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6579                         clients should use g_set_error() with NM_SETTINGS_ERROR
6580
6581 2007-11-09  Dan Williams  <dcbw@redhat.com>
6582
6583         * src/supplicant-manager/nm-supplicant-config.c
6584                 - (nm_supplicant_config_add_setting_wireless_security): private key
6585                         passwords are never sent to wpa_supplicant, because the supplicant
6586                         should never be reading random files from the disk.  Clients like
6587                         the applet are required to decrypt the private keys and send NM
6588                         the decrypted blobs.
6589
6590 2007-11-08  Dan Williams  <dcbw@redhat.com>
6591
6592         * libnm-util/nm-setting-wireless-security.h
6593           libnm-util/nm-setting-wireless-security.c
6594                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6595                         members to 802-11-wireless-security structure.  This should be used
6596                         to indicate that the values in private-key and phase2-private-key
6597                         are already decrypted by the user agent, and that no
6598                         private-key-passwd or phase2-private-key-passwd should be expected.
6599                         It is not meant to be a stored configuration value, but meant to
6600                         be set when the conneciton is sent to NM over dbus.
6601
6602 2007-11-08  Dan Williams  <dcbw@redhat.com>
6603
6604         * libnm-util/nm-connection.h
6605           libnm-util/nm-connection.c
6606                 - (nm_connection_need_secrets): add argument to return hints
6607
6608         * src/nm-device-802-11-wireless.c
6609                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6610                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6611                         nm_connection_need_secrets() change
6612
6613 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6614
6615         Rework NMSetting structures: Move each setting to it's own file.
6616         Convert to GObject. Remove home grown setting types and use GTypes.
6617         Use GObject property introspection for hash conversion, enumerating
6618         properties, etc.
6619
6620         * libnm-util/nm-setting-connection.[ch]
6621         * libnm-util/nm-setting-ip4-config.[ch]
6622         * libnm-util/nm-setting-ppp.[ch]
6623         * libnm-util/nm-setting-vpn.[ch]
6624         * libnm-util/nm-setting-vpn-properties.[ch]
6625         * libnm-util/nm-setting-wired.[ch]
6626         * libnm-util/nm-setting-wireless.[ch]
6627         * libnm-util/nm-setting-wireless-security.[ch]
6628
6629         New files, each containing a setting.
6630
6631         * libnm-util/nm-setting-template.[ch]: A template for creating new
6632         settings. To use it, just replace 'template' with the new setting
6633         name, and you're half-way done.
6634
6635         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6636         introspection instead of internal types and tables.
6637
6638         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6639
6640         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6641         GValue types defined by dbus-glib for composed types like collections,
6642         structures and maps.
6643
6644         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6645         a setting from connection takes the setting type now. Also, since
6646         the settings are in multiple files, include relevant settings.
6647
6648 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6649
6650         * configure.in:
6651         * src/backends/NetworkManagerGentoo.c:
6652         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6653         providers in Gentoo.
6654
6655 2007-10-31  Dan Williams  <dcbw@redhat.com>
6656
6657         * libnm-util/nm-connection.c
6658                 - (gvalue_to_string): handle UINT32 arrays
6659
6660 2007-10-31  Dan Williams  <dcbw@redhat.com>
6661
6662         * libnm-glib/nm-device.h
6663           libnm-glib/nm-device.c
6664                 - (nm_device_get_description): remove
6665                 - (nm_device_get_product, nm_device_get_vendor): add
6666                 - (nm_device_update_description): new function (private); walk HAL
6667                         devices to get product and vendor IDs for a specific device
6668
6669 2007-10-31  Dan Williams  <dcbw@redhat.com>
6670
6671         * src/nm-device-802-11-wireless.c
6672                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6673
6674 2007-10-29  Dan Williams  <dcbw@redhat.com>
6675
6676         * src/nm-hal-manager.c
6677                 - (device_added, device_new_capability): ignore device additions while
6678                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6679                         kernel module is unloaded and reloaded and recognized by NM again.
6680
6681 2007-10-26  Dan Williams  <dcbw@redhat.com>
6682
6683         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6684
6685         * src/NetworkManagerAP.c
6686           src/NetworkManagerAP.h
6687           libnm-glib/nm-access-point.c
6688           libnm-glib/nm-access-point.h
6689                 - Make 'rate' property a guint32 to better match with WEXT and
6690                         wpa_supplicant and to allow representation of higher bitrates
6691
6692         * src/nm-device-802-11-wireless.c
6693           introspection/nm-device-802-11-wireless.xml
6694           libnm-glib/nm-device-802-11-wireless.c
6695           libnm-glib/nm-device-802-11-wireless.h
6696                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6697
6698         * src/nm-device-802-3-ethernet.c
6699           src/nm-device-802-3-ethernet.h
6700           introspection/nm-device-802-3-ethernet.xml
6701           libnm-glib/nm-device-802-3-ethernet.c
6702           libnm-glib/nm-device-802-3-ethernet.h
6703                 - Make 'speed' property a guint32 to match other speed/rate types
6704                 - Make nm_device_802_3_ethernet_get_speed() static
6705
6706         * test/nm-tool.c
6707                 - Update for the changes above
6708
6709 2007-10-26  Dan Williams  <dcbw@redhat.com>
6710
6711         * src/named-manager/nm-named-manager.c
6712                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6713                     not calling fclose() twice on some error conditions
6714
6715 2007-10-26  Dan Williams  <dcbw@redhat.com>
6716
6717         * src/nm-activation-request.c
6718                 - (dispose): clean up indentation; get the right DBusGProxy object to
6719                         cancel the GetSecrets pending call on.  Need to use the Secrets
6720                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6721                         pending call doesn't get canceled, and pressing Cancel in the
6722                         applet's password dialog could cause get_secrets_cb() to be called
6723                         after the activation request has already been destroyed
6724
6725 2007-10-24  Dan Williams  <dcbw@redhat.com>
6726
6727         * src/supplicant-manager/nm-supplicant-config.c
6728                 - (nm_supplicant_config_add_blob): pass blob data and length for
6729                         verification
6730                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6731
6732 2007-10-24  Dan Williams  <dcbw@redhat.com>
6733
6734         * src/supplicant-manager/nm-supplicant-settings-verify.c
6735                 - (opt_table): max length for certificates should be 65536
6736
6737 2007-10-24  Dan Williams  <dcbw@redhat.com>
6738
6739         * src/supplicant-manager/nm-supplicant-interface.c
6740                 - (blob_free): correctly free blob data after use
6741                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6742
6743 2007-10-24  Dan Williams  <dcbw@redhat.com>
6744
6745         * libnm-util/nm-setting.c
6746                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6747                         EAP method need secrets
6748
6749 2007-10-24  Dan Williams  <dcbw@redhat.com>
6750
6751         * src/backends/NetworkManagerRedHat.c
6752                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6753
6754 2007-10-23  Dan Williams  <dcbw@redhat.com>
6755
6756         * libnm-util/nm-setting.c
6757           libnm-util/nm-setting.c
6758                 - (nm_setting_compare): implement
6759                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6760                    compare_one_hash_gvalue): compare the contents of a setting
6761
6762         * libnm-util/nm-connection.c
6763                 - (nm_connection_compare): implement
6764
6765 2007-10-23  Dan Williams  <dcbw@redhat.com>
6766
6767         * src/nm-activation-request.c
6768                 - (get_secrets_cb): handle getting a setting back that is more than
6769                         just secrets (ie, user changed auth or EAP method or something)
6770
6771 2007-10-23  Dan Williams  <dcbw@redhat.com>
6772
6773         * libnm-util/nm-setting.c
6774           libnm-util/nm-setting.h
6775                 - (nm_setting_verify): new function; verify one setting
6776                 - (nm_settings_verify_all): rename from nm_settings_verify()
6777                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6778                         all_settings
6779
6780         * libnm-util/nm-connection.c
6781                 - (nm_connection_replace_settings, nm_connection_verify,
6782                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6783
6784 2007-10-23  Dan Williams  <dcbw@redhat.com>
6785
6786         * src/nm-device-802-11-wireless.c
6787                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6788                         desired behavior
6789
6790 2007-10-23  Dan Williams  <dcbw@redhat.com>
6791
6792         * src/supplicant-manager/nm-supplicant-settings-verify.c
6793                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6794                         nm-settings.c
6795
6796 2007-10-23  Dan Williams  <dcbw@redhat.com>
6797
6798         * src/nm-device-802-11-wireless.c
6799                 - (real_act_stage2_config): after the first association failure,
6800                         if the connection still needs secrets ask the user for them
6801                         explicitly.  After the fourth association failure due to bad
6802                         secrets, fail the connection entirely.  Handles the GetSecrets
6803                         loop that NM gets into when the provided secrets don't match up
6804                         with the connection details.
6805
6806 2007-10-23  Dan Williams  <dcbw@redhat.com>
6807
6808         * src/supplicant-manager/nm-supplicant-config.c
6809                 - (nm_supplicant_config_add_setting_wireless_security): only add
6810                         WPA-specific options when WPA is in use
6811
6812 2007-10-23  Dan Williams  <dcbw@redhat.com>
6813
6814         * src/supplicant-manager/nm-supplicant-config.c
6815                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6816                         secret doesn't need to be unhexified
6817
6818 2007-10-23  Dan Williams  <dcbw@redhat.com>
6819
6820         * libnm-util/nm-setting.c
6821                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6822                         before trying to do something with it
6823
6824 2007-10-23  Dan Williams  <dcbw@redhat.com>
6825
6826         * src/nm-device-802-11-wireless.c
6827                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6828
6829 2007-10-23  Dan Williams  <dcbw@redhat.com>
6830
6831         * src/nm-device-802-11-wireless.c
6832                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6833                         non-SSID-broadcasting APs
6834
6835 2007-10-23  Dan Williams  <dcbw@redhat.com>
6836
6837         * src/NetworkManagerAP.c
6838                 - (match_cipher, security_compatible): remove
6839                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6840                         libnm-util instead
6841
6842 2007-10-23  Dan Williams  <dcbw@redhat.com>
6843
6844         * libnm-util/nm-utils.c
6845           libnm-util/nm-utils.h
6846                 - (nm_utils_ap_security_compatible): common function for checking
6847                         whether a specific AP is compatible with an NMConnection
6848
6849 2007-10-23  Dan Williams  <dcbw@redhat.com>
6850
6851         * libnm-util/nm-setting.c
6852                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6853                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6854                    need_secrets_password, setting_wireless_security_verify): fix
6855                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6856                         secrets logic for each supported EAP method
6857
6858 2007-10-23  Dan Williams  <dcbw@redhat.com>
6859
6860         * src/supplicant-manager/nm-supplicant-config.c
6861                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6862                         config option name, should be "private_key2_passwd"
6863
6864 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6865
6866         Implement support for static IP addresses, additional/overridden DNS and
6867         DNS domain search lists.
6868
6869         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6870         (ip4_addresses_to_gvalue): Implement.
6871         (convert_array_to_byte_array): Implement.
6872         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6873         NM_S_TYPE_IP4_ADDRESSES.
6874         (nm_setting_hash): Ditto.
6875         (default_setting_clear_secrets): Add a default case for the switch: IP address
6876         shouldn't be secret, ever.
6877         (setting_ip4_config_verify): Update, requires addresses in case of manual
6878         configurations.
6879         (setting_ip4_config_destroy): Free stuff.
6880
6881         * src/nm-device.c (merge_ip4_config): Implement.
6882         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6883
6884 2007-10-22  Dan Williams  <dcbw@redhat.com>
6885
6886         * libnm-util/nm-setting.c
6887                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6888                         pairwise cipher options for Dynamic WEP
6889
6890 2007-10-21  Dan Williams  <dcbw@redhat.com>
6891
6892         * src/NetworkManagerAP.c
6893           src/NetworkManagerAP.h
6894                 - Rename 'articifical' -> 'fake' since that's what they are until
6895                         noticed in scans
6896                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6897                         from the attributes in an NMConnection object
6898                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6899                         WPA Enterprise
6900                 - (nm_ap_match_in_list): find a matching AP in a scan list
6901
6902         * src/nm-device-802-11-wireless.c
6903                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6904                         AP when searching the scan list; match on frequency and mode too
6905                 - (nm_device_802_11_wireless_get_frequency): implement
6906                 - (merge_scanned_ap): replace duplicate matching logic with
6907                         nm_ap_match_in_list()
6908                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6909                         the user is trying to connect to a hidden network that is not yet
6910                         known from the scan list
6911                 - (activation_success_handler): now that the card knows the AP's BSSID,
6912                         there may already be a scanned AP in the scan list that is what
6913                         we really wanted to connect to, but didn't know at the time.  Use
6914                         that instead of the 'fake' AP created at activation start and get
6915                         rid of the 'fake' AP 
6916                 - (cull_scan_list): don't remove fake APs
6917
6918 2007-10-21  Dan Williams  <dcbw@redhat.com>
6919
6920         * src/nm-activation-request.h
6921           src/nm-activation-request.c
6922                 - (nm_act_request_set_specific_object): new function; allow setting the
6923                         specific object if one isn't set yet
6924
6925 2007-10-20  Dan Williams  <dcbw@redhat.com>
6926
6927         * src/supplicant-manager/nm-supplicant-config.h
6928           src/supplicant-manager/nm-supplicant-config.c
6929                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6930                         table to store blobs
6931                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6932                         blob hash table
6933                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6934                 - (nm_supplicant_config_add_setting_wireless_security): handle
6935                         options that use certificates (ie, blobs)
6936
6937         * src/nm-device-802-11-wireless.c
6938                 - (build_supplicant_config): pass a UID (just use the connection path)
6939                         to the supplicant config as now required
6940
6941         * src/supplicant-manager/nm-supplicant-interface.c
6942                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6943                         there are any blobs to send to wpa_supplicant, send those first
6944                         before sending the network configuration
6945
6946 2007-10-19  Dan Williams  <dcbw@redhat.com>
6947
6948         Split the GetSecrets() call off to a separate D-Bus interface so that it
6949         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6950         should be able to call GetSecrets().
6951
6952         * include/NetworkManager.h
6953                 - Define the connection secrets D-Bus interface
6954
6955         * src/vpn-manager/nm-vpn-connection.c
6956                 - (clear_need_auth): get the right proxy object for the connection
6957                         secrets interface
6958                 - (get_connection_secrets): use the connection secrets proxy; send
6959                         empty hints in get secrets request
6960
6961         * src/nm-activation-request.c
6962                 - (nm_act_request_request_connection_secrets): use the connection
6963                         secrets proxy; send empty hints in get secrets request
6964
6965         * src/nm-manager.c
6966           src/nm-manager.h
6967                 - (connection_get_settings_cb): set the connection secrets proxy on
6968                         the connection object too
6969                 - (internal_new_connection_cb): create the connection secrets proxy
6970
6971         * introspection/nm-settings-connection.xml
6972                 - Define Connection.Secrets interface and move GetSecrets there
6973                 - Add a 'hints' argument to GetSecrets
6974
6975         * libnm-glib/nm-settings.c
6976           libnm-glib/nm-settings.h
6977                 - (impl_connection_settings_get_secrets): add 'hints' argument
6978
6979 2007-10-19  Dan Williams  <dcbw@redhat.com>
6980
6981         * src/nm-device.c
6982                 - (constructor): add message about what path a device is exported as
6983                         to help in debugging rh #339011
6984
6985 2007-10-17  Dan Williams  <dcbw@redhat.com>
6986
6987         * libnm-util/nm-utils.h
6988           libnm-util/nm-utils.c
6989                 - (nm_utils_security_valid): common function to help find the intersection
6990                         of capabilities of devices and (optionally) access points
6991
6992 2007-10-17  Dan Williams  <dcbw@redhat.com>
6993
6994         * src/nm-device-802-11-wireless.c
6995                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6996                         don't get erroneously cleared
6997
6998 2007-10-17  Dan Williams  <dcbw@redhat.com>
6999
7000         * src/nm-manager.h
7001           src/nm-manager.c
7002           src/nm-hal-manager.c
7003                 - (device_removed, finalize, nm_manager_remove_device,
7004                    nm_manager_sleep): add a 'deactivate' argument to 
7005                    nm_manager_remove_device() to fully deactivate devices when necessary
7006                    (ie, always except when waking up)
7007
7008 2007-10-16  Dan Williams  <dcbw@redhat.com>
7009
7010         * libnm-util/nm-setting.c
7011                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7012                         also isn't valid phase2 autheap method
7013
7014 2007-10-16  Dan Williams  <dcbw@redhat.com>
7015
7016         * libnm-glib/nm-client.c
7017                 - (update_wireless_status): consolidate updates of wireless status
7018                 - (constructor): use update_wireless_status()
7019                 - (manager_running): set wireless status off when NM goes away; requery
7020                         the wireless status when NM comes back
7021
7022 2007-10-16  Dan Williams  <dcbw@redhat.com>
7023
7024         * libnm-glib/nm-client.c
7025                 - (nm_client_activate_device): actually use the fixed-up specific
7026                         object path
7027
7028 2007-10-16  Dan Williams  <dcbw@redhat.com>
7029
7030         * src/nm-hal-manager.c
7031                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7032                         killswitch error messages once
7033
7034 2007-10-16  Dan Williams  <dcbw@redhat.com>
7035
7036         * src/nm-manager.c
7037                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7038                         if it's disabled in hardware; don't touch network devices while
7039                         NM is asleep
7040
7041 2007-10-16  Dan Williams  <dcbw@redhat.com>
7042
7043         * libnm-util/nm-client.c
7044                 - (nm_client_activate_device): convert NULL specific_object to "/",
7045                         which is used in place of NULL
7046
7047         * src/nm-manager.c
7048                 - (impl_manager_activate_device): convert "/" specific_object back into
7049                         NULL
7050
7051 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7052
7053         Implement a generic NMSetting creator from setting name.
7054         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7055         add a virtual function 'populate_fn'.
7056
7057         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7058         (register_default_creators): Register setting creators instead of functions
7059         that create and then populate.
7060         (parse_one_setting): Use the common setting creator and then setting specific
7061         poplulation function.
7062
7063         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7064         they all looked exactly the same.
7065         Add a 'populate_fn' virtual function to NMSetting.
7066         Use default virtual functions in case they are not overriden.
7067         (nm_setting_populate_from_hash): Implement.
7068
7069         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7070         name, use a defined string.
7071         (real_act_stage4_get_ip4_config): Ditto.
7072
7073 2007-10-16  Tambet Ingo  <tambet@gmail.com>
7074
7075         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7076         HAL is int, not uint.
7077
7078 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7079
7080         Implement killswitch polling through HAL.
7081
7082         * src/nm-manager.c: Add wireless hardware status property. Add 
7083         'properties-changed' signal for changes in wireless and wireless hardware
7084         state changes.
7085
7086         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7087         and update NMManager's wireless hardware state when it has changed.
7088         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7089         already does that.
7090
7091         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7092         values of wireless state and wireless hardware state. Listen for the
7093         'properties-changed' signals, update the cached values and emit notify.
7094
7095         * include/NetworkManager.h: Fix a typo in a comment.
7096
7097 2007-10-14  Dan Williams  <dcbw@redhat.com>
7098
7099         * libnm-util/nm-setting.c
7100                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7101
7102 2007-10-13  Dan Williams  <dcbw@redhat.com>
7103
7104         * libnm-util/nm-setting.h
7105           libnm-util/nm-setting.c
7106           src/supplicant-manager/nm-supplicant-config.c
7107                 - Make the 'proto' field of the 802-11-wireless-security field a
7108                         string list
7109
7110 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7111
7112         Rework the "properties-changed" signal listening implementation.
7113         Add a generic implementation to NMObject class that listens for
7114         the signal and calls property setters of the target NMObject.
7115
7116         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7117
7118         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7119         code to the end of file so that all the static functions are available
7120         without extra declarations.
7121         Remove the "properties-changed" signal handling and use the framework from
7122         NMObject.
7123         Implement property setters for properties that change with 
7124         "properties-changed" signal.
7125
7126         * libnm-glib/nm-access-point.c: Ditto.
7127
7128 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7129
7130         Rework the "properties-changed" signal implementation.
7131         In classes that need to use it, just emit "GObject::notify" and the new
7132         framework takes care of the rest to make the signal available on dbus.
7133         The framework queues the notifications and tries to send as many together
7134         in one signal as possible.
7135
7136         * src/nm-properties-changed-signal.c:
7137         * src/nm-properties-changed-signal.h: Implement.
7138
7139         * src/Makefile.am: Add new files to build.
7140
7141         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7142         signal.
7143
7144         * src/nm-device-802-11-wireless.c: Ditto.
7145
7146 2007-10-10  Dan Williams  <dcbw@redhat.com>
7147
7148         * src/nm-manager.c
7149                 - (wait_for_connection_expired): ensure info is valid
7150                 - (connection_added_default_handler): Should only remove pending
7151                         connection info when the manager has the connection that it's
7152                         waiting for.  Fixes segfault in wait_for_connection_info().  
7153
7154 2007-10-10  Dan Williams  <dcbw@redhat.com>
7155
7156         * libnm-util/nm-setting.c
7157           libnm-util/nm-setting.h
7158                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7159                         can use if they choose.  Should be filled in by the settings service
7160                         on-the-fly with the currently logged in user's username
7161
7162 2007-10-10  Dan Williams  <dcbw@redhat.com>
7163
7164         * src/nm-device-802-11-wireless.c
7165                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7166                         as such, because even if the manager fills in the SSID, NM still
7167                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7168                         its SSID
7169
7170 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7171
7172         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7173         code that used NM's own version of dbus signal handling and custom dictionary
7174         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7175         and we get to maintain over 2000 lines less code.
7176
7177         * libnm-util/dbus-dict-helpers.c:
7178         * libnm-util/dbus-dict-helpers.h: Remove.
7179
7180         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7181
7182         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7183
7184         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7185         handlers.
7186
7187         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7188
7189         * configure.in: Remove test/libnm-util/Makefile creation.
7190
7191         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7192
7193         * test/libnm-util/: Remove the whole directory.
7194
7195 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7196
7197         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7198         device_state_changed_idle_id variable or it would contain some random value and the
7199         schedule_change_check calls would not do anything.
7200
7201 2007-10-09  Dan Williams  <dcbw@redhat.com>
7202
7203         * src/nm-device-802-11-wireless.c
7204                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7205                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7206                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7207                         merging of non-SSID-broadcasting APs
7208
7209 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7210
7211         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7212         "guint8 *" since it's usually used with GByteArray->data.
7213         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7214
7215 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7216
7217         * src/NetworkManagerUtils.c
7218         (nm_utils_is_empty_ssid):
7219         (nm_utils_escape_ssid):
7220         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7221         lot of places, so they belong to libnm-utils instead.
7222
7223         Now with 100% less compiler warnings:
7224
7225         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7226         (nm_dbus_unescape_object_path): Ditto.
7227         (nm_utils_ssid_to_utf8): Ditto.
7228         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7229         (nm_utils_escape_ssid): Ditto.
7230         (nm_utils_same_ssid): Ditto.
7231
7232         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7233         (add_one_connection_element): Remove an unused variable.
7234         (impl_manager_get_active_connections): Ditto.
7235
7236         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7237         variable.
7238
7239         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7240         from the previous commit.
7241
7242         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7243         (real_act_stage1_prepare): Ditto.
7244         (activation_success_handler): Ditto.
7245         (get_property): Ditto.
7246
7247         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7248         variable.
7249
7250         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7251         it's always set.
7252
7253         * src/supplicant-manager/nm-supplicant-config.c 
7254         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7255         to expected "char *".
7256         (nm_supplicant_config_add_setting_wireless): Ditto.
7257         (nm_supplicant_config_remove_option): Remove, not used.
7258
7259         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7260         not double.
7261         (test_wireless_enabled): Ifdef out unused function.
7262         (device_deactivate): Ditto.
7263         (device_state_changed): Ditto.
7264         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7265         (nm_utils_escape_ssid): Ditto.
7266
7267         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7268         (nm_utils_is_empty_ssid): Ditto.
7269
7270         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7271         unused variable.
7272
7273         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7274         (setting_vpn_properties_update_secrets): Ditto.
7275         (int_to_gvalue): Ifdef out for now, not used.
7276         (byte_to_gvalue): Ditto.
7277
7278         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7279         Unused, remove.
7280
7281 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7282
7283         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7284         about dbus manager, not named manager.
7285         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7286
7287         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7288         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7289         However, the same signal is emitted when we destroy it and there's 
7290         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7291
7292         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7293         releasing the DBusGConnection, since proxy needs a conneciton.
7294         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7295
7296 2007-10-08  Dan Williams  <dcbw@redhat.com>
7297
7298         * src/NetworkManager.c
7299                 - (main): error on unknown command-line options
7300
7301 2007-10-08  Dan Williams  <dcbw@redhat.com>
7302
7303         Reimplement the invalid connection list.  Don't try to re-activate a
7304         connection that just failed or was canceled.
7305
7306         * src/nm-device.c
7307                 - (connection_secrets_failed_cb): fail device activation, don't just
7308                         deactivate the device.  Listeners have to know about the failure.
7309
7310         * src/NetworkManagerPolicy.c
7311                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7312                         the connection list given to a device's get_best_connection()
7313                         method
7314                 - (device_state_changed): tag failed connections as invalid; clear the
7315                         tag from successful connections
7316
7317 2007-10-08  Dan Williams  <dcbw@redhat.com>
7318
7319         Fix problems with interrupted activation.  Previously, choosing an AP
7320         from the menu, then choosing another one before the first connection was
7321         successful wouldn't deactivate the device before starting the new connection
7322         on that same device.
7323
7324         * src/NetworkManagerPolicy.c
7325                 - (deactivate_old_device, device_state_changed, state_changed,
7326                    nm_policy_new): wrong place to deactivate old devices
7327
7328         * src/nm-manager.c
7329                 - (pending_connection_info_destroy, finalize,
7330                    wait_for_connection_expired): decouple destruction of the pending
7331                         connection info from the manager device
7332                 - (connection_added_default_handler): deactivate any active or
7333                         activating device before starting a new activation
7334                 - (impl_manager_activate_device): deactivate any active or activating
7335                         device before starting a new activation; be sure not to leak
7336                         pending connection info if a new activation request arrives but
7337                         there's already a pending one in-process
7338
7339 2007-10-08  Dan Williams  <dcbw@redhat.com>
7340
7341         * src/NetworkManagerAP.h
7342           src/NetworkManagerAP.c
7343                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7344                         should handle default SSIDs and whether or not to autoconnect
7345                         to them
7346
7347 2007-10-08  Dan Williams  <dcbw@redhat.com>
7348
7349         * src/NetworkManagerPolicy.c
7350                 - (nm_policy_device_change_check): print out connection name where
7351                         possible
7352
7353 2007-10-08  Dan Williams  <dcbw@redhat.com>
7354
7355         * src/nm-device-802-11-wireless.c
7356           src/nm-device-802-11-wireless.h
7357                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7358                         'hidden-ap-found' signal (for internal use only) that allows the
7359                         NMManager to fill in the AP's SSID if a connection has that AP's
7360                         BSSID in its seen-bssids list
7361
7362         * src/nm-manager.c
7363                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7364                         wireless device's hidden-ap-found signal and fill in the APs SSID
7365                         if possible
7366
7367 2007-10-07  Dan Williams  <dcbw@redhat.com>
7368
7369         * src/nm-manager.c
7370           src/nm-manager.h
7371                 - Add a 'connections-added' signal to batch together updates of large
7372                         numbers of connections, like when reading from a settings service
7373                         the first time.  Otherwise, the policy would just activate the first
7374                         suitable connection it saw rather than waiting for the full list
7375                         to arrive.
7376                 - (nm_manager_class_init): register new signal
7377                 - (get_type_for_proxy, connection_get_settings_cb,
7378                    get_connection_for_proxy): centralize places where a proxy's setting
7379                         service is determined
7380                 - (free_get_settings_info): if the call being freed is the last call
7381                         in a pending call group, fire off the connections-added signal
7382                 - (internal_new_connection_cb): add call to a pending call group if
7383                         requested
7384                 - (list_connections_cb): always create a call group here, because this
7385                         call results in a batch of new connections
7386                 - (initial_get_connections): start getting system connections first
7387                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7388                         removed signal when destroying connections
7389
7390         * src/NetworkManagerPolicy.c
7391                 - (nm_policy_new, connections_added): handle connections-added signal
7392                         from the manager
7393
7394 2007-10-06  Dan Williams  <dcbw@redhat.com>
7395
7396         * src/nm-device-802-11-wireless.c
7397                 - (constructor): fix leaked socket
7398
7399 2007-10-06  Dan Williams  <dcbw@redhat.com>
7400
7401         * src/NetworkManagerPolicy.c
7402                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7403                         connection in the list returned by nm_manager_get_connections() is
7404                         reffed, but they weren't getting unreffed before returning
7405
7406 2007-10-06  Dan Williams  <dcbw@redhat.com>
7407
7408         * src/nm-manager.c
7409                 - (connections_to_slist): sort connections first on autoconnect, then
7410                         on timestamp
7411
7412 2007-10-06  Dan Williams  <dcbw@redhat.com>
7413
7414         * libnm-util/nm-connection.c
7415                 - (gvalue_to_string): handle UINT64
7416
7417 2007-10-06  Dan Williams  <dcbw@redhat.com>
7418
7419         * src/NetworkManagerPolicy.c
7420                 - (connection_updated, nm_policy_new): recheck state when a connection
7421                         gets updated
7422
7423 2007-10-06  Dan Williams  <dcbw@redhat.com>
7424
7425         * src/nm-manager.c
7426           src/nm-manager.h
7427                 - (nm_manager_get_connection_dbus_path): make static
7428                 - (nm_manager_update_connections): remove; unused
7429                 - Add a connection-updated signal
7430                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7431                         handle connection object updates
7432
7433 2007-10-06  Dan Williams  <dcbw@redhat.com>
7434
7435         * src/NetworkManagerPolicy.c
7436                 - (connection_removed): deactivate removed connections
7437
7438 2007-10-06  Dan Williams  <dcbw@redhat.com>
7439
7440         * libnm-util/nm-connection.c
7441           libnm-util/nm-connection.h
7442                 - (nm_connection_replace_settings): new function
7443
7444 2007-10-06  Dan Williams  <dcbw@redhat.com>
7445
7446         * libnm-glib/nm-device-802-11-wireless.c
7447                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7448                         on error when getting the active access point over D-Bus from NM
7449
7450 2007-10-05  Dan Williams  <dcbw@redhat.com>
7451
7452         * libnm-util/nm-setting.c
7453                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7454                         to the NMSettingWireless table; it's now a string array not an array
7455                         of byte arrays
7456
7457 2007-10-05  Dan Williams  <dcbw@redhat.com>
7458
7459         * libnm-glib/nm-device-802-11-wireless.c
7460                 - Cache properties and update cached properties on D-Bus signals from NM
7461
7462 2007-10-05  Dan Williams  <dcbw@redhat.com>
7463
7464         * src/nm-device-802-11-wireless.c
7465                 - (set_current_ap): consolidate current_ap handling code into one place
7466                         to ensure that PropertiesChanged signals are emitted in all cases
7467                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7468                    nm_device_802_11_wireless_dispose): use set_current_ap()
7469
7470 2007-10-05  Dan Williams  <dcbw@redhat.com>
7471
7472         * libnm-glib/nm-access-point.c
7473           libnm-glib/nm-access-point.h
7474                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7475                         because the value is cached internally now.  Callers should not
7476                         free the internal value.
7477                 - Make signal name defines private
7478
7479         * test/nm-tool.c
7480           libnm-glib/libnm-glib-test.c
7481                 - Don't free value returned from nm_access_point_get_hw_address()
7482
7483 2007-10-04  Dan Williams  <dcbw@redhat.com>
7484
7485         * introspection/nm-device-802-11-wireless.xml
7486           src/nm-device-802-11-wireless.h
7487           src/nm-device-802-11-wireless.c
7488                 - Add a PropertiesChanged signal for wireless device
7489                 - Store currently associated access point
7490                 - (periodic_update): generalize; update rate here too and emit the
7491                         correct PropertiesChanged signal when stuff changes
7492                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7493                    real_activation_cancel_handler): clear current_ap when device is
7494                         deactivated
7495                 - (link_to_specific_ap, get_ap_blacklisted,
7496                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7497                         code
7498                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7499                         outside this file
7500                 - (real_set_hw_address): emit property changed signal if the card's
7501                         MAC address changes
7502                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7503                         the card is supposed to be connecting to
7504                 - (activation_success_handler): send out property updates on successful
7505                         activation
7506                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7507                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7508                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7509                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7510                         is now boxed; add PropertiesChanged signal
7511
7512 2007-10-04  Dan Williams  <dcbw@redhat.com>
7513
7514         * libnm-util/nm-connection.c
7515           libnm-util/nm-connection.h
7516                 - (nm_connection_verify): new function
7517
7518 2007-10-04  Dan Williams  <dcbw@redhat.com>
7519
7520         * libnm-util/nm-setting.c
7521                 - (nm_settings_verify): use #defines when possible rather than strings
7522                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7523                 - (setting_vpn_verify): tighter validity check on 'service_type'
7524
7525 2007-10-04  Dan Williams  <dcbw@redhat.com>
7526
7527         * libnm-glib/nm-settings.c
7528                 - (nm_connection_settings_class_init): provide correct type for argument
7529                         to the Updated signal so that dbus-glib knows how to marshal it
7530
7531 2007-10-03  Dan Williams  <dcbw@redhat.com>
7532
7533         * src/nm-device-802-3-ethernet.c
7534                 - (real_get_best_connection): don't create automatic connections
7535                         internally; clients should provide a setting that applies to
7536                         the device with 'autoconnect: True'.  Problem was that these
7537                         internally auto-created connections don't have a proxy or service
7538                         name becuase they weren't created by a settings daemon, and therefore
7539                         clients have no idea what to do with them.
7540
7541 2007-10-03  Dan Williams  <dcbw@redhat.com>
7542
7543         * src/nm-device-802-11-wireless.c
7544           src/nm-device-802-11-wireless.h
7545           introspection/nm-device-802-11-wireless.xml
7546                 - GetActiveNetworks -> GetAccessPoints
7547                 - ActiveNetwork -> ActiveAccessPoint
7548                 - NetworkAdded -> AccessPointAdded
7549                 - NetowrkRemoved -> AccessPointRemoved
7550
7551         * libnm-glib/nm-device-802-11-wireless.c
7552           libnm-glib/nm-device-802-11-wireless.h
7553                 - network-added signal -> access-point-added
7554                 - network-removed signal -> access-point-removed
7555                 - nm_device_802_11_wireless_get_active_network() ->
7556                         nm_device_802_11_wireless_get_active_access_point()
7557                 - nm_device_802_11_wireless_get_network_by_path() ->
7558                         nm_device_802_11_wireless_get_access_point_by_path()
7559                 - nm_device_802_11_wireless_get_networks() ->
7560                         nm_device_802_11_wireless_get_access_points()
7561
7562         * libnm-glib/libnm-glib-test.c
7563           test/nm-tool.c
7564           src/NetworkManagerPolicy.c
7565                 - Fixups for Network -> AccessPoint
7566
7567 2007-10-03  Dan Williams  <dcbw@redhat.com>
7568
7569         Add a GetActiveConnections() method on the Manager object.
7570
7571         * src/nm-manager.c
7572           src/nm-manager.h
7573           introspection/nm-manager.xml
7574                 - (connection_get_settings_cb): keep connection type around too
7575                 - (impl_manager_get_active_connections, add_one_connection_element):
7576                         implement; returns all active connections and what devices they
7577                         apply to
7578
7579         * libnm-glib/nm-client.c
7580           libnm-glib/nm-client.h
7581           introspection/nm-manager-client.xml
7582                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7583                         by the caller; free here to avoid memory leak
7584                 - (nm_client_get_active_connections): implement; return the list of
7585                         active connections
7586                 - (nm_client_free_active_connection_element): implement; free an element
7587                         of the GSList returned by nm_client_get_active_connections()
7588
7589 2007-10-03  Dan Williams  <dcbw@redhat.com>
7590
7591         * src/nm-device-802-11-wireless.c
7592                 - (nm_device_802_11_wireless_update_bssid): remove
7593                 - (get_active_ap): new function; find the AP in the scan list which
7594                         matches the current BSSID and SSID of the wireless device
7595                 - (nm_device_802_11_periodic_update): get current AP using
7596                         get_active_ap() and print AP roam messages
7597
7598 2007-10-01  Dan Williams  <dcbw@redhat.com>
7599
7600         * libnm-util/nm-setting.h
7601                 - Add a 'timestamp' option to NMSettingConnection
7602                 - Add a UINT64 type
7603
7604         * libnm-util/nm-setting.c
7605                 - (uint64_to_gvalue): new function
7606                 - (nm_setting_populate_from_hash, nm_setting_hash,
7607                    default_setting_clear_secrets): handle UINT64 type
7608                 - con_table: add 'timestamp' member
7609
7610 2007-10-01  Dan Williams  <dcbw@redhat.com>
7611
7612         * src/nm-manager.c
7613                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7614                         value when the connection can be activated immediately
7615
7616 2007-10-01  Dan Williams  <dcbw@redhat.com>
7617
7618         * libnm-glib/nm-device.c
7619                 - (nm_device_class_init): actually tell glib about the carrier-changed
7620                         signal
7621
7622 2007-10-01  Dan Williams  <dcbw@redhat.com>
7623
7624         * configure.in
7625           src/marshallers/Makefile.am
7626           src/marshallers/nm-marshal.list
7627           src/marshallers/nm-marshal-main.c
7628                 - Consolidate glib marshallers into one place
7629
7630         * src/dhcp-manager/Makefile.am
7631           src/dhcp-manager/nm-dhcp-manager.c
7632           src/supplicant-manager/Makefile.am
7633           src/supplicant-manager/nm-supplicant-manager.c
7634           src/supplicant-manager/nm-supplicant-interface.c
7635           src/ppp-manager/Makefile.am
7636           src/ppp-manager/nm-ppp-manager.c
7637           src/vpn-manager/Makefile.am
7638           src/vpn-manager/nm-vpn-connection.c
7639           src/Makefile.am
7640                 - Use consolidated marshallers
7641
7642         * src/dhcp-manager/nm-dhcp-marshal.list
7643           src/dhcp-manager/nm-dhcp-marshal-main.c
7644           src/supplicant-manager/nm-supplicant-marshal-main.c
7645           src/supplicant-manager/nm-supplicant-marshal.list
7646           src/nm-marshal-main.c
7647           src/nm-marshal.list
7648           src/ppp-manager/nm-ppp-marshal-main.c
7649           src/ppp-manager/nm-ppp-marshal.list
7650           src/vpn-manager/nm-vpn-marshal-main.c
7651           src/vpn-manager/nm-vpn-marshal.list
7652                 - Remove
7653
7654 2007-10-01  Dan Williams  <dcbw@redhat.com>
7655
7656         * include/NetworkManagerVPN.h
7657                 - define VPN connection state change reason codes
7658
7659         * src/vpn-manager/Makefile.am
7660           src/vpn-manager/nm-vpn-marshal.list
7661           src/vpn-manager/nm-vpn-marshal-main.c
7662                 - Add marshallers for StateChanged signal
7663
7664         * introspection/nm-vpn-connection.xml
7665                 - New Banner property
7666                 - StateChanged signal now includes a 'reason' argument
7667
7668         * src/vpn-manager/nm-vpn-connection.c
7669           src/vpn-manager/nm-vpn-connection.h
7670                 - Add a "Banner" property that contains the returned VPN server login
7671                         banner (if any); valid only in the ACTIVATED state
7672                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7673                         a 'reason' argument and emits that reason along with the
7674                         state-changed signal
7675                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7676                 - (nm_vpn_connection_ip4_config_get): save banner for later
7677                 - (nm_vpn_connection_get_banner, get_property,
7678                    nm_vpn_connection_class_init): implement Banner property
7679
7680         * src/vpn-manager/nm-vpn-service.c
7681                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7682                         connection list because elements may get added/removed from it
7683                         while iterating over the list
7684                 - (connection_state_changed): signal now includes the 'reason' argument
7685
7686         * libnm-glib/nm-vpn-connection.c
7687           libnm-glib/nm-vpn-connection.h
7688                 - (nm_vpn_connection_get_banner): new function
7689                 - (state_changed_proxy): handle reason argument
7690
7691 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7692
7693         * src/nm-manager.c:
7694         * src/nm-manager.h:
7695         Implement device activation through NMManager.
7696         Implement "pending device activation" here - If the connection isn't found,
7697         we try to wait for up to 5 seconds for the connection to be provided.
7698         Add NMConnectionType argument to "connection-added" and "connection-removed"
7699         signals.
7700         (nm_manager_get): Remove. Finally.
7701
7702         * src/nm-activation-request.c: 
7703         * src/nm-activation-request.h: 
7704         Remove all the deferred activation code.
7705
7706         * src/nm-device.c: Remove all the deferred activation code. Once the device
7707         activation is started, it's started. Update the activation virtual function
7708         signature.
7709
7710         * src/nm-device-interface.c:
7711         * src/nm-device-interface.h:
7712         Device activation now takes only NMActRequest argument.
7713         Don't expose device activation directly on dbus, it's supposed to go through
7714         NMManager now.
7715
7716         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7717         a bit more compact.
7718         Use the new device activation methods through NMManager.
7719
7720         * introspection/nm-manager-client.xml: 
7721         * introspection/nm-manager.xml: 
7722         * libnm-glib/nm-client.c:
7723         * libnm-glib/nm-client.h:
7724         Add device activation method.
7725         
7726         * libnm-glib/nm-device.c: 
7727         * libnm-glib/nm-device.h: 
7728         * introspection/nm-device.xml: 
7729         Remove device activation method. It's done through NMManager now.
7730
7731         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7732         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7733
7734 2007-09-28  Dan Williams  <dcbw@redhat.com>
7735
7736         * libnm-glib/nm-vpn-connection.c
7737                 - (nm_vpn_connection_get_state): try to update state if the current
7738                         state is UNKNOWN
7739
7740 2007-09-27  Dan Williams  <dcbw@redhat.com>
7741
7742         Patch from Bill Nottingham
7743
7744         * src/supplicant-manager/nm-supplicant-config.c
7745                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7746                         data to the supplicant
7747
7748 2007-09-27  Dan Williams  <dcbw@redhat.com>
7749
7750         * src/NetworkManagerSystem.c
7751                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7752                         and all address manipulation here should be happening on the
7753                         _VPN_ device, not the active device
7754
7755 2007-09-26  Dan Williams  <dcbw@redhat.com>
7756
7757         * src/nm-manager.c
7758           src/nm-manager.h
7759           src/nm-activation-request.c
7760           src/nm-activation-request.h
7761                 - Move the GetSecrets stuff out of the NMManager instance because it
7762                         doesn't really need to be there and complicates things
7763
7764         * src/nm-device.c
7765                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7766                         connection-secrets-failed signal and deactivate the device if
7767                         the GetSecrets call fails
7768
7769         * src/nm-device-802-11-wireless.c
7770                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7771                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7772                         secrets and give correct hints about whether new secrets should be
7773                         asked for by the client or not
7774
7775 2007-09-26  Dan Williams  <dcbw@redhat.com>
7776
7777         * src/vpn-manager/nm-vpn-connection.c
7778                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7779                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7780                         to the secrets-updated signal of the NMConnection since updating
7781                         the secrets is done within the scope of the NMVPNConnection object
7782                         already
7783                 - (get_connection_secrets): fix an uninialized variable usage error
7784
7785 2007-09-26  Dan Williams  <dcbw@redhat.com>
7786
7787         * libnm-util/nm-setting.c
7788                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7789                         actually get updated when the user enters them
7790
7791 2007-09-26  Dan Williams  <dcbw@redhat.com>
7792
7793         * libnm-glib/nm-vpn-plugin.c
7794                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7795
7796 2007-09-26  Dan Williams  <dcbw@redhat.com>
7797
7798         * include/NetworkManagerVPN.h
7799                 - Add a NEED_AUTH state
7800
7801         * src/vpn-manager/nm-vpn-connection.c
7802                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7803                         the connection needs secrets, and if so, then ask the settings
7804                         service to fill in the secrets.  Then start the connection.
7805
7806 2007-09-26  Dan Williams  <dcbw@redhat.com>
7807
7808         * src/vpn-manager/nm-vpn-manager.c
7809                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7810
7811 2007-09-26  Dan Williams  <dcbw@redhat.com>
7812
7813         * introspection/nm-vpn-plugin.xml
7814           libnm-glib/nm-vpn-plugin.c
7815           libnm-glib/nm-vpn-plugin.h
7816                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7817                         the name of the NMSetting in an NMConnection that may require
7818                         secrets specific to that VPN plugin
7819
7820 2007-09-26  Dan Williams  <dcbw@redhat.com>
7821
7822         * src/nm-manager.c
7823           src/nm-manager.h
7824                 - (nm_manager_get_connection_secrets): make static, unused outside
7825                         the file
7826                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7827
7828 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7829
7830         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7831         method.
7832         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7833         unreference the connection.
7834
7835         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7836         passing properties hash and routes string list, pass NMConnection (in hashed form).
7837
7838         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7839         as GSList, no need to copy stuff around anymore.
7840         (nm_vpn_connection_activate): Update the plugin activation method.
7841
7842         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7843         routes argument to GSList.
7844
7845 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7846
7847         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7848         state and try to get the secrets.
7849
7850         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7851         connections from NMManager and let the device to choose the best from the list.
7852         Since the connection list is sorted by system ones first and user ones later,
7853         the devices still prefer system connections like they did before.
7854         (deactivate_old_device): Implement. When a device starts activation, we have a
7855         policy (for now at least) to deactivate any other device that might be either
7856         active or still activating.
7857
7858         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7859         It's set on construction, there will be no other way to access it.
7860
7861         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7862         device events and drive the device, not the other way around.
7863
7864         * src/nm-device-802-3-ethernet.c: Ditto.
7865
7866         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7867         sent along, pass it on to virtual functions.
7868
7869         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7870         for now, but should really be public instead of nm_device_get_iface() since iface
7871         is a property of the DeviceInterface, not Device.
7872         (impl_device_activate): Don't touch NMManager!
7873
7874 2007-09-26  Jürg Billeter  <j@bitron.ch>
7875
7876         * initscript/paldo/NetworkManager.in:
7877         * initscript/paldo/NetworkManagerDispatcher.in:
7878         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7879         (nm_system_flush_loopback_routes): update paldo backend
7880
7881 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7882
7883         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7884         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7885         which means none of the devices get brought down properly, which in turn leaves
7886         DHCP client running.
7887
7888         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7889         (supplicant_connection_timeout_cb): Ditto.
7890
7891 2007-09-25  Dan Williams  <dcbw@redhat.com>
7892
7893         * src/nm-device.c
7894                 - (device_activation_go): small hack to work around race when
7895                         activating deferred connections; should solve this in a better way
7896
7897 2007-09-25  Dan Williams  <dcbw@redhat.com>
7898
7899         * introspection/nm-device.xml
7900           libnm-glib/nm-device.c
7901           libnm-glib/nm-device.h
7902                 - Add 'Carrier' property to exported NMDevice objects
7903
7904         * src/nm-device-interface.h
7905           src/nm-device-interface.c
7906           src/nm-device.c
7907                 - Add a 'carrier' property to internal NMDevice objects
7908
7909 2007-09-25  Dan Williams  <dcbw@redhat.com>
7910
7911         * src/nm-device-802-11-wireless.c
7912                 - (ap_auth_enforced): also return the encryption status of the AP so
7913                         that callers can differentiate easily between unencrypted APs
7914                         and encrypted ones, in addition to whether the AP has an
7915                         authenticator
7916                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7917                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7918                         previously would request secrets from unencrypted APs at times
7919
7920 2007-09-25  Dan Williams  <dcbw@redhat.com>
7921
7922         * src/nm-manager.c
7923                 - (nm_manager_update_state): new function; updates state and emits
7924                         appropriate signals ensuring a state-change signal for the same state
7925                         never gets emitted twice in a row.
7926                 - (manager_device_state_changed): handle more device state to get a
7927                         better picture of the overall NM state
7928
7929 2007-09-25  Dan Williams  <dcbw@redhat.com>
7930
7931         * libnm-glib/nm-settings.c
7932           libnm-glib/nm-settings.h
7933                 - (new_error -> nm_settings_new_error): make public so that subclasses
7934                         can use the same error domain.  Also pass a valid error code to
7935                         g_error_new_literal() so that libdbus doesn't assert when converting
7936                         the GError into a DBusError
7937                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7938                    impl_connection_settings_get_settings,
7939                    impl_connection_settings_get_secrets): use new error creator
7940                         function
7941
7942 2007-09-25  Dan Williams  <dcbw@redhat.com>
7943
7944         * src/NetworkManager.c
7945                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7946
7947 2007-09-25  Dan Williams  <dcbw@redhat.com>
7948
7949         * src/supplicant-manager/nm-supplicant-manager.c
7950                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7951                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7952                    nm_supplicant_manager_startup): when the supplicant isn't running,
7953                         try to start it periodically via system bus activation.  Fixes
7954                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7955                         for the supplicant to come back
7956
7957 2007-09-25  Dan Williams  <dcbw@redhat.com>
7958
7959         Ensure that old activation requests are forgotten about; previously
7960         hitting Cancel in the password dialog would deactivate whatever device
7961         that password was requested for, even if that wasn't the currently
7962         activating connection.
7963
7964         * src/nm-manager.c
7965           src/nm-manager.h
7966                 - (nm_manager_get_connection_secrets): track the pending call
7967                         object so it can be canceled later if needed
7968                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7969                         GetSecrets call for a particular connection
7970
7971         * src/nm-activation-request.c
7972                 - (dispose): cancel any outstanding GetSecrets calls on the
7973                         connection
7974
7975 2007-09-25  Dan Williams  <dcbw@redhat.com>
7976
7977         * src/NetworkManagerPolicy.c
7978                 - (nm_policy_device_change_check): handle devices that have a
7979                         deferred activation.  These devices are not really active _yet_,
7980                         but need to be treated as such here.  Don't interrupt them
7981                         automatically.
7982
7983         * src/nm-device-interface.c
7984                 - (impl_device_activate): handle devices that have a deferred activation
7985                         like activating or active devices.  When multiple active devices
7986                         get committed, the device shouldn't be deactivated until the
7987                         connection details are available to avoid DoS and such.  Currently,
7988                         any active, activating, or deferred activation device is deactivated
7989                         here before starting the new activation request.
7990
7991 2007-09-25  Dan Williams  <dcbw@redhat.com>
7992
7993         Properly re-query secrets from the settings daemon when stuff fails.
7994
7995         * src/nm-device-802-11-wireless.c
7996                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7997                         between Shared Key and Open System auth modes
7998                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7999                    real_act_stage4_ip_config_timeout): clear existing secrets and
8000                         request new ones when something fails due to a suspected wrong key
8001                 - (real_act_stage2_config): fix for new request_new argument to
8002                         nm_manager_get_connection_secrets()
8003
8004         * src/nm-manager.c
8005           src/nm-manager.h
8006                 - (nm_manager_get_connection_secrets): return error status; pass
8007                         new request_new argument on to the settings daemon
8008
8009         * introspection/nm-settings-connection.xml
8010                 - New 'request_new' argument to the GetSecrets call that hints to the
8011                         settings daemon to ask the user for completely new secrets
8012
8013         * libnm-glib/nm-settings.c
8014           libnm-glib/nm-settings.h
8015                 - (impl_connection_settings_get_secrets): handle new 'request_new'
8016                         argument
8017
8018 2007-09-25  Dan Williams  <dcbw@redhat.com>
8019
8020         * libnm-util/nm-connection.c
8021           libnm-util/nm-connection.h
8022                 - (nm_connection_clear_secrets): new function; clear secrets out of
8023                         each NMSetting in an NMConnection
8024
8025         * libnm-util/nm-setting.h
8026           libnm-util/nm-setting.c
8027                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
8028                         secrets out of an NMSetting
8029                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
8030                    nm_setting_wired_new, nm_setting_wireless_new,
8031                    nm_setting_wireless_security_new, nm_setting_ppp_new,
8032                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8033                         to default handler default_setting_clear_secrets()
8034
8035 2007-09-25  Dan Williams  <dcbw@redhat.com>
8036
8037         * src/nm-activation-request.c
8038           src/nm-activation-request.h
8039                 - (nm_act_request_is_deferred): new function
8040
8041 2007-09-24  Dan Williams  <dcbw@redhat.com>
8042
8043         * src/nm-device-802-11-wireless.c
8044                 - (activation_success_handler): update signal strength immediately
8045                         after activation
8046
8047 2007-09-24  Dan Williams  <dcbw@redhat.com>
8048
8049         * libnm-util/nm-setting.c
8050                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8051
8052 2007-09-24  Dan Williams  <dcbw@redhat.com>
8053
8054         * src/NetworkManagerPolicy.c
8055                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8056                         device by deactivating it because it doesn't have a "best connection".
8057                         Since autoconnect=False connections aren't automatically chosen,
8058                         NM would interrupt activation of such a connection because it
8059                         would never be "best" due to autoconnect=False.
8060
8061 2007-09-24  Dan Williams  <dcbw@redhat.com>
8062
8063         * src/nm-manager.c
8064                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8065                         actually has some time to enter a key before the GetSecrets call
8066                         times out
8067
8068 2007-09-24  Dan Williams  <dcbw@redhat.com>
8069
8070         * introspection/nm-manager.xml
8071           src/nm-manager.c
8072                 - (impl_manager_legacy_state): fix 'state' method call return value
8073
8074 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
8075
8076         * test/Makefile.am: Install nm-tool
8077
8078 2007-09-24  Dan Williams  <dcbw@redhat.com>
8079
8080         Patch from Ross Burton <ross@burtonini.com>
8081
8082         * test/nm-tool.c
8083           callouts/nm-dhcp-client-action.c
8084           src/nm-netlink.c
8085           src/vpn-manager/nm-vpn-connection.c
8086           libnm-glib/libnm-glib-test.c
8087                 - warning fixes
8088
8089 2007-09-24  Dan Williams  <dcbw@redhat.com>
8090
8091         * libnm-util/nm-utils.h
8092           libnm-util/nm-utils.c
8093                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8094                         remove, unused
8095
8096 2007-09-23  Dan Williams  <dcbw@redhat.com>
8097
8098         * vpn-daemons/vpnc/properties/nm-vpnc.c
8099                 - Update for new VPN properties API bits; instead of passing around
8100                         a lot of random things, everything goes into the NMConnection
8101                         object.
8102
8103 2007-09-23  Dan Williams  <dcbw@redhat.com>
8104
8105         * libnm-util/nm-setting.c
8106                 - Correctly dispose of settings objects if creating them from a hash
8107                         table fails
8108
8109 2007-09-23  Dan Williams  <dcbw@redhat.com>
8110
8111         * libnm-util/nm-setting.c
8112                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8113                         the hash table in a standard manner.  Clients of libnm-util should
8114                         only call g_hash_table_remove_all(), never destroy the hash table
8115                         and recreate it.
8116
8117 2007-09-22  Dan Williams  <dcbw@redhat.com>
8118
8119         * src/nm-device-802-11-wireless.c
8120                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8121                         real reason to do it so often, and reduces wakeups for clients.
8122
8123 2007-09-21  Dan Williams  <dcbw@redhat.com>
8124
8125         * src/nm-device-802-11-wireless.c
8126                 - (build_supplicant_config): wpa_supplicant requires the option
8127                         key_mgmt=NONE for unencrypted networks
8128                 - (real_act_stage2_config): clarify log message on activation
8129
8130 2007-09-21  Dan Williams  <dcbw@redhat.com>
8131
8132         * test/nm-supplicant-test.c
8133           test/Makefile.am
8134                 - Remove supplicant test binary; no longer applicable
8135
8136 2007-09-21  Dan Williams  <dcbw@redhat.com>
8137
8138         * src/supplicant-manager/nm-supplicant-manager.c
8139                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8140                         activate it on the system bus
8141
8142 2007-09-20  Dan Williams  <dcbw@redhat.com>
8143
8144         * initscript/RedHat/NetworkManager.in
8145                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8146
8147 2007-09-20  Dan Williams  <dcbw@redhat.com>
8148
8149         * src/nm-device.c
8150                 - (nm_device_is_activating): work around a race between auto-activation
8151                         and the user activating the same device that is being auto-activated
8152
8153 2007-09-20  Dan Williams  <dcbw@redhat.com>
8154
8155         * src/nm-device-interface.c
8156                 - (impl_device_activate): until multiple active device support lands,
8157                         ensure only one device can be active at a time
8158
8159 2007-09-20  Dan Williams  <dcbw@redhat.com>
8160
8161         * src/supplicant-manager/nm-supplicant-config.c
8162           src/supplicant-manager/nm-supplicant-config.h
8163                 - (nm_supplicant_config_add_option): hide secrets from system logs
8164
8165 2007-09-20  Dan Williams  <dcbw@redhat.com>
8166
8167         * src/NetworkManagerPolicy.c
8168                 - (nm_policy_device_change_check): re-enable the wireless device change
8169                         checking code; insted of checking for SSIDs, check for the same
8170                         connection instead
8171
8172 2007-09-20  Dan Williams  <dcbw@redhat.com>
8173
8174         * src/nm-device-802-11-wireless.c
8175                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8176                         composite link state when determining when to start the disconnection
8177                         timer; that link state is already based on the supplicant interface's
8178                         status which is exactly what's already being examined, plus the link
8179                         state is a conglomeration of various things that we don't want here
8180
8181 2007-09-20  Dan Williams  <dcbw@redhat.com>
8182
8183         * libnm-glib/nm-access-point.c
8184                 - (handle_property_changed): strength is a UCHAR
8185
8186 2007-09-20  Dan Williams  <dcbw@redhat.com>
8187
8188         * src/supplicant-manager/nm-supplicant-config.c
8189                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8190                         string list keywords too since that's what wpa_supplicant wants
8191
8192 2007-09-20  Dan Williams  <dcbw@redhat.com>
8193
8194         * libnm-util/nm-setting.c
8195                 - (convert_strv_to_slist): dupe the values in the list because since
8196                         the list is a boxed value, it'll get destroyed when it's container
8197                         (like a hash table or whatever) gets destroyed
8198
8199 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8200
8201         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8202         GSList.
8203
8204         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8205
8206         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8207         just use (g_object_set_data_full).
8208
8209         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8210         that NMSettingVPN->routes is a GSList, convert it to char **.
8211         (nm_vpn_connection_ip4_config_get): Free routes when done.
8212         (nm_vpn_connection_activate): Ditto.
8213
8214         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8215         (real_act_stage2_config): Use defined setting names.
8216
8217 2007-09-20  Dan Williams  <dcbw@redhat.com>
8218
8219         * src/nm-device-802-11-wireless.c
8220           src/nm-manager.c
8221           src/nm-manager.h
8222                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8223                         so that the device can be deactivated if secrets are wrong
8224
8225 2007-09-20  Dan Williams  <dcbw@redhat.com>
8226
8227         * introspection/nm-settings-connection.xml
8228           libnm-glib/nm-settings.c
8229           libnm-glib/nm-settings.h
8230                 - Make GetSecrets asynchronous on the server side
8231
8232 2007-09-20  Dan Williams  <dcbw@redhat.com>
8233
8234         * src/nm-manager.h
8235           src/nm-device.c
8236                 - (nm_device_activate): actually check if a given connection
8237                         exists before assuming it doesn't
8238
8239 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8240
8241         * libnm-util/nm-connection.c (register_default_creators): Use defined
8242         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8243
8244         * libnm-util/nm-setting.c: Define property name strings, use them.
8245         Implement NMSettingVPN and NMSettingVPNProperties settings.
8246         Implement NM_S_TYPE_GVALUE_HASH.
8247         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8248         (setting_connection_verify): Rename 'devtype' property to 'type'.
8249
8250         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8251         properties.
8252
8253         * src/vpn-manager/nm-vpn-service.c: Ditto.
8254
8255         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8256
8257         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8258         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8259
8260         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8261         names. NMSettingConnection->devtype got renamed to 'type'.
8262
8263         * src/nm-device-802-3-ethernet.c (find_best_connection):
8264         (real_get_best_connection): Ditto.
8265
8266         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8267
8268         * libnm-glib/nm-vpn-manager.[ch]: Update.
8269
8270 2007-09-19  Dan Williams  <dcbw@redhat.com>
8271
8272         * src/NetworkManagerAP.c
8273           src/NetworkManagerAP.h
8274           introspection/nm-access-point.xml
8275                 - Change strength-changed signal into a properties-changed signal
8276                         for all properties, not just strength.  Export that signal over dbus
8277                         so listeners don't have to poll NM for changes.
8278                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8279                         get exported over D-Bus, so break up the logic and let other bits
8280                         decided when to export the AP
8281                 - (nm_ap_new_from_ap): remove, unused
8282
8283         * src/nm-device-802-11-wireless.c
8284                 - (merge_scanned_ap): only export APs that are actually on the device
8285                         list, not every AP created internally
8286
8287         * libnm-glib/nm-access-point.c
8288           libnm-glib/nm-access-point.h
8289                 - Cache properties internally and only hit DBus when needed.  Get
8290                         property updates from NM signals
8291
8292 2007-09-16  Dan Williams  <dcbw@redhat.com>
8293
8294         * libnm-util/nm-connection.c
8295           libnm-util/nm-connection.h
8296                 - (nm_connection_for_each_setting_value): new function; iterate over
8297                         each setting's value and call a user-provided function with details
8298                         about that value
8299
8300         * libnm-util/nm-setting.c
8301           libnm-util/nm-setting.h
8302                 - (nm_setting_enumerate_values): new function; enumerate the values
8303                         of a specific NMSetting subclass for a user-provided function with
8304                         details about that value
8305                 - Change wep_tx_keyidx to a uint32
8306                 - Create settings value tables for each setting defining their type,
8307                         key name, offset into the NMSetting subclass' structure, and whether
8308                         they are required and/or a secret
8309                 - (nm_setting_populate_from_hash): generic function to populate an
8310                         NMSetting from a GHash table, make all settings use it
8311                 - (nm_setting_hash): generic function to derive a GHashTable from
8312                         an NMSetting object, make all settings use it
8313
8314 2007-09-14  Dan Williams  <dcbw@redhat.com>
8315
8316         Remove unused stuff in libnm-util
8317
8318         * configure.in
8319           libnm-util/Makefile.am
8320           libnm-util/cipher-private.h
8321           libnm-util/cipher-wep-ascii.c
8322           libnm-util/cipher-wep-ascii.h
8323           libnm-util/cipher-wep-hex.c
8324           libnm-util/cipher-wep-hex.h
8325           libnm-util/cipher-wep-passphrase.c
8326           libnm-util/cipher-wep-passphrase.h
8327           libnm-util/cipher-wpa-psk-hex.c
8328           libnm-util/cipher-wpa-psk-hex.h
8329           libnm-util/cipher-wpa-psk-passphrase.c
8330           libnm-util/cipher-wpa-psk-passphrase.h
8331           libnm-util/cipher.c
8332           libnm-util/cipher.h
8333           libnm-util/dbus-helpers.c
8334           libnm-util/dbus-helpers.h
8335           libnm-util/gnome-keyring-md5.c
8336           libnm-util/gnome-keyring-md5.h
8337           libnm-util/sha1.c
8338           libnm-util/sha1.h
8339           src/nm-device-802-11-wireless.c
8340           test/libnm-util/Makefile.am
8341           test/libnm-util/test-ciphers.c
8342           test/libnm-util/test-dbus-helpers.c
8343           test/libnm-util/test-inputs.h
8344                 - Removed
8345
8346 2007-09-14  Dan Williams  <dcbw@redhat.com>
8347
8348         * libnm-util/dbus-method-dispatcher.c
8349           libnm-util/dbus-method-dispatcher.h
8350                 - Remove, unused
8351
8352 2007-09-14  Dan Williams  <dcbw@redhat.com>
8353
8354         Implement deferred activation support in the device class.
8355
8356         * src/nm-device-interface.c
8357           src/nm-device-interface.h
8358                 - (nm_device_interface_activate): take more arguments to support
8359                         deferred activation; callers must pass one of (connection) OR
8360                         (service_name, connection_path)
8361                 - (impl_device_activate): connection validation is punted to the device
8362                         to be able to handle deferred activation.  Yes, this means errors
8363                         don't get returned from the Activate() dbus call, and yes, that
8364                         should be fixed somehow later.
8365
8366         * src/nm-device.c
8367           src/nm-device.h
8368                 - (clear_act_request): clear additional deferred activation stuff too
8369                 - (deferred_activation_timeout_cb): new function; clean up when
8370                         deferred activation times out.
8371                 - (deferred_activation_start_cb): new function; when the connection
8372                         finally becomes available, start device activation
8373                 - (nm_device_activate): attach to the right signals of the activation
8374                         request if we need to defer activation until the connection is valid
8375
8376         * src/NetworkManagerPolicy.c
8377                 - (nm_policy_device_change_check): update for additional arguments
8378                         required for nm_device_interface_activate().  Pass NULL for these
8379                         though because this function already knows exactly which
8380                         NMConnection to use
8381
8382 2007-09-14  Dan Williams  <dcbw@redhat.com>
8383
8384         Implement deferred activation handling in the NMActRequest class.  When a
8385         client wants to activate a device but must create the NMConnection details
8386         on the fly, there likely hasn't been enough time yet for NM to receive the
8387         new connection signal and grab all the connection details.  So the
8388         activation is deferred (and bounded by a timer) for a while, and if the
8389         connection appears within the window, it is activated.
8390
8391         * src/nm-activation-request.c
8392           src/nm-activation-request.h
8393                 - (nm_act_request_class_init): two new signals to support deferred
8394                         activation, to allow the listener to handle both timeout and success
8395                 - (nm_act_request_new_deferred): new function, starts the deferred
8396                         activation timeout handler and listens to the NMManager for
8397                         new-connection signals to notice when the connection comes in
8398
8399 2007-09-14  Dan Williams  <dcbw@redhat.com>
8400
8401         * src/nm-manager.h
8402           src/nm-manager.c
8403                 - (nm_manager_get_connection_service_name,
8404                    nm_manager_get_connection_dbus_path): get details about a connection
8405                         known internally by the NMManager
8406                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8407                         because NMConnection is now a GObject subclass
8408                 - Use constant for the gobject data tag used on NMConnection objects for
8409                         storing the associated DBusGProxy
8410
8411 2007-09-14  Dan Williams  <dcbw@redhat.com>
8412
8413         * utils/Makefile.am
8414           utils/nm-utils.c
8415           utils/nm-utils.h
8416           src/supplicant-manager/Makefile.am
8417           src/dhcp-manager/Makefile.am
8418           src/backends/Makefile.am
8419           src/named-manager/Makefile.am
8420           src/ppp-manager/Makefile.am
8421           src/vpn-manager/Makefile.am
8422           test/libnm-util/Makefile.am
8423           test/test-common/Makefile.am
8424                 - Remove utils/; it was unused
8425
8426 2007-09-13  Dan Williams  <dcbw@redhat.com>
8427
8428         * libnm-glib/nm-vpn-manager.h
8429           libnm-glib/nm-vpn-manager.c
8430                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8431
8432 2007-09-13  Dan Williams  <dcbw@redhat.com>
8433
8434         * src/nm-device-802-3-ethernet.c
8435                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8436                         netlink monitor carrier signals on dispose, not bring down.  The
8437                         carrier signals should be handled over the entire lifetime of the
8438                         device anyway, not created/destroyed on up or down.
8439
8440 2007-09-13  Dan Williams  <dcbw@redhat.com>
8441
8442         * libnm-glib/nm-device.c
8443           libnm-glib/nm-device.h
8444                 - (nm_device_activate): take a connection object path rather than an
8445                         NMConnection because NMConnection isn't exported over D-Bus and
8446                         therefore it dbus-glib can't automatically get an object path from it
8447
8448 2007-09-13  Dan Williams  <dcbw@redhat.com>
8449
8450         * libnm-util/nm-setting.c
8451                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8452
8453 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8454
8455         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8456
8457 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8458
8459         * src/vpn-manager/nm-vpn-connection.[ch]: 
8460         * src/vpn-manager/nm-vpn-manager.[ch]:
8461         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8462         dbus-glib, GObjects, signals etc.
8463
8464         * libnm-glib/nm-vpn-manager.[ch]: 
8465         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8466         so much, rewrite these too.
8467
8468         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8469         the new introspection files.
8470
8471         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8472
8473         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8474         the header with the same name from libnm-utils.
8475
8476         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8477
8478         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8479
8480         * introspection/nm-vpn-plugin.xml: Implement.
8481
8482         * introspection/nm-vpn-connection.xml: Implement.
8483
8484         * introspection/nm-vpn-manager.xml: Implement.
8485
8486         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8487         the named manager argument, it can just as easily get it as the caller.
8488         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8489
8490         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8491
8492         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8493
8494         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8495         libnm-utils.
8496
8497         * libnm-util/nm-connection.c: Ditto.
8498
8499         * src/NetworkManagerMain.h: Remove, it's finally empty.
8500
8501         * configure.in: Remove utils/ from build.
8502
8503         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8504         of hard-coded strings.
8505
8506         * utils/: Move it over to libnm-util.
8507
8508         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8509
8510         * dispatcher-daemon/Makefile.am: Ditto.
8511
8512         * src/Makefile.am: Ditto.
8513
8514 2007-09-12  Dan Williams  <dcbw@redhat.com>
8515
8516         Wireless connections can be made with config data from the applet now.
8517         
8518         Yay.
8519
8520         * src/supplicant-manager/nm-supplicant-config.h
8521           src/supplicant-manager/nm-supplicant-config.c
8522                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8523                 - (nm_supplicant_config_add_setting_wireless,
8524                    nm_supplicant_config_add_setting_wireless_security): new functions;
8525                         add key/value pairs from the settings objects to the supplicant
8526                         config
8527
8528         * src/nm-device-802-11-wireless.c
8529                 - (cull_scan_list): fix check to not prune currently associated AP
8530                 - (build_supplicant_config, real_act_stage2_config): call the functions
8531                         of the NMSupplicantConfig that parse settings objects rather than
8532                         doing it manually here
8533
8534 2007-09-12  Dan Williams  <dcbw@redhat.com>
8535
8536         * src/supplicant-manager/nm-supplicant-interface.c
8537           src/supplicant-manager/nm-supplicant-marshal.list
8538                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8539                         "connection-error" signal arguments should be STRING not CHAR
8540
8541 2007-09-12  Dan Williams  <dcbw@redhat.com>
8542
8543         * src/NetworkManagerUtils.c
8544           src/NetworkManagerUtils.h
8545                 - (nm_utils_hexstr2bin): new function
8546
8547 2007-09-11  Dan Williams  <dcbw@redhat.com>
8548
8549         * src/nm-manager.c
8550                 - (connection_get_settings_cb): emit connection-added signal
8551                 - (connection_removed_cb): uncomment bits for system settings service,
8552                         send connection-removed when appropriate
8553                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8554                         the stack by trying to g_object_set_data() on something that's
8555                         not a GObject; handle case where settings service returns
8556                         empty settings hash table
8557
8558 2007-09-11  Dan Williams  <dcbw@redhat.com>
8559
8560         * src/NetworkManagerPolicy.c
8561                 - (connection_added, connection_removed): trigger device change checks
8562                         on connection changes
8563
8564 2007-09-11  Dan Williams  <dcbw@redhat.com>
8565
8566         * src/nm-activation-request.c
8567                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8568
8569 2007-09-11  Dan Williams  <dcbw@redhat.com>
8570
8571         * src/nm-device-802-11-wireless.c
8572                 - (real_connection_secrets_updated): fix erroneous check
8573
8574 2007-09-11  Dan Williams  <dcbw@redhat.com>
8575
8576         * introspection/nm-device.xml
8577           libnm-glib/nm-device.c
8578           libnm-glib/nm-device.c
8579                 - Fix Activate call argument borkage; Activate takes 3 arguments
8580
8581 2007-09-11  Dan Williams  <dcbw@redhat.com>
8582
8583         * libnm-glib/nm-access-point.c
8584           libnm-glib/nm-access-point.c
8585                 - (nm_access_point_get_frequency): now returns guint32 to match
8586                         property change on 2007-09-10
8587
8588 2007-09-11  Dan Williams  <dcbw@redhat.com>
8589
8590         * src/nm-device-802-11-wireless.c
8591                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8592                         somewhere defines 'index' and I missed this one when I fixed the
8593                         shadow declaration errors earlier
8594
8595 2007-09-11  Dan Williams  <dcbw@redhat.com>
8596
8597         * libnm-util/nm-connection.c
8598                 - (nm_connection_update_secrets, need_secrets_check): move
8599                         802-11-wireless-security need_secrets checks to the setting object
8600                         itself, where it belongs
8601
8602         * libnm-util/nm-setting.c
8603           libnm-util/nm-setting.h
8604                 - (nm_setting_need_secrets): new function
8605                 - (setting_wireless_security_verify,
8606                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8607                 - (setting_wireless_security_need_secrets): mostly copy code over
8608                         from nm-connection.c
8609
8610 2007-09-11  Dan Williams  <dcbw@redhat.com>
8611
8612         * libnm-util/nm-setting.c
8613           libnm-util/nm-setting.h
8614                 - (nm_setting_update_secrets): new function; add a virtual function that
8615                         subclasses can implement to update their secrets
8616                 - (setting_wireless_security_update_secrets): implement that function
8617                         for the 802-11-wireless-security subclass
8618
8619         * libnm-util/nm-connection.c
8620           libnm-util/nm-connection.h
8621                 - (nm_connection_update_secrets): update secrets for a Setting and
8622                         emit a signal on success
8623
8624         * src/nm-manager.c
8625           src/nm-manager.h
8626           src/nm-marshal.list
8627                 - (connection_get_settings_cb): enable system settings bits
8628                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8629                         to request secrets from the settings dbus service and to
8630                         push those secrets to the NMConnection itself
8631
8632         * src/nm-activation-request.c
8633           src/nm-activation-request.h
8634                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8635                         currently being activated, and proxy that signal to other listeners.
8636                         Goes through the activation request because the activation request
8637                         is the thing that manages the lifetime of the NMConnection that's
8638                         being activated.
8639
8640         * src/nm-device-802-11-wireless.c
8641                 - (real_connection_secrets_updated): implement the connection secrets
8642                         updated notification and restart activation when secrets are
8643                         received
8644                 - (real_act_stage2_config): request secrets from the settings dbus
8645                         service if secrets are needed
8646
8647         * src/nm-device.c
8648           src/nm-device.h
8649                 - (clear_act_request, nm_device_activation_cancel,
8650                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8651                         where the activation request is cleared
8652                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8653                         updated secrets signal of activation request and add a function
8654                         that subclasses can override to handle it easily
8655
8656 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8657
8658         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8659         removal of NetworkManagerAPList.
8660
8661 2007-09-10  Dan Williams  <dcbw@redhat.com>
8662
8663         * src/NetworkManagerAP.c
8664           src/NetworkManagerAP.h
8665           introspection/nm-access-point.xml
8666                 - Change 'freq' property to a guint32 instead of a double since we
8667                         weren't using the floating point bits anyway
8668
8669 2007-09-10  Dan Williams  <dcbw@redhat.com>
8670
8671         * NetworkManagerAP.c
8672           NetworkManagerAP.h
8673           NetworkManagerPolicy.c
8674           NetworkManagerSystem.c
8675           NetworkManagerUtils.c
8676           NetworkManagerUtils.h
8677           nm-device-802-11-wireless.c
8678           nm-device-802-3-ethernet.c
8679           nm-hal-manager.c
8680           nm-manager.c
8681           vpn-manager/nm-dbus-vpn.c
8682                 - Warning fixes; casts and removal of unused variables
8683
8684 2007-09-10  Dan Williams  <dcbw@redhat.com>
8685
8686         * include/NetworkManager.h
8687                 - Kill NMNetworkType; AP types don't matter any more
8688
8689         * src/NetworkManagerAPList.c
8690           src/NetworkManagerAPList.h
8691           src/Makefile.am
8692                 - Kill; NMAccessPointList has outlived it's usefulness
8693
8694         * src/NetworkManagerAP.c
8695           src/NetworkManagerAP.h
8696                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8697                         functions; check if an NMConnection object is compatible with the
8698                         settings of this AP
8699                 - (freq_to_channel, channel_to_freq): utility functions for
8700                         channel <-> frequency conversion
8701
8702         * src/nm-device.c
8703           src/nm-device.h
8704                 - (nm_device_get_best_connection): pass the specific object around
8705                          (which might be the object path of a specific AP to connect to).
8706                          The get_best_connection() call should populate this on return
8707                          if needed (wireless does).
8708
8709         * src/nm-device-802-3-ethernet.c
8710                 - (real_get_best_connection): handle specific_object argument
8711
8712         * src/NetworkManager.c
8713           src/NetworkManagerMain.h
8714                 - Remove unused includes
8715
8716         * src/nm-device-802-11-wireless.c
8717           src/nm-device-802-11-wireless.h
8718                 - Convert the ap_list into a GSList from an NMAccessPointList
8719                 - No need for caching the 'activation_ap' since this is now determined
8720                         from the specific_object of the activation request, which is
8721                         populated from the get_best_connection() call or from a user request
8722                 - (nm_device_802_11_wireless_update_bssid): fix warning
8723                 - (get_wireless_capabilities): fix error message format arguments
8724                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8725                 - (find_best_connection, real_get_best_connection): implement
8726                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8727                         move here from NetworkManagerAPList
8728                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8729                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8730                         already verified earlier
8731                 - (real_act_stage2_config): use nm_connection_need_secrets()
8732
8733         * src/NetworkManagerPolicy.c
8734                 - (nm_policy_auto_get_best_device): handle specific objects
8735                 - (create_connection): remove; automatic connection creation functionality
8736                         is handled by the Connection objects
8737                 - (nm_policy_device_change_check): handle specific_object
8738
8739         * libnm-util/nm-connection.c
8740                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8741
8742 2007-09-10  Dan Williams  <dcbw@redhat.com>
8743
8744         * src/nm-manager.c
8745                 - (query_connections): fix uninitialized variable problem that caused
8746                         segfault
8747                 - (nm_manager_add_device): take devices down on startup so that we can
8748                         be assured that nm_device_is_up() won't short-circuit the init
8749                         process.  Hack until the is_up check gets split into two pieces
8750                         that aren't behaviorally confusing.
8751
8752 2007-09-09  Dan Williams  <dcbw@redhat.com>
8753
8754         * introspection/nm-device.xml
8755                 - The 'Activate' method now takes 3 arguments, a service name for the
8756                 settings service (user or system), the object path of the connection
8757                 to activate, and the specific object to activate, if any
8758
8759         * src/nm-device-interface.c
8760                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8761                 Add error bits
8762                 - (impl_device_activate): adapt to new Activate arguments; validate
8763                 the service name and get the Connection object from the NMManager
8764                 before starting to activate the device with the specified connection
8765
8766         * src/nm-device-802-3-ethernet.c
8767                 - (real_get_best_connection): find the best connection, or create a
8768                 default one if no existing connections can be used
8769
8770         * src/NetworkManagerPolicy.c
8771                 - (nm_policy_auto_get_best_device): Get the device's best connection
8772                 and only pick the device if it has one
8773                 - (nm_policy_device_change_check): disable wireless bits for now until
8774                 wireless get_best_connection() can be implemented (replacing "best_ap");
8775                 don't create a default connection here as the device subclass will do
8776                 that if needed
8777
8778         * src/nm-manager.h
8779           src/nm-manager.c
8780                 - (nm_manager_get): make NMManager a singleton and expose the getter
8781                 internally
8782                 - Rework internal NMManager connection handling to use the same
8783                 routines for both the system and user settings services.  Most calls
8784                 take a new NMConnectionType argument specifying either system or user
8785                 connections
8786                 - (nm_manager_get_connection_by_object_path): new function; get a
8787                 connection keyed on its object path
8788
8789         * src/NetworkManager.c
8790                 - (main): use nm_manager_get()
8791
8792 2007-09-09  Dan Williams  <dcbw@redhat.com>
8793
8794         * src/nm-device.h
8795           src/nm-device.c
8796                 - (nm_device_get_best_connection): new function; get best connection
8797                         for the device at that time
8798
8799 2007-09-09  Dan Williams  <dcbw@redhat.com>
8800
8801         * src/nm-device-interface.h
8802                 - Add NMDeviceInterfaceError with an UnknownConnection error
8803
8804 2007-09-09  Dan Williams  <dcbw@redhat.com>
8805
8806         Stupid mistake on my part; object path and interface for settings service
8807         and connection objects can be the same, only the service name must be
8808         different for the system and user settings services.
8809
8810         * include/NetworkManager.h
8811           src/nm-manager.c
8812           introspection/nm-settings-connection.xml
8813           introspection/nm-settings.xml
8814           libnm-glib/nm-settings.c
8815                 - (nm_connection_settings_init, query_user_connections,
8816                    new_connection_cb): Unify NetworkManagerSettings and Connection
8817                    interface name and object path
8818
8819 2007-09-06  Dan Williams  <dcbw@redhat.com>
8820
8821         * libnm-glib/nm-object.c
8822                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8823                    nm_object_get_int_property, nm_object_get_uint_property,
8824                    nm_object_get_boolean_property, nm_object_get_byte_property,
8825                    nm_object_get_double_property, nm_object_get_byte_array_property):
8826                         clear GValues after copying their contents, fixes memory leaks
8827                         after every property access because dbus-glib copies the values
8828                         from the DBusMessage into the GValue already.
8829
8830 2007-09-06  Dan Williams  <dcbw@redhat.com>
8831
8832         * introspection/nm-access-point.xml
8833                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8834                         them to be.  There's some magic property name parsing going on in
8835                         dbus-glib that breaks up property names based on studly-caps and
8836                         puts - between words.
8837
8838         * libnm-glib/nm-access-point.c
8839                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8840                         Fix property names
8841
8842 2007-09-06  Dan Williams  <dcbw@redhat.com>
8843
8844         * src/nm-manager.c
8845                 - (nm_manager_user_connections_destroy): clear the user connections hash
8846                         table, don't destroy it
8847                 - (finalize): only destroy the hash table on NMManager finalization
8848
8849 2007-09-02  Dan Williams  <dcbw@redhat.com>
8850
8851         * include/NetworkManager.h
8852           libnm-glib/nm-settings.c
8853                 - defines for the user settings daemon D-Bus bits
8854
8855         * src/NetworkManager.c
8856                 - Remove stuff that referred to the old NetworkManagerInfo service
8857
8858         * src/vpn-manager/nm-dbus-vpn.h
8859                 - Move old NMI defines to the only place they are used still
8860
8861         * libnm-util/nm-connection.c
8862           libnm-util/nm-connection.h
8863           src/nm-activation-request.c
8864                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8865
8866         * src/nm-manager.c
8867           src/nm-manager.h
8868                 - Get connections and their settings from the user settings daemon
8869                         at the appropriate times
8870
8871 2007-09-02  Dan Williams  <dcbw@redhat.com>
8872
8873         * libnm-util/nm-setting.c
8874                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8875                 - (setting_wireless_hash): set the right value on the item
8876
8877 2007-09-02  Dan Williams  <dcbw@redhat.com>
8878
8879         * test/Makefile.am
8880           test/nminfotest.c
8881                 - Remove, no longer useful
8882
8883 2007-08-30  Dan Williams  <dcbw@redhat.com>
8884
8885         * src/Makefile.am
8886           src/NetworkManagerDbus.c
8887           src/NetworkManagerDbus.h
8888           src/vpn-manager/nm-dbus-vpn.c
8889                 - Remove, no longer necessary.  Move last bits to the only place its
8890                 used, in nm-dbus-vpn.c
8891
8892         * src/NetworkManagerAPList.c
8893           src/nm-device.c
8894           src/NetworkManager.c
8895           src/nm-device-802-11-wireless.c
8896           src/vpn-manager/nm-vpn-manager.c
8897           src/vpn-manager/nm-vpn-service.c
8898           src/NetworkManagerPolicy.c
8899           src/nm-manager.c
8900                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8901                 that was message_is_error()
8902
8903 2007-08-30  Dan Williams  <dcbw@redhat.com>
8904
8905         * libnm-util/sha1.c
8906                 - Include config.h to get defines for endiannes (gnome.org #420216)
8907
8908 2007-08-30  Dan Williams  <dcbw@redhat.com>
8909
8910         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8911
8912         * src/ppp-manager/Makefile.am
8913                 - use -fPIC (gnome.org #471825)
8914
8915 2007-08-29  Dan Williams  <dcbw@redhat.com>
8916
8917         * include/NetworkManager.h
8918                 - Keep NMConnection object path in sync
8919
8920         * libnm-glib/nm-settings.c
8921           libnm-glib/nm-settings.h
8922                 - Break D-Bus object registration out of the init function, because
8923                 every object that's exported over D-Bus needs to use the _same_
8924                 DBusConnection.  Otherwise, each object would get a different object
8925                 path tree and wouldn't be callable.
8926
8927 2007-08-29  Dan Williams  <dcbw@redhat.com>
8928
8929         * libnm-util/nm-setting.h
8930           libnm-util/nm-setting.c
8931           libnm-util/nm-connection.c
8932           src/NetworkManagerPolicy.c
8933                 - 'info' settings object should be 'connection' says the spec
8934                 at NetworkManagerConfigurationSpecification
8935
8936 2007-08-29  Dan Williams  <dcbw@redhat.com>
8937
8938         * libnm-glib/nm-settings.c
8939           libnm-glib/nm-settings.h
8940                 - make the dbus path a property of the object, and autogenerate it.
8941                 It can't be composed of the 'id' field becuase that's not available
8942                 yet during the GObject creation in nm_connection_settings_init()
8943
8944 2007-08-29  Dan Williams  <dcbw@redhat.com>
8945
8946         * introspection/nm-settings-connection.xml
8947           introspection/nm-settings.xml
8948                 - Service name -> NetworkManagerUserSettings because two services
8949                 can't share part of the same path.  I'm not really sure how we'll use
8950                 the same code with the system-settings daemon...
8951
8952 2007-08-28  Dan Williams  <dcbw@redhat.com>
8953
8954         * src/nm-device-interface.c
8955           src/nm-device-interface.h
8956                 - Kill one more bit of NMData
8957
8958 2007-08-28  Dan Williams  <dcbw@redhat.com>
8959
8960         * src/NetworkManagerSystem.h
8961           src/nm-device.c
8962           src/nm-device.h
8963           src/nm-hal-manager.c
8964           src/NetworkManager.c
8965           src/nm-device-802-11-wireless.c
8966           src/nm-hal-manager.h
8967           src/nm-device-802-3-ethernet.c
8968           src/vpn-manager/nm-vpn-service.h
8969           src/vpn-manager/nm-vpn-manager.c
8970           src/vpn-manager/nm-vpn-manager.h
8971           src/vpn-manager/nm-vpn-service.c
8972           src/nm-device-802-11-wireless.h
8973           src/NetworkManagerMain.h
8974           src/nm-device-802-3-ethernet.h
8975           src/backends/NetworkManagerGentoo.c
8976           src/backends/NetworkManagerPaldo.c
8977           src/backends/NetworkManagerFrugalware.c
8978           src/backends/NetworkManagerRedHat.c
8979           src/backends/NetworkManagerSlackware.c
8980           src/backends/NetworkManagerGeneric.c
8981           src/backends/NetworkManagerArch.c
8982           src/backends/NetworkManagerSuSE.c
8983           src/backends/NetworkManagerGeneric.h
8984           src/backends/NetworkManagerDebian.c
8985                 - Kill NMData
8986
8987 2007-08-28  Dan Williams  <dcbw@redhat.com>
8988
8989         * src/NetworkManagerMain.h
8990           src/nm-device-802-11-wireless.c
8991           src/NetworkManager.c
8992                 - Remove invalid AP list from NMData; need to rework this somewhat, but
8993                 for now we should set the 'invalid' property on individual APs, and when
8994                 we need to invalidate a whole ESS, set the 'invalid' on every member of
8995                 that ESS
8996
8997 2007-08-28  Dan Williams  <dcbw@redhat.com>
8998
8999         * src/NetworkManagerAP.c
9000           src/NetworkManagerAP.h
9001                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9002                         'autoconnect' property instead
9003
9004         * src/NetworkManager.c
9005           src/NetworkManagerMain.h
9006           src/NetworkManagerPolicy.c
9007           src/NetworkManagerPolicy.h
9008                 - Remove the 'allowed_ap_list', which should be replaced by 
9009                         NMConnection/NMSettings instead, since _those_ are the allowed
9010                         things that NM can connect to
9011
9012         * src/nm-device-802-11-wireless.c
9013                 - Remove both allowed_ap_list usage and 'fallback' checking
9014
9015 2007-08-28  Dan Williams  <dcbw@redhat.com>
9016
9017         * src/nm-device.c
9018           src/named-manager/nm-named-manager.c
9019           src/named-manager/nm-named-manager.h
9020           src/NetworkManager.c
9021           src/vpn-manager/nm-vpn-manager.c
9022           src/NetworkManagerMain.h
9023           src/NetworkManagerSystem.c
9024                 - Remove the named-manager object from NMData structure in preparation
9025                 for NMData's timely death.  Make the NMNamedManager the singleton that
9026                 it really is
9027
9028 2007-08-28  Dan Williams  <dcbw@redhat.com>
9029
9030         Remove NMAPSecurity objects, they are replaced with flags on the APs for
9031         each AP's capabilities, and by NMConnection/NMSettings objects for user
9032         defined connections.
9033
9034         * include/NetworkManager.h
9035                 - Redefine 802.11 security properties.  There are now device capabilities
9036                         and AP flags and AP security flags.  It was way to unclear before.
9037
9038         * src/Makefile.am
9039           src/nm-ap-security-leap.h
9040           src/nm-ap-security-leap.c
9041           src/nm-ap-security-wpa-eap.c
9042           src/nm-ap-security-wpa-eap.h
9043           src/nm-ap-security-private.h
9044           src/nm-ap-security-wpa-psk.c
9045           src/nm-ap-security-wpa-psk.h
9046           src/nm-ap-security-wep.c
9047           src/nm-ap-security-wep.h
9048           src/nm-ap-security.c
9049           src/nm-ap-security.h
9050                 - Removed, to be replaced with NMConnection/NMSettings objects
9051
9052         * src/nm-dbus-nmi.c
9053           src/nm-dbus-nmi.h
9054                 - Removed, to be replaced by code that talks to the new info daemon
9055                         interface and gets NMConnection/NMSettings objects
9056
9057         * src/backends/NetworkManagerSuSE.c
9058                 - Remove usage of NMAPSecurity; should be replaced by a system-level
9059                         info-daemon that does the same thing but talks the new info-daemon
9060                         D-Bus interface
9061
9062         * src/NetworkManagerAP.h
9063           src/NetworkManagerAP.c
9064           src/NetworkManagerAPList.c
9065           libnm-glib/libnm-glib-test.c
9066                 - Remove usage of NMAPSecurity objects and adjust to new flags for
9067                         WPA/RSN
9068
9069         * libnm-glib/nm-access-point.c
9070           libnm-glib/nm-access-point.h
9071           introspection/nm-access-point.xml
9072           test/nm-tool.c
9073                 - Adjust to new flags for AP security
9074
9075         * utils/nm-utils.c
9076           utils/nm-utils.h
9077           src/vpn-manager/nm-dbus-vpn.c
9078                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9079                         stuff which is the only place it's used
9080
9081         * src/nm-device-interface.c
9082           src/nm-device-interface.h
9083           introspection/nm-device.xml
9084           src/nm-activation-request.c
9085           src/nm-activation-request.h
9086           src/nm-device.c
9087                 - Add a new 'specific_object' argument that hints to NM what actual
9088                         AP or other device-specific thing the connection should apply to.
9089                         NMConnection objects can apply to more than one actual device/AP.
9090
9091         * libnm-util/nm-connection.c
9092         * libnm-util/nm-connection.h
9093                 - Add 'have_secrets" call stubs
9094
9095         * libnm-util/cipher.h
9096                 - Move NM_AUTH_TYPE_* defines here for now
9097
9098         * src/nm-device-802-11-wireless.c
9099                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9100                         NMSettings objects
9101
9102         * src/NetworkManagerDbus.c
9103         * src/NetworkManagerPolicy.c
9104                 - Remove usage of update_allowed_networks, should be pushing data in
9105                         a different manner
9106
9107 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9108
9109         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9110         dbus-glib frees it when the call is done.
9111
9112 2007-08-26  Dan Williams  <dcbw@redhat.com>
9113
9114         * introspection/nm-device.xml
9115                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9116
9117 2007-08-26  Dan Williams  <dcbw@redhat.com>
9118
9119         * src/nm-device-802-3-ethernet.c
9120                 - (constructor): move connection of interface-connected/disconnected
9121                         signals here from real_bring_up().  Should be listening to netlink
9122                         for carrier events no matter what the initial state of the device
9123                         is.
9124
9125 2007-08-26  Dan Williams  <dcbw@redhat.com>
9126
9127         * src/nm-netlink-monitor.c
9128                 - (nm_netlink_monitor_class_init): fix marshalling types for
9129                         interface-connected/interface-disconnected
9130                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9131                         check
9132
9133 2007-08-26  Dan Williams  <dcbw@redhat.com>
9134
9135         Convert to using interface indexes as the primary method of identifying
9136         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9137         be renamed at any time.  Device object paths now refer to the device
9138         index rather than the name, and you can map those two manually if you like
9139         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9140         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9141         to use interface indexes rather than names.
9142
9143 2007-08-26  Dan Williams  <dcbw@redhat.com>
9144
9145         * src/nm-netlink-monitor.h
9146                 - Remove one last bit of wireless-event signal
9147
9148 2007-08-26  Dan Williams  <dcbw@redhat.com>
9149
9150         * src/nm-netlink-monitor.c
9151                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9152                         don't need the 'wireless-event' signal anymore since that's all
9153                         handled by wpa_supplicant
9154
9155 2007-08-25  Dan Williams  <dcbw@redhat.com>
9156
9157         It's 2007. Remove support for drivers that don't support wireless scanning.
9158
9159         * test/nm-tool.c
9160           include/NetworkManager.h
9161           src/NetworkManagerUtils.c
9162           src/NetworkManagerPolicy.c
9163           src/nm-device-802-11-wireless.c
9164                 - Remove special handling for non-scanning devices and mark them
9165                         as unsupported/unhandled
9166
9167 2007-08-20  Dan Williams  <dcbw@redhat.com>
9168
9169         * src/nm-device-802-11-wireless.c
9170           src/nm-device-802-3-ethernet.c
9171                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9172                         because when the card is pulled or the module removed, the device
9173                         is already !IFF_UP and then device-specific cleanup (removing
9174                         the supplicant interface, periodic checks, etc) never gets done
9175
9176 2007-08-20  Dan Williams  <dcbw@redhat.com>
9177
9178         * src/nm-manager.c
9179                 - (nm_manager_remove_device): bring device down before disconnecting
9180                         signal handlers, so that the 'state' signal will get broadcast when
9181                         the device enters the DOWN state
9182                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9183                         of states that cause the NMManager to recheck its state
9184
9185 2007-08-20  Dan Williams  <dcbw@redhat.com>
9186
9187         * src/supplicant-manager/nm-supplicant-interface.c
9188                 - (interface_disconnect_done): don't try to dispose of the net proxy
9189                         when it may already have been disposed of
9190
9191 2007-08-20  Dan Williams  <dcbw@redhat.com>
9192
9193         * src/nm-device-802-11-wireless.c
9194                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9195                         the SSID isn't available; this can happen when the card is pulled
9196                         or the module unloaded, during the post-removal deactivation
9197                         paths, when the ioctl returns ENODEV
9198
9199 2007-08-20  Dan Williams  <dcbw@redhat.com>
9200
9201         * src/nm-device-802-11-wireless.c
9202                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9203                         frequency, and mode match.  Applets are now responsible for grouping
9204                         access points
9205
9206 2007-08-20  Dan Williams  <dcbw@redhat.com>
9207
9208         * src/NetworkManagerAP.c
9209         * src/NetworkManagerAP.h
9210                 - (nm_ap_print_self): new function
9211
9212         * src/NetworkManagerAPList.c
9213                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9214                         to do it all here
9215         
9216 2007-08-17  Dan Williams  <dcbw@redhat.com>
9217
9218         * src/nm-device-802-3-ethernet.c
9219                 - (real_bring_down): don't try to dispose of stuff that might not
9220                         exist
9221
9222 2007-08-17  Dan Williams  <dcbw@redhat.com>
9223
9224         * src/NetworkManagerAP.c
9225                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9226                         applet.  This ensures that the case between the seen-bssids and
9227                         the bssids reported by the driver match.
9228
9229 2007-08-17  Dan Williams  <dcbw@redhat.com>
9230
9231         * src/nm-device-802-11-wireless.c
9232                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9233                         we dispose of the interface proxy in NM
9234
9235 2007-08-16  Dan Williams  <dcbw@redhat.com>
9236
9237         * libnm-glib/nm-client.c
9238                 - (nm_client_init): create VPN connections hash table with key free
9239                         function
9240                 - (proxy_vpn_connection_added): VPN connections hash table key should
9241                         be a duplicated value, not the same memory address as the VPN
9242                         connection name.  This is because the VPN connection name could
9243                         potentially be freed and set to something else during the lifetime
9244                         of the NMVPNConnection object.
9245
9246 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9247
9248         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9249         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9250         with the file descriptors. Send a child setup function to change the pppd
9251         progress group.
9252
9253 2007-08-15  Dan Williams  <dcbw@redhat.com>
9254
9255         * src/supplicant-manager/nm-supplicant-interface.c
9256                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9257                         an interface
9258                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9259                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9260                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9261                         the interface internally
9262
9263 2007-08-15  Dan Williams  <dcbw@redhat.com>
9264
9265         * src/nm-device-802-11-wireless.c
9266                 - (real_bring_down): move most of this function into device_cleanup()
9267                         so that it can be called from elsewhere
9268                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9269                         and stuff on dispose.  These would normally get cleaned up when
9270                         the device is marked down and deactivated, but when the device is
9271                         hot-unplugged, it's already down and real_down() never gets run
9272
9273 2007-08-15  Dan Williams  <dcbw@redhat.com>
9274
9275         * src/nm-dbus-nmi.c
9276                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9277                         caused a reference leak on device for which NM requested a key
9278
9279 2007-08-15  Dan Williams  <dcbw@redhat.com>
9280
9281         * libnm-glib/nm-client.c
9282                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9283
9284 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9285
9286         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9287         nothing is using it at the moment, but it'll be all useful and stuff later on.
9288
9289         * libnm-util/nm-setting.h: Define NMSettingPPP.
9290
9291         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9292
9293         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9294
9295         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9296
9297         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9298
9299         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9300
9301 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9302
9303         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9304
9305         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9306         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9307         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9308         name and different arguments and it won't compile anymore. To fix this, we now have
9309         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9310         that is new API + compatibility API and used by the daemon. The other, 
9311         nm-manager-client.xml is only the new API without compatibility bits and is used
9312         by libnm-glib to make it compile.
9313
9314         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9315
9316         * src/nm-manager.c (impl_manager_legacy_sleep)
9317         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9318         interface functions for 0.6 branch.
9319
9320 2007-08-14  Dan Williams  <dcbw@redhat.com>
9321
9322         * src/NetworkManagerAP.c
9323                 - (nm_ap_new_from_properties): fix mistaken check of return value
9324                         from memcmp (should expect 0)
9325
9326 2007-08-14  Dan Williams  <dcbw@redhat.com>
9327
9328         (force-commit to fix wrong comment and partial commit of r2685; this
9329          commit actually applies to r2685)
9330
9331         * src/NetworkManagerUtils.c
9332                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9333                         ignores trailing nulls in the SSID to work around mismatches in
9334                         expectations between WEXT and what the info-daemon passes back.  The
9335                         info-daemon would pass back the correct length, but due to the
9336                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9337                         the device would always have an SSID + 1 depending on what versions
9338                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9339                         visible by just quitting the applet and relaunching, which caused
9340                         NM to reassociated to the same network over again when reloading
9341                         the save networks.
9342
9343         * src/NetworkManagerPolicy.c
9344           src/NetworkManagerUtils.h
9345           src/nm-device-802-11-wireless.c
9346                 - Update for new parameter to nm_utils_same_ssid()
9347
9348 2007-08-14  Dan Williams  <dcbw@redhat.com>
9349
9350         * src/NetworkManagerAP.c
9351                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9352                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9353                         setting the BSSID to all 0s.  That confused the heck out of NM,
9354                         plus it's useless and probably out-of-spec.
9355
9356 2007-08-14  Dan Williams  <dcbw@redhat.com>
9357
9358         * callouts/Makefile.am
9359           src/dhcp-manager/nm-dhcp-manager.c
9360           src/dhcp-manager/nm-dhcp-manager.h
9361           src/dhcp-manager/Makefile.am
9362                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9363
9364 2007-08-14  Dan Williams  <dcbw@redhat.com>
9365
9366         * src/dhcp-manager/nm-dhcp-manager.c
9367                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9368                         it's really needed, get rid of unused xtra_args parameter
9369
9370 2007-08-14  Dan Williams  <dcbw@redhat.com>
9371
9372         * include/NetworkManagerVPN.h
9373           src/vpn-manager/nm-dbus-vpn.c
9374           src/vpn-manager/nm-dbus-vpn.h
9375           src/vpn-manager/nm-vpn-act-request.c
9376           src/vpn-manager/nm-vpn-act-request.h
9377           src/vpn-manager/nm-vpn-service.c
9378           src/vpn-manager/nm-vpn-service.h
9379           libnm-glib/nm-vpn-connection.c
9380           libnm-glib/nm-vpn-connection.h
9381           libnm-glib/nm-client.h
9382                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9383                         NMVPNServiceState to clarify what they apply to
9384                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9385                         NMVPNActStage -> NMVPNConnectionState for the same reason
9386
9387         * libnm-glib/nm-client.c
9388                 - Constant + type renames from above
9389                 - Properly handle NameOwnerChanged/manager_running signals
9390                         for NM service; only emit when state really changes
9391                 - Use hash tables correctly so that the key (which was previously owned
9392                         by the D-Bus message) now has the same lifetime as the value, since
9393                         the key is now taken from the the NMVPNConnection itself.  This
9394                         really fixes the double-VPN names in the applet
9395
9396 2007-08-13  Dan Williams  <dcbw@redhat.com>
9397
9398         Patch from Michael Biebl <biebl@debian.org>
9399
9400         * po/POTFILES.in
9401           po/POTFILES.skip
9402                 - Update for vpn-properties move
9403
9404 2007-08-13  Dan Williams  <dcbw@redhat.com>
9405
9406         * libnm-glib/nm-client.c
9407                 - Convert internal VPN connection tracking from a list to a hash table
9408                         to easily avoid duplicates
9409                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9410                         must be freed by the caller, like nm_client_get_devices()
9411                 - (nm_client_remove_vpn_connection): don't let the removal signal
9412                         leak through for NMVPNConnection objects that aren't actually
9413                         tracked.
9414                 - (manager_running): throw away VPN connection list when NM goes away,
9415                         like with the device list
9416
9417 2007-08-13  Dan Williams  <dcbw@redhat.com>
9418
9419         * src/dhcp-manager/nm-dhcp-manager.c
9420                 - Stop any dhclient instance that might be already running for a
9421                         particular interface before starting an NM spawned dhclient.  Fixes
9422                         dhclient processes left over if NM crashes, stuff like that.
9423
9424 2007-08-13  Dan Williams  <dcbw@redhat.com>
9425
9426         * src/NetworkManagerAP.c
9427                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9428                         when the AP wasn't broadcasting it's SSID
9429
9430 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9431
9432         * include/NetworkManager.h: added DBus path for connection settings.
9433
9434         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9435         nm_connection_settings_signal_updated,
9436         nm_connection_settings_signal_removed): new functions to wrap the
9437         objects' signals.
9438         (nm_connection_settings_init): register GObject with DBus.
9439         (nm_connection_settings_get_dbus_object_path): new function.
9440
9441         * libnm-glib/Makefile.am: added libnmutil to link flags.
9442
9443 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9444
9445         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9446
9447         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9448         libnm_glib directory got merged with libnm-glib/.
9449
9450         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9451
9452         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9453         Rename the library from libnm-glib to libnm_glib to maintain the library API
9454         compatibility with 0.6 branch.
9455
9456         * Makefile.am: Remove gnome/ SUBDIR.
9457
9458         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9459
9460         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9461
9462         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9463
9464         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9465         anymore.
9466         Remove checks for wpa_supplicant binary, it's used over dbus.
9467         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9468
9469         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9470         Link the binaries with libnm_glib.la.
9471
9472 2007-08-12  Dan Williams  <dcbw@redhat.com>
9473
9474         * src/NetworkManagerPolicy.c
9475                 - (nm_policy_device_change_check): fix policy to deactivate old device
9476                         before activating new one, at least until the multiple active
9477                         device support lands
9478
9479 2007-08-12  Dan Williams  <dcbw@redhat.com>
9480
9481         * src/NetworkManagerPolicy.c
9482                 - (nm_policy_new): hook up to connection-added / connection-removed
9483                         signals instead of connections-changed
9484
9485 2007-08-12  Dan Williams  <dcbw@redhat.com>
9486
9487         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9488         Robert Frank <rfrank@redhat.com>
9489
9490         * src/dhcp-manager/nm-dhcp-manager.c
9491           src/dhcp-manager/nm-dhcp-manager.c
9492           src/nm-device.c
9493                 - Spawn and communicate with dhclient directly, through means of a
9494                 custom dhclient callout script.  Process callout D-Bus signals
9495                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9496                 sent via gobject signals rather than being driven by the dhcp manager
9497                 directly.
9498
9499 2007-08-12  Dan Williams  <dcbw@redhat.com>
9500
9501         * callouts/nm-dhcp-client-action.c
9502                 - (build_message): ignore non-DHCP-related environment variables
9503
9504 2007-08-12  Dan Williams  <dcbw@redhat.com>
9505
9506         * Makefile.am
9507           configure.in
9508           callouts/Makefile.am
9509           callouts/nm-dhcp-client-action.c
9510           callouts/nm-dhcp-client.conf
9511                 - Add dhclient-executed callout that takes the place of dhclient-script
9512                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9513                 NM then listens for
9514
9515 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9516
9517         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9518
9519         * libnm-glib/nm-client.h:
9520         * libnm-glib/nm-object.h:
9521         * libnm-glib/nm-vpn-connection.h:
9522         * libnm-glib/nm-settings.h:
9523         * libnm-glib/nm-device.h:
9524         * libnm-glib/nm-ip4-config.h:
9525         * libnm-glib/nm-access-point.h:
9526         * libnm-glib/nm-device-802-3-ethernet.h:
9527         * libnm-util/nm-setting.h: 
9528         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9529
9530         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9531
9532         * libnm-glib/nm-access-point.c: Strength has type char.
9533
9534         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9535         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9536
9537         * introspection/nm-access-point.xml: Strength property is char, not int.
9538
9539         * src/NetworkManagerAP.c (set_property): Set strength from char.
9540         (get_property): Handle hidden APs (with empty SSID).
9541         Get strength value from char.
9542         (nm_ap_class_init): Strength property has char type.
9543
9544 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9545
9546         * introspection/Makefile.am:
9547         * introspection/nm-settings.xml:
9548         * introspection/nm-settings-connection.xml: added Settings interfaces.
9549
9550         * libnm-glib/nm-settings.[ch]:
9551         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9552         containing the DBus implementation.
9553
9554 2007-07-26  Dan Williams  <dcbw@redhat.com>
9555
9556         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9557
9558         * src/NetworkManagerSystem.c
9559                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9560                         same subnet (#437396)
9561
9562 2007-07-26  Dan Williams  <dcbw@redhat.com>
9563
9564         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9565
9566         * gnome/vpn-properties/nm-vpn-properties.c
9567                 - Fix translatable strings (#445865)
9568
9569 2007-07-26  Dan Williams  <dcbw@redhat.com>
9570
9571         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9572
9573         * configure.in
9574                 - Remove useless junk (#412530)
9575
9576 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9577
9578         Patch from Robert Buchholz <rbu@gentoo.org>:
9579
9580         * configure.in:
9581         * Makefile.am:
9582         * introspection/Makefile.am:
9583         Make make distcheck work again.
9584
9585 2007-06-27  Dan Williams  <dcbw@redhat.com>
9586
9587         * Make SSIDs GByteArrays everywhere
9588         * Rename "essid" -> "ssid" everywhere that's appropriate
9589         * Refcount activation_ap member of the 802.11 wireless device class
9590
9591 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9592
9593         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9594
9595 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9596
9597         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9598         that we got a new AP when we just update existing AP properties.
9599
9600 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9601
9602         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9603
9604         * nm-utils.[ch]: Remove.
9605
9606         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9607         objects for easy property access and dbus connection handling.
9608
9609         * libnm-glib/nm-client.c: Derive from NMObject.
9610
9611         * libnm-glib/nm-device.c: Ditto.
9612
9613         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9614
9615         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9616
9617         * libnm-glib/nm-ip4-config.c: Ditto.
9618
9619         * libnm-glib/nm-access-point.c: Ditto.
9620
9621         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9622         comparision. Currently used by the device activation code to determine if the new
9623         activation is the same as the old one.
9624
9625         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9626         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9627         able to ask password for the AP.
9628
9629         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9630         up if the device is already connected, tear down it's connection (if it isn't the
9631         same as new one) and start the activation.
9632
9633         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9634
9635         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9636         the issue where all APs are always listed as encrypted.
9637
9638         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9639         their own registered paths.
9640
9641         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9642         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9643
9644 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9645
9646         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9647         (0 & 0 == 0, doh)
9648
9649         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9650         because the handling code will cause the next state change and signal listeners
9651         get the signals in wrong order.
9652
9653         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9654         correctly in case of pending activation.
9655
9656         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9657         Convert the essid byte array to string correctly, including the terminating NULL.
9658
9659         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9660         mode with correct types.
9661
9662         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9663         constructed info to dbus call instead of the activation request.
9664
9665 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9666
9667         Patch from Christian Persch <chpe@gnome.org>
9668
9669         * libnm-glib/Makefile.am:
9670         * dispatcher-daemon/Makefile.am:
9671         Use the correct variables, the correct paths, and correct ordering. (446315)
9672
9673 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9674
9675         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9676         argument. The activation request is easy to retrieve.
9677
9678         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9679         just to be a convenient location for devices to store random stuff.
9680
9681 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9682
9683         Patch from Alex Smith <alex@alex-smith.me.uk>
9684
9685         * src/backends/NetworkManagerFrugalware.c:
9686         Update the FrugalWare backend to fix a few segfaults. (#392642)
9687
9688 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9689
9690         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9691
9692         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9693         setting.
9694         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9695
9696 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9697
9698         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9699         automagically.
9700         Implement NMSettingIP4Config.
9701         Finish NMSettingWired by adding all known members.
9702         (setting_wired_verify): Implement.
9703         Finish NMSettingWireless by adding all known members.
9704         (setting_wireless_verify): Implement.
9705
9706         * libnm-util/nm-connection.c: Register "ipv4" setting.
9707         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9708         dump function, we can introspect the GHashTable which is used for sending connections
9709         over dbus.
9710
9711         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9712         Take GByteArray for essid, it's really not a string.
9713
9714         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9715         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9716         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9717         means overriding the values we got from DHCP.
9718         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9719         (nm_device_deactivate_quickly): Ditto.
9720
9721         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9722         for debugging.
9723
9724 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9725
9726         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9727         NMConnection.
9728
9729         * libnm-glib/nm-device-802-11-wireless.c:
9730         (nm_device_802_3_ethernet_activate): Remove.
9731
9732         * libnm-glib/nm-device-802-3-ethernet.c
9733         (nm_device_802_3_ethernet_activate): Remove.
9734
9735         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9736
9737         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9738         NMConnection.
9739
9740         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9741         activation has started.
9742         Implement the new activation using NMConnection.
9743
9744         * src/nm-activation-request.c: Store a generic connection object instead
9745         of a wireless-specific AP.
9746
9747         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9748         on device type, create a device specific connection object suitable for
9749         device activation.
9750
9751         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9752         specific check to validate the connection and on success start the
9753         activation.
9754
9755         * src/nm-device-interface.h: Add a activate virtual function to the
9756         interface definition.
9757
9758         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9759         (impl_device_activate): Implement.
9760
9761         * introspection/nm-device.xml: Add a generic device activation interface
9762         that accepts an abstract NMConnection structure that has device-specific
9763         information in it.
9764
9765         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9766         activation interface.
9767
9768         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9769         activation interface.
9770
9771         * libnm-util/nm-connection.c: 
9772         * libnm-util/nm-connection.h: 
9773         * libnm-util/nm-setting.c:
9774         * libnm-util/nm-setting.h: Add.
9775
9776         * libnm-util/Makefile.am: Build the added files.
9777
9778         * src/nm-dbus-manager.c
9779         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9780         DbusConnection argument from 'name-owner-changed' signal. The manager
9781         is already passed as a first argument to the signal and the connection
9782         is easy enough to get from it.
9783
9784         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9785         Update the signature of the function.
9786
9787         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9788         Ditto.
9789
9790         * src/NetworkManager.c: Ditto.
9791
9792         * src/named-manager/nm-named-manager.c
9793         (nm_named_manager_name_owner_changed): Ditto.
9794
9795         * src/supplicant-manager/nm-supplicant-manager.c
9796         (nm_supplicant_manager_name_owner_changed): Ditto.
9797
9798         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9799
9800         * src/dhcp-manager/nm-dhcp-manager.c
9801         (nm_dhcp_manager_name_owner_changed): Ditto.
9802
9803         * src/nm-hal-manager.c: Add a list of device detectors and creators
9804         to make it easier to add new devices. Each device type has it's own
9805         entry in the table so adding new device types is only a matter of
9806         implementing a couple of functions, one for device detection and the
9807         other for device creation.
9808
9809 2007-04-25  Dan Williams  <dcbw@redhat.com>
9810
9811         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9812                 (gnome.org #432401)
9813
9814 2007-03-30  Dan Williams  <dcbw@redhat.com>
9815
9816         * src/NetworkManagerSystem.c
9817                 - (nm_system_device_set_ip4_route): clean up and fix argument
9818                         to nm_dev_sock_open()
9819
9820 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9821
9822         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9823         data to correct types instead of always using string.
9824
9825         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9826         _not_ have NM_802_11_CAP_PROTO_NONE.
9827         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9828         is not set.
9829
9830 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9831
9832         * libnm-glib/Makefile.am: Fix the build issue.
9833
9834 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9835
9836         * libnm-glib/nm-vpn-connection.h: 
9837         * libnm-glib/nm-vpn-connection.c: Implement.
9838
9839         * libnm-glib/nm-client.c: Add VPN support.
9840
9841         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9842         handler for VPN.
9843
9844         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9845         on DBUS again.
9846
9847 2007-03-26  Dan Williams  <dcbw@redhat.com>
9848
9849         * src/NetworkManagerAPList.c
9850         * src/nm-device-802-11-wireless.c
9851         * src/NetworkManagerAP.c:
9852                 - Store last seen as glong instead of GTimeVal.
9853                 - Fix the upper bound of capabilities, it's a bitfield.
9854
9855 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9856
9857         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9858
9859         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9860         "manager-running" signal that notifies the appearance/disappearance of NM.
9861         (nm_client_sleep): Implement.
9862
9863         * libnm-glib/nm-device.c:
9864         * libnm-glib/nm-device-802-11-wireless.c: 
9865         * libnm-glib/nm-device-802-3-ethernet.c: 
9866
9867         Don't inherit from DBusGProxy, add a proxy to private
9868         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9869         for anything but their own dbus interface. DBusGProxy objects support only one
9870         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9871         interface. The nice side effect of this change is that we do not create a new
9872         DBusGProxy object for each property access.
9873
9874 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9875
9876         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9877         with zeroes before passing them to functions - the functions never do that and
9878         reading the values back may produce wrong values.
9879         (real_bring_up): Store the signal handler id ...
9880         (real_bring_down): ... So that it can be removed here.
9881         Disconnect the supplicant interface here as well.
9882         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9883         from the access point instead of old $device/Networks/$essid.
9884
9885         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9886         device state is connected (instead of just having link/carrier).
9887
9888         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9889         already easily accessible through the device.
9890
9891         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9892         store it within the object.
9893         (nm_ap_get_dbus_path): Export it to public as well.
9894
9895         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9896         of the singleton.
9897
9898 2007-03-12  Dan Williams  <dcbw@redhat.com>
9899
9900         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9901         for non-carrier-detect capable devices, and useless for carrier-detect
9902         devices since we get notifications from netlink about carrier status anyway.
9903
9904         * src/nm-device-802-3-ethernet.c
9905                 - remove 'link_source_id' member from private data
9906                 - (probe_link): remove and collapse into real_update_link()
9907                 - (nm_device_802_3_periodic_update): remove
9908                 - (real_is_up): check for sup_iface rather than link_source_id
9909                 - (real_bring_up): return gboolean for success/fail; require that
9910                         sup_iface be valid for device bringup to succeed
9911                 - (real_bring_down): zero out link signal ids
9912
9913         * src/nm-device.c
9914                 - (nm_device_activate_stage2_device_config): fail activation if device
9915                         bringup fails
9916                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9917                         fails
9918                 - (nm_device_bring_up): return success/fail
9919
9920         * src/nm-device.h
9921                 - bring_up now returns success/fail
9922
9923         * src/nm-device-802-11-wireless.c
9924                 - (real_bring_up): return success from bringup
9925
9926 2007-03-07  Dan Williams  <dcbw@redhat.com>
9927
9928         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9929         * src/nm-ap-security-wpa-psk.c
9930                 - (real_write_supplicant_config): work with PSKs that may contain
9931                         zeros in the binary format rather than treating it as a string
9932
9933 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9934
9935         * libnm-glib/nm-device-802-11-wireless.c
9936         (nm_device_802_11_wireless_get_capabilities): Implement.
9937
9938         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9939
9940         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9941
9942         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9943         reply only if it's not NULL. Not sure why this started happening right now.
9944
9945         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9946         code paths for when devices get removed on shutdown or when a device is just
9947         removed.
9948         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9949         gets freed so any signal from a device (disconnected for instance) would invoke
9950         NMState update which would crash.
9951         (nm_manager_remove_device): Bring the device down when it gets removed.
9952
9953         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9954         the unused dev_type.
9955
9956         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9957         reference to the added device, NMManager will own it (if it wants).
9958
9959         * test/nm-tool.c: Rewrite using libnm-glib.
9960
9961         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9962         We get signalled when it changes.
9963
9964         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9965         when it changes.
9966
9967         * libnm-glib/nm-device.c: Cache the device state property.
9968
9969         * libnm-glib/nm-access-point.c: Cache the strength property.
9970
9971         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9972         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9973         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9974         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9975         the device is down, activating, or activated (in case of A/B/G cards).
9976         Remove some old dead ifdef'ed out code that used to configure wireless devices,
9977         it's all done through supplicant now.
9978
9979         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9980         counting issues with pending calls which caused leaks and crashes when
9981         interface was removed (now that the interface actually gets removed).
9982
9983         * src/nm-call-store.c: Make a copy of data before running a foreach
9984         with user callback on it - The most common usage pattern is to cancel
9985         (and thus remove) all pending calls with foreach which would modify
9986         the hash table we're iterating over.
9987
9988         * src/nm-manager.c: When a device is added, make sure it is "up". When
9989         it's removed or disabled due to disabling wireless or networking, bring
9990         it down.
9991
9992         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9993
9994         * src/nm-device-802-11-wireless.c: 
9995         * src/nm-device-802-3-ethernet.c: 
9996         * src/nm-device.c:
9997                 - Remove "init" virtual function, all gobjects have a place for that
9998                   already (constructor).
9999                 - Replace "start" virtual function with "bring_up", devices can be
10000                   brought up and down more than just on startup now.
10001                 - Add "is_up" virtual function.
10002                 - Implement one way to bring a device down instead of previous 4 different
10003                   ways, each of witch did something different.
10004
10005         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10006         all it needs is the device interface.
10007
10008         Get rid of NMData.dev_list (3 members to go).
10009         Get rif of NMData in a lot of places.
10010
10011         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10012
10013 2007-02-23  Dan Williams  <dcbw@redhat.com>
10014
10015         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10016
10017         * src/NetworkManagerAP.c
10018                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10019                         OR-ing rather than AND-ing
10020
10021 2007-02-20  Tambet Ingo  <tambet@ximian.com>
10022
10023         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10024         "network-removed" signals.
10025
10026         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10027
10028         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10029         when receiving the signal from dbus.
10030
10031         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10032         property.
10033
10034         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10035         deactivation of the previously activated device working again.
10036
10037         * src/nm-activation-request.c: Remove NMActStage property and it's getter
10038         and setter.
10039
10040         * src/nm-device.c (nm_device_is_activated): Remove.
10041         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10042
10043         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10044         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10045         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10046         NM_DBUS_SIGNAL_STATE_CHANGE signal.
10047         Remove NMNetworkStatus and NMActStage enums.
10048
10049 2007-02-19  Tambet Ingo  <tambet@ximian.com>
10050
10051         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10052         Handle device state changes and disconnect VPN if it's device deactivates.
10053
10054         * src/nm-dbus-nm.c: 
10055         * src/nm-dbus-nm.h: 
10056         * src/nm-dbus-device.c: 
10057         * src/nm-dbus-device.c: 
10058         * src/nm-dbus-net.c: 
10059         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10060
10061         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10062
10063         * src/nm-device.c (nm_device_get_by_udi):
10064         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10065         implemented in the correct location (NMManager).
10066         Rip out all the test_device stuff.
10067
10068         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10069         failure handlers, it's all done by NMDevice already.
10070
10071         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10072         Remove the iochannel hack to route the unix signals to the main thread since
10073         we're not threaded anymore.
10074
10075         * src/NetworkManagerAP.c: Implement HWAddress property.
10076
10077         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10078         automatically with dbus-glib.
10079
10080         * src/nm-netlink-monitor.c: 
10081         * src/nm-netlink-monitor.h:
10082                 - Move it low in the class hierarchy, don't reference any NM types.
10083                 - Remove private data from the header.
10084                 - Use type safe checks in public API methods.
10085                 - Make it a singleton so we don't have to pass the single reference around.
10086
10087 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10088
10089         * introspection/nm-ip4-config.xml: Implement.
10090
10091         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10092
10093         * libnm-glib/nm-ip4-config.c:
10094         * libnm-glib/nm-ip4-config.c: Implement.
10095
10096         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10097         securities. APs reference security.
10098
10099         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10100         be exported over DBUS.
10101
10102         * src/nm-device-802-3-ethernet.c: Ditto.
10103
10104         * src/NetworkManagerAP.c:
10105         * src/NetworkManagerAP.h:
10106                 - Convert to GObject, export over DBUS.
10107
10108         * src/nm-ip4-config.h:
10109         * src/nm-ip4-config.h:
10110                 - Convert to GObject, export over DBUS.
10111
10112 2007-02-12  Dan Williams  <dcbw@redhat.com>
10113
10114         Patch from Helmut Schaa <hschaa@suse.de>
10115
10116         * vpn-daemons/pptp/configure.in
10117           vpn-daemons/pptp/Makefile.am
10118           vpn-daemons/openvpn/configure.in
10119           vpn-daemons/openvpn/Makefile.am
10120           vpn-daemons/vpnc/configure.in
10121           vpn-daemons/vpnc/Makefile.am
10122                 - Add --without-gnome switch which disables building gnome bits
10123
10124 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10125
10126         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10127
10128         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10129
10130         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10131         'HwAddress'.
10132
10133         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10134
10135         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10136
10137         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10138
10139         * src/:
10140                 - Remove old low-level dbus interface implementations and replace them
10141                   with dbus-glib one.
10142
10143         * configure.in:
10144                 - Require dbus-glib >= 0.72.
10145                 - Plug in new sources to build.
10146
10147         * libnm-glib/:
10148                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10149                   to make it more convenient to use from GObject based programs.
10150
10151         * introspection/:
10152                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10153
10154 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10155
10156         * src/nm-device-802-11-wireless.c:
10157                 - Add "network-added" and "network-removed" signals.
10158                 - Use gobject boilerplate macros to define the GObject.
10159                 - Implement wireless device activation.
10160                 - Remove activation_failure_handler and activation_success_handler
10161                   and instead listen on state-changed signals and run the same code
10162                   from there.
10163
10164         * src/nm-device.c:
10165                 - Implment NMDeviceInterface::deactivate.
10166                 - Remove activation_failure_handler and activation_success_handler
10167                   virtual methods. Each device which is interested in these events
10168                   can just listen on it's state changed signals.
10169
10170         * src/NetworkManagerPolicy.c:
10171                 - Move a bit more NMData usage to NMManager.
10172                 - Remove activation scheduling bits.
10173                 - Add listeners for wireless device's "network-added" and
10174                   "network-removed" signals.
10175                 - Listen device changed signals and deactivate currently activated
10176                   device when another device start activating (for now).
10177                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10178                   for calling this, the policy code knows exactly when this should happen,
10179                   by listening on events from NMManager and NMDevices.
10180
10181         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10182         Implement.
10183
10184         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10185         method on the specific device instead of going to through policy code
10186         and determining the device type by passed in AP's existance.
10187
10188         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10189         abstract NMDevice deactivation.
10190
10191 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10192
10193         * src/NetworkManager.c:
10194                 - Set up all the shiny new managers.
10195
10196         * src/NetworkManagerPolicy.c:
10197                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10198                   classes to call into policy code, make the policy code kind of like
10199                   a supervisor that monitors what's going on and drives the whole NM.
10200
10201         * src/nm-hal-manager.c: 
10202         * src/nm-hal-manager.h:
10203                 - Collect all libhal code scattered around NM to this one class.
10204                 - Listen libhal and NMManager events and add/remove devices to
10205                   NMManager.
10206
10207         * src/nm-manager.c:
10208         * src/nm-manager.h:
10209                 - Implment a replacement for NMData. NMData is now officially
10210                 deprecated.
10211
10212 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10213
10214         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10215         * src/supplicant-manager/nm-supplicant-interface.h
10216         * src/supplicant-manager/nm-supplicant-interface.c
10217         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10218         argument to boolean from enum.
10219
10220         Make NMDevice abstract class, remove almost all references to it's
10221         subclasses (the last place gets removed with new policy manager). Add
10222         NMDeviceInterface (which NMDevice implements) so that when we have
10223         NMDevice exported over DBUS, there's a common NMDevice interface which
10224         all instances have, plus there's a device specific interface for each
10225         specific type.
10226         Remove functions (nm_device_is_802_3_ethernet) and
10227         (nm_device_is_802_11_wireless). There are already standard GObject macros
10228         for type safe checks.
10229         Use the updated supplican manager API.
10230
10231         * src/nm-device-interface.h: 
10232         * src/nm-device-interface.c: 
10233         * src/nm-call-store.h: 
10234         * src/nm-call-store.c: Implement.
10235
10236         * src/supplicant-manager/nm-supplicant-interface.c:
10237         * src/supplicant-manager/nm-supplicant-interface.h:
10238         * src/supplicant-manager/nm-supplicant-manager.c:
10239         * src/supplicant-manager/nm-supplicant-manager.h:
10240                 - Remove all private data type references from public header files.
10241                 - Remove all references to other NM classes, this class is just a
10242                   proxy between wpa_supplicant and NM so it doesn't have to know
10243                   any internals.
10244                 - Convert to dbus-glib bindings.
10245                 - Type safe checks for public methods' arguments.
10246                 - Store pending DBUS call ids to NMCallStore.
10247
10248         * src/supplicant-manager/nm-supplicant-config.c:
10249                 - Store config values in a GHashTable instead of GSList.
10250
10251         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10252
10253         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10254         singleton now.
10255
10256         * src/nm-device.c: Use the new DHCP manager API.
10257
10258         * src/nm-activation-request.c:
10259         * src/nm-activation-request.h:
10260                 - Remove all dhcp related properties and methods.
10261
10262         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10263
10264         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10265
10266         * src/dhcp-manager/nm-dhcp-manager.c:
10267         * src/dhcp-manager/nm-dhcp-manager.h:
10268                 - Convert it to GObject since we need to signal state changes.
10269                 - Remove all references to other NM classes, this class is one
10270                   of the lowest classes in our hierarchy.
10271                 - One less class to use NMActRequest.
10272                 - Make it singleton, one less user of NMData.
10273                 - Remove a couple of sleep() calls.
10274                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10275                   One less class to use the NM's custom tailored signal handlig.
10276
10277         * Makefile.am: Generate marshallers, add them to build.
10278
10279 2007-02-02  Dan Williams  <dcbw@redhat.com>
10280
10281         * configure.in
10282           gnome/Makefile.am
10283           nm-applet.desktop
10284           Makefile.am
10285                 - Remove last bits referencing gnome applet
10286
10287 2007-02-02  Dan Williams  <dcbw@redhat.com>
10288
10289         * src/vpn-manager/nm-vpn-service.c
10290                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10291                         and NBNS server addresses
10292
10293 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10294
10295         * src/nm-dbus-manager.c:
10296         * src/nm-dbus-manager.h:
10297                 - Convert all internal DBUS code to use dbus-glib bindings.
10298                 - Remove GObject properties, we don't need them here.
10299                 - Don't explicitly set things to NULL after freeing, glib is
10300                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10301                 - Make public API argument checks type safe.
10302                 - Remove unnecessary (and wrong) cast to GObject for the first
10303                   argument to g_signal_* calls - The first argument is a gpointer.
10304                 - Export DBusGConnection to other cool classes that (are going to)
10305                   use dbus-glib.
10306
10307 2007-01-26  Dan Williams  <dcbw@redhat.com>
10308
10309         * libnm-util/dbus-dict-helpers.c
10310           libnm-util/dbus-dict-helpers.h
10311                 - Coordinate style with wpa_supplicant version to minimize diff
10312                 - Add uint32 array support
10313                 - (nmu_dbus_dict_append_uint32_array): new function
10314                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10315                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10316                         version; allow adding string array elements individually
10317
10318         * test/libnm-util/test-dbus-dict-helpers.c
10319                 - Test uint32 arrays
10320
10321 2007-01-27  Jürg Billeter  <j@bitron.ch>
10322
10323         * src/backends/NetworkManagerPaldo.c
10324                 - (nm_system_update_dns): clear nscd hosts cache
10325
10326 2007-01-04  Dan Williams  <dcbw@redhat.com>
10327
10328         Threading removal related cleanups:
10329
10330         - Use the glib default main context.  Remove the device main context
10331                 member from NMDevice, and the main_context member from NMData.  Change
10332                 all the idle and timeout scheduler functions to use plain
10333                 g_idle_add() and g_timeout_add().
10334
10335         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10336                 takes an argument; fix that up too.
10337
10338         - Remove all locking, which is useless since we no longer use threads.  For
10339                 example, nm_get_device_by_iface_locked() has been removed.  The global
10340                 device list lock, the AP List lock, and all static locks in
10341                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10342                 in NetworkManagerUtils.c have also been removed.
10343
10344         - Other cleanups in spacing and code style
10345
10346 2007-01-01  Dan Williams  <dcbw@redhat.com>
10347
10348         Found by Bill Moss:
10349
10350         * src/supplicant-manager/nm-supplicant-interface.c
10351                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10352                         the supplicant interface wasn't already disconnected.  Always
10353                         call removeNetwork and disconnect unless the supplicant interface
10354                         is in the DISCONNECTED or INACTIVE state.
10355
10356 2006-12-28  Dan Williams  <dcbw@redhat.com>
10357
10358         Use a single thread for everything.  With the move to wpa_supplicant
10359         and communication over D-Bus, there's no reason for multiple threads.
10360         Almost all of the blocking code has been removed, with one exception in
10361         the DHCP manager and a few in the VPN manager.  This commit removes the
10362         per-device worker thread and fixes activation cancellation in the absence
10363         of threads.  Further removal of thread-related code would be removing
10364         any locking code (like the device list lock) and simplification of logic
10365         around areas of code or data structures that are currently locked.
10366
10367         * autoip.c
10368           dhcp-manager/nm-dhcp-manager.c 
10369           nm-device-802-11-wireless.c
10370           nm-device-802-3-ethernet.c
10371           nm-device.c
10372           nm-device.h
10373                 - Remove usage of multiple threads
10374
10375 2006-12-19  Dan Williams  <dcbw@redhat.com>
10376
10377         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10378         plus a few other patches from wpa_supplicant bugzilla.
10379
10380         * src/Makefile.am
10381           src/NetworkManagerPolicy.c
10382           src/NetworkManagerUtils.c
10383           src/NetworkManagerUtils.h
10384           src/nm-ap-security-leap.c
10385           src/nm-ap-security-wep.c
10386           src/nm-ap-security-wpa-eap.c
10387           src/nm-ap-security-wpa-psk.c
10388           src/nm-ap-security.c
10389           src/nm-ap-security.h
10390           src/nm-device-802-11-wireless.c
10391           src/nm-device-802-11-wireless.h
10392           src/supplicant-manager/nm-supplicant-config.c
10393           src/supplicant-manager/nm-supplicant-config.h
10394           src/supplicant-manager/nm-supplicant-interface.c
10395           src/supplicant-manager/nm-supplicant-interface.h
10396           src/supplicant-manager/nm-supplicant-marshal.list
10397           src/supplicant-manager/nm-supplicant-settings-verify.c
10398           src/supplicant-manager/nm-supplicant-settings-verify.h
10399                 - Move all connection management and association handling to
10400                         wpa_supplicant over dbus, rather than spawning a private copy
10401
10402 2006-12-19  Dan Williams  <dcbw@redhat.com>
10403
10404         * src/NetworkManagerPolicy.c
10405                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10406                         better locking of the device change check handler ID.  Incorrect
10407                         locking was causing lost device change requests
10408
10409 2006-12-18  Dan Williams  <dcbw@redhat.com>
10410
10411         * libnm-util/dbus-dict-helpers.c
10412                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10413                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10414                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10415
10416 2006-12-18  Dan Williams  <dcbw@redhat.com>
10417
10418         * gnome/libnm_glib/libnm_glib.c
10419                 - Change dbus_connection_close() -> dbus_connection_unref()
10420
10421 2006-12-11  Dan Williams  <dcbw@redhat.com>
10422
10423         * src/supplicant-manager/nm-supplicant-interface.c
10424                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10425                         wpa_supplicant interface state
10426                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10427                         state before transitioning to READY state
10428
10429 2006-12-04  Dan Williams  <dcbw@redhat.com>
10430
10431         * src/nm-device-802-11-wireless.c
10432                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10433                         odd length of ESSID returned from ieee80211 stack-based drivers
10434
10435 2006-12-04  Dan Williams  <dcbw@redhat.com>
10436
10437         * src/nm-device-802-11-wireless.c
10438                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10439                         IE handling blocks that cause mis-parsing of the IE
10440
10441 2006-12-04  Dan Williams  <dcbw@redhat.com>
10442
10443         * src/nm-device-802-11-wireless.c
10444                 - (init_supplicant_interface): new function; pull supplicant interface
10445                         setup code out into standalone function since it must be called from
10446                         two different places
10447                 - (real_init): sup_mgr is now in private object data; get and track
10448                         the supplicant manager object over the NMDevice subclass' lifetime
10449                         and register a signal handler for its state signals; only try to
10450                         initialize the supplicant interface if the supplicant manager is in
10451                         the IDLE state (and therefore is ready for requests)
10452                 - (request_wireless_scan): reschedule the scan request if (a) there is
10453                         no supplicant interface yet (meaning wpa_supplicant isn't running
10454                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10455                         for requests yet
10456                 - (supplicant_iface_connection_state_cb): new function; stub for
10457                         handling supplicant interface connection state signals
10458                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10459                         comes and goes
10460                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10461                         supplicant manager object that's being tracked starting with this
10462                         commit
10463
10464 2006-12-04  Dan Williams  <dcbw@redhat.com>
10465
10466         * src/supplicant-manager/nm-supplicant-interface.c
10467                 - (nm_supplicant_interface_set_property): track signal handler ID
10468                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10469
10470 2006-12-04  Dan Williams  <dcbw@redhat.com>
10471
10472         * src/supplicant-manager/nm-supplicant-interface.[ch]
10473                 - (nm_supplicant_interface_get_state): new function
10474
10475 2006-12-04  Dan Williams  <dcbw@redhat.com>
10476
10477         * src/supplicant-manager/nm-supplicant-interface.c
10478                 - (bssid_properties_cb): don't treat DBus errors as valid
10479                         scanned AP messages
10480
10481 2006-12-04  Dan Williams  <dcbw@redhat.com>
10482
10483         * src/supplicant-manager/nm-supplicant-interface.[ch]
10484                 - (nm_supplicant_interface_get_connection_state): new function
10485                 - define new supplicant connection states
10486                 - send a signal when the supplicant connection state changes
10487
10488 2006-12-03  Dan Williams  <dcbw@redhat.com>
10489
10490         * src/supplicant-manager/Makefile.am
10491           src/supplicant-manager/nm-supplicant-connection.h
10492           src/supplicant-manager/nm-supplicant-connection.c
10493           src/supplicant-manager/nm-supplicant-config.h
10494           src/supplicant-manager/nm-supplicant-config.c
10495           src/supplicant-manager/nm-supplicant-types.h
10496           src/supplicant-manager/nm-supplicant-interface.h
10497           src/supplicant-manager/nm-supplicant-interface.c
10498                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10499
10500 2006-12-03  Dan Williams  <dcbw@redhat.com>
10501
10502         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10503
10504         * po/POTFILES.in
10505           po/POTFILES.skip
10506                 - Move VPN-related translatables to .skip
10507
10508         * vpn-daemons/pptp/po/POTFILES.in
10509                 - Update with new translatables
10510
10511 2006-12-02  Dan Williams  <dcbw@redhat.com>
10512
10513         Patch from Christian Persch <chpe@gnome.org>
10514
10515         * gnome/applet/Makefile.am
10516           gnome/applet/applet-dbus-devices.c
10517           gnome/applet/applet-notifications.c
10518           gnome/applet/applet.c
10519           gnome/applet/applet.h
10520           gnome/applet/main.c
10521                 - Be a GtkStatusIcon on GTK+ >= 2.10
10522
10523 2006-12-02  Dan Williams  <dcbw@redhat.com>
10524
10525         * gnome/applet/applet.c
10526                 - (nma_update_info): fix two unecessary allocations
10527
10528 2006-12-02  Dan Williams  <dcbw@redhat.com>
10529
10530         Patch from Michael Biebl <biebl@teco.edu>
10531         * configure.in
10532           man/NetworkManager.1.in
10533           man/NetworkManagerDispatcher.1.in
10534           man/NetworkManager.8.in
10535           man/NetworkManagerDispatcher.8.in
10536                 - Add .SH NAME stanzas
10537                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10538
10539 2006-12-02  Dan Williams  <dcbw@redhat.com>
10540
10541         Patch from Christian Persch <chpe@gnome.org>
10542
10543         * configure.in
10544                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10545
10546 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10547
10548         Patch by Timo Hoenig <thoenig@suse.de>:
10549         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10550         DBUS-1.0.
10551
10552         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10553         we can't use the one from the main source directory.
10554
10555 2006-11-27  Dan Williams  <dcbw@redhat.com>
10556
10557         Patch from Christian Persch <chpe@gnome.org>
10558
10559         * gnome/applet/applet-dbus-devices.c
10560                 - (hal_info_product_cb): fix memleak; free duped string.
10561                         Gnome.org #379908
10562
10563 2006-11-27  Dan Williams  <dcbw@redhat.com>
10564
10565         Patch from Christian Persch <chpe@gnome.org>
10566
10567         * gnome/applet/menu-items.c
10568                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10569                         as gtk_progress_set_percentage is deprecated.  Should
10570                         work as far back as GTK+ 2.4.  Gnome.org #379780
10571
10572 2006-11-26  Dan Williams  <dcbw@redhat.com>
10573
10574         Scan using wpa_supplicant over DBus.
10575
10576         * src/nm-device-802-11-wireless.c
10577                 - remove wireless extensions netlink event handler bits
10578                         (wireless_event_helper, nm_device_802_11_wireless_event)
10579                 - remove wireless extensions scan event handler bits
10580                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10581                         hex2byte, hex2num, request_and_convert_scan_results,
10582                         free_process_scan_cb_data, scan_results_timeout,
10583                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10584                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10585                         and request scans from the supplicant interface rather than directly
10586                 - Move functionality of convert_scan_results() to cull_scan_list() and
10587                         supplicant_iface_scanned_ap_cb()
10588                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10589                         at the scan interval when the current scan has finished
10590                 - (supplicant_iface_state_cb): start scanning when the supplicant
10591                         interface enters the READY state, and stop scanning when it
10592                         enters the DOWN state
10593                 - (cull_scan_list): weed out old access points from the scan list
10594                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10595                         point into an NMAccessPoint and merge it into the device's scan list
10596
10597         * src/supplicant-manager/nm-supplicant-interface.c
10598           src/supplicant-manager/nm-supplicant-interface.h
10599                 - Add a new signal "scan-result" which is issued when the supplicant
10600                         notifies NM that a scan has completed
10601                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10602                         point found in the scan.  Called once for each access point that
10603                         the supplicant interface object receives from the supplicant as a
10604                         result of the "scanResults" method call
10605                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10606                         for the initial scan results
10607                 - (scan_request_cb): new function; send listeners the result
10608                         (success, error) of a wireless scan request
10609                 - (nm_supplicant_interface_request_scan): new function; ask the
10610                         supplicant to perform an immediate wireless scan
10611
10612 2006-11-25  Dan Williams  <dcbw@redhat.com>
10613
10614         * src/supplicant-manager/Makefile.am
10615                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10616                         add HAL cflags/includes and named-manager includes directory
10617
10618         * src/supplicant-manager/nm-supplicant-interface.h
10619                 - New state STARTING to handle transition from INIT to READY where
10620                         the addInterface pending call is still outstanding
10621
10622         * src/supplicant-manager/nm-supplicant-interface.c
10623                 - track pending calls differently since we may have more than one
10624                         going on at any given time
10625                 - request scan results from wpa_supplicant; but don't do it more often
10626                         than every 4 seconds.  Drivers that do background scanning
10627                         (like the 'ipw' drivers) send a continuous stream of scan completion
10628                         notifications, so we don't want to hammer the supplicant or dbus
10629                         with requests for all scan results every time we get a completion
10630                         notification.
10631
10632 2006-11-25  Dan Williams  <dcbw@redhat.com>
10633
10634         * src/supplicant-manager/nm-supplicant-types.h
10635                 - new file; move all supplicant manager object typedefs here for
10636                         #include sanity
10637
10638         * src/supplicant-manager/nm-supplicant-interface.c
10639           src/supplicant-manager/nm-supplicant-interface.h
10640                 - new file; an object that interfaces an NMDevice object to the
10641                         supplicant and handles signals from the supplicant.  This object
10642                         does all necessary DBus communication with wpa_supplicant.
10643
10644         * src/supplicant-manager/nm-supplicant-manager.c
10645           src/supplicant-manager/nm-supplicant-manager.h
10646                 - Actually do something.  Track the state of the wpa_supplicant service
10647                         and deal with its comings & goings.  Handle life events of
10648                         supplicant interfaces too.
10649                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10650
10651         * src/supplicant-manager/nm-supplicant-connection.h
10652                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10653
10654         * src/supplicant-manager/Makefile.am
10655                 - Add new files to build, and add libnm-util to includes
10656
10657         * src/nm-marshal.list
10658                 - New marshaler type: VOID:UINT,UINT
10659
10660         * src/nm-device-802-3-ethernet.c
10661                 - (real_init): grab a supplicant interface
10662                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10663                 - (supplicant_iface_state_cb): new function, stub for handling
10664                         supplicant interface state changes
10665
10666         * src/nm-device-802-11-wireless.c
10667                 - (real_init): grab a supplicant interface
10668                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10669                 - (supplicant_iface_state_cb): new function, stub for handling
10670                         supplicant interface state changes
10671
10672         * src/NetworkManager.c
10673                 - (main): create and keep the supplicant manager around for the lifetime
10674                         of NetworkManager
10675
10676         * src/Makefile.am
10677                 - Link to the supplicant manager sub-library and use the supplicant
10678                         manager includes
10679
10680 2006-11-25  Dan Williams  <dcbw@redhat.com>
10681
10682         Rework DBus manager signal handling to be more flexible.  Previously,
10683         only one signal handler could be registered for a particular interface.
10684         The DBus manager now reference counts DBus bus matches and allows multiple
10685         clients to register signal handlers for the same interface and sender.
10686
10687         * src/NetworkManager.c
10688                 - (main): track NMI signal handler ID and remove it when we quit
10689
10690         * src/NetworkManagerMain.h
10691                 - Keep track of NMI signal handler ID
10692
10693         * src/nm-dbus-manager.c
10694           src/nm-dbus-manager.h
10695                 - rework signal handling; each signal handler references one signal
10696                         match, but a signal match may be referenced by one or more
10697                         signal handlers.  Matches are refcounted and are destroyed when the
10698                         last signal handler that references the match is removed.  This is
10699                         necessary because two signal handlers may end up requiring the same
10700                         dbus bus match, so the match must live until the last signal handler
10701                         is destroyed (for example, with the wpa_supplicant network interface
10702                         dbus interface).
10703
10704         * src/dhcp-manager/nm-dhcp-manager.c
10705                 - (nm_dhcp_manager_new): track DHCP signal handler id
10706                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10707
10708         * src/vpn-manager/nm-vpn-service.c
10709                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10710                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10711
10712 2006-11-25  Dan Williams  <dcbw@redhat.com>
10713
10714         Suggested by Helmut Schaa <hschaa@suse.de>
10715
10716         * src/vpn-daemons/nm-vpn-service.c
10717                 - (supplicant_child_setup): new function
10718                 - (supplicant_exec): make child process use a new process group id
10719
10720         * src/nm-device-802-11-wireless.c
10721                 - (nm_vpn_service_child_setup): new function
10722                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10723                         process group id
10724
10725 2006-11-19  Dan Williams  <dcbw@redhat.com>
10726
10727         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10728         * gnome/vpn-properties/nm-vpn-properties.c
10729                 - clean up after renamed VPN connection
10730
10731 2006-11-19  Dan Williams  <dcbw@redhat.com>
10732
10733         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10734         * gnome/applet/applet-dbus-vpn.c
10735                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10736
10737         * gnome/vpn-properties/nm-vpn-properties.c
10738                 - (init_app): sort VPN connections
10739
10740 2006-11-09  Dan Williams  <dcbw@redhat.com>
10741
10742         * src/NetworkManagerAPList.c
10743                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10744                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10745                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10746                 broke hidden SSID matching.  Found by Bill Moss.
10747
10748 2006-10-25  Dan Williams  <dcbw@redhat.com>
10749
10750         * src/nm-dbus-nm.c
10751                 - (nm_dbus_nm_set_active_device): return an empty success message on
10752                         success, rather than falling through to the error case.
10753
10754 2006-10-25  Dan Williams  <dcbw@redhat.com>
10755
10756         * src/NetworkManagerUtils.c
10757                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10758                         "SCAN" command
10759
10760 2006-10-24  Dan Williams  <dcbw@redhat.com>
10761
10762         Reduce the number of times the Gnome applet wakes up, especially when
10763         it's doing absolutely nothing and is hidden.  Initial patch by
10764         Chris Aillon.
10765
10766         * gnome/applet/applet-dbus.c
10767                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10768                         kill the redraw timeout.  When NM starts up, start the redraw
10769                         timeout.  Also, if we get kicked off the bus for some reason,
10770                         start the reconnection timeout if one's not already running.
10771                 - (nma_dbus_init): better handling of error conditions, don't leak
10772                         a half-initialized dbus connection
10773                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10774                         the applet's data, just call nm_dbus_init_helper()
10775                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10776                         timeout that calls nma_dbus_connection_watcher()
10777                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10778                         reconnection timeout, and don't start the reconnection timeout
10779                         unconditionally anymore
10780
10781         * gnome/applet/applet-dbus.h
10782                 - Expose nma_start_dbus_connection_watch()
10783
10784         * gnome/applet/applet.c
10785                 - (nma_update_state): no longer static, called from applet-dbus.c for
10786                         immediate UI updates on certain events
10787                 - (nma_set_running): new function; take over setting applet->running,
10788                         when not running (ie, NM is not active), don't activate the redraw
10789                         timeout because we're not showing the applet anyway.  When we are
10790                         running (ie, NM is active), and only when we're running, start the
10791                         redraw timeout.
10792                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10793                         kill any reconnection timeout
10794                 - (nma_get_instance): move one-off dbus initialization code here since
10795                         nm_dbus_init_helper() gets called more than once, possibly by the
10796                         reconnection timeout function too.  And, when we start up, if we
10797                         can't get a connection to the bus, start the reconnection timeout.
10798                         But don't start the redraw timeout yet, only do that when we get
10799                         NM's state and find out if it's running or not.
10800
10801         * gnome/applet/applet.h
10802                 - Add the reconnection GSource ID
10803                 - Add prototypes for nma_set_running() and the no-longer-static
10804                         nma_update_state()
10805
10806 2006-10-24  Dan Williams  <dcbw@redhat.com>
10807
10808         * src/vpn-daemons/nm-dbus-vpnc.c
10809                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10810                         pending call tracker
10811                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10812                         pending call tracker; register one-vpn-connection update pending
10813                         call in pending call tracker
10814                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10815                         update pending call in pending call tracker
10816                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10817                         update pending call in pending call tracker; don't block waiting
10818                         for call to return
10819
10820 2006-10-19  Robert Love  <rml@novell.com>
10821
10822         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10823           refresh the cache.
10824
10825 2006-10-14  Dan Williams  <dcbw@redhat.com>
10826
10827         * src/dhcp-manager/nm-dhcp-manager.c
10828                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10829                 the dbus connection and the device object path rather than
10830                 constructing it inside both functions.  Saves a bit of memory
10831                 and clarifies a failure path.
10832                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10833                 and allocate device path here rather than each of the two
10834                 functions above.
10835
10836 2006-10-13  Dan Williams  <dcbw@redhat.com>
10837
10838         * src/NetworkManager.c
10839                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10840                 this somehow droppout in the refactor
10841
10842 2006-10-13  Dan Williams  <dcbw@redhat.com>
10843
10844         * Huge DBus refactor:
10845                 - Create a "DBus Manager" object which manages the connection and
10846                 sends signals on NameOwnerChanged and connection/disconnection events,
10847                 handles reconnection to the bus if NM gets kicked off, and abstracts
10848                 signal handling
10849                 - Remove DBusConnection members from places where they are no
10850                 longer needed due to the refactor, like the dbus-connection
10851                 property of the named manager, and from NMData
10852                 - Reformats a bunch of the code to gnome style
10853                 (8-space tabs, braces on same line as statement, 80-col width).
10854                 Consider it open season to reformat any bits to gnome style.
10855                 style that aren't already.
10856
10857 2006-10-13  Dan Williams  <dcbw@redhat.com>
10858
10859         * src/supplicant-manager/Makefile.am
10860                 - Add new files
10861
10862         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10863                 - Make it a minimal GObject
10864
10865         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10866                 - Verify settings destined for wpa_supplicant
10867
10868         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10869                 - Minimal GObject to track wpa_supplicant controlled device
10870                 connections
10871
10872 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10873
10874         * gnome/applet/applet.c: (nma_update_info),
10875         (nma_act_stage_to_pixbuf), (nma_update_state):
10876         Mark missing strings for translation. Fixes bug #343306.
10877
10878 2006-10-01  Dan Williams  <dcbw@redhat.com>
10879
10880         * src/vpn-manager/nm-vpn-manager.c
10881                 - (nm_vpn_manager_load_services): split and clean up
10882                 for readability and correctness.  Restrict VPN service
10883                 files to ending in ".name", as was meant from the
10884                 beginning (but not coded in).  Better error reporting.
10885
10886 2006-10-01  Dan Williams  <dcbw@redhat.com>
10887
10888         * utils/nm-utils.h
10889                 - Clean up formatting of debug/info/warning log messages
10890
10891 2006-09-27  Robert Love  <rml@novell.com>
10892
10893         Patch by Tambet Ingo <tambet@ximian.com>:
10894         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10895           actually work.
10896
10897 2006-09-07  Dan Williams <dcbw@redhat.com>
10898
10899         * test/Makefile.am
10900           test/libnm-util/Makefile.am
10901           test/nm-supplicant-test.c
10902                 - Add test program emulating the way NM drives wpa_supplicant
10903                 to help debug supplicant issues
10904
10905 2006-08-24  Dan Williams <dcbw@redhat.com>
10906
10907         * configure.in
10908           src/Makefile.am
10909           src/supplicant-manager/Makefile.am
10910           src/supplicant-manager/nm-supplicant-manager.c
10911           src/supplicant-manager/nm-supplicant-manager.h
10912                 - Add skeleton bits of the wpa_supplicant manager
10913
10914 2006-08-24  Dan Williams <dcbw@redhat.com>
10915
10916         Patch from Ed Catmur:
10917         * src/NetworkManagerUtils.c
10918                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10919                 if netmask is 0 (Gnome #352634)
10920
10921 2006-08-17  Robert Love  <rml@novell.com>
10922
10923         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10924           package is now DBUS-enabled and listens for the NM signals.
10925
10926 2006-08-14  Dan Williams  <dcbw@redhat.com>
10927
10928         * Patch from Christian Persch <chpe gnome org>
10929         * configure.in
10930           po/LINGUAS
10931           vpn-daemons/openvpn/po/LINGUAS
10932           vpn-daemons/openvpn/configure.in
10933           vpn-daemons/pptp/po/LINGUAS
10934           vpn-daemons/pptp/configure.in
10935           vpn-daemons/vpnc/po/LINGUAS
10936           vpn-daemons/vpnc/configure.in
10937                 - Convert to LINGUAS method so translators don't have to modify
10938                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10939                 0.35 or higher
10940
10941 2006-08-14  Dan Williams  <dcbw@redhat.com>
10942
10943         Patch from Alex Smith <alex.extreme2@gmail.com>
10944         * configure.in
10945           src/backends/Makefile.am
10946           src/backends/NetworkManagerFrugalware.c
10947                 - Add support for Frugalware
10948
10949 2006-08-13  Dan Williams  <dcbw@redhat.com>
10950
10951         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10952         * src/nm-device-802-11-wireless.c
10953                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10954                 Gnome #346875
10955
10956 2006-08-13  Dan Williams  <dcbw@redhat.com>
10957
10958         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10959         * src/nm-ap-security.c
10960           src/nm-ap-security.h
10961                 - Add authentication_required bits for subclasses to specify whether
10962                 or not real authentication is required for connections, i.e. whether
10963                 the AP rejects us when an encryption key is wrong or not.
10964
10965         * src/nm-ap-security-wep.c
10966           src/nm-ap-security-wpa-eap.c
10967           src/nm-ap-security-wpa-psk.c
10968           src/nm-ap-security-leap.c
10969                 - Implement authentication_required appropriately for each method
10970
10971         * src/nm-device-802-11-wireless.c
10972                 - Be smarter about when to request a key; for example, using a wrong key
10973                 in WEP shared key mode previously just timed out and did not request
10974                 a new key
10975
10976 2006-08-13  Dan Williams  <dcbw@redhat.com>
10977
10978         * gnome/libnm_glib/libnm_glib.c
10979                 - dbus_connection_disconnect() -> dbus_connection_close() for
10980                 dbus >= 0.90
10981
10982 2006-08-07  Dan Williams  <dcbw@redhat.com>
10983
10984         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10985         * src/NetworkManagerSystem.c
10986                 - Respect specified MTU.  Gnome #344967
10987
10988 2006-08-07  Dan Williams  <dcbw@redhat.com>
10989
10990         * src/vpn-manager/nm-vpn-service.c
10991                 - Simplify print_vpn_config() arguments
10992
10993         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10994         * src/vpn-manager/Makefile.am
10995           src/vpn-manager/nm-vpn-service.c
10996                 - Add new API for passing VPN config options as a dict. Gnome #344967
10997
10998 2006-08-06  Dan Williams  <dcbw@redhat.com>
10999
11000         * gnome/applet/applet-dbus-devices.c
11001           gnome/applet/applet-dbus-vpn.c
11002           gnome/applet/applet-dbus.c
11003           gnome/applet/applet-dbus.h
11004           src/nm-dbus-nmi.c
11005           utils/nm-utils.c
11006           utils/nm-utils.h
11007                 - Make pending call tracking code generic,
11008                 so we can use it in NM as well as the applet
11009
11010 2006-08-06  Dan Williams  <dcbw@redhat.com>
11011
11012         * src/nm-activation-request.c
11013                 - Refcount pending call objects
11014
11015 2006-08-06  Dan Williams  <dcbw@redhat.com>
11016
11017         Patch from Christan Chiesa <christanc@gmail.com>
11018         * configure.in
11019                 - Tell sha1.c to use bigendian mode on PPC
11020
11021 2006-08-04  Robert Love  <rml@novell.com>
11022
11023         Glib Memory Slices!
11024         * configure.in: Require glib 2.10 or later.
11025         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11026           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11027           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11028           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11029           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
11030           Memory Slices are the greatest thing since bread slices.
11031         * src/NetworkManagerAP.c: Also, fix memory leak.
11032
11033 2006-08-01  Robert Love  <rml@novell.com>
11034
11035         * gnome/applet/main.c: Shutdown all VPN connections on logout.
11036
11037 2006-07-31  Robert Love  <rml@novell.com>
11038
11039         * src/backends/interface_parser.c: Declarations must begin the block.
11040
11041 2006-07-24  Dan Williams  <dcbw@redhat.com>
11042
11043         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11044         * src/backends/Makefile.am
11045           src/backends/NetworkManagerArch.c
11046           src/backends/NetworkManagerDebian.c
11047           src/backends/NetworkManagerGeneric.c
11048           src/backends/NetworkManagerGeneric.h
11049           src/backends/NetworkManagerGentoo.c
11050           src/backends/NetworkManagerPaldo.c
11051           src/backends/NetworkManagerRedHat.c
11052           src/backends/NetworkManagerSlackware.c
11053           src/backends/NetworkManagerSuSE.c
11054                 - Genericize common backend functions
11055
11056 2006-07-18  Robert Love  <rml@novell.com>
11057
11058         * configure.in: Add "--with-notify" option to allow disabling of
11059           libnotify support.
11060
11061 2006-07-13  Dan Williams  <dcbw@redhat.com>
11062
11063         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11064         * gnome/applet/applet.glade
11065           gnome/applet/Makefile.am
11066           gnome/applet/nm-gconf-wso.c
11067           gnome/applet/nm-gconf-wso-leap.c
11068           gnome/applet/nm-gconf-wso-leap.h
11069           gnome/applet/wireless-security-manager.c
11070           gnome/applet/wso-leap.c
11071           gnome/applet/wso-leap.h
11072           include/NetworkManager.h
11073           libnm-util/dbus-helpers.c
11074           libnm-util/dbus-helpers.h
11075           src/Makefile.am
11076           src/NetworkManagerAP.c
11077           src/nm-ap-security.c
11078           src/nm-ap-security-leap.c
11079           src/nm-ap-security-leap.h
11080                 - Add LEAP authentication support
11081
11082 2006-07-13  Dan Williams  <dcbw@redhat.com>
11083
11084         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11085         * configure.in
11086           src/backends/NetworkManagerArch.c
11087           src/backends/NetworkManagerDebian.c
11088           src/backends/NetworkManagerGentoo.c
11089           src/backends/NetworkManagerPaldo.c
11090           src/backends/NetworkManagerRedHat.c
11091           src/backends/NetworkManagerSlackware.c
11092           src/backends/NetworkManagerSuSE.c
11093                 - Convert hardcoding of 'ip' path to configure-time
11094                         detected one
11095
11096 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11097
11098         * configure.in: added ru to ALL_LINGUAS
11099
11100 2006-07-10  Dan Williams  <dcbw@redhat.com>
11101
11102         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11103         * src/nm-device.c
11104                 - (real_act_stage3_ip_config_start): don't infinite loop when
11105                         dhcdbd isn't running (Gnome #346845)
11106
11107 2006-07-09  Dan Williams  <dcbw@redhat.com>
11108
11109         * gnome/applet/applet.c
11110                 - (nma_destroy): don't pass NULL to notify_notification_close
11111                         (RH #197917)
11112
11113 2006-07-09  Dan Williams  <dcbw@redhat.com>
11114
11115         * gnome/applet/applet.c
11116                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11117
11118 2006-07-04  Tor Krill  <tor@krill.nu>
11119
11120         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11121         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11122         (nm_system_restart_mdns_responder), (ArchReadConfig),
11123         (nm_system_device_get_system_config):
11124                 - Explicitly check for DHCP configuration
11125                 - Check if daemons are running before starting them
11126
11127 2006-06-25  Dan Williams  <dcbw@redhat.com>
11128
11129         * libnm-util/dbus-dict-helpers.[ch]
11130           test/libnm-util/test-dbus-dict-helpers.c
11131                 - Add string array support
11132
11133 2006-06-24  Dan Williams  <dcbw@redhat.com>
11134
11135         * src/dhcp-manager/nm-dhcp-manager.c
11136                 - (nm_dhcp_manager_process_signal): clean up spacing
11137
11138 2006-06-21  Dan Williams  <dcbw@redhat.com>
11139
11140         * src/nm-dbus-device.c
11141                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11142                         through dbus
11143
11144 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11145
11146         * configure.in: Added 'lv' to ALL_LINGUAS
11147
11148 2006-06-19  Dan Williams  <dcbw@redhat.com>
11149
11150         * src/NetworkManagerAP.c
11151                 - Clarify usage of user_created
11152
11153         * src/nm-ap-security-wep.c
11154           src/nm-ap-security-wpa-eap.c
11155           src/nm-ap-security-wpa-psk.c
11156           src/nm-ap-security.c
11157           src/nm-ap-security.h
11158                 - s/user_created/adhoc, because we really do mean adhoc
11159
11160         Patch from Bernard Blackham <bernard@blackham.com.au>
11161         * src/nm-device-802-11-wireless.c         
11162                 - (supplicant_send_network_config): instead of user_created,
11163                         use adhoc, and do AP_SCAN 2 for adhoc networks
11164
11165 2006-06-18  Robert Love  <rml@novell.com>
11166
11167         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11168           we have a value to set.  Gconf generates a warning if `val' is NULL.
11169         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11170           unless we actually received a valid private key file passphrase or
11171           password.  Otherwise, we don't know to later ask the applet to pull
11172           the key from the keyring.
11173
11174 2006-06-17  Dan Williams  <dcbw@redhat.com>
11175
11176         * libnm-util/dbus-dict-helpers.[ch]
11177           test/libnm-util/test-dbus-dict-helpers.c
11178                 - Fixes for zero-length byte arrays
11179                 - Replace return values of 0 with FALSE for clarity
11180                 - Test zero-length byte arrays
11181
11182 2006-06-17  Dan Williams  <dcbw@redhat.com>
11183
11184         * libnm-util/dbus-dict-helpers.[ch]
11185           test/libnm-util/test-dbus-dict-helpers.c
11186                 - Add helpers for byte arrays
11187                 - Rework bits of the testcase
11188
11189 2006-06-16  Dan Williams  <dcbw@redhat.com>
11190
11191         * libnm-util/Makefile.am
11192         * libnm-util/dbus-dict-helpers.[ch]
11193                 - Add some helpers to take the pain out of using dict types in
11194                         dbus.
11195
11196         * test/libnm-util/Makefile.am
11197         * test/libnm-util/test-dbus-dict-helpers.c
11198                 - Test cases for the dict helper functions
11199
11200 2006-06-15  Robert Love  <rml@novell.com>
11201
11202         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11203           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11204           if there is no key to pass.
11205         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11206           receiving a non-NULL key.
11207
11208 2006-06-14  Robert Love  <rml@novell.com>
11209
11210         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11211           copy the strings.
11212
11213
11214 2006-06-14  Dan Williams  <dcbw@redhat.com>
11215
11216         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11217         * src/nm-device-802-11-wireless.c
11218                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11219                         or ones where the driver is unknown
11220                 - (supplicant_exec): don't wait for supplicant startup here
11221                 - (supplicant_interface_init): finer grained polling for supplicant
11222                         startup
11223
11224 2006-06-13  Robert Love  <rml@novell.com>
11225
11226         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11227           if it is currently set to TRUE.  Otherwise, we will reset the value
11228           when we connect normally.
11229         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11230           the old BSSID is valid, too.  The recently added ESSID check may not be
11231           sufficient (we can remove it?).  What we really want to catch is the
11232           case of going from all-zeros to the BSSID of some other network, which
11233           happens on failure.
11234
11235 2006-06-09  Dan Williams  <dcbw@redhat.com>
11236
11237         * src/NetworkManagerSystem.[ch]
11238                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11239                         it was unused and pointless
11240                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11241                         fix for set_up_down_with_iface change
11242
11243         * src/vpn-manager/nm-vpn-connection.c
11244                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11245
11246         * src/backends/NetworkManagerPaldo.c
11247           src/backends/NetworkManagerRedHat.c
11248           src/backends/NetworkManagerSuSE.c
11249           src/backends/NetworkManagerArch.c
11250           src/backends/NetworkManagerDebian.c
11251           src/backends/NetworkManagerGentoo.c
11252                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11253                         appropriate
11254                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11255                         where appropriate
11256
11257 2006-06-09  Dan Williams  <dcbw@redhat.com>
11258
11259         Patch from Peter Jones:
11260         * src/nm-device-802-11-wireless.c
11261                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11262                         SSID hasn't changed from what we expect before automatically
11263                         updating the saved BSSID from a new AP
11264
11265 2006-06-08  Robert Love  <rml@novell.com>
11266
11267         Add 'fallback' support.  NetworkManager will attempt to brute-force
11268         connect to networks marked as fallback if there are no better wireless
11269         connections available.  This is useful as a method of last resort, to
11270         work around driver problems, and for use with hidden networks.
11271         * gnome/applet/applet-dbus-devices.c,
11272           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11273         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11274           pass it on via DBUS.
11275         * gnome/applet/applet.c: No fallback by default.
11276         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11277           Update other-network-dialog to add UI checkbox toggling fallback.
11278         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11279           propery from AP object.  Add "fallback" property to AP object.
11280         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11281         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11282         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11283           separate function.  Add get_best_fallback_ap() for returning an AP
11284           on which to attempt fallback.
11285         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11286         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11287
11288 2006-06-07  Robert Love  <rml@novell.com>
11289
11290         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11291           checked that the return type was GCONF_VALUE_STRING, not the correct
11292           GCONF_VALUE_BOOL, and thus it never worked.
11293         * src/NetworkManagerAPList.c: Before concluding that two networks are
11294           identical based on their BSSID, make sure that the BSSID in question
11295           is actually valid.  Specifically, an empty or all zero BSSID does not
11296           cut it.
11297         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11298           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11299           similar invariant clean up.
11300
11301 2006-06-02  Robert Love  <rml@novell.com>
11302
11303         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11304
11305 2006-05-28  Dan Williams  <dcbw@redhat.com>
11306
11307         * gnome/applet/applet.glade
11308           gnome/vpn-properties/nm-vpn-properties.glade
11309                 - Set window icons on dialogs  (Gnome.org #333420)
11310
11311 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11312
11313         * gnome/vpn-properties/nm-vpn-properties.glade:
11314         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11315         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11316         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11317                 - Make the VPN properties pages prettier and more HIG
11318                   compliant. Gnome Bug #336913.
11319
11320 2006-05-28  Dan Williams  <dcbw@redhat.com>
11321
11322         Patch from Christian Persch <chpe@gnome.org>
11323         * gnome/vpn-properties/nm-vpn-properties.c
11324         * gnome/vpn-properties/nm-vpn-properties.glade
11325                 - HIG-ification love  (Gnome.org #336846)
11326
11327 2006-05-28  Dan Williams  <dcbw@redhat.com>
11328
11329         Patch from Christian Persch <chpe@gnome.org>
11330         * configure.in
11331           gnome/vpn-properties/nm-vpn-properties.c
11332                 - (main): Fix option parsing.  Gnome.org #336847
11333
11334 2006-05-28  Dan Williams  <dcbw@redhat.com>
11335
11336         * gnome/vpn-properties/nm-vpn-properties.c
11337                 - (find_vpn_ui_by_service_name): protect against NULL service names
11338                 - (update_edit_del_sensitivity): protect against NULL service names
11339                         Gnome.org #341306
11340
11341 2006-05-28  Dan Williams  <dcbw@redhat.com>
11342
11343         Patch from Chris Fuller <crf@grandecom.net>:
11344         * src/nm-device-802-11-wireless.c
11345                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11346                         don't dispose of wireless-specific stuff unless it is actually
11347                         initialized.  Gnome.org #341263
11348
11349 2006-05-28  Dan Williams  <dcbw@redhat.com>
11350
11351         * src/NetworkManagerPolicy.c
11352                 - (nm_policy_device_change_check): don't switch devices if the "best"
11353                         AP is essentially the same as the current activation request, but
11354                         the current activation request isn't done activating yet.  Fixes
11355                         multiple requests for keyring password on startup for Gnome applet.
11356                         Gnome.org #341297
11357
11358 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11359
11360         * src/NetworkManager.c: use GOptions instead of getopt
11361         * configure.in: bump glib required version to >= 2.6 for GOption
11362           support
11363
11364 2006-05-25  Robert Love  <rml@novell.com>
11365
11366         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11367           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11368           instead of dumping ifdef's throughout the code.
11369         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11370           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11371           use nm_ioctl_info() in lieu.
11372
11373 2006-05-25  Robert Love  <rml@novell.com>
11374
11375         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11376         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11377           not using gcrypt.  Otherwise, we get a linker error.
11378
11379 2006-05-25  Robert Love  <rml@novell.com>
11380
11381         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11382         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11383           configure flag to disable building of the GNOME-based applet.
11384
11385 2006-05-25  Robert Love  <rml@novell.com>
11386
11387         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11388           parameter from link, because it shadows a global variable with some
11389           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11390           should never have exported to the entire system a common four letter
11391           word.  But we here at NetworkManager are team players.  Fixes
11392           GNOME bug #336532.
11393
11394 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11395
11396         * configure.in: Added mk.po, Macedonian translation.
11397
11398 2006-05-24  Robert Love  <rml@novell.com>
11399
11400         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11401           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11402           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11403
11404 2006-05-24  Robert Love  <rml@novell.com>
11405
11406         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11407           libnm-util/Makefile.am, src/Makefile.am,
11408           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11409           vpn-daemons/openvpn/properties/Makefile.am,
11410           vpn-daemons/pptp/auth-dialog/Makefile.am,
11411           vpn-daemons/pptp/properties/Makefile.am,
11412           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11413           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11414           user passed for --datadir, if anything, when setting the GNOME locale
11415           directory.  It should be a function of the specified datadir and not
11416           the prefix.
11417
11418 2006-05-24  Robert Love  <rml@novell.com>
11419
11420         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11421           src/NetworkManager.c: Take care to call bindtextdomain with the
11422           location of msgid files.
11423         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11424           files.
11425
11426 2006-05-22  Robert Love  <rml@novell.com>
11427
11428         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11429           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11430           99% of the time there is a real problem with wireless, and a
11431           seemingly successful connection via Zeroconf just confuses the user.
11432           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11433
11434 2006-05-22  Robert Love  <rml@novell.com>
11435
11436         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11437           autofs on interface up if NIS is configured.  On interface down, do
11438           nothing.
11439
11440 2006-05-22  Robert Love  <rml@novell.com>
11441
11442         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11443           to avoid calling g_object_unref() on stale pointers on error in
11444           nma_icons_free().  This happens because we short-circuit loaded the
11445           icons on the first failure but then free all icons.  Normally we have
11446           no issue because the icons were zero'ed out malloc, but we have stale
11447           pointer data after nma_icon_theme_changed().
11448         * gnome/applet/main.c: Return error code if nma_new() failed.
11449
11450 2060-05-21  Dan Williams  <dcbw@redhat.com>
11451
11452         * initscript/NetworkManager.in
11453                 - Ensure both dhcdbd and named are started before NM
11454
11455 2006-05-21  Dan Williams  <dcbw@redhat.com>
11456
11457         * configure.in
11458                 - Bump version to 0.7 to signify we are in 0.7 development
11459
11460 2006-05-21  Dan Williams  <dcbw@redhat.com>
11461
11462         Patch from Adam Schreiber <sadam@clemson.edu>
11463         * gnome/vpn-properties/nm-vpn-properties.c
11464                 - (main): correct Gnome program name  (gnome.org #342498)
11465
11466 2006-05-21  Dan Williams  <dcbw@redhat.com>
11467
11468         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11469
11470         * src/NetworkManagerDbus.[ch]
11471                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11472                         clarify that function's argument should be an escaped dbus object
11473                         path, and look for path segment end before returning a match
11474         * src/nm-dbus-nm.c:
11475                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11476
11477 2006-05-17  Robert Love  <rml@novell.com>
11478
11479         Functionality to differentiate Ad-Hoc networks from infrastructure
11480         networks in the applet, by displaying a special icon:
11481         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11482         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11483         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11484           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11485           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11486           networks, encrypted or not.
11487         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11488           accessor functions to get and set the mode of a given network,
11489           wireless_network_get_mode() and wireless_network_set_mode().
11490
11491 2006-05-17  Robert Love  <rml@novell.com>
11492
11493         Functionality to automatically add BSSIDs to the allowed-MAC list as
11494         one roams from access point to access point on a given network:
11495         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11496           helper function to compare two ether_addr structures and return TRUE
11497           if they contain the same MAC address.
11498         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11499           prototype.
11500         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11501           stored with the current AP.  If the BSSID has indeed changed, we
11502           send it out to the applet, allowing the allowed-MAC list to grow
11503           automatically in response to roaming.
11504
11505 2006-05-16  Robert Love  <rml@novell.com>
11506
11507         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11508           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11509
11510 2006-05-13  Dan Williams  <dcbw@redhat.com>
11511
11512         * src/nm-device-802-3-ethernet.c
11513                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11514                         carrier detect (Debian bug #366373)
11515
11516 2006-05-11  Dan Williams  <dcbw@redhat.com>
11517
11518         Patch from Michael Biebl <biebl@teco.edu>
11519         * src/backends/NetworkManagerDebian.c
11520                 - Debian backend fixups
11521
11522 2006-05-10  Robert Love  <rml@novell.com>
11523
11524         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11525
11526 2006-05-09  Robert Love  <rml@novell.com>
11527
11528         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11529           private certificate passphrase, if any, in the GNOME Keyring.
11530         * libnm-utils/dbus-helpers.c: Update.
11531
11532 2006-05-05  Dan Williams  <dcbw@redhat.com>
11533
11534         * src/nm-device-802-11-wireless.c
11535                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11536                         nm_device_802_11_wireless_disable_encryption() since that's all
11537                         we use it for anymore; we don't ever set WEP keys ourselves.
11538                 - (real_deactivate_quickly): reset SSID and encryption keys
11539                 - (real_deactivate): move SSID and encryption key reset to
11540                         real_deactivate_quickly(), which gets run before us anyway
11541
11542 2006-05-05  Robert Love  <rml@novell.com>
11543
11544         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11545           root has a wacky default of its own (or, more common, a user has a
11546           bad umask and uses su/sudo to restart NetworkManager).  Anything
11547           other than 0022 does not do what we want with, for example,
11548           resolv.conf.  This problem is amplified by our judicious use of
11549           fopen(), which uses mode 0666 -- implying that the only way to get
11550           the permissions we want is with a umask of 0022.
11551
11552 2006-05-05  Dan Williams  <dcbw@redhat.com>
11553
11554         * gnome/libnm_glib/libnm_glib.c
11555                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11556                         to reconnect; instead wait a bit more with each reconnect attempt
11557                         up to a max of one minute.
11558
11559 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11560
11561         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11562           the WirelessNetwork structure using the proper function instead of
11563           just casting it directly to (const char *) (gnome.org #336991)
11564
11565 2006-05-03  Robert Love  <rml@novell.com>
11566
11567         * src/backends/NetworkManagerSuSE.c: Respect the variable
11568           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11569           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11570           to dynamically update /etc/resolv.conf.
11571
11572 2006-05-02  Peter Jones  <pjones@redhat.com>
11573
11574         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11575
11576 2006-05-02  Robert Love  <rml@novell.com>
11577
11578         Patch by Timo Hoenig;
11579         * tests/nm-online.c: Print pretty status indicator as timeout winds
11580           down.  Also fix possible race between DBUS startup and failure
11581           return.
11582
11583 2006-05-01  Robert Love  <rml@novell.com>
11584
11585         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11586           empty, too.
11587
11588 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11589
11590         * src/nm-device.c (discover_device_type): Actually use the hal
11591         device type instead of ioctl poking
11592
11593 2006-04-26  Robert Love  <rml@novell.com>
11594
11595         * tests/nm-online.c: New file.  Simple utility that returns exit status
11596           noting whether the connection is offline or online.  If offline on
11597           start, it waits 30 seconds (or a command-line given value) for an
11598           online signal.  If it times out, it again returns offline.  This is
11599           useful for scripts that want to wait for network connections.
11600
11601 2006-04-25  Robert Love  <rml@novell.com>
11602
11603         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11604           key mode (the authentication algorithm), e.g. open or shared, when we
11605           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11606           only shared was broken.  If the user specified a shared key, set it
11607           explicitly, otherwise let wpa_supplicant go with the default.
11608
11609 2006-04-24  Dan Williams  <dcbw@redhat.com>
11610
11611         * src/nm-device-802-11-wireless.c
11612                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11613
11614 2006-04-24  Dan Williams  <dcbw@redhat.com>
11615
11616         Commit the async scanning patch
11617
11618         * src/nm-device-802-11-wireless.c
11619                 - get rid of scan_mutex
11620                 - (wireless_event_helper): act on wireless scan events
11621                 - (real_start): schedule a pending scan
11622                 - (link_to_specific_ap): fake the link to the AP during a scan
11623                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11624                         strength during scans
11625                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11626                         nm_device_set_bitrate): unused with new scanning code, disable
11627                 - (nm_device_wireless_schedule_scan): removed
11628                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11629                 - (request_and_convert_scan_results): new function; retrieve scan
11630                         results from the driver and schedule the processing function
11631                 - (scan_results_timeout): timeout triggered when card doesn't send
11632                         a scan results wireless event during a certain interval
11633                 - (schedule_scan_results_timeout): new function; schedule the scan
11634                         results timeout
11635                 - (cancel_scan_results_timeout): new function; cancel the scan
11636                         results timeout
11637                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11638                         to do the scanning.  Otherwise, just request a scan but don't
11639                         grab results here; instead schedule a timeout for scan results and
11640                         let netlink notify us of scan completion events
11641                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11642                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11643                 - (supplicant_status_cb): ignore disconnect events while scanning
11644                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11645                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11646                         timeouts
11647                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11648
11649 2006-04-24  Dan Williams  <dcbw@redhat.com>
11650
11651         * gnome/applet/applet-dbus.c
11652                 - Disable the pending call debug stuff, seems under control now
11653
11654 2006-04-20  Robert Love  <rml@novell.com>
11655
11656         Fix bug where hidden ESSID's would not show up in the applet, even
11657         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11658         because nm_policy_device_list_update_from_allowed_list() would merge
11659         the data, putting a name to the hidden networks, but never notify NMI
11660         of the changes.  Simple fix is to invoke the function
11661         nm_dbus_signal_wireless_network_change() if we make a mapping.
11662         * src/NetworkManagerAPList.c: Call the function
11663           nm_dbus_signal_wireless_network_change() if we made a successful
11664           BSSID to ESSID mapping, notifying the applet of the "new" network.
11665         * src/NetworkManagerAPList.h: Update the prototypes for both
11666           nm_ap_list_copy_essids_by_address() and
11667           nm_ap_list_copy_one_essid_by_address().
11668
11669 2006-04-20  Robert Love  <rml@novell.com>
11670
11671         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11672           not set.  Just return zero.
11673
11674 2006-04-20  Robert Love  <rml@novell.com>
11675
11676         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11677           only one copy of nm-vpn-properties is running at a time via the 'ol
11678           X selection trick.  This prevents the user from opening two "VPN
11679           Connections" windows from within the applet, which leads to mass
11680           hysteria.
11681         * clipboard.c: New file, implementing simple X selection logic.
11682         * clipboard.h: New file.
11683         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11684
11685 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11686
11687         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11688         * configure.in
11689           initscript/Gentoo/Makefile.am
11690           initscript/Gentoo/NetworkManagerDispatcher.in
11691                 - New script
11692         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11693           Gentopia
11694
11695 2006-04-16  Dan Williams  <dcbw@redhat.com>
11696
11697         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11698         * configure.in
11699           initscript/Slackware/Makefile.am
11700           initscript/Slackware/rc.networkmanager-dispatcher.in
11701           initscript/Slackware/rc.networkmanager.in
11702                 - Update slackware initscripts
11703
11704 2006-04-10  Robert Love  <rml@novell.com>
11705
11706         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11707           the "delete_event" signal on the druid's parent window and handle it
11708           our way, lest using the WM to close the druid results in a series of
11709           bloody and ultimately lethal errors.
11710
11711 2006-04-10  Robert Love  <rml@novell.com>
11712
11713         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11714           'Back' too or else the 'Forward' option is initially disabled despite
11715           valid input.
11716
11717 2006-04-06  Robert Love  <rml@novell.com>
11718
11719         Fix bad but simple bug where an active modem connection did not update
11720         NM's connection state, breaking any app that did online/offline:
11721         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11722           represented whether a dial up connection is active, or not.
11723         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11724           to modem activation and deactivation.
11725         * src/NetworkManagerDbus.c: When asked our state, do not return
11726           disconnected if the modem is active.
11727
11728 2006-04-04  Robert Love  <rml@novell.com>
11729
11730         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11731           applet.  It just confuses the crap out of people and does not make a
11732           lot of sense, as the daemon still runs.
11733
11734 2006-04-02  Tor Krill  <tor@krill.nu>
11735
11736         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11737           in start of service.
11738         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11739           get Archlinux backend up to date.
11740
11741 2006-03-29  Robert Love  <rml@novell.com>
11742
11743         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11744         to add support for per-route MSS and improve support for per-interface
11745         MTU:
11746         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11747           optionally take an MSS parameter and set it for the given route.
11748           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11749           NMIP4Config's stored MSS, if any.
11750         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11751           the interface's MTU and the route's MSS, respectively.  Add functions
11752           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11753           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11754           MSS.
11755         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11756           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11757           nm_ip4_config_set_mss.
11758         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11759           VPN daemon.
11760         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11761           Change the retval of nm_system_get_mtu to guint32.
11762         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11763           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11764           servers can specify MTU's, we should set it here if the MTU was not
11765           provided.
11766
11767 2006-03-27  Jürg Billeter  <j@bitron.ch>
11768
11769         * configure.in:
11770         * initscript/Makefile.am:
11771         * initscript/paldo/Makefile.am:
11772         * initscript/paldo/NetworkManager.in:
11773         * initscript/paldo/NetworkManagerDispatcher.in:
11774         * src/backends/Makefile.am:
11775         * src/backends/NetworkManagerPaldo.c:
11776                 - Add paldo support
11777
11778 2006-03-27  Dan Williams  <dcbw@redhat.com>
11779
11780         Patch from Christian Persch <chpe@gnome.org>
11781         * gnome/applet/applet.glade
11782                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11783
11784 2006-03-27  Dan Williams  <dcbw@redhat.com>
11785
11786         Patch from Diffe <diffie@blazebox.homeip.net>
11787         * src/backends/NetworkManagerSlackware.c
11788                 - Don't restart howl, since it's been replaced by Avahi
11789                         in most distributions
11790
11791 2006-03-27  Dan Williams  <dcbw@redhat.com>
11792
11793         Patch from Tor Krill <bugzilla@krill.nu>
11794         * configure.in
11795           initscript/Makefile.am
11796           src/backends/Makefile.am
11797           src/backends/NetworkManagerArch.c
11798           initscript/Arch/Makefile.am
11799           initscript/Arch/networkmanager-dispatcher.in
11800           initscript/Arch/networkmanager.in
11801                 - Add Arch Linux support, fixes gnome.org #335147
11802
11803 2006-03-27  Dan Williams  <dcbw@redhat.com>
11804
11805         Patch from Diffe <diffie@blazebox.homeip.net>
11806      * initscript/Slackware/rc.networkmanager
11807         - update, fixed gnome.org #333368
11808
11809 2006-03-27  Robert Love  <rml@novell.com>
11810
11811         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11812           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11813
11814 2006-03-27  Robert Love  <rml@novell.com>
11815
11816         Patch by Jürg Billeter <j@bitron.ch>:
11817         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11818           systems.
11819         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11820           as we prefer glibc over kernel headers, if possible.
11821
11822 2006-03-27  Robert Love  <rml@novell.com>
11823
11824         Patch by Jon Escombe <list@dresco.co.uk>:
11825         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11826         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11827           fail, don't bail out.  We don't expect all of the various WPA-EAP
11828           values to be present.
11829         * src/nm-ap-security.c: We need to match all capabilities for each
11830           encryption type, not any one of them.
11831
11832 2006-03-27  Robert Love  <rml@novell.com>
11833
11834         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11835           restart, not reload, ypbind.  Unfortunately there is no superior
11836           solution.
11837
11838 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11839
11840         * gnome/applet/applet-notifications.c:
11841         When displaying a notification, make sure to get rid of the
11842         previous notification so as to not have competing bubbles,
11843         and stop leaking the old one.
11844
11845         * gnome/applet/applet.c:
11846         * gnome/applet/applet.h:
11847         Add a new 'notification' member to the applet, and zero it out
11848         and free it appropriately.
11849
11850 2006-03-23  Robert Love  <rml@novell.com>
11851
11852         Patch by j <j@bootlab.org>:
11853         * gnome/applet/applet.glade: Don't set the invisible_char property,
11854           which simply overrides the GTK default.  By and by, this behavior
11855           ought to be fixed in Glade.
11856
11857 2006-03-22  Robert Love  <rml@novell.com>
11858
11859         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11860
11861 2006-03-22  Robert Love  <rml@novell.com>
11862
11863         Bug fix by Timo Hoenig <thoenig@suse.de>:
11864         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11865           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11866           and the applet going AWOL.
11867
11868 2006-03-22  Robert Love  <rml@novell.com>
11869
11870         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11871           preprocessor define and use it instead of open-coded the DHCP
11872           timeout, which is currently 25 seconds, everywhere.
11873
11874 2006-03-22  Robert Love  <rml@novell.com>
11875
11876         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11877         key exchange via WPA, ostensibly providing good security without
11878         requiring hardware that supports full WPA.  Also, add UI elements to
11879         allow the user to select the pairwise & group cipher for WPA Enterprise
11880         networks, too:
11881         * gnome/applet/applet.glade: Update glade file.
11882         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11883           key type, too, to and from gconf.
11884         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11885           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11886           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11887           the capabilities match.
11888         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11889           prototype.
11890         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11891           serialize from UI to DBUS.
11892         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11893           one element.
11894         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11895           nmu_security_serialize_wpa_eap_with_cipher(), and
11896           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11897           serialize/deserialize the key type via DBUS as the new third DBUS
11898           parameter.
11899         * libnm-util/dbus-helpers.h: Update prototypes.
11900         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11901           too.  If the key type is WEP104, do Dynamic WEP, which means
11902           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11903           pairwise and group ciphers (fixes a FIXME).
11904
11905 2006-03-21  Robert Love  <rml@novell.com>
11906
11907         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11908           nm_system_get_mtu(), which returns a user-provided or system-mandated
11909           MTU value for a given device, if any, or zero if no such value
11910           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11911           if we have a provided value.
11912         * src/nm-device.c: Set the MTU of devices.
11913         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11914         * src/backends/NetworkManagerDebian.c,
11915           src/backends/NetworkManagerGentoo.c,
11916           src/backends/NetworkManagerRedHat.c,
11917           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11918
11919 2006-03-21  Robert Love  <rml@novell.com>
11920
11921         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11922           configuration file.
11923
11924 2006-03-17  Robert Love  <rml@novell.com>
11925
11926         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11927           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11928           it, in case it is not running in the first place.  We just want its
11929           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11930
11931 2006-03-15  Robert Love  <rml@novell.com>
11932
11933         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11934           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11935           label "WEP 40/128-bit" is inconsistent because the physical key size
11936           is 40 or 104-bits, to which a 24-bit initialisation vector is
11937           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11938           to read "40/104" or "64/128".  I do not care much which, but most
11939           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11940           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11941           WEP passphrase support only handles 128-bit keys, and any future
11942           64-bit passphrase support will require a new option (no way to auto-
11943           detect the target key size), explicitly label our passphrase support
11944           "WEP 128-bit Passphrase".
11945
11946 2006-03-15  Robert Love  <rml@novell.com>
11947
11948         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11949           the system init scripts (or some other mechanism) starting it (or a
11950           compatible DBUS service) before NetworkManager runs.  This means that
11951           distributions might need to update their init scripts.  This fixes
11952           possible races and is quite a bit cleaner.
11953         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11954           starting the NetworkManager daemon.
11955
11956
11957 2006-03-14  Robert Love  <rml@novell.com>
11958
11959         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11960           before adding anything.
11961
11962 2006-03-13  Robert Love  <rml@novell.com>
11963
11964         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11965           widgets, too, if they exist, in case the user hit the back button.
11966           Fixes a bug where the details page contains the widgets of multiple
11967           VPN modules (Novell bug #157048).
11968
11969 2006-03-13  Robert Love  <rml@novell.com>
11970
11971         Patch by Timo Hoenig <thoenig@suse.de>:
11972         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11973           daemon survive DBUS restarts, too.
11974
11975 2006-03-10  Robert Love  <rml@novell.com>
11976
11977         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11978           passphrase or key.
11979         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11980           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11981           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11982           in response to "toggled" signal on new toggle.
11983
11984 2006-03-10  Robert Love  <rml@novell.com>
11985
11986         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11987           serialization if strings are NULL, lest DBUS get angry.
11988
11989 2006-03-10  Robert Love  <rml@novell.com>
11990
11991         * src/nm-ap-security-wpa-eap.c: Don't log the password.
11992
11993 2006-03-09  Robert Love  <rml@novell.com>
11994
11995         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11996           configurations.
11997
11998 2006-03-09  Dan Williams  <dcbw@redhat.com>
11999
12000         Track pending call requests in the applet, and report how many are
12001         outstanding, and how long each completed one takes.
12002         
12003         * gnome/applet/applet-dbus-devices.c
12004           gnome/applet/applet-dbus-vpn.c
12005                 - Track pending calls
12006
12007         * gnome/applet/applet-dbus.[ch]
12008                 - Remove some unused enums
12009                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12010                         new functions to track dbus pending calls and spit out some
12011                         statistics about them
12012
12013 2006-03-09  Robert Love  <rml@novell.com>
12014
12015         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12016           nm_ap_set_timestamp() take the second and micro-second parameters as
12017           direct arguments, which avoids both a dynamic memory allocation and a
12018           structure-to-structure copy!  Add a new interface, the aptly named
12019           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12020           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12021           the return from nm_ap_get_timestamp().  New users should use the new
12022           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12023           the extreme benefit to performance.
12024         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12025           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12026
12027 2006-03-08  Robert Love  <rml@novell.com>
12028
12029         * gnome/applet/applet.glade: Hide the password entry text with
12030           asterisks.
12031
12032 2006-03-08  Robert Love  <rml@novell.com>
12033
12034         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12035           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12036           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12037           a second argument, NMData.
12038         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12039         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12040           config files as trusted.
12041
12042 2006-03-06  Robert Love  <rml@novell.com>
12043
12044         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12045         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12046           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
12047           Rivera, detect if the applet was auto-started.  If so, ask the user
12048           if he or she would like to stop automatically running the applet on
12049           login.  If so, disable autostart.
12050
12051 2006-03-06  Robert Love  <rml@novell.com>
12052
12053         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
12054           directory in CFLAGS so developers can actually use NetworkManager.h.
12055
12056 2006-03-06  Robert Love  <rml@novell.com>
12057
12058         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12059           open-coded integer constants.  Add state_to_string() to map a given
12060           state to a textual description, and provide that when notifying of
12061           state change.
12062         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12063           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
12064           this header directly, but it is currently not installed on most
12065           systems.
12066
12067 2006-03-05  Dan Williams  <dcbw@redhat.com>
12068
12069         Process netlink messages in device subclasses rather than in
12070         NetworkManager.c.  Also add support for recognizing Wireless Events.
12071         
12072         * configure.in
12073                 - Find GLIB_GENMARSHAL
12074
12075         * src/Makefile.am
12076                 - Since we're marshalling custom types for wireless event signals,
12077                         we get to create our own marshallers using GLIB_GENMARSHAL
12078
12079         * src/NetworkManager.c
12080                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12081                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12082                         cut down somewhat.  We no longer process signals here.
12083                 - (nm_data_new): create the netlink monitor here, and remove a
12084                         useless call to nm_policy_schedule_device_change_check()
12085                 - (nm_data_free): get rid of the netlink monitor here
12086                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12087                 - (main): don't create the netlink monitor here, let nm_data_new
12088                         do that.  Call nm_policy_schedule_device_change_check() right
12089                         before we jump to the mainloop to figure out which device
12090                         to use first
12091
12092         * src/NetworkManagerSystem.[ch]
12093                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12094                         convert back and forth from interface names to interface
12095                         indexes
12096
12097         * src/nm-device-802-11-wireless.c
12098                 - (real_init): connect to wireless-event signals from the netlink
12099                         monitor object
12100                 - (nm_device_802_11_wireless_event): new function, schedule handler
12101                         for wireless event signals from the netlink monitor object.  We
12102                         want the handler to run in the device's context
12103                 - (wireless_event_helper): handle wireless-event signals from netlink
12104                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12105                         signal handler
12106
12107         * src/nm-device-802-11-wireless.h
12108                 - remove unused prototype for nm_device_802_11_wireless_new
12109
12110         * src/nm-device-802-3-ethernet.c
12111                 - (real_init): new function; set up signal handlers for link events
12112                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12113                         handler for netlink link activated events on device's main loop
12114                 - (link_activated_helper): when we get a link activated event, set
12115                         the device's link to be active
12116                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12117                         handler for netlink link deactivated events on device's main loop
12118                 - (link_deactivated_helper): when we get a link deactivated event, set
12119                         the device's link to be inactive
12120                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12121                         dispose
12122
12123         * src/nm-device-802-3-ethernet.h
12124                 - remove unused prototype for nm_device_802_3_ethernet_new
12125
12126         * src/nm-device.[ch]
12127                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12128                         but locks the device list
12129                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12130
12131         * src/nm-netlink-monitor.[ch]
12132                 - (nm_netlink_monitor_class_install_signals): New signal
12133                         "wireless-event"
12134                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12135                         at the device list
12136                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12137
12138         * src/nm-marshal-main.c
12139                 - Include generated nm-marshal.c and nm-marshal.h
12140
12141         * src/nm-marshal.list
12142                 - List of custom marshal functions
12143
12144 2006-03-05  Dan Williams  <dcbw@redhat.com>
12145
12146         * gnome/applet/applet-notifications.h
12147                 - Protect prototype of nma_send_event_notification() because it
12148                         includes libnotify-specific types
12149                 - Include libnotify/libnotify.h too, since we technically need it
12150
12151         * gnome/applet/applet.c
12152                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12153                 - (nma_show_vpn_login_banner_dialog): add some error checking
12154
12155 2006-03-04  Dan Williams  <dcbw@redhat.com>
12156
12157         Clean up activation cancellation.  Should be a lot faster now.  Observed
12158         an issue with wireless devices between stage 2 and 3 of activation, where
12159         activation would be cancelled, but the device thread wouldn't notice until
12160         the supplicant association timed out.  Reorganize activation such that
12161         a cancellation handler gets immediately scheduled in the device's thread,
12162         and devices have a chance to perform any custom cleanup too.
12163
12164         * src/nm-device.[ch]
12165                 - (activation_cancel_handler): new device-type-specific function
12166                         for cleaning up device-type-specific stuff on cancellation
12167                 - (cancel_activation): removed
12168                 - (nm_device_activation_cancel): subsume functionality of
12169                         real_cancel_activation, but instead of doing anything, punt
12170                         operation to a handler that's run in device-thread context
12171                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12172                         a warning message
12173                 - (activation_handle_cancel_helper): cancellation handler run in
12174                         device-thread context, calls device-type-specific cancelation,
12175                         then tears down the activation request
12176                 - (real_activation_cancel_handler): generic cancellation handler,
12177                         deals with cancelling any in-process DHCP request
12178                 - (nm_device_activate_stage1_device_prepare,
12179                    nm_device_activate_stage2_device_config,
12180                    nm_device_activate_stage3_ip_config_start,
12181                    nm_device_activate_stage4_ip_config_get,
12182                    nm_device_activate_stage4_ip_config_timeout,
12183                    nm_device_activate_stage5_ip_commit): don't call
12184                         nm_device_schedule_activation_handle_cancel() any more, since
12185                         cancellation will have been already scheduled for us by
12186                         nm_device_activation_cancel().  Just exit the function and
12187                         assume that the cancel handler will be called next.
12188
12189         * src/nm-device-802-3-ethernet.c
12190                 - (real_act_stage2_config): remove; didn't do anything anyway
12191
12192         * src/nm-device-802-11-wireless.c
12193                 - (supplicant_status_cb): ensure we don't do anything if the activation
12194                         got cancelled
12195                 - (real_activation_cancel_handler): implement; cancel user key request
12196                         on activation cancellation
12197
12198 2006-03-04  Dan Williams  <dcbw@redhat.com>
12199
12200         * src/nm-device-802-11-wireless.c
12201                 - (supplicant_send_network_config): assume that drivers that don't
12202                         support WPA pretty much suck, and can't handle NM scanning
12203                         along with wpa_supplicant.
12204
12205 2006-03-03  Robert Love  <rml@novell.com>
12206
12207         * configure.in: Bump version to 0.6.0.
12208         * NEWS: Update.
12209
12210 2006-03-03  Robert Love  <rml@novell.com>
12211
12212         * configure.in: Require DBUS 0.60 or later.
12213
12214 2006-03-03  Dan Williams  <dcbw@redhat.com>
12215
12216         Fix a crash if an "Other wireless network" was chosen, failed, then
12217         chosen again from the applet's menu.  If the other network wasn't
12218         noticed in a scan, it wouldn't have any capabilities, but would still
12219         be listed because the user forced the network.  To fix this, we set
12220         sensible capabilities on the forced network, which will get overwritten
12221         with the correct ones if the network shows up later in a scan.
12222         
12223         * src/nm-ap-security.h
12224                 - Add a new "get_default_capabilities_func" member to the
12225                         NMAPSecurity class
12226
12227         * src/nm-ap-security.c
12228                 - (nm_ap_security_get_default_capabilities): new function
12229
12230         * src/nm-ap-security.c
12231           src/nm-ap-security-wep.c
12232           src/nm-ap-security-wpa-psk.c
12233           src/nm-ap-security-wpa-eap.c
12234                 - Implement get_default_capabilities_func() for all, which
12235                         uses the information contained in a specific NMAPSecurity
12236                         object to determine default AP capabilites necessary
12237                         to support that object
12238
12239         As a secondary measure, we now prune artificial access points that fail
12240         to be activated right away.  The thing failed, and we have no scan data for
12241         it, so it's pretty much useless since security information is only saved
12242         in the applets when a connection is successful.
12243
12244         * src/NetworkManagerAPList.c
12245                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12246                         not artificial.  If we see it, it's no longer a figment of the
12247                         user's imagination :)
12248
12249         * src/NetworkManagerPolicy.c
12250                 - (nm_policy_activation_failed): send along the failed AP if we
12251                         have it
12252
12253         * src/nm-device-802-11-wireless.c
12254                 - (real_activation_failure_handler): remove artificial APs from
12255                         the device list, because activation failed
12256
12257 2006-03-02  Robert Love  <rml@novell.com>
12258
12259         Add support for retrieving both the per-device speed and the
12260         per-network maximum supported rate.  Then change the getProperties
12261         DBUS API for both networks and devices to report this informaiton.
12262         Finally, display the information via both nm-applet and nm-tool:
12263         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12264           and set it.
12265         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12266           Information' dialog.
12267         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12268         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12269           network_device_get_speed() and network_device_set_speed() for
12270           retrieving and setting, respectively, a network device's current
12271           speed.
12272         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12273         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12274           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12275           not matter (yet) what the units are, because we only feed it its own
12276           output.  Implement SIOCGIRATE and set the per-network maximum
12277           supported rate during scanning.
12278         * src/nm-device-802-11-wireless.h: Export the function
12279           nm_device_802_11_wireless_get_bitrate().
12280         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12281           function nm_device_802_3_ethernet_get_speed() for returning an
12282           802.3's current speed, in Mb/s.
12283         * test/nm-tool.c: Display the per-device current speed, if available,
12284           and the per-network maximum rate.
12285
12286 2006-03-02  Dan Williams  <dcbw@redhat.com>
12287
12288         * src/nm-device-802-11-wireless.c
12289                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12290                         card when it gets initialized.  Since devices don't get added to
12291                         the scan list until they are initialized, this function wasn't
12292                         setting the intitial scan interval correctly, and was leaving
12293                         it at 0.  This caused cards to get many scan requests in a short
12294                         amount of time when they were initialized
12295
12296 2006-03-02  Robert Love  <rml@novell.com>
12297
12298         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12299           active device.  But do not do what we used to do and override the
12300           state, which caused the dreaded icon race of '05.
12301
12302 2006-03-02  Robert Love  <rml@novell.com>
12303
12304         Commit Dan's update of my previous commit:
12305         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12306           set_mode() function itself does the check.  But do only set the
12307           frequency if in Ad-Hoc mode.
12308
12309 2006-03-02  Robert Love  <rml@novell.com>
12310
12311         Patch by Brian Magnuson <magnuson@rcn.com>:
12312         * src/nm-device-802-11-wireless.c: During scanning, only set the
12313           wireless mode to infrastructure if it is not currently in
12314           infrastructure mode.  For some driver, setting the mode is a costly
12315           operation, apparently.
12316
12317 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12318
12319         * Makefile.am: use the correct dir for autostart mechanism.
12320
12321 2006-02-28  Dan Williams  <dcbw@redhat.com>
12322
12323         Patch from Brian Magnuson <magnuson@rcn.com>
12324         * gnome/applet/applet.c
12325                 - (nma_show_vpn_failure_dialog): fix errors left over from
12326                         libnotify support changes
12327
12328 2006-02-28  Dan Williams  <dcbw@redhat.com>
12329
12330         * src/vpn-manager/nm-vpn-act-request.[ch]
12331                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12332                         just one value
12333                 - (nm_vpn_act_request_is_failed): new function; return whether or
12334                         not the vpn activation request has failed
12335
12336         * src/vpn-manager/nm-vpn-manager.c 
12337                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12338                         daemon to kill the connection when the activation request fails.
12339                         Fixes issue where NM would get confused if the VPN activation
12340                         request timed out, and would not allow further VPN connections
12341                         on that service.
12342
12343 2006-02-28  Dan Williams  <dcbw@redhat.com>
12344
12345         * gnome/applet/applet.c
12346                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12347                         overlapping connection requests, disable all VPN menu items
12348                         but the active VPN connection
12349
12350 2006-02-28  Dan Williams  <dcbw@redhat.com>
12351
12352         * src/vpn-manager/nm-vpn-connection.c
12353                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12354                         called g_object_unref() on the connection's parent device
12355                         when it should have been ref-ed instead.  Fixes crash with
12356                         repeated vpn connect requests
12357
12358 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12359
12360         * gnome/applet/applet.glade:
12361         Mark a few strings non-translatable, since they shouldn't be.
12362
12363 2006-02-28  Dan Williams  <dcbw@redhat.com>
12364
12365         * src/vpn-manager/nm-vpn-service.c
12366                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12367                         already running, don't blindly ask it to connect, but wait until
12368                         it's in the STOPPED state first.  Fixes an assertion when user
12369                         starts a second vpn connection without stopping the first.
12370                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12371                         dbus service exists before continuing with the connection
12372                         process, and reduce latency while waiting for it to become
12373                         available
12374                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12375                         waiting for the vpn service daemon to become available
12376                 - General log message cleanups; show progress via "Stage x of 4"
12377                         rather than not telling anyone how many stages there are
12378
12379 2006-02-28  Robert Love  <rml@novell.com>
12380
12381         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12382         * src/backends/NetworkManagerSuSE.c: Implement the interface
12383           nm_system_should_modify_resolv_conf() for SUSE.
12384         * src/backends/NetworkManagerDebian.c,
12385           src/backends/NetworkManagerGentoo.c,
12386           src/backends/NetworkManagerRedHat.c,
12387           src/backends/NetworkManagerSlackware.c: Add stub.
12388         * src/named-manager/Makefile.am: Grab includes from src.
12389         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12390           automatic updating of resolv.conf.  This is useful for testing,
12391           broken static configurations, and administrator lock-down.
12392
12393 2006-02-28  Dan Williams  <dcbw@redhat.com>
12394
12395         * src/nm-device-802-11-wireless.c
12396                 - Move all the wpa_supplicant-related management stuff into its
12397                         own struct, just for oranization's sake
12398                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12399                         to a GIOChannel/GSource
12400                 - (supplicant_log_stdout): new function; grab output from the
12401                         wpa_supplicant stdout pipe and write it to our logs.
12402
12403 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12404
12405         * src/nm-device-802-11-wireless.c:
12406         Err, fix thinko in my previous commit.
12407
12408 2006-02-28  Robert Love  <rml@novell.com>
12409
12410         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12411
12412 2006-02-28  Robert Love  <rml@novell.com>
12413
12414         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12415           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12416           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12417           deserializers are responsible for freeing the returned DBUS strings.
12418
12419 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12420
12421         * src/nm-device-802-11-wireless.c:
12422         The scan list is being pruned prematurely.  We should prune after
12423         the device has gone MIA for three scans, not one.  Split out the
12424         interval to realtime seconds function to better serve this.
12425
12426 2006-02-27  Robert Love  <rml@novell.com>
12427
12428         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12429           Open the pid file O_TRUNC, so if it already exists we truncate it to
12430           zero length.  Also, be more verbose about warnings generated during
12431           writing out the pid file.  Finally, always write out the pid file if
12432           in daemon mode.  Use "--pid-file" to override the default.
12433
12434 2006-02-27  Robert Love  <rml@novell.com>
12435
12436         Patch by R. Vinay <rvinay@novell.com>:
12437         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12438           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12439           Novell bug #153628).
12440           
12441 2006-02-27  Robert Love  <rml@novell.com>
12442
12443         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12444           entry so user can hit <ENTER> after entering passphrase (Novell bug
12445           #153738).
12446
12447 2006-02-27  Dan Williams  <dcbw@redhat.com>
12448
12449         * gnome/applet/*
12450                 - Mass search/replace of:
12451                         nmwa -> nma
12452                         NMWirelessApplet -> NMApplet
12453                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12454                    (it ain't just for wireless anymore, ma!)
12455                 - Fix duplicate function name printing when using nm_warning
12456                 - wireless-applet.glade -> applet.glade
12457
12458 2006-02-27  Dan Williams  <dcbw@redhat.com>
12459
12460         * dispatcher-daemon/NetworkManagerDispatcher.c
12461                 - Accept --pid-file with a path to a pidfile, write it out on
12462                         startup, and delete it on shutdown
12463
12464         * src/NetworkManager.c
12465                 - Accept --pid-file with a path to a pidfile, write it out on
12466                         startup, and delete it on shutdown
12467                 - Move nm_print_usage() lower
12468
12469         * initscripts/RedHat/NetworkManager.in
12470                 - Use new --pid-file option
12471                 - Fix service stopping to wait a bit for NM to quit
12472
12473         * initscripts/RedHat/NetworkManagerDispatcher.in
12474                 - Use new --pid-file option
12475
12476 2006-02-26  Dan Williams  <dcbw@redhat.com>
12477
12478         * src/Makefile.am
12479                 - make and install nm-crash-logger
12480
12481         * src/nm-logging.[ch]
12482                 - New files; consolidate logging and crash handling
12483
12484         * src/nm-crash-logger.c
12485           src/gdb-cmd
12486                 - Standalong crashlogger for NM, grab a backtrace
12487                         using GDB
12488
12489         * src/NetworkManager.[ch]
12490                 - Remove signal handling and put it into nm-logging.c
12491
12492 2006-02-26  Dan Williams  <dcbw@redhat.com>
12493
12494         * configure.in
12495           gnome/applet/Makefile.am
12496                 - Conditionalize all the notify stuff
12497
12498         Merge most of Chris Aillon's notification patch:
12499         
12500         * gnome/applet/applet-notifications.[ch]
12501                 - New files; show a notification
12502         
12503         * gnome/applet/applet-dbus-devices.[ch]
12504                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12505                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12506                         new functions, do the right thing when a device change occurs
12507
12508         * gnome/applet/applet-dbus.c
12509                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12510                         signals, so we can handle them specially
12511
12512         * gnome/applet/applet.[ch]
12513                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12514                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12515                 - (nmwa_notify_state): remove
12516                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12517                         notification work is now done when the appropriate dbus signals
12518                         are received.
12519                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12520                         defer execution of the notification/dialog stuff.  That was an
12521                         artifact of the previous multi-threaded nature of the applet
12522                         and is now pointless.
12523                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12524                         no longer needed.  Function folded into applet-notifications.c
12525
12526         * src/NetworkManagerPolicy.c
12527                 - (nm_policy_activation_finish): send the AP along with the device
12528                         status change signal, if the connection is wireless.  Should
12529                         fix the race where applet would show a connection to "unknown"
12530
12531 2006-02-25  Robert Love  <rml@novell.com>
12532
12533         Add WPA Enterprise support:
12534         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12535           nm-gconf-wso-wpa-eap.h.
12536         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12537           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12538           serialization and deserialization.
12539         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12540           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12541           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12542         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12543           settings related to WPA Enterprise.
12544         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12545           instantiate WPA Enterprise wireless-security-option.
12546         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12547           Implement WPA Enterprise wireless-security-option object.
12548         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12549           defines.  Cleanup.
12550         * libnm-util/cipher-wpa-psk-hex.c,
12551           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12552         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12553           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12554           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12555           including the cipher to DBUS method, and
12556           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12557           to output.
12558         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12559           nm-ap-security-wpa-eap.h
12560         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12561           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12562         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12563           files.  Implement NMAPSecurityWPA_EAP object.
12564         * src/nm-ap-security-wpa-psk.c: Cleanup.
12565         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12566           an NMAPSecurityWPA_EAP object via the method
12567           nm_ap_security_wpa_eap_new_deserialize().
12568         * src/nm-dbus-nm.c: Cleanup.
12569         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12570           WPA Enterprise support.
12571
12572 2006-02-24  Robert Love  <rml@novell.com>
12573
12574         Patch from Timo Hoenig <thoenig@suse.de>:
12575         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12576
12577 2006-02-24  Robert Love  <rml@novell.com>
12578
12579         Patch from Dan Winship <danw@novell.com>:
12580         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12581           area to transparent.
12582
12583 2006-02-21  Dan Williams  <dcbw@redhat.com>
12584
12585         * gnome/applet/applet.[ch]
12586           gnome/applet/applet-dbus.c
12587                 - Implement notification support for VPN messages too
12588
12589 2006-02-21  Dan Williams  <dcbw@redhat.com>
12590
12591         * gnome/applet/applet-dbus-info.c
12592                 - Clean up warning messages to not double-print the function
12593
12594 2006-02-21  Dan Williams  <dcbw@redhat.com>
12595
12596         * gnome/applet/applet-compat.c
12597                 - (convert_one_entry): accept entries without a key_type and
12598                         convert them to unencrypted networks
12599
12600 2006-02-21  Dan Williams  <dcbw@redhat.com>
12601
12602         * gnome/libnm_glib/libnm_glib.c
12603                 - Use __func__ everywhere we can
12604                 - Code cleanups
12605                 - Use dbus pending calls rather than blocking
12606                 - Reduce busywaits for our thread to start and stop
12607                         (gnome.org #330562)
12608                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12609                         stomp on others using the default shared dbus connection.
12610                         Fixes #rh177546# and gnome.org #326572
12611
12612 2006-02-21  Dan Williams  <dcbw@redhat.com>
12613
12614         Patch from Rodney Dawes <dobey@novell.com>
12615         * configure.in
12616           gnome/applet/Makefile.am
12617           gnome/applet/applet.c
12618                 - Add libnotify support if '--enable-notify=yes' is passed
12619                   at configure time
12620
12621 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12622
12623         * configure.in (ALL_LINGUAS): ko added. (Korean)
12624
12625 2006-02-15  Robert Love  <rml@novell.com>
12626
12627         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12628           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12629           and WPA_SUPPLICANT_CONTROL_SOCKET.
12630         
12631 2006-02-15  Robert Love  <rml@novell.com>
12632
12633         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12634           information about what connection stage we are at, provide the total
12635           number of stages, e.g. "Stage 2 of 5", so users know how far along
12636           they are if they experience problems.
12637
12638 2006-02-15  Robert Love  <rml@novell.com>
12639
12640         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12641           define to $sysconfdir.
12642         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12643           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12644           type of VPN and then editing another results in a mangled dialog
12645           box containing the widgets from both VPNs (fixes Novell #150854).
12646           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12647
12648 2006-02-14  Robert Love  <rml@novell.com>
12649
12650         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12651           syslog's file descriptor.
12652
12653 2006-02-14  Robert Love  <rml@novell.com>
12654
12655         Fix bug around since the change to "deal with APs changing settings on
12656         us," checked in on the fifth of February in the year of the dog, 
12657         wherein connecting to non-broadcast encrypted networks always fails
12658         because nm_ap_get_encrypted() always returns FALSE, even when the user
12659         provided a key, because the newly-created fake AP does not have any
12660         capabilities set, which is a sypmtom of security settings not matching
12661         capabilities (Novell bug #150784):
12662         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12663           nm_ap_add_capabilities_from_security(), which sets the given AP's
12664           capabilities off the given security settings.  Also improve our
12665           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12666           NM_AUTH_CIPHER_AUTO.
12667         * src/nm-device-802-11-wireless.c: Call the function
12668           nm_ap_add_capabilities_from_security() to ensure that capabilities
12669           match newly updated security settings.
12670
12671 2006-02-14  Robert Love  <rml@novell.com>
12672
12673         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12674           error as a string, not an integer, if possible; do not print the
12675           function name twice; always give the interface, if possible; misc.
12676           cleanup.
12677
12678 2006-02-12  Dan Williams  <dcbw@redhat.com>
12679
12680         Patch from Tom Parker <palfrey@tevp.net>
12681         * src/NetworkManagerSystem.h
12682                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12683                         no longer used
12684
12685         * src/backends/NetworkManagerDebian.c
12686                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12687                         unused variables
12688
12689 2006-02-12  Dan Williams  <dcbw@redhat.com>
12690
12691         * vpn-daemons/openvpn/intltool-extract.in
12692           vpn-daemons/openvpn/intltool-merge.in
12693           vpn-daemons/openvpn/intltool-update.in
12694           vpn-daemons/pptp/intltool-extract.in
12695           vpn-daemons/pptp/intltool-merge.in
12696           vpn-daemons/pptp/intltool-update.in
12697                 - Remove from CVS, they should get created by intltoolize,
12698                         shouldn't they?
12699
12700 2006-02-12  Dan Williams  <dcbw@redhat.com>
12701
12702         * vpn-daemons/pptp/src/pppd/patchlevel.h
12703         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12704                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12705                         Makefile-defined VERSION
12706
12707 2006-02-09  Dan Williams  <dcbw@redhat.com>
12708
12709         Patch from: Vinay A R <rvinay@novell.com>
12710         * src/vpn-manager/nm-vpn-act-request.[ch]
12711                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12712                         IPSec VPNs require them for std gateway.
12713                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12714                         and 'user_routes_count'
12715                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12716                         defined routes  from NMVPNActRequest object, returns the string
12717                         array of routes.
12718
12719         * src/vpn-manager/nm-vpn-manager.[ch]
12720                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12721                         for 'user_routes' and 'user_routes_count'
12722         
12723         * src/vpn-manager/nm-dbus-vpn.c
12724                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12725                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12726         
12727         * src/vpn-manager/nm-vpn-service.c
12728                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12729                         the vpn daemon
12730
12731         Modifications by Dan:
12732         * src/vpn-manager/nm-vpn-service.c
12733                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12734                         arrays into dbus
12735
12736         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12737         * vpn-daemons/pptp/src/nm-pptp-service.c
12738         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12739                 - Grab user routes from dbus message
12740                 - Free all string arrays we got from dbus
12741
12742 2006-02-07  Robert Love  <rml@novell.com>
12743
12744         Patch by Stefan Seyfried <seife@suse.de>:
12745         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12746
12747 2006-02-06  Robert Love  <rml@novell.com>
12748
12749         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12750
12751 2006-02-06  Robert Love  <rml@novell.com>
12752
12753         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12754           test ">=" is never false.  If no newline is found, we loop forever.
12755           We can just check for ">" because the following if() will see the
12756           zero-th argument if the while() gets that far.
12757
12758 2006-02-05  Dan Williams  <dcbw@redhat.com>
12759
12760         Refine handling of non-broadcast networks.
12761
12762         * src/NetworkManagerAPList.c
12763                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12764                         property from scanned AP to the AP from the device list
12765
12766         * src/nm-device-802-11-wireless.c
12767                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12768                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12769                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12770                         networks since those don't have APs.
12771                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12772                         AP as non-SSID-broadcasting
12773                 - (process_scan_results): don't handle non-SSID-broadcasting here
12774
12775 2006-02-05  Dan Williams  <dcbw@redhat.com>
12776
12777         * src/nm-device-802-11-wireless.c
12778                 - (get_supplicant_timeout): new function; return
12779                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12780                         14 channels.  These are likely a/b/g cards, like Atheros, and
12781                         slow as hell to scan.
12782                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12783                         get_supplicant_timeout()
12784
12785 2006-02-05  Dan Williams  <dcbw@redhat.com>
12786
12787         * src/dhcp-manager/nm-dhcp-manager.c
12788                 - Loose a commit race with Robert; make sure size check
12789                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12790
12791 2006-02-05  Robert Love  <rml@novell.com>
12792
12793         Patch by Christoph Brill <chrisbrill@gmx.net>:
12794         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12795           with DHCP_SERVICE_NAME.
12796
12797 2006-02-05  Dan Williams  <dcbw@redhat.com>
12798
12799         Remove anything having to do with device_setup_func from the
12800         AP security objects, since it's no longer used.
12801
12802         * src/nm-ap-security.h
12803                 - Kill device_setup_func and nm_ap_security_device_setup()
12804
12805         * src/nm-ap-security-wep.c
12806           src/nm-ap-security-wpa-psk.c
12807                 - (real_device_setup): remove
12808
12809         * src/nm-ap-security.c
12810                 - (real_device_setup): remove
12811                 - (nm_ap_security_device_setup): remove
12812
12813         * src/nm-device-802-11-wireless.[ch]
12814                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12815                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12816                         and done by wpa_supplicant now anyway
12817
12818 2006-02-05  Dan Williams  <dcbw@redhat.com>
12819
12820         * src/nm-device-802-11-wireless.c
12821                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12822                         settings on us.  Previously NM would loop asking for the
12823                         key but getting the same one back.  Now, if the NMI-supplied
12824                         cipher doesn't overlap with the scanned AP capabilities,
12825                         we request a completely new key from the user.
12826
12827 2006-02-05  Dan Williams  <dcbw@redhat.com>
12828
12829         * src/NetworkManagerUtils.c
12830                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12831                         Handle newline killing better
12832
12833 2006-02-05  Dan Williams  <dcbw@redhat.com>
12834
12835         * gnome/applet/nm-gconf-wso.c
12836                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12837                         of unencrypted access point security info.
12838
12839 2006-02-03  Robert Love  <rml@novell.com>
12840
12841         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12842           user's encryption key, so we print the err_msg_cmd not the command,
12843           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12844           sense.
12845
12846 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12847
12848         * initscript/RedHat/NetworkManagerDispatcher.in:
12849         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12850         Patch from Dan Walsh <dwalsh@redhat.com>
12851
12852 2006-02-03  Robert Love  <rml@novell.com>
12853
12854         * dispatcher-daemon/NetworkManagerDispatcher.c,
12855           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12856           but use the sysconfdir.
12857
12858 2006-02-03  Robert Love  <rml@novell.com>
12859
12860         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12861           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12862           'char *'.
12863         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12864           nm_ip4_config_get_hostname() and
12865           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12866         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12867           leak g_strdup() result.
12868
12869 2006-02-03  Robert Love  <rml@novell.com>
12870
12871         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12872           broadcast == TRUE.  Also, copy broadcast and artificial properties
12873           from source network to destination in nm_ap_copy().
12874         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12875           since we now default new networks to non-hidden.
12876
12877 2006-02-03  Dan Williams  <dcbw@redhat.com>
12878
12879         * gnome/applet/main.c
12880                 - (main): change the NEVER->ALWAYS so we start at the
12881                         beginning of the session, if being session-managed
12882
12883 2006-02-03  Dan Williams  <dcbw@redhat.com>
12884
12885         * gnome/applet/main.c
12886                 - (main): in a variation on Robert's patch, change
12887                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12888                         he wants.
12889
12890 2006-02-02  Robert Love  <rml@novell.com>
12891
12892         * src/Makefile.am: If we aren't going to create the run directory at,
12893           uh, run-time, create it during install.  Then users just doing
12894           'make install' are cool, too.  While we are here, create the
12895           dispatcher.d directory, too.
12896         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12897           the exact run directory.
12898         * Makefile.am: Install nm-applet.desktop.
12899
12900 2006-02-02  Robert Love  <rml@novell.com>
12901
12902         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12903           structure, which denotes whether or not the AP is hidden.  This is a
12904           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12905           can show up in the scan list.  Add nm_ap_get_broadcast() and
12906           nm_ap_set_broadcast() accessor interfaces.
12907         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12908           nm_ap_set_broadcast().
12909         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12910           "getProperties" method, which denotes whether or not the given
12911           network is hidden.
12912         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12913           an artificial network.  Set broadcast to TRUE when scanning returns
12914           an ESSID and FALSE when not.
12915         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12916           from "getProperties" method on a network.  Possible TODO is to
12917           somehow display this.
12918         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12919
12920 2006-02-02  Dan Williams  <dcbw@redhat.com>
12921
12922         * src/nm-device-802-11-wireless.c
12923                 - (supplicant_interface_init): don't try to create
12924                         /var/run/NetworkManager, since that should be done by
12925                         the distro package.  Causes problems for stuff like SELinux
12926
12927 2006-02-02  Robert Love  <rml@novell.com>
12928
12929         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12930         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12931           Check for and handle empty string for iface.
12932
12933 2006-02-01  Robert Love  <rml@novell.com>
12934
12935         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12936           manpage.
12937
12938 2006-01-31  Dan Williams  <dcbw@redhat.com>
12939
12940         * nm-applet.desktop
12941                 - Add --sm-disable to Exec arguments, presuming that when
12942                         using autostart, we don't want session management
12943
12944 2006-01-31  Robert Love  <rml@novell.com>
12945
12946         * src/NetworkManagerAP.c: Add two new manufacturer default network
12947           names: linksys-a and linksys-g.  These are found (at least) on the
12948           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12949           own ESSID.
12950
12951 2006-01-31  Robert Love  <rml@novell.com>
12952
12953         * src/NetworkManagerAP.c: Optimize the function
12954           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12955           machine code.  This is the first in a series of code tweaks aiming to
12956           generate better machine code and make NetworkManager all the better.
12957           Just kidding.  Who has time to go through the assembly generated for
12958           every function?  I certainly don't.  I have a wife, a kid, a job,
12959           a mortgage, a mistress.  But this function was so bad, I was called
12960           to arms.  Like the book.
12961
12962 2006-01-31  Robert Love  <rml@novell.com>
12963
12964         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12965           AP is not broadcasting, to scan with probe request frames.  Required
12966           for non-broadcast networks.
12967
12968 2006-01-31  Robert Love  <rml@novell.com>
12969
12970         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12971           preprocessor define (still 20s).  Fix message text in nm_info()
12972           s/too too/took too/.
12973
12974 2006-01-30  Dan Williams  <dcbw@redhat.com>
12975
12976         * src/nm-device-802-11-wireless.c
12977                 - (supplicant_monitor_start): increase connect/auth timeout to
12978                         20 seconds from 10 seconds
12979
12980 2006-01-30  Dan Williams  <dcbw@redhat.com>
12981
12982         * src/Makefile.am
12983                 - Define LOCALSTATEDIR
12984
12985         * src/nm-device-802-11-wireless.c
12986                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12987                         socket where we want it to
12988
12989         * src/wpa_ctrl.[ch]
12990                 - (wpa_ctrl_open): accept location to put local control socket
12991
12992 2006-01-30  Robert Love  <rml@novell.com>
12993
12994         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12995           get_ip4_string() for "domain_name".
12996
12997 2006-01-30  Robert Love  <rml@novell.com>
12998
12999         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13000           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13001           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13002           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13003           support for "Automatic" pairwise and group cipher configuration by
13004           letting wpa_supplicant handle the details.  Add UI elements, new
13005           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
13006           charm.  Note this does more than add a nice feature, it fixes a bug.
13007           Apparently, some people have AP's where the pairwise cipher does not
13008           match the group cipher.  Insane, but true.
13009
13010 2006-01-30  Dan Williams  <dcbw@redhat.com>
13011
13012         * gnome/applet/applet-dbus-devices.c
13013                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13014                         functions, grab device driver name from NetworkManager
13015                 - (nmwa_dbus_device_properties_cb): call functions to get driver
13016
13017         * gnome/applet/applet.c
13018                 - (nmwa_update_info): show driver name in Connection Information
13019                         dialog
13020
13021         * gnome/applet/nm-device.[ch]
13022                 - (network_device_get_driver, network_device_set_driver): add
13023                         accessors for driver name
13024
13025         * gnome/applet/wireless-applet.glade
13026                 - Add line for driver name to Connection Information dialog
13027
13028         * src/nm-dbus-device.c
13029                 - (nm_dbus_device_get_driver): new function to return driver name
13030                 - (nm_dbus_device_methods): hook up driver name function to dbus
13031
13032         * test/nm-tool.c
13033                 - (get_driver_name): new function
13034                 - (detail_device): grab and show driver name
13035
13036 2006-01-30  Robert Love  <rml@novell.com>
13037
13038         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13039           does not parse the markup if it is not part of the format.
13040
13041 2006-01-30  Robert Love  <rml@novell.com>
13042
13043         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13044           FALSE, we have no security options for this dialog, so we throw up
13045           an error dialog instead of a broken passphrase dialog.  Fixes
13046           Novell #138404.
13047         * gnome/applet/wireless-security-manager.c,
13048           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13049           does not add any security options, not even NONE, print a warning
13050           and return FALSE.  This let's functions constructing a dialog bail
13051           out if the device's capabilities and the network's requirements have
13052           zero overlap.
13053
13054 2006-01-27  Robert Love  <rml@novell.com>
13055
13056         * configure.in: Require wpa_supplicant.  Detect location of binary and
13057           use it.  Override with "--with-wpa_supplicant=foo".
13058         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13059           path to wpa_supplicant but use the auto-detected or user-provided
13060           value from configure.
13061
13062 2006-01-27  Robert Love  <rml@novell.com>
13063
13064         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13065           but the DHCP server did not return a hostname, try to look up our
13066           name via DNS and set the system hostname to that.
13067
13068 2006-01-27  Dan Williams  <dcbw@redhat.com>
13069
13070         * src/backends/NetworkManagerRedHat.c
13071                 - Add NM_CONTROLLED system network script support for RH/Fedora
13072
13073 2006-01-27  Dan Williams  <dcbw@redhat.com>
13074
13075         * src/backends/NetworkManagerGentoo.c
13076                 - (nm_system_device_get_disabled): add missing function.
13077                         Gnome BZ #328780
13078
13079 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13080
13081         * configure.in: Added vi in ALL_LINGUAS line.
13082         
13083 2006-01-26  Robert Love  <rml@novell.com>
13084
13085         * src/Makefile.am, src/kernel-types.h: Now that two different source
13086           files are feeling the crack-addled leakage of kernel types such as
13087           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13088           types in user-space -- define a header and include it as needed.
13089         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13090         * src/nm-device-802-3-ethernet.h: Remove defines.
13091         * src/wpa.c: Remove defines and include kernel-types.h.
13092
13093 2006-01-26  Robert Love  <rml@novell.com>
13094
13095         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13096           work.
13097
13098 2006-01-26  Robert Love  <rml@novell.com>
13099
13100         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13101         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13102           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13103           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13104           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13105           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13106           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13107           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13108           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13109           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13110           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13111           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13112           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13113           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13114           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13115           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13116           Kill unused variables, labels, and static functions.  Don't pass
13117           string literals as the format string for printf-like functions.
13118
13119 2006-01-25  Dan Williams  <dcbw@redhat.com>
13120
13121         * gnome/applet/wireless-applet.glade
13122                 - Remove WPA2 Checkbox
13123
13124         * gnome/applet/wireless-security-manager.c
13125                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13126                         This means the Wireless Security menu now has two WPA options,
13127                         one for "WPA Personal" and one for "WPA2 Personal"
13128
13129         * gnome/applet/wso-wpa-psk.[ch]
13130                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13131                         'wpa2' argument to determine WPA version to use
13132                 - (append_dbus_params_func): pass stored WPA version to cipher
13133                         rather than using the (removed) checkbox
13134
13135 2006-01-24  Robert Love  <rml@novell.com>
13136
13137         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13138           before we g_strdup(), not the ultimate string.
13139
13140 2006-01-23  Dan Williams  <dcbw@redhat.com>
13141
13142         * src/NetworkManagerAP.[ch]
13143                 - (nm_ap_new_from_ap): copy original essid too
13144                 - (nm_ap_unref): free original essid
13145                 - (nm_ap_get_orig_essid): new function
13146                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13147                         but keep original essid around too
13148
13149         * src/nm-device-802-11-wireless.c
13150                 - (supplicant_send_network_config): send wpa_supplicant the
13151                         _original_ essid, and not as a string, but in hex.  Should
13152                         allow us to connect to more APs that use wierd character
13153                         encodings for their essids
13154
13155         * utils/nm-utils.[ch]
13156                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13157                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13158                         use the current locale as a hint for what encoding the essid
13159                         might be in.  Obviously not 100% accurate, but the idea here is
13160                         that if a user's locale is ex. ja_JP, they are more likely than
13161                         not to be in Japan, where access points will likely be in some
13162                         Japanese encoding.
13163
13164 2006-01-23  Dan Williams  <dcbw@redhat.com>
13165
13166         * libnm-util/cipher-private.h
13167           libnm-util/cipher.c
13168           libnm-util/cipher.h
13169                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13170
13171 2006-01-23  Robert Love  <rml@novell.com>
13172
13173         Patch by Timo Hoenig <thoenig@suse.de>:
13174         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13175           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13176           by DHCP and pass it to the backends, allowing distribution-specific
13177           behavior with respect to the DHCP-supplied hostname (if nothing else,
13178           some distributions might not want to set the hostname).
13179         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13180           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13181           Also update our NIS behavior.
13182         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13183           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13184           Add stub functions.
13185
13186 2006-01-23  Robert Love  <rml@novell.com>
13187
13188         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13189           gnome-session does autostart.  TODO: We need to install this to
13190           $prefix/share/autostart/.
13191
13192 2006-01-22  Dan Williams  <dcbw@redhat.com>
13193
13194         * src/NetworkManagerAP.[ch]
13195           src/nm-dbus-nmi.c
13196           src/nm-device-802-11-wireless.c         
13197                 - Make nm_ap_get_essid return "const char *"
13198
13199 2006-01-22  Dan Williams  <dcbw@redhat.com>
13200
13201         * src/NetworkManagerAP.[ch]
13202                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13203
13204         * src/NetworkManagerAPList.[ch]
13205                 - (nm_ap_list_diff): removed
13206                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13207                         deal with access points changing essids on us
13208
13209         * src/nm-device-802-11-wireless.c
13210                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13211                         src/NetworkManagerAPList.c
13212                 - (real_can_interrupt_activation): new function; allow interruption
13213                         of device activation if we are waiting for a network key
13214
13215         * src/NetworkManagerPolicy.c
13216                 - (nm_policy_device_change_check): allow interruption of currently
13217                         activating devices if the device allows it.  Previous behavior
13218                         would refuse to activate a just-plugged wired device if a
13219                         wireless device was waiting for a key.
13220
13221         * src/nm-device.[ch]
13222                 - (nm_device_can_interrupt_activation): new function; ask devices
13223                         whether their activation can be interrupted
13224
13225 2006-01-20  Robert Love  <rml@novell.com>
13226
13227         * Makefile.am, configure.in: Add new man subdirectory.
13228         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13229           man/Makefile.am: Add man pages for NetworkManager and its
13230           crime-solving bumbling buddy, NetworkManagerDispatcher.
13231         * man/.cvsignore: Add.
13232         * initscript/Debian/NetworkManager,
13233           initscript/Gentoo/NetworkManager.in,
13234           initscript/RedHat/NetworkManager.in,
13235           initscript/RedHat/NetworkManagerDispatcher.in,
13236           initscript/SUSE/networkmanager-dispatcher.in,
13237           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13238
13239 2006-01-20  Robert Love  <rml@novell.com>
13240
13241         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13242           instead of queuing.  This prevents the running of multiple NM
13243           daemons concurrently, which does not work whatsoever and results in
13244           neither daemon working correctly.  Also, we don't handle queuing and
13245           name-owner-changes, anyhow.
13246
13247 2006-01-20  Robert Love  <rml@novell.com>
13248
13249         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13250         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13251           to sbin, not bin.
13252
13253 2006-01-19  Robert Love  <rml@novell.com>
13254
13255         * configure.in: Require hal 0.5.0 or later.
13256
13257 2006-01-18  Robert Love  <rml@novell.com>
13258
13259         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13260           Allow backends to flag a device (in whatever distro-dependent way
13261           they so desire) as disabled.  NM will ignore any such device.
13262         * src/backends/NetworkManagerDebian.c,
13263           src/backends/NetworkManagerRedHat.c,
13264           src/backends/NetworkManagerSlackware.c: Add stub function
13265           nm_system_device_get_disabled() that always returns FALSE (enabled).
13266         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13267           SUSE-specific configuration structure.  Fill it in from the
13268           NM_CONTROLLED variable in the system networking scripts.  If this var
13269           exists and is "no", we ignore the device.
13270
13271 2006-01-17  Robert Love  <rml@novell.com>
13272
13273         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13274           identical for NM.  For a full discussion, see the thread at
13275           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13276
13277 2006-01-17  Dan Williams  <dcbw@redhat.com>
13278
13279         * src/nm-device.c
13280                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13281                         function.  Fixes crash when wired DHCP fails.
13282
13283 2006-01-16  Robert Love  <rml@novell.com>
13284
13285         * src/Makefile.am: Don't install NMLoadModules
13286         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13287           from src/ to test/ as no one uses it anymore.  Note that I would be
13288           fine with removing it altogether.
13289
13290 2006-01-16  Robert Love  <rml@novell.com>
13291
13292         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13293           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13294           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13295           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13296           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13297           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13298           declarations, ever.
13299         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13300           NM_STATE_DISCONNECTED is zero).
13301
13302 2006-01-16  Robert Love  <rml@novell.com>
13303
13304         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13305           uninitialized parameter and buffer overflow.  Novell #143496.
13306
13307 2006-01-16  Dan Williams  <dcbw@redhat.com>
13308
13309         Apply the PtP Address bits of a patch from Tim Niemueller
13310
13311         * src/nm-ip4-config.[ch]
13312                 - Add ip4_ptp_address member to object
13313                 - (nm_ip4_config_copy): copy ptp address too
13314                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13315                         new functions
13316                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13317                         rather than local tunnel ip address
13318
13319         * src/vpn-manager/nm-vpn-service.c
13320                 - (print_vpn_config): update for PtP address
13321                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13322                         DBusMessageIters in preparation for getting routes from the VPN
13323                         service daemons too
13324
13325         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13326                 - (send_config_info): update for PtP address, clean up code
13327                 - (main): update for PtP address, clean up code, fix typo
13328
13329         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13330                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13331
13332         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13333                 - (pptp_ip_up): update for PtP address
13334
13335         * vpn-daemons/pptp/src/nm-pptp-service.c
13336                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13337
13338         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13339                 - (print_vpn_config): update for PtP address
13340                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13341
13342 2006-01-16  Dan Williams  <dcbw@redhat.com>
13343
13344         * gnome/applet/applet.c
13345                 - (nmwa_add_networks_helper): don't indicate an active network
13346                         if NM is disconnected or asleep
13347
13348 2006-01-16  Dan Williams  <dcbw@redhat.com>
13349
13350         * src/NetworkManagerPolicy.c
13351                 - (nm_policy_device_change_check): switch devices if we lose the link
13352                         on an ethernet device. 
13353
13354 2006-01-16  Dan Williams  <dcbw@redhat.com>
13355
13356         * gnome/applet/wso-wpa-psk-hex.[ch]
13357                 - Renamed -> wso-wpa-psk.[ch]
13358
13359         * gnome/applet/wso-wpa-psk.[ch]
13360                 - New files
13361
13362         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13363                 - Removed, rolled into wso-wpa-psk.[ch]
13364
13365         * gnome/applet/Makefile.am
13366                 - Updated for above changes
13367
13368         * gnome/applet/wireless-applet.glade
13369                 - Consolidate WPA-PSK options into one notebook
13370                         widget, and make dialogs invisible by default
13371                         to fix screen oddities
13372
13373         * gnome/applet/wireless-security-manager.c
13374                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13375                         than both the old hex & passphrase ones
13376
13377 2006-01-16  Dan Williams  <dcbw@redhat.com>
13378
13379         * gnome/applet/other-network-dialog.c
13380                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13381
13382 2006-01-16  Dan Williams  <dcbw@redhat.com>
13383
13384         * gnome/applet/applet.c
13385                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13386                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13387                         prevention to realize window before trying to get server
13388                         time
13389
13390         * gnome/applet/other-network-dialog.c
13391                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13392                         prevention to realize window before trying to get server
13393                         time
13394
13395         * gnome/applet/passphrase-dialog.c
13396                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13397                         prevention to realize window before trying to get server
13398                         time
13399
13400 2006-01-16  Robert Love  <rml@novell.com>
13401
13402         Patch from Timo Hoenig  <thoenig@suse.de:
13403         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13404           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13405           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13406           libnm-util/dbus-helpers.h: add checks whether headers are used
13407           within a C++ build.
13408
13409 2006-01-16  Dan Williams  <dcbw@redhat.com>
13410
13411         * gnome/applet/wireless-security-option.c
13412                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13413
13414 2006-01-16  Dan Williams  <dcbw@redhat.com>
13415
13416         * libnm-util/cipher-wpa-psk-passphrase.c
13417                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13418                         be 8 - 63 characters inclusive
13419
13420 2006-01-16  Dan Williams  <dcbw@redhat.com>
13421
13422         * src/nm-dbus-nm.c
13423                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13424
13425 2006-01-13  Robert Love  <rml@novell.com>
13426
13427         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13428         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13429           modules that do not use an interface.
13430
13431 2006-01-13  Dan Williams  <dcbw@redhat.com>
13432
13433         * src/nm-device.c
13434           src/nm-device.h
13435                 - Allow subclasses to implement deactivate_quickly()
13436                 - (nm_device_deactivate_quickly): call subclass
13437                         deactivate_quickly() methods
13438                 - (nm_device_set_active_link): small cleanups, and don't
13439                         deactivate the device right away because we risk a deadlock
13440                         when called from device thread, waiting for the device
13441                         thread to cancel activation
13442
13443         * src/nm-device-802-11-wireless.c
13444                 - (real_deactivate_quickly): new function
13445                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13446                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13447                         so that we kill the supplicant when we sleep too
13448                 - (supplicant_interface_init): work around naive naming attempts of
13449                         wpa_ctrl when naming sockets
13450
13451 2006-01-13  Dan Williams  <dcbw@redhat.com>
13452
13453         * src/nm-device-802-11-wireless.c
13454                 - (supplicant_cleanup): delete old device control sockets too
13455                 - (supplicant_get_device_socket_path): new function to consolidate
13456                         locations that need a path to a device's control socket
13457
13458 2006-01-12  Robert Love  <rml@novell.com>
13459
13460         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13461           description so that the description is unique for each
13462           pair (device,provider).  Fixes Novell #142773.
13463
13464 2006-01-12  Dan Williams  <dcbw@redhat.com>
13465
13466         * src/nm-device-802-11-wireless.c
13467                 - (supplicant_exec): ensure GError is correctly initialized
13468                         Reported by Diego González (gnome.org #326708)
13469
13470 2006-01-11  Robert Love  <rml@novell.com>
13471
13472         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13473           define if_mii(), open code the same results, and do so without any
13474           type punning.
13475
13476 2006-01-11  Robert Love  <rml@novell.com>
13477
13478         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13479           that wso_foo_new() returned non-NULL.  Instead, only append the new
13480           wso to wsm->options if the wso is non-NULL.  The crux is that we
13481           assume that the relevant key types are implied by WEP and WPA as
13482           appropriate.  To be sure, they should be, but we should not expect
13483           drivers to not be oozing piles of wolf fecal matter.
13484
13485 2006-01-11  Robert Love  <rml@novell.com>
13486
13487         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13488         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13489           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13490           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13491           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13492           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13493           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13494         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13495           comparing values within DBL_EPSILON.  Also fix shadowed variable
13496           usage.
13497
13498 2006-01-11  Dan Williams  <dcbw@redhat.com>
13499
13500         Add options for WPA2 and WPA1+CCMP (AES).
13501
13502         * gnome/applet/wireless-applet.glade
13503                 - Add UI bits for WPA+CCMP
13504
13505         * gnome/applet/other-network-dialog.c
13506                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13507                         and don't allow creation of WPA2 Ad-Hoc networks since
13508                         wpa_supplicant doesn't support them
13509
13510         * gnome/applet/wireless-security-manager.c
13511                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13512                         on to the specific wireless security option being created
13513
13514         * gnome/applet/wireless-security-option.[ch]
13515                 - (wso_wpa_create_key_type_model): new utility function to create
13516                         the model required for WPA Key Type combo box
13517
13518         * gnome/applet/wso-private.h
13519           gnome/applet/wireless-security-option.h
13520                 - Move private function prototypes into wso-private.h
13521
13522         * gnome/applet/wso-wpa-psk-hex.[ch]
13523           gnome/applet/wso-wpa-psk-passphrase.[ch]
13524                 - (append_dbus_params_func): get WPA version from checkbox and pass
13525                         it to the dbus serialization helper
13526                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13527                         key type combo changes
13528                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13529                         model and options
13530
13531         * libnm-util/cipher-wpa-psk-hex.c
13532           libnm-util/cipher-wpa-psk-passphrase.c
13533                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13534                         new function; allow the cipher to be changed after object creation
13535
13536         * src/nm-ap-security-wpa-psk.c
13537                 - (set_description): Do WPA2 descriptions too
13538
13539         * src/nm-ap-security.c
13540                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13541
13542 2006-01-11  Robert Love  <rml@novell.com>
13543
13544         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13545           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13546           from the ifreq structure in lieu of an open coded solution.  Removes
13547           a life-threatening type-punning.
13548         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13549           types, ever, whatsoever, baby.
13550
13551 2006-01-11  Robert Love  <rml@novell.com>
13552
13553         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13554           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13555           assignments to applet->nm_state into a new nmwa_set_state() function
13556           for both cleanliness and to help debugging.
13557
13558 2006-01-10  Robert Love  <rml@novell.com>
13559
13560         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13561           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13562           seconds, exclusive.  That is, we want to sleep x seconds such that
13563           1 < x < 2.
13564
13565 2006-01-10  Robert Love  <rml@novell.com>
13566
13567         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13568           the attr fields according to the example in the email available at
13569           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13570           Conversely, we do have to free 'name', so we do so, fixing a leak.
13571
13572 2006-01-10  Robert Love  <rml@novell.com>
13573
13574         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13575           sure that we close the socket!
13576
13577 2006-01-10  Robert Love  <rml@novell.com>
13578
13579         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13580           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13581           src/nm-device.c: Fix a FIXME!  Reimplement the function
13582           nm_device_update_hw_address() in device subclass variants,
13583           nm_device_802_3_ethernet_set_address() and
13584           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13585           This fixes the existing bug where MAC addresses are all zeros.
13586
13587 2006-01-10  Robert Love  <rml@novell.com>
13588
13589         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13590           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13591           option to give users ability to globally disconnect and put NM to
13592           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13593           clean disconnect.
13594
13595 2006-01-09  Robert Love  <rml@novell.com>
13596
13597         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13598           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13599           User-space does not supply these types, so we have to define them
13600           ourselves.  The relevant kernel maintainer refused to accept a patch
13601           switching these headers to the proper C99 types.
13602
13603 2006-01-09  Dan Williams  <dcbw@redhat.com>
13604
13605         Apply Robert's 'tray icon redo' patch with fixes
13606         * gnome/applet/applet.c
13607           gnome/applet/applet.h
13608                 - Instead of using a menu bar + menu item, simulate menu
13609                         behavior using a popup menu.  Highlight the area around
13610                         the icon more like a menu too, by playing with the
13611                         applet's size requisition
13612
13613 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13614         * libnm-util/dbus-helpers.c
13615           libnm-util/dbus-helpers.h
13616                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13617                         to 'exception_namespace' (:namespace is a keyword in
13618                         C++)
13619
13620 2006-01-09  Dan Williams  <dcbw@redhat.com>
13621
13622         * src/NetworkManagerPolicy.c
13623                 - (nm_policy_device_change_check): don't autoswitch away from
13624                         Ad-Hoc networks, since there's really no concept of
13625                         "link"
13626
13627         * src/nm-dbus-nm.c
13628                 - (nm_dbus_nm_create_wireless_network): mark created networks
13629                         as Ad-Hoc networks
13630
13631         * src/nm-device-802-11-wireless.c
13632                 - (real_activation_success_handler): add user-created Ad-Hoc
13633                         networks to the device's scan list
13634
13635 2006-01-08  Dan Williams  <dcbw@redhat.com>
13636
13637         We now require a patch for wpa_supplicant to support Ad-Hoc
13638         networks:
13639           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13640
13641         * src/nm-device-802-11-wireless.c
13642                 - (supplicant_send_network_config): turn off wpa_supplicant's
13643                         scanning.  Fixes Ad-Hoc networks.
13644
13645 2006-01-08  Dan Williams  <dcbw@redhat.com>
13646
13647         * src/nm-ap-security.c
13648           src/nm-ap-security.h
13649                 - Add a user_created argument to the write_supplicant_config
13650                         functions
13651
13652         * src/nm-ap-security-wep.c
13653           src/nm-ap-security-wpa-psk.c
13654           src/nm-device-802-11-wireless.c
13655                 - Make Ad-Hoc mode somewhat work, at least write the
13656                         correct options to wpa_supplicant
13657
13658 2006-01-08  Dan Williams  <dcbw@redhat.com>
13659
13660         * src/nm-device-802-11-wireless.c
13661                 - Remove unused code from the old device activation path
13662
13663 2006-01-08  Dan Williams  <dcbw@redhat.com>
13664
13665         * libnm-util/dbus-helpers.c
13666                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13667                         dbus when key == NULL
13668
13669 2006-01-08  Dan Williams  <dcbw@redhat.com>
13670
13671         * gnome/applet/nm-gconf-wso-wpa-psk.c
13672                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13673                         correct arguments to nmu_security_deserialize_wpa_psk()
13674
13675         * src/nm-ap-security-wpa-psk.c
13676                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13677                         arguments to nmu_security_deserialize_wpa_psk()
13678
13679 2006-01-08  Dan Williams  <dcbw@redhat.com>
13680
13681         * gnome/applet/wso-wpa-psk-hex.c
13682           gnome/applet/wso-wpa-psk-passphrase.c
13683                 - Hook up the append_dbus_params_func() function
13684
13685 2006-01-08  Dan Williams  <dcbw@redhat.com>
13686
13687         * src/nm-device-802-11-wireless.c
13688                 - (get_wireless_capabilities): correctly detect driver WPA
13689                         capabilities
13690
13691 2006-01-08  Dan Williams  <dcbw@redhat.com>
13692
13693         * gnome/applet/Makefile.am
13694           gnome/applet/wso-wpa-psk-hex.c
13695           gnome/applet/wso-wpa-psk-hex.h
13696                 - New files, implement WPA-PSK Hex key input
13697
13698         * gnome/applet/wireless-applet.glade
13699                 - Change existing wpa-psk stuff to wpa-psk-hex
13700                 - Add new widgets for wpa-psk-passphrase
13701
13702         * gnome/applet/wireless-security-manager.c
13703                 - (wsm_set_capabilities): enable WPA options
13704
13705         * gnome/applet/wso-wpa-psk-passphrase.c
13706                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13707                         for WPA-PSK passphrase
13708
13709 2006-01-08  Dan Williams  <dcbw@redhat.com>
13710
13711         * include/NetworkManager.h
13712                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13713                         applet/info-daemons
13714
13715         * gnome/applet/passphrase-dialog.c
13716                 - Use the constant.  Fixes a bug where the arguments to
13717                         dbus_message_new_error() were incorrect
13718
13719         * src/nm-dbus-nmi.c
13720                 - Use the constant
13721
13722 2006-01-07  Dan Williams  <dcbw@redhat.com>
13723
13724         * src/nm-device-802-11-wireless.c
13725                 - Add a link timeout so we allow the supplicant time to
13726                         reassociate if it can, before we deactivate the card
13727                 - Fix up link status and link updating so things work better
13728
13729 2006-01-07  Dan Williams  <dcbw@redhat.com>
13730
13731         * src/nm-device-802-11-wireless.c
13732                 - Switch over to using wpa_supplicant
13733                 - Add a timeout of 10s for association of the supplicant
13734                 - Start the monitor callback of the supplicant
13735
13736 2006-01-07  Dan Williams  <dcbw@redhat.com>
13737
13738         * src/NetworkManagerUtils.c
13739                 - (nm_utils_supplicant_request,
13740                   nm_utils_supplicant_request_with_check):
13741                         pass correct buffer length to wpa_ctrl_request()
13742
13743 2006-01-07  Dan Williams  <dcbw@redhat.com>
13744
13745         * src/nm-device-private.h
13746           src/nm-device.c
13747                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13748                         this function available to subclasses
13749
13750 2006-01-06  Robert Love  <rml@novell.com>
13751
13752         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13753           user plugging in a network cable signals their preference for to
13754           switch, unless the user explicitly selected a wireless network and
13755           therefore signaled their preference for said wireless network over
13756           wired.  In other words, do exactly what makes sense.
13757
13758 2006-01-06  Robert Love  <rml@novell.com>
13759
13760         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13761           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13762           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13763           showing up in my greps.
13764
13765 2006-01-06  Robert Love  <rml@novell.com>
13766
13767         * gnome/applet/applet-dbus-devices.c,
13768           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13769           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13770           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13771           New Network' both failed in the non-encrypted case because we were
13772           not appending the security options to the DBUS message.  And
13773           'Connect to Other' was also failing in the encrypted case because
13774           we were not incrementing to the next DBUS parameter.  All fixed.
13775           Thanks to dcdw for some debugging help.
13776
13777 2006-01-06  Robert Love  <rml@novell.com>
13778
13779         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13780           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13781           hangup code and add per-device hangup.  Tie last commit into the
13782           GNOME applet.  TODO:  Save, understand, and respond to the state of
13783           each dialup device.
13784
13785 2006-01-06  Robert Love  <rml@novell.com>
13786
13787         Patch by Timo Hoenig <thoenig@suse.de>:
13788         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13789           hangup specific dialup devices.
13790         * src/backends/NetworkManagerDebian.c,
13791           src/backends/NetworkManagerGentoo.c,
13792           src/backends/NetworkManagerRedHat.c,
13793           src/backends/NetworkManagerSlackware.c: Add stub backend.
13794         * src/backends/NetworkManagerRedHat.c,
13795           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13796           hangup specific dialup devices.
13797
13798 2006-01-04  Robert Love  <rml@novell.com>
13799
13800         * gnome/applet/applet-dbus-devices.c,
13801           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13802           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13803           connections.
13804
13805 2006-01-04  Dan Williams  <dcbw@redhat.com>
13806
13807         First dump of wpa_supplicant-related code.  It's not hooked up to
13808         anything yet though.  Thanks to Kay Sievers for
13809         wpa_supplicant_wrapper.c, which formed the basis for this work,
13810         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13811
13812         * src/Makefile.am
13813           src/wpa_ctrl.[ch]
13814                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13815
13816         * src/NetworkManagerUtils.[ch]
13817                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13818                         Add convenience functions for talking to wpa_supplicant
13819
13820         * src/nm-ap-security.[ch]
13821           src/nm-ap-security-wep.c
13822           src/nm-ap-security-wpa-psk.[ch]
13823                 - Update and implement real_write_supplicant_config functions
13824                         in all security types
13825                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13826                         nm-ap-security-wpa-psk.c
13827
13828         * src/nm-device-802-11-wireless.c
13829                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13830                    wpa_supplicant_start, wpa_supplicant_interface_init,
13831                    wpa_supplicant_send_network_config): add functions to talk to
13832                         wpa_supplicant and write network config to it
13833
13834 2006-01-04  Robert Love  <rml@novell.com>
13835
13836         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13837           values so that distribution-backends can differentiate between the
13838           various types (modem, ISDN, et cetera) of dialup device that they
13839           support.
13840         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13841           needed.
13842
13843 2006-01-03  Dan Williams  <dcbw@redhat.com>
13844
13845         * src/NetworkManagerPolicy.c
13846           src/nm-device.[ch]
13847           src/nm-device-802-11-wireless.c
13848                 - Move wireless-specific activation failure and success code
13849                         into wireless device class
13850
13851 2006-01-03  Robert Love  <rml@novell.com>
13852
13853         Patch by Preggna S:
13854         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13855           IPsec does not require that a VPN client be bound to an interface,
13856           due to the use of the in-kernel IPSec bits.  So make the tunnel
13857           device optional.
13858
13859 2006-01-03  Dan Williams  <dcbw@redhat.com>
13860
13861         * src/NetworkManagerAP.c
13862                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13863                         the WPA IE specifies that WEP is supported
13864
13865         * src/nm-device-802-11-wireless.c
13866                 - (process_scan_results): don't mark an AP as supporting WEP
13867                         if there's already other encryption capability info
13868
13869 2006-01-03  Dan Williams  <dcbw@redhat.com>
13870
13871         * src/dhcp-manager/nm-dhcp-manager.c
13872                 - Recognize activation cancellation when waiting for DHCP
13873                         configuration from dhcdbd
13874                 - Ignore non-dhcdbd messages
13875
13876         * src/nm-device.c
13877                 - (real_act_stage3_ip_config_start): return to correct behavior
13878                         of letting the dhcp-manager notify us of failure or
13879                         success rather than incorrectly doing that ourselves
13880                 - (nm_device_activate_stage4_ip_config_get): deal with
13881                         activation cancellation a bit earlier
13882
13883 2006-01-03  Dan Williams  <dcbw@redhat.com>
13884
13885         * src/nm-device-802-11-wireless.c
13886           src/nm-device.[ch]
13887                 - Add hooks to subclasses for stage3_ip_config_start and
13888                         stage4_ip_config_timeout
13889
13890         * src/nm-device-802-3-ethernet.c
13891                 - (real_get_generic_capabilities): make devices NM-supported
13892                         by default
13893
13894 2006-01-03  Robert Love  <rml@novell.com>
13895
13896         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13897           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13898           latter cannot differentiate between error and the address -1; misc.
13899           clean up.
13900
13901 2006-01-03  Dan Williams  <dcbw@redhat.com>
13902
13903         * src/NetworkManager.c
13904                 - Move link-checking/probing into the device subclasses
13905                         themselves
13906
13907         * src/nm-device.[ch]
13908           src/nm-device-802-11-wireless.c
13909           src/nm-device-802-3-ethernet.c
13910                 - Do periodic link checking in device subclasses rather
13911                         than being triggered from NetworkManager.c
13912                 - discover_wireless_capabilities -> get_wireless_capabilities
13913                 - discover_generic_capabilities -> get_generic_capabilities
13914                 - Device subclass activation routines now return a value of type
13915                         NMActStageReturn to indicate what step to perform next
13916                 - Devices now override stage4_get_ip4_config if they choose
13917
13918 2006-01-01  Dan Williams  <dcbw@redhat.com>
13919
13920         * src/nm-device-802-11-wireless.c
13921                 - (real_init): don't chain up to parent init because we don't
13922                         need to do that anymore
13923
13924         * src/nm-device.c
13925                 - (discover_device_type): fix arguments to ioctl() to correctly
13926                         pass interface name
13927                 - (nm_device_new): consolidate generic device initialization into
13928                         nm_device_new()
13929                 - (real_init): remove, consolidated to nm_device_new()
13930                 - (nm_device_deactivate, real_deactivate): consolidate
13931
13932 2006-01-01  Dan Williams  <dcbw@redhat.com>
13933
13934         * src/nm-activation-request.c
13935                 - Change dhcp_state member of the NMActRequest structure
13936                         from guint8 to guint32
13937
13938         * src/dhcp-manager/nm-dhcp-manager.[ch]
13939                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13940                         than guint8 to match the dbus argument.  Turns out we were
13941                         overwriting memory since we were passing in only a guint8
13942
13943 2005-12-31  Dan Williams  <dcbw@redhat.com>
13944
13945         * refactor NMDevice into a GObject-based framework with separate
13946                 objects for wired and wireless.  The following files are no
13947                 longer used but should stick around for a bit so we don't
13948                 loose code through the cracks:
13949                         NetworkManagerDevice.c
13950                         NetworkManagerDevice.h
13951                         NetworkManagerWireless.c
13952                         NetworkManagerWireless.h
13953
13954         The intent here is to allow each device type to manage its own
13955         connection & activation life-cycle, ie to allow wireless devices
13956         to interface with wpa_supplicant, etc.  There's a fair bit of
13957         encapsulation breakage right now that should gradually get pulled
13958         back into each device, along with things like periodic property
13959         updates and link probing.
13960
13961 2005-12-29  Dan Williams  <dcbw@redhat.com>
13962
13963         * include/NetworkManager.h
13964                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13965                         between networks that don't have any encryption at all
13966
13967 2005-12-29  Dan Williams  <dcbw@redhat.com>
13968
13969         * test/test-common.c
13970           test/test-common.h
13971           test/Makefile.am
13972                 - Move to a test-common subdirectory
13973
13974         * test/libnm-util/test-ciphers.c
13975                 - Move test data to test-inputs.h
13976                 - Test WPA ciphers too
13977
13978         * test/libnm-util/test-dbus-helpers.c
13979                 - Test serialization/deserialization of ciphers
13980
13981 2005-12-29  Dan Williams  <dcbw@redhat.com>
13982
13983         * gnome/applet/applet-dbus-devices.c
13984                 - Replace 'enc' parameter with 'capabilities' for wireless networks
13985                         in dbus calls to NM
13986                 - Set capabilities on WirelessNetwork objects
13987                 - Receive and save type-specific device capabilities too
13988
13989         * gnome/applet/applet-dbus-info.c
13990           gnome/applet/applet-dbus.c
13991                 - Passphrase dialog no longer a singleton; new instance gets created
13992                         on each request.  Updates to deal with that.
13993
13994         * gnome/applet/applet.c
13995                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13996                         than single 'encrypted' flag
13997                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13998                         menu items
13999                 - Passphrase dialog updates per above
14000
14001         * gnome/applet/menu-items.c
14002                 - (network_menu_item_update): use AP capabilities to determine
14003                         encryption
14004
14005         * gnome/applet/nm-device.[ch]
14006                 - Add accessors for type-specific device capabilities
14007
14008         * gnome/applet/other-network-dialog.c
14009                 - Rework to respect device capabilities.  i.e., if the device doesn't
14010                         support WPA, remove that option from the security dropdown
14011
14012         * gnome/applet/passphrase-dialog.c
14013                 - Massive rework so that a new instance is created each time
14014                         it's used, to support wireless network capabilities
14015
14016         * gnome/applet/wireless-network.[ch]
14017                 - Add accessors and members for wireless network capabilities
14018
14019         * gnome/applet/wireless-security-manager.[ch]
14020                 - (wsm_set_capabilities): called after creation to set which
14021                         security options get shown to the user
14022
14023 2005-12-29  Dan Williams  <dcbw@redhat.com>
14024
14025         * libnm-util/cipher-wpa-psk-passphrase.c
14026                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14027                         like other ciphers
14028
14029 2005-12-23  Dan Williams  <dcbw@redhat.com>
14030
14031         * gnome/applet/applet-dbus-info.c
14032                 - (nmi_dbus_get_key_for_network): if there's no entry in
14033                         GConf for a network, assume we want a new key
14034                 - (nmi_save_network_info): serialize wireless security info
14035                         into GConf so its saved
14036
14037         * src/nm-dbus-nm.c
14038                 - Fix warning as we may not be passed security info when
14039                         connecting to a wireless network
14040
14041 2005-12-23  Dan Williams  <dcbw@redhat.com>
14042
14043         * gnome/applet/applet-compat.c
14044                 - Fix bugs in GConf entry conversion
14045
14046         * gnome/applet/applet-dbus-info.c
14047                 - (nmi_dbus_get_network_properties): handle case of the BSSID
14048                         list being zero-length
14049
14050         * libnm-util/cipher-*
14051           libnm-util/dbus-helpers.c
14052                 - All ciphers must now return hashed keys as UTF-8 valid
14053                         hexadecimal strings, ie "8f3dae4023".  They are pushed
14054                         through dbus as strings too.
14055                 - Consolidate various functions that do bin->hex and hex->bin
14056                         conversion into cipher.c
14057
14058         * src/nm-ap-security-wep.c
14059           src/nm-ap-security-wpa-psk.c
14060                 - Handle NULL keys since we may not know keys right away
14061
14062         * src/nm-dbus-nmi.c
14063                 - (nm_dbus_get_network_data_cb): actually advance to the start
14064                         of the wireless security info before we try to deserialize it
14065
14066         * libnm-util/test-ciphers.c
14067                 - Update cipher tests for the change to UTF-8 hexadecimal strings
14068
14069 2005-12-22  Dan Williams  <dcbw@redhat.com>
14070
14071         * gnome/applet/applet-compat.[ch]
14072                 - Convert old-format GConf and keyring entries
14073                         when the applet starts up.
14074
14075         * gnome/applet/applet.c
14076                 - (nmwa_get_instance): Call the conversion function
14077                         on startup before dbus is initialized
14078
14079 2005-12-22  Dan Williams  <dcbw@redhat.com>
14080
14081         * gnome/applet/applet-dbus-info.c
14082                 - Remove nmi_dbus_create_error_message() in favor of
14083                         nmu_create_dbus_error_message()
14084                 - (nmi_dbus_get_network_properties): Error message cleanups
14085                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14086                         gconf key rather than 'addresses', since they really are BSSIDs
14087                 - (nmi_dbus_get_network_properties): Dispose of the security
14088                         object when we're done with it
14089
14090 2005-12-21  Dan Williams  <dcbw@redhat.com>
14091
14092         * Consolidate the info-daemon's "updateNetworkInfo" and
14093                 "addNetworkAddress" calls into just "updateNetworkInfo"
14094
14095 2005-12-21  Dan Williams  <dcbw@redhat.com>
14096
14097         * Make connection after key retrieval work again
14098
14099 2005-12-21  Dan Williams  <dcbw@redhat.com>
14100
14101         * gnome/applet/nm-gconf-wso*
14102                 - Make the serialize functions return gboolean
14103                         rather than int
14104
14105         * gnome/applet/nm-gconf-wso.c
14106                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14107                         parent class handling so we don't segfault
14108
14109         * src/NetworkManagerAP.[ch]
14110                 - (nm_ap_get_capabilities): new function, return capabilities
14111                         now that something can use them
14112                 - (nm_ap_set_encrypted): assume that an access point supports
14113                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14114                         we even tell whether it just supports WEP40?
14115
14116         * src/NetworkManagerDevice.c
14117                 - (ap_need_key): resurrect and update for the New World Order
14118                 - (nm_device_wireless_get_activation_ap): if we're not given
14119                         security info to use, create some based on access point
14120                         capabilities
14121
14122         * src/nm-ap-security-wep.c
14123                 - (nm_ap_security_wep_new_from_ap): create a new object
14124                         based on a certain access point's capabilities
14125
14126         * src/nm-ap-security.c
14127                 - (nm_ap_security_new_from_ap): delegate creation of a new
14128                         object based on access point capabilities to a subclass
14129                 - (nm_ap_security_copy_properties): don't segfault if we
14130                         don't have a key yet
14131
14132         * src/nm-dbus-nm.c
14133                 - (nm_dbus_nm_set_active_device): provide more informative
14134                         output when errors occur.  Also construct security info
14135                         for a given access point if we weren't given any
14136
14137 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14138
14139         * configure.in: Added Lithuanian to ALL_LINGUAS.
14140
14141 2005-12-21  Dan Williams  <dcbw@redhat.com>
14142
14143         * test/libnm-util
14144                 - Add some testcases for WEP ciphers
14145
14146 2005-12-17  Dan Williams  <dcbw@redhat.com>
14147
14148         * Fix bugs
14149
14150 2005-12-17  Dan Williams  <dcbw@redhat.com>
14151
14152         * include/NetworkManager.h
14153                 - Finally kill NMEncKeyType
14154
14155         * gnome/applet/applet-dbus-info.c
14156                 - (nmi_save_network_info): convert to NMGConfWSO
14157
14158         * gnome/applet/nm-gconf-wso-*.c
14159                 - Implement gconf serialization functions
14160
14161         * src/NetworkManagerPolicy.c
14162                 - (nm_policy_activation_finish): fix up meaning of
14163                         automatic/user_requested
14164
14165 2005-12-17  Dan Williams  <dcbw@redhat.com>
14166
14167         * gnome/applet/*
14168                 - More applet cleanups
14169                 - Use the dbus-method-dispatcher
14170
14171         * libnm-util/dbus-method-dispatcher.[ch]
14172                 - Generalize the implementation from NM in
14173                         NetworkManagerUtils.c
14174
14175 2005-12-16  Dan Williams  <dcbw@redhat.com>
14176
14177         * gnome/applet/*
14178                 - Fix up the passphrase dialog to use all the
14179                         WirelessSecurityOption stuff (untested)
14180
14181 2005-12-16  Dan Williams  <dcbw@redhat.com>
14182
14183         * Move nm_gconf_get_*_helper() functions to separate files,
14184                 gconf-helpers.c & gconf-helpers.h
14185
14186         * New NMGConfWSO objects for managing the gconf side of things.
14187                 Eventually these should be merged with the
14188                 WirelessSecurityOption objects and a common base (that can
14189                 serialize/deserialize from dbus & gconf) should be
14190                 refactored out, but for now they are separate.
14191
14192 2005-12-16  Robert Love  <rml@novell.com>
14193
14194         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14195           binaries unless they exist (nm_spawn_process() emits a warning if
14196           asked to spawn a non-existant process).
14197
14198 2005-12-16  Dan Williams  <dcbw@redhat.com>
14199
14200         * gnome/applet/applet-dbus-info.c
14201                 - Clean up lots of gconf-related code
14202
14203 2005-12-16  Robert Love  <rml@novell.com>
14204
14205         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14206
14207 2005-12-16  Dan Williams  <dcbw@redhat.com>
14208
14209         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14210
14211         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14212                 bits still to be done)
14213
14214 2005-12-16  Dan Williams  <dcbw@redhat.com>
14215
14216         * Finally move info-daemon related stuff out of
14217                 NetworkManagerDbus.c to nm-dbus-nmi.c
14218
14219 2005-12-16  Dan Williams  <dcbw@redhat.com>
14220
14221         * Kill auth_method for access points, since that's now done
14222                 by NMAPSecurity objects
14223
14224         * Add a copy-constructor of sorts to NMAPSecurity
14225                 (how do you do this properly in glib???)
14226
14227 2005-12-15  Dan Williams  <dcbw@redhat.com>
14228
14229         * Exorcise encryption key hashing on APs
14230         * Use libnm-util's serialization/deserialization in both the
14231                 applet and NM
14232         * Random other stuff
14233
14234 2005-12-15  Robert Love  <rml@novell.com>
14235
14236         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14237           is being added to the icon naming spec, so let's use that (Tango CVS
14238           has the icon).  Because it is new, however, we fall back to the
14239           current "gnome-lockscreen" if the new icon is not around, thus
14240           behavior is the same.
14241         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14242           factory junk.
14243
14244 2005-12-15  Robert Love  <rml@novell.com>
14245
14246         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14247           well, help to give.  Couple other misc. bits.
14248
14249 2005-12-15  Dan Williams  <dcbw@redhat.com>
14250
14251         * libnm-util/dbus-helpers.[ch]
14252                 - Make this the one-stop-shop for serializing/deserializing
14253                         AP & connection security settings over dbus.  Both NM
14254                         and applets should use this to ensure consistent dbus
14255                         API going forwared.
14256
14257 2005-12-15  Robert Love  <rml@novell.com>
14258
14259         Patch by Timo Hoenig  <thoenig@suse.de>:
14260         * src/NetworkManagerDbus.c
14261                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14262                         if HAL jumps off the system bus.  Otherwise libdbus
14263                         (dbus_connection_dispatch) will try to run the filter
14264                         function of our libhal context which is already freed.
14265
14266 2005-12-15  Alexander Shopov  <ash@contact.bg>
14267
14268         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14269
14270 2005-12-14  Dan Williams  <dcbw@redhat.com>
14271
14272         * include/NetworkManager.h
14273           src/NetworkManagerWireless.c
14274                 - Rearrange 802.11 wireless-specific capabilities again
14275
14276         * src/Makefile.am
14277                 - Forgot to add wpa.c/wpa.h to the makefiles
14278
14279         * src/NetworkManagerAP.[ch]
14280                 - Implement access point capabilities and parse the
14281                         WPA/RSN IEs into the capability bitfield
14282                 - Switch the "encrypted" attribute to utilize the bitfield
14283                         and capabilities rather than being independent
14284
14285         * src/NetworkManagerDevice.c
14286                 - (nm_device_wireless_get_activation_ap): break it horribly
14287                         until we can push NMAPSecurity objects into access point
14288                         objects and through the activation chain
14289                 - Stuff WPA & RSN IEs into AP capabilities
14290
14291         * src/nm-dbus-nm.c
14292                 - Take a shot at actually making setActiveDevice work
14293
14294         * src/wpa.[ch]
14295                 - Make the API a bit saner
14296
14297 2005-12-14  Dan Williams  <dcbw@redhat.com>
14298
14299         * include/NetworkManager.h
14300                 - Add 802.11-specific capability for 802.1x key
14301                         management
14302
14303         * src/wpa.[ch]
14304                 - Pull in WPA IE and RSN IE parsing code from
14305                         wpa_supplicant so we can determine access point
14306                         capabilities
14307                 - Move WPA-related constants here from NetworkManagerAP.h
14308                         and NetworkManagerDevice.c
14309
14310         * src/NetworkManagerDevice.c
14311           src/NetworkManagerAP.[ch]
14312                 - Use WPA-related constants from wpa.h
14313
14314 2005-12-14  Dan Williams  <dcbw@redhat.com>
14315
14316         * include/NetworkManager.h
14317                 - Update and split 802.11 wireless-specific capabilities from
14318                         generic device capabilities
14319
14320         * src/NetworkManagerDevice.c
14321           src/NetworkManagerDevicePrivate.h
14322                 - (nm_device_wireless_discover_capabilities): Move 802.11
14323                         wireless-specific capability checks to
14324                         NetworkManagerWireless.c
14325                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14326                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14327
14328         * src/NetworkManagerWireless.[ch]
14329                 - (nm_802_11_wireless_discover_capabilities): Check extended
14330                         802.11 wireless-specific capabilities of the driver
14331
14332 2005-12-14  Robert Love  <rml@novell.com>
14333
14334         Patch from Stefan Scheler <sscheler@suse.de>:
14335         * src/NetworkManagerDevice.c: call backend code to activate and
14336           deactivate NIS.
14337         * src/NetworkManagerSystem.h: add new NIS interfaces.
14338         * src/backends/NetworkManagerDebian.c,
14339           src/backends/NetworkManagerGentoo.c,
14340           src/backends/NetworkManagerRedHat.c,
14341           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14342           support.
14343         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14344
14345 2005-12-14  Dan Williams  <dcbw@redhat.com>
14346
14347         * src/nm-ap-security*.[ch]
14348                 - Add AP security abstractions to NetworkManager
14349
14350         * src/nm-dbus-device.c
14351                 - Begin to parse new format dbus messages from the applet
14352                         and construct an AP security object from the message
14353
14354         * libnm-util/dbus-helpers.c
14355                 - Use message iters so we can append the key as a fixed
14356                         array of bytes, which actually works rather than
14357                         using dbus_message_append_args() as we were before
14358
14359 2005-12-14  Dan Williams  <dcbw@redhat.com>
14360
14361         * src/NetworkManagerDbus.c
14362           gnome/applet/applet-dbus.c
14363                 - Fix up dbus service replacement options.  The applet
14364                         should allow replacement, NM itself should not.
14365
14366 2005-12-13  Robert Love  <rml@novell.com>
14367
14368         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14369           Instead, fail silently if config is NULL by not asserting and not
14370           returning FALSE.  Also, make sure we always fclose() the file.
14371
14372 2005-12-13  Robert Love  <rml@novell.com>
14373
14374         Patch by Stefan Scheler <sscheler@suse.de>:
14375         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14376            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14377            via DHCP.  Still need the backends to commit the NIS domain name and
14378            and servers to yp.conf as needed.
14379
14380 2005-12-13  Robert Love  <rml@novell.com>
14381
14382         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14383           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14384
14385 2005-12-13  Robert Love  <rml@novell.com>
14386
14387         * src/named-manager/nm-named-manager.c: Don't unref the config until
14388           after we call rewrite_resolv_conf(), because get_last_default_domain()
14389           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14390           `config != NULL' failed" assertion failures and "Could not commit DNS
14391           changes" warnings.
14392
14393 2005-12-12  Dan Williams  <dcbw@redhat.com>
14394
14395         * libnm-util/dbus-helpers.[ch]
14396           libnm-util/Makefile.am
14397                 - new helper calls to consolidate locations where
14398                         NM's setDevice method is called
14399
14400         * gnome/applet/applet-dbus-devices.c
14401           gnome/applet/wireless-security-option.c
14402           gnome/applet/wso-*
14403                 - Implement dbus message param append function for
14404                         all wireless security options
14405
14406 2005-12-12  Robert Love  <rml@novell.com>
14407
14408         * libnm-util/cipher-wep-passphrase.c,
14409           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14410           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14411           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14412           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14413           When handling keys, we don't care what the sign is.  The compiler
14414           guarantees us that we get our 8-bits, which is all we care about.
14415         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14416
14417 2005-12-12  Dan Williams  <dcbw@redhat.com>
14418
14419         * gnome/applet/applet-dbus-devices.[ch]
14420           gnome/applet/applet.c
14421           gnome/applet/other-network-dialog.c
14422           gnome/applet/wireless-security-manager.[ch]
14423           gnome/applet/wireless-security-option.[ch]
14424           gnome/applet/wso-*
14425                 - Push the wireless security options further into the applet
14426
14427 2005-12-12  Robert Love  <rml@novell.com>
14428
14429         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14430           return any name servers.  That is perfectly valid.  (Novell #134369).
14431
14432 2005-12-11  Dan Williams  <dcbw@redhat.com>
14433
14434         * gnome/applet/wso-*
14435           gnome/applet/wireless-security-option.*
14436           gnome/applet/Makefile.am
14437                 - split each security option out so we can eventually
14438                         have each one build up their own dbus message
14439                         arguments to send to NM
14440
14441 2005-12-11  Dan Williams  <dcbw@redhat.com>
14442
14443         * Make validation of the key work correctly
14444
14445 2005-12-11  Dan Williams  <dcbw@redhat.com>
14446
14447         * Hook more bits of the Other Network Dialog up to the
14448                 wireless security manager stuff, and restructure
14449                 bits of the dialog so there's less code.
14450
14451 2005-12-10  Dan Williams  <dcbw@redhat.com>
14452
14453         * gnome/applet/Makefile.am
14454                 - Add libnm-util to includes
14455                 - Add libnm-util to link list
14456                 - Add wireless-security-common.* to compile list
14457
14458         * gnome/applet/other-network-dialog.c
14459                 - Convert to using the WirelessSecurityManager code and
14460                         widgets
14461
14462         * gnome/applet/passphrase-dialog.c
14463                 - Comment out references to stuff in the glade file that
14464                         cause runtime errors until it can be fixed up
14465                         to use the WirelessSecurityManager code
14466
14467         * gnome/applet/wireless-applet.glade
14468                 - Rename some widgets
14469                 - Add widgets for the WirelessSecurityManager code
14470                 - Remove passphrase-related stuff since that's now
14471                         handled by the WirelessSecurityManager code
14472
14473 2005-12-10  Dan Williams  <dcbw@redhat.com>
14474
14475         * gnome/applet/applet-dbus-devices.c
14476                 - Print out error message details for dbus pending call callbacks
14477                 - Move nmwa_dbus_update_devices() up
14478
14479         * gnome/applet/applet-dbus-vpn.c
14480                 - Print out error message details for dbus pending call callbacks
14481
14482 2005-12-10  Dan Williams  <dcbw@redhat.com>
14483
14484         * libnm-util/*
14485                 - More fixups
14486                 - Remove cipher-manager.* because we don't need it
14487                 - Forgot to add gnome-keyring-md5 files to compile list
14488
14489 2005-12-09  Dan Williams  <dcbw@redhat.com>
14490
14491         * libnm-util/*
14492           configure.in
14493           Makefile.am
14494                 - Add a utility library for clients of NetworkManager.  It's
14495                         only targetted at applets for the moment, and contains
14496                         a generalized 802.11 cipher framework for different
14497                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14498
14499 2005-12-09  Robert Love  <rml@novell.com>
14500
14501         * src/NetworkManagerDevice.c: handle error better in
14502           nm_device_set_mode().
14503
14504 2005-12-08  Robert Love  <rml@novell.com>
14505
14506         * include/NetworkManager.h: add WPA capabilities constants
14507         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14508           or WPA2 and add the capabilities bits as appropriate.
14509
14510 2005-12-08  Robert Love  <rml@novell.com>
14511
14512         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14513           NetworkManagerDispatcher.
14514         * configure.in, initscript/SUSE/.cvsignore,
14515           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14516           initscript.
14517
14518 2005-12-08  Robert Love  <rml@novell.com>
14519
14520         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14521
14522 2005-12-08  Robert Love  <rml@novell.com>
14523
14524         * src/NetworkManagerDevice.c: We want to fall back on and default to
14525           IW_MODE_AUTO, not -1, which is more in line with our previous
14526           behavior.  Otherwise, we try to set the wireless mode to -1 in
14527           nm_device_set_mode().
14528
14529 2005-12-07  Robert Love  <rml@novell.com>
14530
14531         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14532           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14533           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14534           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14535           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14536           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14537           zero.
14538
14539 2005-12-07  Robert Love  <rml@novell.com>
14540
14541         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14542           supplied IP is invalid, fall back to DHCP.
14543
14544 2005-12-07  Dan Williams  <dcbw@redhat.com>
14545
14546         * Convert NETWORK_MODE_* constants to IW_MODE_*
14547         * Make all the get_mode/set_mode functions take and return 'int'
14548         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14549
14550 2005-12-07  Robert Love  <rml@novell.com>
14551
14552         * src/NetworkManagerDevice.c: strncpy() buffer check.
14553         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14554
14555 2005-12-06  Dan Williams  <dcbw@redhat.com>
14556
14557         * gnome/applet/applet-dbus.c
14558                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14559
14560         * gnome/applet/applet-dbus-vpn.c
14561                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14562                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14563                         to TRUE here if stage was ACTIVATED
14564
14565 2005-12-06  Dan Williams  <dcbw@redhat.com>
14566
14567         * Change nm_device_is_* functions to better names:
14568                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14569                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14570
14571 2005-12-06  Dan Williams  <dcbw@redhat.com>
14572
14573         * Change naming of NMDeviceType to something more sensible:
14574                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14575                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14576                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14577
14578 2005-12-06  Dan Williams  <dcbw@redhat.com>
14579
14580         * Move NetworkManager.h -> include/NetworkManager.h
14581         * Split out VPN stuff into include/NetworkManagerVPN.h
14582         * Fix up makefiles to include new location
14583         * Fix up sources to include NetworkManagerVPN.h
14584
14585 2005-12-06  Dan Williams  <dcbw@redhat.com>
14586
14587         Various changes in the applet to move VPN connection "state" -> "stage",
14588         which it actually is.  I'd like to change the signal as well when we
14589         break compat in the near future.
14590
14591 2005-12-06  Dan Williams  <dcbw@redhat.com>
14592
14593         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14594         * initscript/Slackware/rc.networkmanager
14595                 - Cosmetic fix
14596
14597         * src/backends/NetworkManagerSlackware.c
14598                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14599                         interfaces
14600
14601 2005-12-05  Robert Love  <rml@novell.com>
14602
14603         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14604           to free, particularly here as it just barfs.
14605
14606 2005-12-05  Dan Williams  <dcbw@redhat.com>
14607
14608         * gnome/applet/applet-dbus.c
14609                 - Work with dbus 0.6 too
14610
14611 2005-12-03  Dan Williams  <dcbw@redhat.com>
14612
14613         * src/NetworkManagerUtils.[ch]
14614           src/nm-ip4-config.c
14615                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14616                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14617
14618 2005-12-01  Robert Love  <rml@novell.com>
14619
14620         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14621           need a NULL for the '...' parameter, too, to fill the so-called
14622           sentinel.
14623
14624 2005-12-01  Robert Love  <rml@novell.com>
14625
14626         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14627           interface is already gone, so don't call rtnl_link_change() to down
14628           it (which will segfault, anyhow).
14629
14630 2005-11-22  Robert Love  <rml@novell.com>
14631
14632         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14633           gateway is not set, just print a little note.  Configurations without
14634           gateways are valid.
14635
14636 2005-11-22  Robert Love  <rml@novell.com>
14637
14638         * README: update
14639
14640 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14641
14642         * configure.in: Added Finnish translation to ALL_LINGUAS
14643
14644 2005-11-14  Robert Love  <rml@novell.com>
14645
14646         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14647           Niemueller <tim@niemueller.de>.
14648
14649 2005-11-08  Dan Williams  <dcbw@redhat.com>
14650
14651         Patch from Bill Moss <bmoss@clemson.edu>
14652         * src/NetworkManagerDevice.c
14653                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14654                         of nm_policy_schedule_activation_finish() to prevent a
14655                         race condition that causes the link to be dropped
14656
14657 2005-11-08  Dan Williams  <dcbw@redhat.com>
14658
14659         Patch from Bill Moss <bmoss@clemson.edu>
14660         * src/NetworkManagerAPList.c
14661           src/NetworkManagerDevice.c
14662           src/NetworkManagerDbus.c
14663                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14664                         we get more readable ether/mac addresses
14665
14666 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14667
14668         * gnome/applet/main.c: Don't set the restart command.  This fixes
14669         the issue where the restart command was getting copies of all its
14670         arguments for each time the applet was restarted.
14671
14672 2005-11-02  Robert Love  <rml@novell.com>
14673
14674         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14675           if the widget state differs from our saved state.  This ensures we
14676           do not enter an endless loop of death and destruction.  Also, this
14677           guarantees us that we enforce the widget state.
14678
14679 2005-11-02  Robert Love  <rml@novell.com>
14680
14681         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14682         * gnome/applet/applet-dbus-devices.c: invoke the new function
14683           nmwa_enable_wireless_set_active() to ensure that the state of the
14684           'Enable Wireless' checkbox matches the daemon's state.  This is a
14685           concern because the daemon remembers the state.
14686
14687 2005-11-02  Robert Love  <rml@novell.com>
14688
14689         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14690           Enabled", as checkboxes should be actions/commands not positive
14691           statements, otherwise they are confusing in the unselected case.  See
14692           examples in GNOME HIG, Chapter 6.
14693
14694 2005-11-02  Robert Love  <rml@novell.com>
14695
14696         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14697           show a list of wireless networks or the wireless devices or the
14698           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14699           a bad bug: If wireless is disabled and the user picks a wireless
14700           network, NM will switch to the network, only to immediately switch
14701           back, as wireless is disabled.  This also reassures people that NM
14702           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14703
14704 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14705
14706         * gnome/applet/applet.c:
14707         * gnome/applet/applet.h:
14708         Partial backout of Dan's timeout animation patch.
14709         Timeout IDs cannot legally be 0, so revert the code in place to handle
14710         a timeout ID of 0 to denote the timeout isn't running.
14711
14712 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14713
14714         * src/NetworkManagerPolicy.c:
14715         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14716
14717 2005-10-28  Robert Love  <rml@novell.com>
14718
14719         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14720           "Import Saved Configuration..." to make it clear that importing is
14721           not the next step, but an option.  As an aside, a nice TODO would be
14722           to move Importing out of the vpn-specific dialog and into the main
14723           property editor, as Importing goes with Adding, but that will require
14724           some rearchitecting of the VPN stuff I suspect.
14725
14726 2005-10-27  Dan Williams  <dcbw@redhat.com>
14727
14728         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14729         we should replace most of the distro-specific backend code
14730         with libnl stuff.
14731
14732         Get it here:  http://people.suug.ch/~tgr/libnl/
14733
14734         * configure.in
14735           src/Makefile.am
14736                 - Add checks for libnl pkgconfig file
14737                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14738
14739         * src/NetworkManagerSystem.c
14740           src/nm-ip4-config.[ch]
14741                 - Use libnl rather than ioctl() for most things
14742                 - Remove unused functions
14743
14744 2005-10-27  Robert Love  <rml@novell.com>
14745
14746         * src/backends/NetworkManagerSuSE.c: fix warning message text
14747
14748 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14749
14750         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14751
14752 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14753
14754         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14755         project page <http://www.gnome.org/projects/NetworkManager/>
14756
14757 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14758
14759         * gnome/applet.c: Also use translator credits if we don't have
14760         the new GtkAboutDialog (older versions of GTK+)
14761
14762 2005-10-26  Robert Love  <rml@novell.com>
14763
14764         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14765           failure; correct usage text for "--no-daemon"
14766
14767 2005-10-25  Dan Williams  <dcbw@redhat.com>
14768
14769         * src/NetworkManagerDevice.c
14770                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14771                         no scan results
14772                 - (free_process_scan_cb_data): unref the device when freeing results
14773                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14774                         so we don't unref the device underneath ourselves
14775
14776 2005-10-25  Dan Williams  <dcbw@redhat.com>
14777
14778         * Back out 2005-10-24 commit from Tor Krill.  Patch
14779                 causes nameservers never to be removed from named.
14780
14781 2005-10-24  Dan Williams  <dcbw@redhat.com>
14782
14783         Clean up wireless scanning and wireless link probing.
14784
14785         * src/NetworkManagerDevice.c
14786                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14787                         just see if there's an activation request on the device, and check the
14788                         current link against the activation request access point's ESSID.
14789                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14790                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14791                         don't call process_scan_results() on zero-length data
14792                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14793                         15 seconds (from 10)
14794
14795 2005-10-24  Dan Williams  <dcbw@redhat.com>
14796
14797         Cleanup some applet stuff:
14798
14799         - Animation timeouts.  If NM died while the applet was animating,
14800                 the applet would not hide itself.  This is now fixed.
14801
14802         - Remove some dead code
14803
14804         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14805                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14806
14807         - Track animation timeout using a gboolean rather than the timeout's
14808                 ID, since timeout IDs can legally be 0.
14809
14810 2005-10-24  Dan Williams  <dcbw@redhat.com>
14811
14812         * src/backends/interface_parser.c
14813                 - Add void to function declarations that need it
14814                         to match patch from Engin AYDOGAN
14815
14816         * src/backends/interface_parser.h
14817                 - Remove unused prototype for ifparser_interfaces()
14818
14819         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14820         * src/backends/interface_parser.h:
14821                 - Compile fixes for gcc 4.0.2 (add void)
14822
14823 2005-10-24  Dan Williams  <dcbw@redhat.com>
14824
14825         Patch from Tor Krill <tor@krill.nu>
14826         * src/named-manager/nm-named-manager.c
14827                 - Write more than just the first nameserver to /etc/resolv.conf
14828                 - Write out valid /etc/resolv.conf on exit
14829
14830 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14831
14832         * gnome/applet/applet-dbus-vpn.c:
14833         Get rid of spurious newlines in debug console output
14834
14835 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14836
14837         * src/backends/NetworkManagerGentoo.c:
14838         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14839
14840 2005-10-20  Robert Love  <rml@novell.com>
14841
14842         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14843           direct comparison of floating point values, which is never correct.
14844           Also some misc. cleanup.
14845
14846 2005-10-19  Robert Love  <rml@novell.com>
14847
14848         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14849
14850 2005-10-19  Robert Love  <rml@novell.com>
14851
14852         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14853           sensitivity of the buttons.  Specificaly, do the right thing if
14854           there are no entries.
14855
14856 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14857
14858         * configure.in: Update check for adequate wireless-tools
14859         with an AC_TRY_COMPILE for the new symbols we use.
14860
14861 2005-10-19  Dan Williams  <dcbw@redhat.com>
14862
14863         * src/NetworkManagerDevice.c
14864                 - (process_scan_results): don't drop the last (or only)
14865                         access point we see
14866
14867 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14868
14869         * src/backends/NetworkManagerSlackware.c:
14870         Patch from Nico <lordllucifer@gmail.com>
14871                 - Update the Slackware backend.
14872
14873 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14874
14875         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14876         if we've got GLib 2.8.0
14877
14878 2005-10-18  Robert Love  <rml@novell.com>
14879
14880         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14881           function nm_schedule_state_change_signal_broadcast() when we
14882           deactivate a device, too.
14883
14884 2005-10-18  Robert Love  <rml@novell.com>
14885
14886         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14887           be used uninitialized.
14888
14889 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14890
14891         * test/libnm_glib_test.c: Test unregistering, too.
14892
14893 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14894
14895         * configure.in: Bump to 0.5.0
14896
14897 2005-10-17  Dan Williams  <dcbw@redhat.com>
14898
14899         * NetworkManager.h
14900                 - Remove WPA-related constants so they aren't part of the
14901                         upcoming release.
14902
14903 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14904
14905         * gnome/applet/applet.c:
14906         * gnome/applet/applet.h:
14907         Desensitize the 'Connection Information' menu item when there is
14908         no active connection.
14909
14910 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14911
14912         * gnome/libnm_glib/libnm_glib.c:
14913         Make libnm_glib_unregister_callback () actually unregister the callback
14914
14915 2005-10-17  Robert Love  <rml@novell.com>
14916
14917         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14918           two seconds -- tries is updated every 1/10 of a second, not every
14919           second..
14920
14921 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14922
14923         * gnome/applet/applet-dbus-info.c:
14924         Let D-BUS know that we haven't handled a message when we haven't.
14925
14926 2005-10-17  Robert Love  <rml@novell.com>
14927
14928         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14929           in order to remain 64-bit clean.
14930
14931 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14932
14933         * gnome/applet/applet-dbus-info.c:
14934         Find network encryption keys asynchronously
14935
14936 2005-10-17  Robert Love  <rml@novell.com>
14937
14938         * src/backends/NetworkManagerDebian.c,
14939           src/backends/NetworkManagerRedHat,
14940           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14941           comment delimiter.
14942
14943 2005-10-17  Robert Love  <rml@novell.com>
14944
14945         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14946           "/etc"
14947
14948 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14949
14950         * src/NetworkManagerDevice.c: (process_scan_results)
14951         Fix logic that checks to see whether we have an ESSID.
14952
14953 2005-10-15  Dan Williams  <dcbw@redhat.com>
14954
14955         Move scanning code into NetworkManager rather than use iwlib's
14956         iw_scan() function, so that we can figure out AP capabilities.
14957
14958         * NetworkManager.h
14959                 - Add AP capability bits
14960
14961         * src/NetworkManagerAP.[ch]
14962                 - Add capability field to NMAccessPoint structure
14963                 - Add WPA & RSN Information Element fields and accessor
14964                         functions to NMAccessPoint
14965
14966         * src/NetworkManagerDevice.c
14967                 - Remove usage of iw_scan
14968                 - Add scanning code to NetworkManager rather than use
14969                         iw_scan() from iwlib
14970
14971         * src/NetworkManagerUtils.[ch]
14972                 - (nm_dispose_scan_results): remove, unused
14973
14974 2005-10-14  Christopher Aillon  <caillon@redhat.com>
14975
14976         * gnome/libnm_glib/libnm_glib.c:
14977         * gnome/libnm_glib/libnm_glib.h:
14978         Use guint instead of gint for callback IDs.
14979
14980 2005-10-12  Christopher Aillon  <caillon@redhat.com>
14981
14982         * gnome/applet/applet.c:
14983         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
14984         every 1000ms.  It will unconditionally call nmwa_update_state which
14985         kills the existing animation timeout and registers a new one with a
14986         callback to draw a new frame every 100ms.  There are 11 connecting
14987         icon frames, so the last 2 frames kept getting dropped.  Only reset
14988         the animation timeout if we aren't animating.
14989
14990 2005-10-11  Dan Williams  <dcbw@redhat.com>
14991
14992         * gnome/applet/applet-dbus-devices.c
14993                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14994                         We want to grab the product & vendor from net.physical_dev
14995                         rather than info.parent.
14996
14997 2005-10-11  Dan Williams  <dcbw@redhat.com>
14998
14999         * src/NetworkManagerDevice.c
15000                 - Use the driver's WE version for scanning rather than
15001                         the WE version NM was compiled with.  Fixes random
15002                         crashes in iw_scan () in iwlib.
15003
15004 2005-10-10  Dan Williams  <dcbw@redhat.com>
15005
15006         * Remove nm_system_load_device_modules() from backend files
15007                 and from NetworkManager.c
15008
15009 2005-10-10  Dan Williams  <dcbw@redhat.com>
15010
15011         * src/NetworkManagerPolicy.c
15012                 - Fix some bugs introduced by the capabilities patch
15013
15014 2005-10-10  Dan Williams  <dcbw@redhat.com>
15015
15016         * gnome/applet/applet-dbus-info.c
15017                 - (nmi_dbus_get_network_key): hide the menu when putting up
15018                         the keyring dialog.  (not sure if the code is right...)
15019
15020 2005-10-09  Dan Williams  <dcbw@redhat.com>
15021
15022         Patch from Bill Moss <bmoss@clemson.edu>
15023         * src/NetworkManagerDevice.c
15024                 - (nm_device_set_user_key_for_network): don't try to set auth
15025                         mode on the AP from the allowed list if it's NULL
15026
15027 2005-10-09  Dan Williams  <dcbw@redhat.com>
15028
15029         * Replace the "driver support level" stuff with capabilities.  The
15030                 capability field is a bitfield that is more flexible than the
15031                 old driver support level thing.  It's mostly so we can easily
15032                 figure out what supports WPA and what doesn't, but should be
15033                 quite useful later.
15034
15035 2005-10-09  Dan Williams  <dcbw@redhat.com>
15036
15037         * test/nmtest.c
15038                 - Removed
15039
15040         * test/nm-tool.c
15041           test/Makefile.am
15042                 - Added new "nm-tool" tool that gives quite a bit more
15043                         information
15044
15045 2005-10-07  Robert Love  <rml@novell.com>
15046
15047         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15048           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15049           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15050           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15051           appropriate
15052
15053 2005-10-07  Robert Love  <rml@novell.com>
15054
15055         * configure.in: Change our compile flags for the betterment of mankind.
15056           Add "-Wstrict-prototypes" because we comply anyhow and missing a
15057           prototype is very bad on 64-bit platforms as types default to int but
15058           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15059           "-Wmissing-declarations" to warn if we define an exported function
15060           but fail to put it in a header.
15061
15062 2005-10-07  Robert Love  <rml@novell.com>
15063
15064         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15065           by the name nm_update_device_wireless_timeouts() and once tried,
15066           without success, to steal my pet turtle.
15067
15068 2005-10-07  Robert Love  <rml@novell.com>
15069
15070         * Cleanup prototypes: put some functions in header files and mark
15071           others as 'static' -- feel free to invert
15072         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15073           nm_vpn_manager_vpn_connection_list_copy()
15074         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15075           nm_vpn_service_get_dbus_connection()
15076         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15077           nm_vpn_manager_vpn_connection_list_copy()
15078         * src/vpn-manager/nm-vpn-service.c: make
15079           nm_vpn_service_act_request_failed() and
15080           nm_vpn_service_stage2_daemon_wait() static
15081         * src/vpn-manager/nm-vpn-service.h: add prototype for
15082           nm_vpn_service_get_dbus_connection()
15083
15084 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15085
15086         * gnome/applet/applet.c:
15087         * gnome/applet/applet.h:
15088         * gnome/applet/icons/Makefile.am:
15089         Convey information about the current connection stage in the
15090         icons themselves instead of creating a separate progress bar.
15091
15092 2005-10-04  Robert Love  <rml@novell.com>
15093
15094         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15095           convert an ether_addr structure's MAC into a string, because the
15096           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15097           versus 07:3B:04, while the former will not.
15098
15099 2005-10-04  Robert Love  <rml@novell.com>
15100
15101         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15102           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15103           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15104           default route in the 'Connection Information' dialog, send primary
15105           and secondary name servers in in "getProperties" DBUS method, add
15106           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15107           secondary domain name servers are crucial pieces of information
15108           that a user might need in debugging a network problem.
15109
15110 2005-10-04  Robert Love  <rml@novell.com>
15111
15112         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15113           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15114           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15115           default route in the 'Connection Information' dialog, send default
15116           route in "getProperties" DBUS method, add network_device_set_route(),
15117           and network_device_get_route().  The Gateway is a crucial piece of
15118           connection-related information that a user might need in debugging a
15119           network problem.
15120
15121 2005-10-03  Robert Love  <rml@novell.com>
15122
15123         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15124           NULL.
15125
15126 2005-10-02  Dan Williams  <dcbw@redhat.com>
15127
15128         * Shorten time taken to sleep by fastpathing bits of device deactivation
15129                 necessary for sleep.
15130
15131         * Fix issue where deactivating a device might deactivate the active
15132                 VPN connection, even if the VPN was not using the device.
15133
15134 2005-10-02  Dan Williams  <dcbw@redhat.com>
15135
15136         * gnome/applet/applet.c
15137                 - Adjust signal strength -> icon mapping values slightly
15138                         (so that 51% signal doesn't show a 75% icon) by adding
15139                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15140                         shows 50% icon, etc.
15141
15142 2005-09-29  Robert Love  <rml@novell.com>
15143
15144         * src/NetworkManager.c: removed unused variable.
15145
15146 2005-09-28  Dan Williams  <dcbw@redhat.com>
15147
15148         Support for named + DBus, using Red Hat DBus patches for named.  You
15149         can find those patches here, with "dbus" in the patch's filename:
15150
15151                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15152
15153         Don't forget the named dbus service file either.
15154
15155         Instead of writing a config file and spawing a named process, NM will
15156         use an already-running dbus-enabled named if it finds one.  NM will
15157         update named's forwarder configuration on the fly using dbus.
15158
15159         If there is no dbus-enabled named running, NM will automatically fall
15160         back to writing the most-recent DNS server information to /etc/resolv.conf
15161         and calling nm_system_update_dns() to kick the system's resolver.
15162
15163         Accordingly, all named-related configure-time options have been removed.
15164
15165 2005-09-26  Robert Love  <rml@novell.com>
15166
15167         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15168           ISDN support!
15169         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15170           bug in error path if "ASKPASSWORD" is "no".
15171
15172 2005-09-26  Robert Love  <rml@novell.com>
15173
15174         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15175           comment in /etc/resolv.conf -- ';' is not.
15176
15177 2005-09-19  Dan Williams  <dcbw@redhat.com>
15178
15179         * src/backends/NetworkManagerRedHat.c:
15180         * src/backends/NetworkManagerDebian.c:
15181         * src/backends/NetworkManagerSlackware.c:
15182         * src/backends/NetworkManagerGentoo.c:
15183         * src/backends/NetworkManagerSUSE.c:
15184         Fix invocations of "/sbin/ip address" to use short form instead
15185
15186 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15187
15188         * src/nm-dbus-device.c: Don't assert when getting
15189         addresses of a not yet connected interface.
15190
15191         * gnome/applet/applet.c: Free icons if loading fails.
15192         Use translator-credits so translators can make themselves known.
15193
15194 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15195
15196         * src/NetworkManagerAP.c:
15197         * src/NetworkManagerAP.h:
15198         * src/NetworkManagerDevice.c:
15199         Set a blacklist for certain common manufacturer default ESSIDs:
15200         APs with these ESSIDs are extremely likely to be completely
15201         different networks: connecting to one should not make NM
15202         auto-connect to every other AP with the same default ESSID.
15203
15204 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15205
15206         * gnome/applet/wireless-applet.glade:
15207         The passphrase entry should also activate the default
15208
15209         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15210
15211         * gnome/applet/applet-dbus-devices.c:
15212         * gnome/applet/applet.c:
15213         * gnome/applet/nm-device.c:
15214         * gnome/applet/nm-device.h:
15215         * src/NetworkManagerUtils.c:
15216         * src/NetworkManagerUtils.h:
15217         * src/nm-dbus-device.c:
15218         I've got a fever, and the only cure for it is less ioctl.
15219         Make NM push IP data rather than make the applet open a socket
15220         to the device.
15221
15222 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15223
15224         * gnome/applet/applet.c:
15225         * gnome/applet/applet-dbus-devices.c:
15226         * gnome/applet/applet-dbus-info.c:
15227         * gnome/applet/passphrase-dialog.c:
15228         * gnome/libnm_glib/libnm_glib.c:
15229         * gnome/vpn-properties/nm-vpn-properties.c:
15230         * src/autoip.c:
15231         * src/backends/NetworkManagerRedHat.c:
15232         * src/named-manager/nm-named-manager.c:
15233         * src/NetworkManagerAPList.c:
15234         * src/NetworkManager.c:
15235         * src/NetworkManagerDbus.c:
15236         * src/NetworkManagerDevice.c:
15237         * src/NetworkManagerPolicy.c:
15238         * src/NetworkManagerSystem.c:
15239         * src/nm-dbus-device.c:
15240         * src/nm-dbus-nm.c:
15241         * src/vpn-manager/nm-vpn-manager.c:
15242         * src/vpn-manager/nm-vpn-service.c:
15243         * test/libnm_glib_test.c:
15244         * test/nminfotest.c:
15245         * test/nmtestdevices.c:
15246         Fix a bunch of 'unused variable' compiler warnings
15247
15248         * NetworkManager.h:
15249         * gnome/applet/applet-dbus-info.c:
15250         * gnome/applet/applet-dbus-info.h:
15251         * gnome/applet/applet.c:
15252         * gnome/applet/applet.h:
15253         * src/NetworkManager.c:
15254         * src/NetworkManagerDbus.c:
15255         * src/NetworkManagerDbus.h:
15256         * src/NetworkManagerDevice.c:
15257         * src/NetworkManagerDevice.h:
15258         * src/NetworkManagerMain.h:
15259         * src/NetworkManagerWireless.c:
15260         * src/NetworkManagerWireless.h:
15261         * src/nm-dbus-nm.c:
15262         Make NetworkManager be smart about how frequently to scan
15263         based on its current state.  Remove the UI for choosing when
15264         to scan.  Scanning still may disabled completely by the user
15265         via the "Wireless Enabled" menu item.
15266
15267 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15268
15269         * gnome/applet/applet.c:
15270         Also overlay the vpn connecting icons onto the wired icon,
15271         when appropriate.
15272
15273         * gnome/vpn-properties/nm-vpn-properties.glade:
15274         Clean up a few strings to use better grammar and proper casing.
15275
15276 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15277
15278         * gnome/applet/vpn-connection.c:
15279         * gnome/applet/vpn-connection.h:
15280         Add nmwa_vpn_connection_is_activating ()
15281
15282         * gnome/applet/applet.c:
15283         * gnome/applet/applet.h:
15284         * gnome/applet/icons/nm-vpn-connecting*.png:
15285         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15286         the user know something's happening between clicking the VPN item and it
15287         actually being connected.
15288
15289 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15290
15291         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15292         failure case as well.
15293
15294 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15295
15296         * gnome/panel/eggtrayicon.[ch]:
15297         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15298
15299 2005-09-07  Dan Williams  <dcbw@redhat.com>
15300
15301         Patch from Bill Moss <bmoss@clemson.edu>
15302         * src/applet-dbus.c
15303                 - (nmwa_dbus_filter): strip whitespace from beginning
15304                         and end of VPN login banner
15305
15306 2005-09-07  Dan Williams  <dcbw@redhat.com>
15307
15308         * The great VPN Manager rewrite of 2005
15309
15310 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15311
15312         * gnome/applet/menu-items.c:
15313         * gnome/applet/nm-device.c:
15314         * gnome/applet/wireless-network.c:
15315         * gnome/libnm_glib/libnm_glib.c:
15316         * src/NetworkManagerDbusUtils.c:
15317         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15318         g_malloc0 doesn't return NULL
15319
15320 2005-09-06  Dan Williams  <dcbw@redhat.com>
15321
15322         Patch from Tomislav Vujec <tvujec@redhat.com>
15323         * src/NetworkManagerDevice.c
15324                 - (nm_get_device_by_udi): don't return a device when we
15325                         actually didn't find what we were looking for
15326
15327 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15328
15329         * gnome/applet/applet-dbus-devices.c:
15330         * gnome/applet/applet-dbus-devices.h:
15331         * gnome/applet/applet-dbus.c:
15332         * src/NetworkManagerDbus.c:
15333         * src/NetworkManagerDbus.h:
15334         * src/NetworkManagerDevice.c:
15335         * src/nm-dbus-device.c:
15336         Make NM push updates about active device strength when it changes,
15337         rather than having the applet poll every 2s.
15338
15339 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15340
15341         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15342         network_device_set_strength
15343
15344 2005-09-04  Dan Williams  <dcbw@redhat.com>
15345
15346         Patch from Bill Nottingham <notting@redhat.com>
15347         * src/NetworkManagerDevice.c
15348                 - (nm_device_activation_cancel): reset the quit_activation flag
15349
15350 2005-09-04  Dan Williams  <dcbw@redhat.com>
15351
15352         * src/nm-activation-request.c
15353                 - (nm_act_request_unref): actually free the structure,
15354                         which we didn't seem to be doing before
15355
15356 2005-09-04  Dan Williams  <dcbw@redhat.com>
15357
15358         Patch from John Palmieri <johnp@redhat.com>
15359         * gnome/applet/applet-dbus-devices.c
15360                 - Fix up unreffing of DBusMessage objects
15361
15362 2005-09-04  Dan Williams  <dcbw@redhat.com>
15363
15364         Patch from John Palmieri <johnp@redhat.com>
15365         * gnome/applet/nm-device.c
15366                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15367
15368 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15369
15370         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15371
15372 2005-09-02  Bill Nottingham  <notting@redhat.com>
15373
15374         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15375
15376 2005-09-01  Dan Williams  <dcbw@redhat.com>
15377
15378         * src/NetworkManager.c
15379                 - (nm_remove_device_from_list): rename to nm_remove_device
15380                 - (nm_hal_device_removed): call nm_remove_device()
15381
15382         * src/NetworkManagerDevice.c
15383                 - Change the NMWirelessScanCB member 'reschedule' which
15384                         wasn't used to 'force' to indicate that we need to
15385                         force a scan when adding a device
15386
15387         * src/nm-dbus-nm.c
15388                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15389                         from the device list
15390                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15391
15392 2005-09-01  Robert Love  <rml@novell.com>
15393
15394         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15395           and the check "!iface" in the error case is probably never true.
15396
15397 2005-09-01  Dan Williams  <dcbw@redhat.com>
15398
15399         Patch from Bill Nottingham <notting@redhat.com>
15400         * src/backends/NetworkManagerRedHat.c
15401                 - Add initial dialup support to Red Hat/Fedora backend
15402
15403 2005-09-01  Dan Williams  <dcbw@redhat.com>
15404
15405         * gnome/applet/applet-dbus-devices.c
15406                 - Sort both wireless networks and devices again, which got
15407                         broken when removing threading
15408
15409 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15410
15411         * gnome/applet/applet.c:
15412         Only show the "Stop/Start All Wireless Devices" menuitem
15413         if we actually have wireless devices.
15414
15415         * gnome/applet/applet-dbus-info.c:
15416         * gnome/applet/applet.c:
15417         * gnome/applet/other-network-dialog.c:
15418         * gnome/applet/vpn-password-dialog.c:
15419         Drop the gtk_dialog_run () calls in favor of connecting to
15420         "response" signals, needed now that the applet is not threaded.
15421
15422 2005-08-31  Dan Williams  <dcbw@redhat.com>
15423
15424         Patch from Bill Moss <bmoss@clemson.edu>
15425         * src/NetworkManagerDevice.c
15426                 - (nm_device_wireless_scan): fix scan timeout values
15427
15428 2005-08-30  Dan Williams  <dcbw@redhat.com>
15429
15430         * gnome/applet/wireless-applet.glade
15431                 - HIG-ify the Other Wireless Networks dialog a bit more
15432                 - Fix some potential segfaults in the info dialog
15433
15434 2005-08-30  Dan Williams  <dcbw@redhat.com>
15435
15436         * gnome/applet/applet-dbus-devices.c
15437                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15438
15439 2005-08-30  Dan Williams  <dcbw@redhat.com>
15440
15441         * gnome/applet/applet-dbus.[ch]
15442                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15443                         they weren't being used anyway
15444
15445 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15446
15447         * test/nmtestdevices.c: (print_usage), (main):
15448         Check the number of arguments, and fix a typo
15449
15450 2005-08-29  Dan Williams  <dcbw@redhat.com>
15451
15452         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15453         * gnome/applet/applet.c
15454                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15455
15456 2005-08-29  Dan Williams  <dcbw@redhat.com>
15457
15458         * gnome/applet/*
15459                 - Don't use threads any more.  Anything that blocks
15460                         (like gtk_dialog_run()) will  have to get fixed up which
15461                         should happen quickly.  We really only had threads to make
15462                         the animation smooth, and when everything got converted over
15463                         to DBus Pending Calls, the need for threads kind of went away
15464
15465 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15466
15467         * gnome/applet/applet.c: Draw VPN connections as radio items
15468         since we don't yet support multiple VPNs.
15469         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15470         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15471
15472 2005-08-29  Dan Williams  <dcbw@redhat.com>
15473
15474         Patch from j@bootlab.org
15475         - Make --without-named work
15476         - Make --with-dhcdbd work correctly
15477
15478 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15479
15480         * configure.in: Added "ca" to ALL_LINGUAS.
15481
15482 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15483
15484         * Fix up VPN state handling between the applet and NetworkManager,
15485                 so that the applet doesn't show a VPN as connected when one
15486                 really is not
15487                         - The applet no longer has a pointer to the active VPN's
15488                                 name, but tracks each VPNs state individually
15489                         - NM no longer has a "getActiveVPNConnection" method
15490                         - NM no longer broadcasts the "VPNConnectionChange" signal
15491                         - NM now broadcasts a "VPNConnectionStateChange" signal
15492                                 whenever the state of a VPN changes
15493
15494 2005-08-26  Dan Williams <dcbw@redhat.com>
15495
15496         * gnome/applet/applet-dbus-devices.c
15497           gnome/applet/applet-dbus-vpn.c
15498                 - Remove calls to dbus_pending_call_ref() because we already
15499                         "own" the pending call
15500                 - Remove calls to dbus_pending_call_get_completed() because
15501                         when we are in the callback, the pending call is completed
15502                         by definition
15503
15504 2005-08-22  Dan Williams <dcbw@redhat.com>
15505
15506         Patch by Bill Moss <bmoss@clemson.edu>
15507         * src/dhcp-manager/nm-dhcp-manager.c
15508                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15509                         some time to send out a RELEASE if they like
15510
15511 2005-08-22  Dan Williams <dcbw@redhat.com>
15512
15513         Noticed by Bill Moss <bmoss@clemson.edu>
15514         * src/NetworkManagerDbus.c
15515                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15516                         instead of just cancelling its activation
15517
15518         * src/NetworkManagerDevice.c
15519                 - (nm_device_deactivate): some small cleanups
15520                 - (nm_device_set_user_key_for_network): deactivate the device
15521                         instead of just cancelling its activation
15522
15523 2005-08-22  Dan Williams <dcbw@redhat.com>
15524
15525         Noticed by Bill Moss <bmoss@clemson.edu>
15526         * src/NetworkManagerDevice.c
15527                 - (nm_device_wireless_scan): fix scan timeout, we were
15528                         waiting way too long for scans to complete
15529
15530 2005-08-22  Dan Williams <dcbw@redhat.com>
15531
15532         Patch from j@bootlab.org:
15533         * src/backends/NetworkManagerDebian.c
15534                 - Make the Debian backend work for static IP again
15535
15536 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15537
15538         * gnome/applet/other-network-dialog.c:
15539         The "Create New Network" and "Connect to Other Network"
15540         dialogs share alot of code, but shouldn't share a window
15541         title.  Give them different ones.
15542
15543         * gnome/applet/wireless-applet.glade:
15544         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15545         Some more minor UI tweaks.
15546
15547 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15548
15549         * gnome/applet/other-network-dialog.c:
15550         * gnome/applet/wireless-applet.glade:
15551         Also need mnemonic widgets, and underline enabled.
15552
15553 2005-08-19  Dan Williams <dcbw@redhat.com>
15554
15555         * vpn-daemons/vpnc/nm-vpnc-service.c
15556                 - (vpnc_watch_cb): remove no-longer-relevant comment
15557                 - (write_config_option): new function, helper to write
15558                         config options to vpnc's stdin
15559                 - (nm_vpnc_config_write): use the new helper, make the
15560                         code shorter
15561
15562 2005-08-19  Christopher Aillon <caillon@redhat.com>
15563
15564         * gnome/applet/passphrase-dialog.c:
15565         * gnome/applet/wireless-applet.glade:
15566         Make the passphrase dialog response based, and treat
15567         responses other than OK (such as Esc, [X]) as a cancel.
15568
15569 2005-08-18  Christopher Aillon <caillon@redhat.com>
15570
15571         * initscript/Gentoo/NetworkManager:
15572         * initscript/RedHat/NetworkManager:
15573         * initscript/RedHat/NetworkManagerDispatcher:
15574         * initscript/SUSE/networkmanager:
15575         CVS remove these in place of .in replacements
15576
15577         * configure.in:
15578         * initscript/Gentoo/NetworkManager.in:
15579         * initscript/RedHat/NetworkManager.in:
15580         * initscript/RedHat/NetworkManagerDispatcher.in:
15581         * initscript/SUSE/networkmanager.in:
15582         These scripts now are generated so they work still when
15583         NM is built using a bindir other than /usr/bin
15584
15585 2005-08-18  Dan Williams <dcbw@redhat.com>
15586
15587         * gnome/applet/main.c
15588                 - Revert previous change for --no-session since
15589                         --sm-disable does the same thing
15590
15591 2005-08-18  Dan Williams <dcbw@redhat.com>
15592
15593         * gnome/applet/applet-dbus-info.c
15594                 - (nmi_dbus_create_error_message): new function
15595                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15596                         functions.  Also don't check for both device _and_ network before
15597                         asking for a user's key, because we may not have gotten all our
15598                         networks back from NM quite yet (due to the dbus pending calls
15599                         coming in later).  Fixes a hang in NM/nm-applet.
15600
15601         * src/NetworkManagerDbus.c
15602                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15603                         slightly more sane manner, even though we are still broken for
15604                         certain other error conditions.
15605                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15606                         to the info-daemon too
15607
15608         * src/NetworkManagerDevice.c
15609                 - Fix some debug messages to be info messages instead
15610
15611 2005-08-18  Dan Williams <dcbw@redhat.com>
15612
15613         * gnome/applet/main.c
15614                 - Add new "--no-session" parameter that disables applet
15615                         session management, ie for testing
15616
15617 2005-08-18  Christopher Aillon <caillon@redhat.com>
15618
15619         * gnome/applet/other-network-dialog.c:
15620         * gnome/applet/wireless-applet.glade: More mnemonics
15621
15622 2005-08-17  Robert Love  <rml@novell.com>
15623
15624         * initscript/SUSE/networkmanager: update
15625
15626 2005-08-17  Dan Williams  <dcbw@redhat.com>
15627
15628         * Tag NM_0_4_1_RELEASE
15629
15630 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15631
15632         * gnome/applet/applet.c: More translatable string cleanup
15633
15634
15635 2005-08-17  Dan Williams  <dcbw@redhat.com>
15636
15637         * gnome/applet/applet-dbus-info.c
15638                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15639                         from the dbus message, which tells us to unconditionally
15640                         ask the user for a new key.  Otherwise, we pull the key from
15641                         the keyring and return it.  If we fail to get the key from the
15642                         keyring, we ask the user for a new key.
15643                 - (nmi_dbus_get_network_key): new function to grab the key for
15644                         an essid from the keyring.
15645                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15646                         Also, don't return any key in the dbus message.
15647
15648         * src/NetworkManagerDbus.[ch]
15649                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15650                         indicate that we unconditionally want a new key.  This function
15651                         is now also used to get keys from the info-daemon which are
15652                         pre-stored, not just for asking the user for a new key.  The
15653                         "new_key" parameter indicates whether or not we wish to ask the
15654                         user for a new key.
15655                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15656                         info-daemon in the return message, so use NULL instead.  The
15657                         key will be filled in at connect time by calling
15658                         nm_dbus_get_user_key_for_network()
15659
15660         * src/NetworkManagerDevice.c
15661                 - (nm_device_wireless_configure): update for "new_key" param to
15662                         nm_dbus_get_user_key_for_network().  We initially set new_key
15663                         to FALSE to see if we have a stored key in the info-daemon, but
15664                         if the connection is unsuccessful at this stage we request a
15665                         new one
15666
15667 2005-08-17  Dan Williams  <dcbw@redhat.com>
15668
15669         * gnome/applet/icons/nm-no-connection.png
15670           gnome/applet/icons/nm-device-wired.png
15671                 - Use Diana's new RJ45 connector icons
15672
15673 2005-08-17  Dan Williams  <dcbw@redhat.com>
15674
15675         * src/NetworkManagerPolicy.c
15676                 - (nm_policy_device_change_check): clarify switching rules if
15677                         both new and old devices are valid; mainly, don't switch
15678                         away from user-requested wireless connection back to a wired
15679                         one
15680
15681 2005-08-17  Dan Williams  <dcbw@redhat.com>
15682
15683         * gnome/applet/Makefile.am
15684                 - Relocate the applet to /usr/bin since it is no longer
15685                         executed by anything, but directly by the user
15686
15687 2005-08-17  Dan Williams  <dcbw@redhat.com>
15688
15689         Patch from Bill Moss <bmoss@clemson.edu>
15690
15691         * gnome/applet/applet-dbus-info.[ch]
15692                 - (nmi_save_network_info): save timestamp for network if it
15693                         was a change requested by the user
15694                 - (nmi_dbus_update_network_info): get user_requested from dbus
15695                         message and pass to nmi_save_network_info()
15696
15697         * gnome/applet/applet.c
15698                 - (nmwa_update_network_timestamp): remove
15699                 - (nmwa_menu_item_activate): don't set timestamp on networks
15700                         here, only after a successful connect in nmi_save_network_info()
15701
15702         * src/NetworkManagerDbus.[ch]
15703                 - (nm_dbus_update_network_info): pass user_requested into the 
15704                         dbus message
15705
15706         * src/NetworkManagerPolicy.c
15707                 - (nm_policy_activation_finish): pass user_requested to
15708                         nm_dbus_update_network_info()
15709
15710 2005-08-16  Robert Love  <rml@novell.com>
15711
15712         * gnome/applet/applet.c: Better "Dial Up" menu item.
15713
15714 2005-08-16  Robert Love  <rml@novell.com>
15715
15716         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15717           "Connection Information" menu item.
15718
15719 2005-08-16  Dan Williams  <dcbw@redhat.com>
15720
15721         Patch from j@bootlab.org
15722         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15723
15724         * configure.in: allow specifying the path to dhcdbd
15725
15726 2005-08-16  Robert Love  <rml@novell.com>
15727
15728         Patch from j@bootlab.org
15729         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15730           src/backends/interface_parser.h: Debian dialup support.
15731
15732 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15733
15734         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15735         * gnome/applet/applet.c: Add some mnemonics for VPNC
15736
15737         * vpn-daemons/.cvsignore: fix this up a little bit
15738
15739 2005-08-16  Robert Love  <rml@novell.com>
15740
15741         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15742           support.
15743
15744 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15745
15746         * gnome/applet/applet.c: Split markup out of translatable strings
15747         and clean up logic a little bit.  (fixes #309012)
15748
15749 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15750
15751         * gnome/vpn-properties/nm-vpn-properties.c:
15752         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15753         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15754         Makeshift fix to remove newlines from translatable strings.
15755         Note that we now return an allocated string, so callers of
15756         get_confirmation_details () must now call g_free () on the
15757         result. (fixes #309033).
15758
15759 2005-08-12  Robert Love  <rml@novell.com>
15760
15761         * gnome/applet/applet-dbus.c: remove newlines from translatable
15762           strings--not needed here anyway. (fix b.g.o #309011)
15763         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15764
15765 2005-08-11  Robert Love  <rml@novell.com>
15766
15767         * gnome/applet/applet.c: mark string as translatable.
15768
15769 2005-08-11  Robert Love  <rml@novell.com>
15770
15771         * initscript/SUSE/networkmanager: update.
15772
15773 2005-08-11  Dan Williams  <dcbw@redhat.com>
15774
15775         * src/nm-dhcp-manager.c
15776                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15777                         an gateway returned from DHCP, try to use the address of the DHCP
15778                         server as the gateway instead.  Found by Ralf Ertzinger.
15779
15780 2005-08-10  Robert Love  <rml@novell.com>
15781
15782         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15783           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15784
15785 2005-08-10  Dan Williams  <dcbw@redhat.com>
15786
15787         Patch from Bill Moss <bmoss@clemson.edu>
15788         * Consolidate writes of access point information updates to the info daemon
15789                 so that we only do it when the connection to the access point was
15790                 successful.  Also consolidates updates to GConf in the Gnome applet.
15791
15792         * src/nm-netlink-monitor.c
15793                 - Silence compile warning when calling g_object_new()
15794
15795 2005-08-08  Dan Williams  <dcbw@redhat.com>
15796
15797         Patch from Steev <steev@steev.net>:
15798         * src/backends/NetworkManagerGentoo.c
15799                 - Stub new dialup backend functions
15800
15801 2005-08-08  Dan Williams  <dcbw@redhat.com>
15802
15803         Patch from Colin Slater:
15804         * src/backends/NetworkManagerGentoo.c
15805                 - (nm_system_update_dns): Fix exit status check for restarting
15806                         nscd
15807
15808 2005-08-05  Robert Love  <rml@novell.com>
15809
15810         * NetworkManager.h,
15811           gnome/applet/applet-dbus-devices.c,
15812           gnome/applet/applet-dbus-devices.h,
15813           gnome/applet/applet-dbus.c,
15814           gnome/applet/applet.c,
15815           gnome/applet/applet.h,
15816           src/NetworkManager.c,
15817           src/NetworkManagerMain.h,
15818           src/NetworkManagerSystem.h,
15819           src/backends/NetworkManagerRedHat.c,
15820           src/backends/NetworkManagerSuSE.c,
15821           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15822
15823 2005-08-05  Robert Love  <rml@novell.com>
15824
15825         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15826           machine's hostname to make adhoc creation idiot-proof.
15827
15828 2005-08-04  Robert Love  <rml@novell.com>
15829
15830         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15831           freed.
15832
15833 2005-08-04  Dan Williams  <dcbw@redhat.com>
15834
15835         * gnome/applet/applet-dbus-info.c
15836           gnome/applet/applet-dbus-info.h
15837                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15838                         to store key, key type, and auth method rather than just auth method
15839                 - (nmi_dbus_update_network_info): new function
15840                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15841
15842         * gnome/applet/passphrase-dialog.c
15843                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15844                         of saving the info ourselves
15845
15846         * gnome/libnm_glib/libnm_glib.c
15847                 - Remove the stupid version check for dbus
15848
15849         * src/NetworkManagerAP.c
15850           src/NetworkManagerAP.h
15851                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15852
15853         * src/NetworkManagerDbus.c
15854           src/NetworkManagerDbus.h
15855                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15856                         more than just the auth method
15857
15858         * src/NetworkManagerDevice.c
15859                 - Update network info at the appropriate times
15860
15861 2005-07-29  Ray Strode  <rstrode@redhat.com>
15862
15863         * src/NetworkManager.c (nm_info_handler): don't use input as format
15864         string (Spotted by Ian Jackson).
15865
15866 2005-07-27  Dan Williams  <dcbw@redhat.com>
15867
15868         * src/nm-dbus-nm.c
15869           src/nm-dbus-net.c
15870                 - Random cleanups of spacing
15871
15872         * gnome/applet/applet.h
15873           gnome/applet/other-network-dialog.c
15874           gnome/applet/passphrase-dialog.c
15875                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15876
15877         Patch from Bill Moss:
15878                 - Make Other Wireless Networks work again with encryption keys
15879
15880 2005-07-26  Dan Williams  <dcbw@redhat.com>
15881
15882         Patch from Steev <steev@steev.net>:
15883         * src/backends/NetworkManagerGentoo.c
15884           src/backends/Makefile.am
15885                 - Fix up Gentoo backend
15886
15887 2005-07-26  Robert Love  <rml@novell.com>
15888
15889         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15890
15891 2005-07-25  Robert Love  <rml@novell.com>
15892
15893         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15894           in the same group as the wireless networks, since they are all
15895           mutually exclusive.
15896
15897 2005-07-24  Ray Strode  <rstrode@redhat.com>
15898
15899         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15900         remove unneeded NULL arg from g_object_new().  Any
15901         warnings caused by not having the extra NULL are just a
15902         result of a bug in glib 2.7.0 - 2.7.2.
15903
15904 2005-07-22  Robert Love  <rml@novell.com>
15905
15906         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15907
15908 2005-07-22  Robert Love  <rml@novell.com>
15909
15910         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15911           parameters (gcc 4.0.2 warning fix).
15912
15913 2005-07-18  Robert Love  <rml@novell.com>
15914
15915         Suggested by Aaron Bockover (abockover@novell.com)
15916         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15917           s/Ascii/ASCII
15918         * gnome/applet/passphrase-dialog.c: ditto
15919         * gnome/applet/wireless-applet.glade: ditto
15920
15921 2005-07-13  Dan Williams  <dcbw@redhat.com>
15922
15923         Patch from Ray Strode <halfline@gmail.com>
15924         * vpn-daemons/vpnc/nm-vpnc-service.c
15925                 - Don't let vpnc daemonize, fixes some races with PID file reading
15926
15927 2005-07-13  Dan Williams  <dcbw@redhat.com>
15928
15929         Patch from Ray Strode <halfline@gmail.com>
15930         * Random cleanups for strict CFLAGS
15931
15932 2005-07-07  Dan Williams  <dcbw@redhat.com>
15933
15934         Patch from Derek Atkins <warlord@MIT.EDU>
15935         * src/nm-dbus-net.c:
15936                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15937
15938 2005-07-07  Dan Williams  <dcbw@redhat.com>
15939
15940         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15941         * src/backends/NetworkManagerGentoo.c
15942                 - Gentoo backend Static IP nameserver fixes
15943                 - General Gentoo backend goodness
15944
15945 2005-07-07  Dan Williams  <dcbw@redhat.com>
15946
15947         Patch from Bastien Nocera:
15948         * gnome/applet/applet.c
15949                 - Fix up error reporting when icons or glade files are missing
15950
15951 2005-07-07  Robert Love  <rml@novell.com>
15952
15953         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15954           are not any VPN connections above it.
15955
15956 2005-07-07  Robert Love  <rml@novell.com>
15957
15958         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15959
15960 2005-07-05  Robert Love  <rml@novell.com>
15961
15962         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15963           zero.
15964
15965 2005-07-05  Robert Love  <rml@novell.com>
15966
15967         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15968           on wired or unencrypted wireless.
15969
15970 2005-07-01  Robert Love  <rml@novell.com>
15971
15972         * src/NetworkManagerSystem.c: Print the error via strerror().
15973
15974 2005-06-30  Robert Love  <rml@novell.com>
15975
15976         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15977           then exit if the glade file is not found.  currently the application
15978           just hangs.
15979
15980 2005-06-30  Robert Love  <rml@novell.com>
15981
15982         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15983           explicitly up all interfaces on wake from sleep.
15984
15985 2005-06-30  Robert Love  <rml@novell.com>
15986
15987         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15988           with information about the currently active connection.
15989         * gnome/applet/applet.h: (ditto)
15990         * gnome/applet/wireless-applet.glade: (ditto), new file
15991
15992 2005-06-30  Robert Love  <rml@novell.com>
15993
15994         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15995         * src/nm-dbus-nm.c: print when we sleep and wake up.
15996         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15997         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15998           in /sbin unless D-BUS is, folks).
15999         * README: update to reflect nm-applet replacing NetworkManagerInfo.
16000
16001 2005-06-27  Robert Love  <rml@novell.com>
16002
16003         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16004           case.
16005
16006 2005-06-27  Robert Love  <rml@novell.com>
16007
16008         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16009           items radios.
16010
16011 2005-06-26  Robert Love  <rml@novell.com>
16012
16013         * src/NetworkManagerDevice.c: be specific about which device in
16014           nm_info() message.
16015
16016 2005-06-23  Adam Weinberger  <adamw@gnome.org>
16017
16018         * src/nm-netlink-monitor.c: correct spelling error.
16019
16020 2005-06-23  Robert Love  <rml@novell.com>
16021
16022         * gnome/applet/applet-dbus-info.c: gnome keyring support!
16023         * gnome/applet/passphrase-dialog.c: more of that keyring!
16024
16025 2005-06-23  Robert Love  <rml@novell.com>
16026
16027         * configure.in: remove extraneous GNOMEKEYRING directives.
16028         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16029         * gnome/applet/applet.c: nmwa_icons_init: make style local.
16030         * gnome/applet/passphrase-dialog.c: whitespace.
16031
16032 2005-06-23  Robert Love  <rml@novell.com>
16033
16034         * src/NetworkManagerDevice.c: division in assignment was flipped.
16035
16036 2005-06-23  David Zeuthen  <david@fubar.dk>
16037
16038         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16039         signal to the child to indicate that we got what we wanted when we
16040         see two new-lines right after each other.
16041         (nmwa_vpn_request_password): Pass a structure with several members
16042         instead of just the passwords
16043
16044 2005-06-23  Dan Williams <dcbw@redhat.com>
16045
16046         * src/NetworkManager.c
16047           src/NetworkManagerMain.h
16048                 - (nm_get_hal_ctx): new function, move Hal initialization code here
16049                 - (nm_hal_init): new function, init libhal context then add devices
16050                 - (nm_hal_deinit): new function, clean up libhal context
16051                 - (nm_data_free): Move Hal cleanup here
16052                 - (main): check whether Hal is running, and if so, get a list of
16053                         network devices from it
16054
16055         * src/NetworkManagerDbus.c
16056                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16057                         and when it appears, get a list of network devices from it.  If
16058                         Hal goes away, clean up the libhal context
16059
16060 2005-06-22  Robert Love  <rml@novell.com>
16061
16062         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16063           permissions of scripts before executing.
16064
16065 2005-06-21  Robert Love  <rml@novell.com>
16066
16067         * initscript/SUSE/networkmanager: update.
16068         * src/backends/NetworkManagerSuSE.c: cleanup.
16069
16070 2005-06-21  Robert Love <rml@novell.com>
16071
16072         * gnome/applet/applet.c: use menu mnemonics.
16073         * gnome/applet/menu-items.c: (ditto)
16074
16075 2005-06-21  Robert Love  <rml@novell.com>
16076
16077         * applet/applet-dbus-devices.c: mark non-static functions static.
16078         * applet/applet-dbus-vpn.c: (ditto)
16079         * applet/applet.c: (ditto)
16080         * applet/nm-device.h: (ditto)
16081         * applet/other-network-dialog.c: (ditto)
16082         * applet/passphrase-dialog.c: (ditto)
16083         * NetworkManager.c: (ditto)
16084         * NetworkManagerDbus.c: (ditto)
16085         * NetworkManagerDevice.c: (ditto)
16086         * NetworkManagerPolicy.c: (ditto)
16087         * NetworkManagerUtils.c: (ditto)
16088         * NetworkManagerWireless.c: (ditto)
16089         * NetworkManagerWireless.h: (ditto)
16090         * nm-netlink-monitor.c: (ditto)
16091         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16092         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16093         * autoip.c: include autoip.h.
16094         * autoip.h: new file.  define get_autoip().
16095         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16096         * NetworkManagerDbus.h: remove duplicate definitions.
16097
16098 2005-06-20  Robert Love  <rml@novell.com>
16099
16100         * Makefile.am: Add missing intltool-foo.in generated files to
16101           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16102           with the start of stuff to cleanup on 'distclea'.
16103         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16104           stuff right and 'distcheck' works.
16105         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16106           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16107           Makefile.am for each.  And systray/Makefile needs to be redone.
16108
16109 2005-06-19  Dan Williams <dcbw@redhat.com>
16110
16111         * src/NetworkManagerDevice.c
16112         - (nm_device_wireless_process_scan_results): scan every 20s when
16113           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16114
16115 2005-06-19  Dan Williams <dcbw@redhat.com>
16116
16117         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16118
16119 2005-06-18  Ray Strode <rstrode@redhat.com>
16120
16121         * src/nm-netlink-monitor.c 
16122         (nm_netlink_monitor_event_handler): check for the presence
16123         of either error condition not both. 
16124         
16125         (nm_netlink_monitor_error_handler): emit error signal if
16126         error occurs.
16127
16128         (nm_netlink_monitor_event_handler),
16129         (nm_netlink_monitor_error_handler),
16130         (nm_netlink_monitor_disconnect_handler): if an 
16131         assertion fails disconnect the event handler to prevent 
16132         infinite loops.
16133
16134         * src/nm-netlink-monitor.h: add new error condition
16135         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16136
16137 2005-06-18  Ray Strode <rstrode@redhat.com>
16138
16139         * src/nm-netlink-monitor.c 
16140         (nm_netlink_monitor_event_handler): remove bogus < 0
16141         check on unsigned value and return early if the kernel
16142         didn't send any bytes.
16143
16144 2005-06-17  Robert Love  <rml@novell.com>
16145
16146         * initscript/SUSE/networkmanager: Change the Provides and default
16147         run levels
16148
16149 2005-06-16  Dan Williams <dcbw@redhat.com>
16150
16151         Patch from Robert Love:
16152         * gnome/applet/applet.c
16153                 - Beautify some applet menu item names
16154
16155 2005-06-17  David Zeuthen  <davidz@redhat.com>
16156
16157         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16158         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16159         Also add new methods can_export, import_file and export.
16160
16161         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16162         to the main UI
16163
16164         * gnome/vpn-properties/nm-vpn-properties.c:
16165         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16166         nm-vpn-ui-interface.h.
16167         (update_edit_del_sensitivity): Also update "Export" sensitivity
16168         (add_vpn_connection): Also add new SVC_NAME column
16169         (import_settings): New function
16170         (retrieve_data_from_selected_connection): New function
16171         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16172         this function
16173         (export_cb): New function
16174         (init_app): Also setup the "export" widget
16175         (main): Support the --import-service and --import-file commandline
16176         arguments
16177
16178         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16179         D-BUS 0.34
16180
16181 2005-06-16  Dan Williams <dcbw@redhat.com>
16182
16183         Patch from Robert Love:
16184         * gnome/applet/menu-items.c
16185                 - (network_menu_item_new): pass -1 as wireless network
16186                         menu items height size request rather than ascent / 2
16187
16188 2005-06-16  Dan Williams <dcbw@redhat.com>
16189
16190         * Clean up wording in Wireless Scan Methods menu items and constants
16191
16192 2005-06-16  Robert Love  <rml@novell.com>
16193
16194         * po/POTFILES.in
16195                 - remove gtkcell* files
16196
16197 2005-06-15  Dan Williams <dcbw@redhat.com>
16198
16199         Patch from Robert Love: make the applet stetic
16200
16201         * gnome/applet/Makefile.am
16202                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16203
16204         * gnome/applet/gtkcellview.h
16205           gnome/applet/gtkcellview.c
16206           gnome/applet/gtkcellrendererprogress.h
16207           gnome/applet/gtkcellrendererprogress.c
16208                 - Removed
16209
16210         * gnome/applet/menu-items.c
16211                 - Progress bars are 5:1 size ratio
16212                 - Use GTK progress bars rather than internal ones
16213
16214 2005-06-15  Dan Williams <dcbw@redhat.com>
16215
16216         Patch from Robert Love:
16217         * initscript/SUSE/networkmanager
16218                 - Fix typo
16219
16220 2005-06-15  Dan Williams <dcbw@redhat.com>
16221
16222         * src/backends/NetworkManagerSuSE.c
16223           src/backends/NetworkManagerRedHat.c
16224           src/backends/NetworkManagerDebian.c
16225                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16226
16227 2005-06-15  Dan Williams <dcbw@redhat.com>
16228
16229         * src/backends/NetworkManagerDebian.c
16230                 - Add nm_system_device_get_use_dhcp() to debian backend
16231
16232         Patch from Kay Sievers:
16233         * src/backends/NetworkManagerSuSE.c
16234                 - Update debian backend for static IP nameservers
16235
16236         * src/NetworkManagerDevice.c
16237                 - Actually set the device to use static IP or DHCP rather
16238                         than always DHCP
16239
16240 2005-06-15  Dan Williams <dcbw@redhat.com>
16241
16242         Patch from Thom May:
16243         * src/backends/NetworkManagerDebian.c
16244                 - Update debian backend for static IP nameservers
16245
16246 2005-06-15  Dan Williams <dcbw@redhat.com>
16247
16248         Patches from Robert Love:
16249         * gnome/applet/wireless-applet.glade
16250                 - Tighten up wording
16251
16252         * src/NetworkManagerDevice.c
16253                 - Remove misplaced ';'
16254
16255         * configure.in
16256           initscript/Makefile.am
16257           initscript/SUSE/Makefile.am
16258           initscript/SUSE/networkmanager
16259                 - Add SUSE initscript
16260
16261 2005-06-12  David Zeuthen  <davidz@redhat.com>
16262
16263         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16264
16265         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16266
16267         * gnome/vpn-properties/nm-vpn-properties.c: New file
16268
16269         * gnome/vpn-properties/Makefile.am: New file
16270
16271         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16272         array of passwords
16273
16274         * src/vpn-manager/nm-vpn-manager.c
16275         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16276         instead of just a single one
16277
16278         * src/vpn-manager/nm-dbus-vpn.c:
16279         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16280         here
16281         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16282
16283         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16284         Change the interface here to give a list of passwords. Also, don't
16285         require username, but do require service
16286
16287         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16288         the binary for the auth-dialog and use that instead of putting up a
16289         dialog asking for a single password
16290
16291         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16292         however do remember the service
16293
16294         * gnome/applet/main.c (main): Setup i18n
16295
16296         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16297         connection to '%s'" to the tooltip if we are connected using VPN
16298         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16299         key to determine whether we the auth-dialog needs to
16300         reprompt. Also cope with the fact that the auth-dialog now returns
16301         an array of passwords.
16302         (nmwa_menu_configure_vpn_item_activate): New handler for
16303         "Configure VPN..." menu item
16304         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16305         (is_vpn_available): New function to determine if we got any
16306         NM-compatible VPN software installed
16307         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16308         items only if we have NM-compatible VPN software installed
16309         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16310         logic for detecting when VPN connections are removed
16311
16312         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16313         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16314         since these are defined elsewhere
16315
16316         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16317         function used to keep track of whether the last attempt succeded
16318         (nmwa_dbus_filter): Update last_attempt according to whether the
16319         VPN connection could be established or not
16320
16321         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16322         Change prototype to take an array of passwords, not just a single
16323         password
16324
16325         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16326         update service, not user
16327         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16328         dbus_active_vpn_name is not NULL before using it
16329         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16330         string array instead of assuming a single password
16331
16332         * gnome/applet/applet-dbus-info.c:
16333         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16334         user name; don't read from gconf
16335
16336         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16337         VPN_NAME_FILES_DIR
16338
16339         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16340
16341         * configure.in: Add checks for gmodule-2.0.
16342         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16343         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16344         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16345         for details
16346
16347         * vpn-daemons/Makefile.am: Removed
16348
16349         * vpn-daemons/README: New file to describe extensions points for VPN
16350         software
16351
16352 2005-06-10  Dan Williams <dcbw@redhat.com>
16353
16354         * src/backends/NetworkManagerRedHat.c
16355                 - (get_current_profile_name): new function, grab current network profile name from
16356                         /etc/sysconfig/network
16357                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16358                         update an IP4 Config structure's settings from it
16359                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16360                         get DNS info from current network profile
16361
16362 2005-06-09  Dan Williams <dcbw@redhat.com>
16363
16364         Patch from Robert Love:
16365         * src/NetworkManagerDevice.c
16366           src/NetworkManagerUtils.c
16367                 - 64-bit build fixes
16368
16369 2005-06-09  Dan Williams <dcbw@redhat.com>
16370
16371         Patch from Kay Sievers and Robert Love:
16372         * configure.in
16373           src/backends/Makefile.am
16374           src/backends/NetworkManagerSuSE.c
16375                 - Add SuSE support
16376
16377 2005-06-09  Dan Williams <dcbw@redhat.com>
16378
16379         * NetworkManager.h
16380                 - Add NMWirelessScanMethod enum for scan methods
16381
16382         * gnome/applet/applet-dbus-devices.c
16383                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16384                 - (nmwa_dbus_update_scanning_enabled): remove
16385                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16386                         since it got removed
16387                 - (nmwa_dbus_enable_scanning): remove
16388
16389         * gnome/applet/applet-dbus-info.c
16390                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16391                         update the wireless scanning method from NMI
16392                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16393                         method value to NetworkManager
16394                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16395
16396         * gnome/applet/applet-dbus-info.h
16397                 - Add prototype for nmi_dbus_signal_update_scan_method
16398
16399         * gnome/applet/applet.c
16400                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16401                         Wireless Scanning menu based on current wireless scan method
16402                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16403                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16404                         and update our menu items to make sure the right one is checked
16405                 - (nmwa_set_scanning_enabled_cb): remove
16406                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16407                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16408                         Scanning menu item
16409                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16410                         from GConf
16411                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16412                         so we get notified of preference values too
16413                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16414
16415         * gnome/applet/applet.h
16416                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16417                 - Add wireless scan method member to applet data
16418                 - Remove pause_scanning_item, add Wireless Scanning submenu
16419
16420         * src/NetworkManager.c
16421                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16422                 - (main): grab scanning method from NMI if we can
16423
16424         * src/NetworkManagerDbus.c
16425                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16426                         nm_dbus_update_wireless_scan_method()
16427                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16428                         from NMI
16429                 - (nm_dbus_nmi_is_running): redundant function, removed
16430                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16431                         when NMI comes back
16432
16433         * src/NetworkManagerDevice.c
16434                 - (nm_device_is_activated): return TRUE if the device is activated
16435                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16436                         and we are activated
16437
16438         * src/nm-dbus-nm.c
16439                 - (nm_dbus_nm_set_scanning_enabled): removed
16440                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16441                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16442
16443 2005-06-09  Dan Williams <dcbw@redhat.com>
16444
16445         * NetworkManager.h
16446           src/vpn-manager/nm-vpn-service.c
16447                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16448
16449 2005-05-27  Dan Williams <dcbw@redhat.com>
16450
16451         * vpn-daemons/vpnc/nm-vpnc-service.c
16452                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16453                         Should fix the bug where the VPN connection terminates the first time.
16454
16455 2005-05-20  Dan Williams <dcbw@redhat.com>
16456
16457         * NetworkManager.h
16458                 - Differentiate VPN config signals between bad VPN config options
16459                         and bad IP config
16460
16461         * gnome/applet/applet-dbus-info.h
16462                 - Add prototypes for wireless network and vpn connection update functions
16463
16464         * gnome/applet/applet-dbus.c
16465                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16466
16467         * gnome/applet/applet.c
16468                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16469                         error signals
16470                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16471                         propogation to NetworkManager
16472                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16473                         notify propogation to NetworkManager
16474
16475         * src/NetworkManagerDbus.c
16476                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16477                         are updating so a network can be removed from it if necessary
16478
16479         * src/vpn-manager/nm-vpn-manager.c
16480                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16481
16482         * vpn-daemons/vpnc/nm-vpnc-service.c
16483                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16484                 - (nm_vpnc_dbus_signal_launch_failed): remove
16485                 - (nm_vpnc_dbus_signal_connect_failed): remove
16486                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16487                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16488                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16489                         for new generalized error signal function, remove config file stuff
16490                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16491                         we can write configuration options to it
16492                 - (nm_vpnc_config_file_generate): removed
16493                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16494                 - (nm_vpnc_config_options_validate): validate the config options we receive
16495                         from NetworkManager to block potential exploits
16496                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16497                         starting vpnc
16498                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16499                         to NetworkManager
16500
16501 2005-05-16  Dan Williams  <dcbw@redhat.com>
16502
16503         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16504                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16505                         is not "connect"
16506
16507 2005-05-16  Dan Williams  <dcbw@redhat.com>
16508
16509         Patch from Tomislav Vujec <tvujec@redhat.com>
16510         * gnome/applet/applet-dbus-info.c
16511                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16512                         GConf and pass them to NetworkManager.  New key is 'routes' under
16513                         the VPN connection, and should be a string list
16514
16515         * src/NetworkManagerSystem.c
16516                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16517                         set them on the device when we set the rest of the VPN config.  Ensure
16518                         they are in the correct format since they are passed directly to the
16519                         command line.
16520
16521         * src/backends/NetworkManagerRedHat.c
16522           src/backends/NetworkManagerDebian.c
16523                 - (nm_system_device_add_route_via_device_with_iface): new function
16524
16525         * src/vpn-manager/nm-dbus-vpn.c
16526                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16527
16528         * src/vpn-manager/nm-vpn-manager.c
16529                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16530                         them into the IP4 config functions
16531
16532 2005-05-15  Dan Williams  <dcbw@redhat.com>
16533
16534         From Filip Miletic:
16535         * po/sr.po
16536           po/sr@Latn.po
16537           configure.in
16538                 - Serbian translation added
16539
16540 2005-05-15  Dan Williams  <dcbw@redhat.com>
16541
16542         * dispatcher-daemon/NetworkManagerDispatcher.c
16543                 - (main): sync arguments with NetworkManager and the applet, now use
16544                         "--no-daemon" rather than "daemon=no"
16545                 - (nmd_print_usage): Fix script path in usage message
16546
16547 2005-05-15  Dan Williams  <dcbw@redhat.com>
16548
16549         * src/NetworkManagerDevice.[ch]
16550           src/NetworkManagerPolicy.c
16551           src/NetworkManager.c
16552           src/nm-dbus-nm.c
16553                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16554                         longer send the DeviceNoLongerActive signal unconditionally, but only
16555                         when the device is actually active.
16556
16557         * dispatcher-daemon/NetworkManagerDispatcher.c
16558                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16559                         and simplify the logic
16560                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16561                         we free it later on
16562
16563         * initscript/RedHat/Makefile.am
16564           initscript/RedHat/NetworkManagerDispatcher
16565                 - Add initscript for NetworkManagerDispatcher
16566
16567
16568         Patch from Bill Moss:
16569         * dispatcher-daemon/NetworkManagerDispatcher.c
16570                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16571
16572         * src/NetworkManagerDbus.c
16573                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16574                         and DeviceNowActive gets signaled, then the device has a new IP address
16575                         anyway.  There's no need for a separate signal.
16576
16577         * src/NetworkManagerDevice.c
16578                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16579
16580         * src/NetworkManagerPolicy.c
16581                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16582                         activates successfully.  This kind of went missing when I reworked the
16583                         activation code.
16584
16585 2005-05-15  Dan Williams  <dcbw@redhat.com>
16586
16587         * configure.in
16588                 - Check for dhcdbd and error if its not found
16589
16590         * src/dhcp-manager/Makefile.am
16591           src/dhcp-manager/nm-dhcp-manager.c
16592                 - Use path to dhcdbd that configure found
16593
16594 2005-05-14  Dan Williams  <dcbw@redhat.com>
16595
16596         * gnome/applet/nm-device.c
16597                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16598                         sort wireless networks alphabetically
16599
16600         * gnome/applet/applet-dbus-devices.c
16601                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16602                         before copying them over to the GUI
16603
16604 2005-05-14  Dan Williams  <dcbw@redhat.com>
16605
16606         * src/NetworkManager.c
16607                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16608                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16609                         the device list, as does nm_get_active_device() which is called from
16610                         nm_vpn_manager_deactivate_vpn_connection().
16611
16612 2005-05-14  Dan Williams  <dcbw@redhat.com>
16613
16614         * NetworkManager.h
16615                 - Add signals for VPN Launch and Connect failures
16616
16617         * gnome/applet/applet-dbus.c
16618                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16619
16620         * gnome/applet/applet.c
16621                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16622                         function to handle all VPN failure messages
16623                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16624                         function to hanlde all VPN failure  messages
16625                 - (show_warning_dialog): work around focus-stealing prevention
16626
16627         * gnome/applet/other-network-dialog.c
16628           gnome/applet/passphrase-dialog.c
16629                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16630                         problem where it never enabled for ASCII Key and Hex Key types
16631
16632         * gnome/applet/wireless-applet.glade
16633                 - Add window title to Other Wireless Network Dialog
16634
16635         * src/vpn-manager/nm-dbus-vpn.c
16636                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16637                         function to handle all VPN failure messages
16638
16639         * src/vpn-manager/nm-vpn-manager.c
16640                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16641
16642         * vpn-daemons/vpnc/nm-vpnc-service.c
16643                 - (nm_vpnc_dbus_signal_launch_failed): new function
16644                 - (nm_vpnc_dbus_signal_connect_failed): new function
16645                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16646                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16647                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16648                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16649
16650 2005-05-11  Dan Williams  <dcbw@redhat.com>
16651
16652         * vpn-daemons/vpnc/nm-vpnc-service.c
16653                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16654                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16655                         file exists before trying to write it out.
16656
16657 2005-05-10  Dan Williams  <dcbw@redhat.com>
16658
16659     * gnome/applet/applet-dbus-device.c
16660         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16661             prevented just entering ESSID and leaving key and key type up to
16662             NetworkManager (which should have them already cached)
16663
16664 2005-05-08  Dan Williams  <dcbw@redhat.com>
16665
16666         * src/NetworkManagerPolicy.c
16667                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16668                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16669                         fix a situation where NM is told to terminate and the device stops activation,
16670                         but the main thread isn't aware of that because it would never have run
16671                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16672                         had already quit.
16673
16674         * src/NetworkManagerDevice.c
16675                 - (nm_device_probe_wired_link_state): cosmetic fixes
16676                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16677                         we've failed to activate or been canceled.
16678                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16679
16680 2005-05-08  Dan Williams  <dcbw@redhat.com>
16681
16682         * src/NetworkManagerWireless.c
16683                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16684                         value of WEXT quality structures, and add a debug message when we cannot
16685                         determine any quality % at all
16686
16687 2005-05-08  Dan Williams  <dcbw@redhat.com>
16688
16689         * src/dhcp-manager/nm-dhcp-manager.c
16690                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16691                         it goes down.
16692
16693 2005-05-06  Dan Williams  <dcbw@redhat.com>
16694
16695         * gnome/applet/applet-dbus-device.c
16696           gnome/applet/applet-dbus-info.c
16697           gnome/applet/applet-dbus.c
16698           gnome/applet/applet.c
16699           gnome/applet/applet.h
16700                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16701
16702         * gnome/applet/applet-dbus.c
16703                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16704                         so we notice when wired device's carriers come back on.  Should
16705                         fix issue with wired devices being grayed out even if the cable
16706                         is in, for devices that support carrier detection.
16707
16708         * gnome/applet/applet.c
16709                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16710                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16711                         tooltip message
16712                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16713                         Fix situation where applet wouldn't respond to menu selections
16714
16715         * src/NetworkManager.c
16716           src/NetworkManagerDevice.c
16717           src/NetworkManagerDbus.c
16718           src/NetworkManagerDbus.h
16719                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16720
16721         * src/NetworkManagerDbus.c
16722                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16723                         Remove, no longer used or relevant
16724                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16725                 - (nm_dbus_schedule_device_status_change_signal): add
16726
16727         * src/NetworkManagerDevice.c
16728                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16729                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16730                         ie don't deactivate them unless explicitly told to by the user.  Also send
16731                         CARRIER_OFF / CARRIER_ON signals when link changes
16732                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16733                         Don't print error message when device is no longer around
16734                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16735                         not just during activation
16736
16737         * src/NetworkManagerPolicy.c
16738                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16739                         auto-device-selection.
16740                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16741
16742         * src/NetworkManagerSystem.c
16743                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16744                         is no longer present (Bill Moss)
16745
16746         * src/backends/shvar.c
16747                 - (svOpenFile): Open read-only to make SELinux happy
16748
16749         * src/backends/NetworkManagerRedHat.c
16750                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16751                         the path to the ifcfg-* files
16752
16753 2005-05-05  Dan Williams  <dcbw@redhat.com>
16754
16755         * Expose activation stages to NetworkManager clients, like the applet
16756         * Add Diana's progress icons to the applet, cued off NM activation stage
16757         * Use more descriptive tooltips, cued off NM activation stage
16758
16759 2005-05-05  Ray Strode  <rstrode@redhat.com>
16760
16761         * src/nm-netlink-monitor.c:
16762                 - Use clear_event_source instead of g_nullify_pointer() again.
16763
16764 2005-05-05  Dan Williams  <dcbw@redhat.com>
16765
16766         * gnome/applet/main.c
16767                 - Fix session management so the applet is actually managed now
16768
16769         * gnome/applet/passphrase-dialog.c
16770                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16771
16772 2005-05-05  Dan Williams  <dcbw@redhat.com>
16773
16774         Patch from Bill Moss:
16775         * gnome/libnm_glib/libnm_glib.c
16776                 - Fix for dbus-0.33
16777
16778 2005-05-05  Dan Williams  <dcbw@redhat.com>
16779
16780         Suggestion from Bill Moss:
16781         * src/NetworkManagerSystem.c
16782                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16783
16784
16785         * src/NetworkManager.c
16786                 - (nm_data_free): move destruction of the various managers after
16787                         release of device list, because deactivating and freeing a device
16788                         requires at least the named manager
16789                 - (nm_poll_and_update_wireless_link_state):
16790                   (nm_device_link_activated):
16791                   (nm_device_link_deactivated):
16792                         don't grab the device list lock when actually updating device
16793                         link status or strength, since nm_device_set_link_active()
16794                         needs to call nm_get_active_device(), which also locks the device list.
16795
16796         * src/NetworkManagerDevice.c
16797                 - (nm_device_set_link_active): if a device's link switches from off->on,
16798                         and it's wired, and the active device is wireless (or there is no
16799                         active device), activate the new device whose link just came on
16800                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16801                         my only calling the link to the current ap "failed" when more than 2
16802                         consecutive link checks have failed
16803
16804 2005-05-04  Dan Williams  <dcbw@redhat.com>
16805
16806         * src/NetworkManagerDevice.c
16807                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16808                         but let link_to_specific_ap() do the locking where it needs
16809
16810         Patch from Bill Moss:
16811         * src/NetworkManagerSystem.c
16812                 - Set MTU of VPN devices to 1412
16813
16814 2005-05-04  Dan Williams  <dcbw@redhat.com>
16815
16816         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16817
16818         * Fix some holes in device activation and retaining the currently connected
16819                 access point
16820
16821 2005-05-03  Dan Williams  <dcbw@redhat.com>
16822
16823         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16824           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16825           means you need dhcdbd, which you can get here (get the latest one):
16826
16827                 http://people.redhat.com/jvdias/dhcdbd/
16828
16829           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16830           interface as dhcdbd.
16831
16832         * Rewrite device activation to facilitate the new DHCP infrastructure and
16833           future improvements.  Its now "activation request" based, ie there is a single
16834           activation request composed of the device, access point, and other info which
16835           follows the entire activation process.  There are 5 stages of the activation
16836           process which correspond to:
16837
16838                 1) Device preparation
16839                 2) Device configuration (bring it up, set ESSID/Key/etc)
16840                 3) IP Config Start (fire off DHCP if we're using it)
16841                 4) IP Config Get (grab config from DHCP or static config files)
16842                 5) IP Config Commit (set device's IP address, DNS, etc)
16843
16844           Note that there is no longer a "scanning" step, since the access point must
16845           be known _before_ activation starts.  If the access point drops out or does
16846           not exist for some reason, the entire activation process fails and must be
16847           restarted for a different access point or device.
16848
16849         Patch from Bill Moss:
16850         * gnome/applet/applet.c
16851                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16852
16853 2005-04-27  Dan Williams  <dcbw@redhat.com>
16854
16855         * gnome/applet/applet-dbus-vpn.c
16856           gnome/applet/applet.c
16857           gnome/applet/applet.h
16858                 - Fix up active VPN handling so that we reliably know when a VPN
16859                         connection has been deactivated
16860
16861         * src/vpn-manager/nm-vpn-manager.c
16862                 - Remove duplicate VPNConnectionChange signal
16863
16864 2005-04-27  Dan Williams  <dcbw@redhat.com>
16865
16866         Patch from Peter Jones:
16867         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16868
16869         Patch from Bill Moss:
16870         * src/NetworkManagerSystem.c
16871                 - Fix checking of return value from ioctl()
16872
16873 2005-04-27  Dan Williams  <dcbw@redhat.com>
16874
16875         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16876         * Warn and exit if icons cannot be found
16877
16878 2005-04-27  Dan Williams  <dcbw@redhat.com>
16879
16880         Patch from Tom Parker:
16881         * Update debian backend
16882
16883 2005-04-27  Dan Williams  <dcbw@redhat.com>
16884
16885         * Merge the applet and the info-daemon, and move the converged
16886                 applet under gnome/applet
16887         * Move libnm_glib to gnome/libnm_glib
16888         * Convert most dbus calls between the applet, info-daemon, and NM
16889                 into async calls
16890         * Fix a few things valgrind noticed
16891         * Make NM broadcast state more reliably
16892
16893 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16894
16895         * configure.in: Added ne in ALL_LINGUAS
16896
16897 2005-04-15  Dan Williams  <dcbw@redhat.com>
16898
16899         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16900                 code for dbus 0.2x versions
16901
16902 2005-04-15  Dan Williams  <dcbw@redhat.com>
16903
16904         Patches from Tom Parker:
16905         - Fix memleaks
16906         - Join with worker thread rather than polling for its exit
16907
16908         Patch from Bill Moss:
16909         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16910
16911 2005-04-15  Dan Williams  <dcbw@redhat.com>
16912
16913         - Fixes to pass 'make distcheck'
16914
16915 2005-04-15  Dan Williams  <dcbw@redhat.com>
16916
16917         Initial VPN Support
16918                 - supports 'vpnc'
16919                 - reworks device IP configuration, backend files have changed and will need
16920                         to be updated for all distributions.  I will try to do what I can for
16921                         them, but I cannot test them.
16922
16923         - Move named directory to src/named-manager
16924         - Make backends directory self-contained
16925
16926 2005-04-06  Dan Williams  <dcbw@redhat.com>
16927
16928         Add debug code for socket/file descriptor leaks.  We register every socket
16929         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16930         list of sockets that we forgot to close on shutdown.  This also consolidates
16931         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16932
16933 2005-04-06  Dan Williams  <dcbw@redhat.com>
16934
16935         * dhcpcd/dhcpcd.c
16936                 - (dhcp_interface_free): fix a file descriptor leak that may have
16937                         caused network drivers to not unload due to refcounts > 0
16938
16939 2005-04-04  Dan Williams  <dcbw@redhat.com>
16940
16941         * panel-applet/NMWirelessAppletDbus.c
16942                 - (nmwa_dbus_call_nm_method): remove some commented code
16943
16944         * src/NetworkManagerAPList.[ch]
16945                 - (nm_ap_list_remove_ap_by_essid): new function
16946
16947         * src/NetworkManagerDevice.c
16948                 - (nm_device_wireless_force_use): remove access points from the ignore list
16949                         when the user forces them
16950
16951         * src/nm-dbus-device.c
16952                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16953
16954 2005-04-04  Dan Williams  <dcbw@redhat.com>
16955
16956         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16957
16958 2005-04-04  Dan Williams  <dcbw@redhat.com>
16959
16960         * src/NetworkManagerDevice.c:
16961                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16962                         of only erroring after the second consecutive scan times out.  Also
16963                         don't exit when the card requires more time than we can give it, just
16964                         log the event and continue.
16965
16966 2005-04-01  Steve Murphy  <murf@e-tools.com>
16967
16968         * configure.in: Added "rw" to ALL_LINGUAS.
16969
16970 2005-04-01  Dan Williams <dcbw@redhat.com>
16971
16972         Perform scans during device activation, if needed.  Both activation 
16973         and scans run in the same GMainContext.  Therefore, if an access point
16974         is not found by the time the device starts activation, it will not
16975         be available until after activation.  We now try to scan during
16976         activation (in nm_wa_test) every 15s so that all available access
16977         points are more likely to be found and available for the activation
16978         procedure.
16979
16980         Also change nm_wireless_link_state_handle() to only update the "best"
16981         AP if we are not forcing a device and if we are not about to change
16982         state.  This attempts to work around a race when forcing a device,
16983         where the forced AP would get cleared out too soon by the link state
16984         checking timeout in the main thread, and the activation attempt with
16985         that AP would fail.
16986
16987 2005-04-01  Dan Williams <dcbw@redhat.com>
16988
16989         * po/POTFILES.in
16990                 - Update with new translatables
16991
16992 2005-03-31  Dan Williams <dcbw@redhat.com>
16993
16994         * panel-applet/NMWirelessAppletDbus.c
16995                 - Fix device names now that hal has changed device parenting for
16996                         network devices.
16997
16998 2005-03-31  Dan Williams <dcbw@redhat.com>
16999
17000         Tighten up handling of wireless devices that don't support wireless
17001         scanning (ie, Orinoco).  Due to restructuring of code, these devices
17002         hadn't been doing pseudo-scanning for a while either and would just
17003         spin waiting for an access point.  They are now manual devices where
17004         the user must choose the access point from the menu every time.  All
17005         "allowed" access points are listed in the applet's menu regardless
17006         of whether or not they can be seen by the card, since it can't scan
17007         anyway.
17008
17009         * src/NetworkManager.c
17010                 - (nm_wireless_link_state_handle): new function, but only update
17011                         the "best" ap for non-scanning devices when its not activating,
17012                         and when no device is being forced on the card
17013                 - (nm_link_state_monitor): split wireless link state handling out
17014                         into separate function
17015
17016         * src/NetworkManagerDevice.c
17017                 - (nm_device_copy_allowed_to_dev_list): new function
17018                 - (nm_device_new): populate non-scanning cards' AP lists with
17019                         access points from the "allowed" list
17020                 - (nm_device_new): don't start a scanning timeout for devices that
17021                         can't scan
17022                 - (nm_device_activation_schedule_finish): new parameter, should be
17023                         the AP that failed to be connected to, pass it on to the
17024                         activation finish function in NetworkManagerPolicy.c
17025                 - (nm_device_activate_wireless): don't ever try to get a new AP
17026                         for non-scanning devices, just fail.  The user must choose
17027                         a new access point manually.
17028                 - (nm_device_activate): grab the AP that failed connection and
17029                         pass it on
17030                 - (nm_device_update_best_ap): Clear the best AP if we don't have
17031                         a link to it, user must manually choose a new one
17032                 - (nm_device_do_pseudo_scan): remove function
17033                 - (nm_device_wireless_process_scan_results): remove bits for non-
17034                         scanning cards since they never get here
17035                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17036                         and fake the scan list for test devices a bit earlier
17037
17038         * src/NetworkManagerPolicy.c
17039                 - (nm_policy_activation_finish): use the failed_ap that we get
17040                         passed rather than getting the best_ap from the card, which
17041                         may have changed since we were scheduled
17042                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17043                         update their scan list directly from the allowed list when
17044                         we get updates to the allowed list from NetworkManagerInfo
17045
17046         * src/NetworkManagerPolicy.h
17047                 - New member for failed access point in NMActivationResult
17048
17049   -------------------------------------
17050
17051         Driver Notification patch: notifies the user when their driver
17052                 sucks.  Gives them the option to ignore further insertions
17053                 of the card that has the sucky driver.
17054
17055         * NetworkManager.h
17056                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17057                         enum and replace it with NO_CARRIER_DETECT and
17058                         NO_WIRELESS_SCAN
17059
17060         * panel-applet/NMWirelessApplet.[ch]
17061                 - Merge essid.glade -> wireless-applet.glade
17062                 - Implement the "Your driver sucks" notification dialog
17063
17064         * panel-applet/NMWirelessAppletDbus.c
17065                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17066                 - Grab hardware address for each device from NM too
17067                 - Check whether the driver for each device sucks or not whenever
17068                         a new device is noticed
17069
17070         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17071                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17072
17073         * src/NetworkManager.c
17074                 - Fix a double-unref on device removal
17075
17076         * src/NetworkManagerUtils.c
17077                 - Set appropriate driver support level on a device that doesn't
17078                         support scanning or carrier detection
17079
17080         * src/nm-dbus-device.c
17081                 - New "getHWAddress" dbus method on devices
17082                 - getSupportsCarrierDetect -> getDriverSupportLevel
17083
17084 2005-03-31  Dan Williams <dcbw@redhat.com>
17085
17086         * src/NetworkManagerDevice.c
17087                 - (nm_device_wireless_scan): Fix leak of scan results in some
17088                         instances
17089
17090 2005-03-29  Dan Williams <dcbw@redhat.com>
17091
17092         * src/NetworkManager.c
17093                 - (nm_poll_and_update_wireless_link_state): make code less indented
17094
17095         Patch from Bill Moss:
17096         * src/NetworkManager.c
17097                 - (nm_device_update_link_state): Update signal strength on wireless
17098                         devices every time we update link state too.
17099
17100 2005-03-29  Dan Williams <dcbw@redhat.com>
17101
17102         * src/NetworkManagerDevice.c
17103                 - (nm_device_set_essid): Work around Orinoco cards which need
17104                         extra time after setting the ESSID
17105
17106 2005-03-29  Dan Williams <dcbw@redhat.com>
17107
17108         * src/NetworkManagerDevice.c
17109                 - Merge one more bit of Peter Jones' completion patch
17110
17111 2005-03-29  Dan Williams <dcbw@redhat.com>
17112
17113         * src/NetworkManagerDevice.c
17114                 - (nm_device_force_use): Fix possible segfault
17115
17116 2005-03-29  Dan Williams <dcbw@redhat.com>
17117
17118         * src/NetworkManagerDevice.c
17119                 - Use iw_get_ext() where we should rather than iw_set_ext()
17120
17121 2005-03-29  Dan Williams <dcbw@redhat.com>
17122
17123         * src/NetworkManagerDevice.c
17124                 - (nm_device_set_up_down): remove check for unsupported devices
17125                         that caused NM to not bring devices up when they were
17126                         added to the device list.
17127
17128 2005-03-28  Dan Williams <dcbw@redhat.com>
17129
17130         * src/NetworkManagerDevice.c
17131                 - (mdio_read): Fix two bugs that caused all devices to fail
17132                         the MII carrier detection support checks
17133
17134 2005-03-26  Dan Williams <dcbw@redhat.com>
17135
17136         * src/NetworkManagerDevice.c
17137                 - (nm_device_wireless_scan): Remove duplicated scanning code
17138
17139 2005-03-25  Dan Williams <dcbw@redhat.com>
17140
17141         * panel-applet/NMWirelessApplet.c
17142                 - (nmwa_about_cb): Add some more contributors
17143                 - (nmwa_update_state): show the applet when there's no connection
17144                 - Enable the "Stop/Resume all wireless devices" option in the
17145                         context menu
17146                 - New "no connection" icon
17147
17148         * src/NetworkManager.c
17149                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17150                         wireless is disabled or we're asleep
17151
17152         * src/NetworkManagerDHCP.c
17153                 - Remove trailing "\n" on debug messages
17154
17155         * src/NetworkManagerDbus.c
17156                 - (nm_dbus_network_status_from_data): new state "asleep"
17157
17158         * src/NetworkManagerDevice.c
17159                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17160                         latency and wait times for most operations
17161                 - (nm_device_wireless_scan): Don't scan when asleep
17162
17163         * src/NetworkManagerPolicy.c
17164                 - (nm_policy_get_best_device): return no device when asleep
17165                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17166                         for all wireless devices on update, not just active device
17167
17168         * src/NetworkManagerUtils.c
17169                 - Merge Peter Jones' "completion" patch
17170
17171         * src/nm-dbus-nm.c
17172                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17173                         we're told to disable them
17174                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17175
17176         * utils/nm-utils.h
17177                 - New variants of the warn/info/error/debug print functions that can take
17178                         variables rather than static strings
17179
17180 2005-03-24  Dan Williams <dcbw@redhat.com>
17181
17182         * src/NetworkManagerUtils.c
17183                 - (nm_get_device_driver_name): driver names are now on the parents of
17184                         "Network Interface" objects, so look for them there
17185
17186 2005-03-24  Dan Williams <dcbw@redhat.com>
17187
17188         * test/nmtest.c
17189                 - Escape some forgotten object paths before we shove them through dbus
17190
17191 2005-03-24  Dan Williams <dcbw@redhat.com>
17192
17193         * dhcpcd/dhcpcd.[ch]
17194           src/NetworkManagerDHCP.c
17195                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17196                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17197
17198         * src/NetworkManagerDbus.c
17199                 - spacing cleanups
17200
17201         * src/nm-dbus-dhcp.c
17202                 - Make the API suck less.  There is now only 1 type of each function,
17203                         ie only "getInteger" and no longer also "getIntegerv".  All types
17204                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17205                         that will never have more than 1 element.  This should simplify
17206                         things greatly.
17207
17208         * test/nm-dhcp-opt-test.c
17209                 - Make the tool not segfault
17210                 - adapt to new DHCP Options API
17211
17212 2005-03-22  Dan Williams <dcbw@redhat.com>
17213
17214         * src/NetworkManager.c
17215                 - (nm_wired_link_deactivated): actually ignore netlink events from
17216                         wireless devices.
17217
17218 2005-03-22  Dan Williams <dcbw@redhat.com>
17219
17220         * src/NetworkManager.c
17221                 - (nm_wired_link_activated): actually ignore netlink events from
17222                         wireless devices.
17223
17224 2005-03-17  Dan Williams <dcbw@redhat.com>
17225
17226         Patch from Tom Parker:
17227         * src/nm-netlink-monitor.c
17228                 - Include unistd.h
17229         * info-daemon/NetworkManagerInfoDbus.c
17230                 - (nmi_dbus_update_network_auth_method): free GConf values
17231
17232         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17233         * src/NetworkManagerDevice.c
17234                 - (nm_device_set_wireless_config): wait for successful
17235                         association longer for some cards (Atheros a/b/g)
17236
17237 2005-03-15  Ray Strode  <rstrode@redhat.com>
17238
17239         * src/NetworkManager.c:
17240         (sigterm_pipe_handler):
17241         remove bogus FIXME
17242
17243 2005-03-15  Ray Strode  <rstrode@redhat.com>
17244
17245         * src/NetworkManagerDbus.c:
17246         Fix some sign weirdness that gcc4 doesn't like,
17247         and add a header file so PPC can hopefully find
17248         SIGTRAP
17249
17250 2005-03-14  Ray Strode  <rstrode@redhat.com>
17251         
17252         Fourth (probably working) cut at porting to
17253         dbus 0.30 api and new hal. This cut adds
17254         some new logging macros to make debugging
17255         easier.
17256
17257         * dispatcher-daemon/NetworkManagerDispatcher.c:
17258         * info-daemon/NetworkmanagerInfo.c:
17259         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17260         * info-daemon/NetworkManagerInfoVPN.c:
17261         * src/NetworkManager.c:
17262         * src/NetworkManagerAP.c:
17263         * src/NetworkManagerAPList.c:
17264         * src/NetworkManagerDHCP.c:
17265         * src/NetworkManagerDbus.c:
17266         * src/NetworkManagerDevice.c:
17267         * src/NetworkManagerPolicy.c:
17268         * src/NetworkManagerSystem.c:
17269         * src/NetworkManagerUtils.c:
17270         * src/NetworkManagerWireless.c:
17271         * src/autoip.c:
17272         * src/nm-dbus-nm.c:
17273         * src/backends/NetworkManagerDebian.c:
17274         * src/backends/NetworkManagerGentoo.c:
17275         * src/backends/NetworkManagerRedHat.c:
17276         * src/backends/NetworkManagerSlackware.c:
17277         use new logging macros.
17278
17279         * dispatcher-daemon/NetworkManagerDispatcher.c:
17280         (nmd_dbus_filter): s/dbus_free/g_free/
17281
17282         * info-daemon/Makefile.am: link in utils library.
17283         * info-daemon/NetworkmanagerInfo.c: use new logging 
17284         macros.
17285         (nmi_dbus_get_network): don't assume enumerations
17286         are 32-bit.
17287         (nmi_dbus_nmi_message_handler): don't free what 
17288         doesn't belong to us.
17289
17290         * libnm_glib/libnm_glib.c:
17291         (libnm_glib_get_nm_status): 
17292         (libnm_glib_init): don't free what doesn't
17293         belong to us.
17294         (libnm_glib_dbus): strdup result, so it doesn't get
17295         lost when message is unref'd.
17296
17297         * panel-applet/NMWirelessAppletDbus.c:
17298         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17299
17300         * src/NetworkManager.c:
17301         (nm_monitor_wired_link_state): request initial status 
17302         dump of all cards when we start up, instead of relying
17303         on /sys/.../carrier.
17304         (nm_info_handler), (nm_set_up_log_handlers): 
17305         log handlers to specify what syslog priorites 
17306         the logging macros default to.
17307
17308         * src/NetworkManagerAPList.c: 
17309         (nm_ap_list_populate_from_nmi):
17310         s/dbus_free_string_array/g_strfreev/
17311
17312         * src/NetworkManagerDbus.c:
17313         (nm_dbus_get_network_object):
17314         validate d-bus message argument types.
17315         Advance message iterator after reading argument,
17316         prepend instead of append to GSList.
17317
17318         * src/NetworkManagerDevice.c:
17319         (nm_device_probe_wired_link_status):
17320         remove redundant /sys in /sys path. remove wrong
17321         contents == NULL means has carrier assumption.
17322
17323         * src/nm-netlink-monitor.c 
17324         (nm_netlink_monitor_request_status): implement
17325         function to ask kernel to dump interface link
17326         status over netlink socket.
17327
17328         * test/*.c: s/dbus_free/g_free/
17329
17330         * utils/nm-utils.h:
17331         (nm_print_backtrace): new macro to print backtrace.
17332         (nm_get_timestamp): new macro to get sub-second precise
17333         unix timestamp.
17334         (nm_info), (nm_debug), (nm_warning), (nm_error):
17335         new logging functions. nm_info just prints,
17336         nm_debug includes timestamp and function,
17337         nm_warning includes function, nm_error includes
17338         backtrace and sigtrap.
17339
17340 2005-03-11  Ray Strode  <rstrode@redhat.com>
17341
17342         Third (unfinished, partially working) cut at porting to 
17343         dbus 0.30 api and new hal.
17344
17345         * info-daemon/NetworkManagerInfoDbus.c:
17346                 don't free null arrays.
17347
17348         * panel-applet/NMWirelessAppletDbus.c: 
17349         * src/nm-dbus-device.c:
17350         * src/nm-dbus-net.c: 
17351         * src/NetworkManagerDbus.c: more 
17352         STRING -> OBJECT_PATH fun
17353         * src/NetworkManagerDevice.c:
17354         * src/NetworkManagerDevice.h:
17355         (rename nm_device_get_link_active): rename to 
17356         nm_device_has_active_link
17357         (nm_device_wireless_link_active): rename to
17358         nm_device_probe_wireless_link_state
17359         (nm_device_wired_link_active): rename to
17360         nm_device_probe_wired_link_state.  Rewrite to
17361         use carrier file since hal doesn't maintain
17362         link state anymore.
17363         (nm_device_update_link_active): rename to
17364         nm_device_update_link_state
17365         * src/NetworkManagerPolicy.c 
17366           (nm_policy_activation_finish): check for NULL
17367           MAC address.
17368
17369         * src/Makefile.am:
17370         * src/NetworkManagerMain.h: 
17371         * src/NetworkManager.c:
17372         * src/nm-netlink-monitor.c:
17373         * src/nm-netlink-monitor.h: New class to support
17374         monitoring wired ethernet link status, since HAL
17375         doesn't export that information anymore.
17376
17377 2005-03-09  Ray Strode  <rstrode@redhat.com>
17378
17379         Second (unfinished, unworking) cut at porting to 
17380         dbus 0.30 api.
17381
17382         * dispatcher-daemon/NetworkManagerDispatcher.c:
17383         * info-daemon/NetworkManagerInfoDbus.c:
17384         * panel-applet/NMWirelessAppletDbus.c:
17385         * src/NetworkManagerDbusUtils.c:
17386         * src/NetworkManagerDbusUtils.h:
17387         * src/nm-dbus-device.c:
17388         * src/nm-dbus-nm.c:
17389         * test/nmtest.c: support dbus "object path" type
17390
17391         * configure.in: 
17392         * Makefile.am:
17393         * info-daemon/Makefile.am:
17394         * libnm_glib/Makefile.am:
17395         * panel-applet/Makefile.am:
17396         * dispatcher-daemon/Makefile.am
17397         * src/Makefile.am:
17398         * test/Makefile.am:
17399         * utils/Makefile.am: 
17400         * utils/nm-utils.c: 
17401         * utils/nm-utils.h: new utils static lib
17402
17403 2005-03-07  Ray Strode  <rstrode@redhat.com>
17404
17405         * info-daemon/NetworkManagerInfoDbus.c:
17406         * libnm_glib/libnm_glib.c:
17407         * panel-applet/NMWirelessAppletDbus.c:
17408         * src/NetworkManager.c:
17409         * src/NetworkManagerDbus.c:
17410         * src/NetworkManagerDevice.c:
17411         * src/NetworkManagerUtils.c:
17412         * src/nm-dbus-device.c:
17413         * src/nm-dbus-dhcp.c:
17414         * src/nm-dbus-net.c:
17415         * src/nm-dbus-nm.c:
17416         * test/nminfotest.c:
17417         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17418
17419 2005-03-04  Dan Williams  <dcbw@redhat.com>
17420
17421         * configure.in
17422                 - Mark HEAD as 0.4
17423
17424 2005-03-04  Dan Williams  <dcbw@redhat.com>
17425
17426         Patch from Peter Jones:
17427         - Make stuff work with gcc 4.0
17428
17429 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17430
17431         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17432
17433 2005-02-27  Jim Huang  <jserv@kaffe.org>
17434
17435         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17436
17437 2005-02-27  Dan Williams  <dcbw@redhat.com>
17438
17439         Patch from Bill Moss:
17440         * panel-applet/NMWirelessAppletDbus.c
17441                 - Make sure strength for current access point is up-to-date when we
17442                         update the gui data model
17443
17444 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17445
17446         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17447
17448 2005-02-27  Dan Williams  <dcbw@redhat.com>
17449
17450         * src/backends/NetworkManagerRedHat.c
17451                 - (nm_system_init): Kill any dhclient processes lying around as well
17452                         as stopping 'nifd' if its already been started.  NetworkManager
17453                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17454
17455 2005-02-27  Dan Williams  <dcbw@redhat.com>
17456
17457         * panel-applet/NMWirelessApplet.c
17458                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17459                         dbus data model, not the GUI data model twice.
17460
17461 2005-02-27  Dan Williams  <dcbw@redhat.com>
17462
17463         * panel-applet/NMWirelessApplet.[ch]
17464           panel-applet/NMWirelessAppletDbus.[ch]
17465                 - Move to incremental network updates.  Instead of blowing away our list
17466                         of devices every time we get a signal from NetworkManager, we now
17467                         incrementally add/remove networks when NetworkManager notifies us that
17468                         a new network has appeared or disappered.  Strength updates now happen
17469                         on-the-fly for each access point as well.  There are now two copies of
17470                         data from NetworkManager: one for the dbus side, and one for the gui side.
17471                         When the dbus side data is modified, it is copied over to the gui side
17472                         so we don't have to hold the data_mutex for long periods of time (and
17473                         therefore block animation of the applet's icon).
17474                 - Clean up some memleaks too
17475
17476         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17477                 - Minor code beautification
17478
17479         * src/NetworkManagerAPList.c
17480                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17481                         completely new and whether or not an existing one's strength was updated.
17482                         Try to fix multiple access points and signal strength by using the highest
17483                         signal strength in each scan for any given ESSID.
17484
17485         * src/NetworkManagerDbus.[ch]
17486                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17487                         wireless networks; now we have only WirelessNetworkUpdate which includes
17488                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17489                 - Kill usage of DbusMessageIter
17490
17491         * src/NetworkManagerDevice.c
17492                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17493                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17494                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17495                         currently associated with from the network list.
17496                 - Update for new signals during scan, send out Appeared, Disappeared, or
17497                         StrengthChanged when necessary.
17498
17499 2005-02-25  Dan Williams  <dcbw@redhat.com>
17500
17501         * README
17502                 - Line break the README
17503
17504 2005-02-25  Dan Williams  <dcbw@redhat.com>
17505
17506         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17507                 - Remove usage of gtk_window_set_default_size()
17508
17509         * panel-applet/essid.glade
17510                 - Stick default size here
17511                 - Add in random crap that current glade wants to add in now
17512
17513 2005-02-25  Dan Williams  <dcbw@redhat.com>
17514
17515         * src/backends/NetworkManagerRedHat.c
17516                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17517                         and that we actually tell nscd to reload the hosts cache when it changes
17518
17519 2005-02-25  Dan Williams  <dcbw@redhat.com>
17520
17521         * info-daemon/NetworkManagerInfoDbus.c
17522                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17523
17524         * test/nminfotest.c
17525                 - Whack usage of DbusMessageIter
17526                 - Clean up DbusError and DbusMessage handling and freeing
17527                 - Remove unused unregister handler
17528
17529         * test/nmtest.c
17530                 - Whack usage of DbusMessageIter
17531
17532         * test/nmtestdevices.c
17533                 - Whack usage of DbusMessageIter
17534
17535 2005-02-25  Dan Williams  <dcbw@redhat.com>
17536
17537         * NetworkManager.h
17538                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17539                         signal
17540
17541 2005-02-25  Dan Williams  <dcbw@redhat.com>
17542
17543         * named/nm-named-manager.c
17544                 - Ensure that pid and watch variables for child named process get cleared out
17545                         when the child goes away.
17546
17547 2005-02-22  Dan Williams  <dcbw@redhat.com>
17548
17549         * src/NetworkManagerPolicy.c
17550                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17551                         and NULL out data->active_device so that we have to choose another one.
17552                         This may make NetworkManager keep attempting to connect to a wired network
17553                         if it fails, but if it keeps failing the wired network has more problems than
17554                         just NetworkManager.
17555
17556         * src/backends/NetworkManagerRedHat.c
17557                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17558                         is already running
17559
17560         * named/nm-named-manager.c
17561                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17562                         named so that the distro can flush whatever name service caching
17563                         daemon it uses
17564
17565 2005-02-21  Dan Williams  <dcbw@redhat.com>
17566
17567         * src/NetworkManagerDHCP.[ch]
17568                 - (nm_device_dhcp_remove_timeouts): new function
17569
17570         * src/NetworkManagerDevice.c
17571                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17572                         remove the DHCP timeouts.
17573
17574 2005-02-21  Dan Williams  <dcbw@redhat.com>
17575
17576         * panel-applet/NMWirelessApplet.[ch]
17577           panel-applet/menu-info.[ch]
17578                 - Give the panel applet some major love: menu items are no longer
17579                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17580                         This allows the applet to actually reflect theme changes correctly,
17581                         since themeing of subclassed items in GTK _sucks_.
17582
17583 2005-02-18  Dan Williams  <dcbw@redhat.com>
17584
17585         * libnm_glib/libnm_glib.[ch]
17586           test/libnm_glib_test.c
17587                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17588                         and its data, and doesn't have to free the callback data anymore
17589
17590 2005-02-18  Dan Williams  <dcbw@redhat.com>
17591
17592         * panel-applet/NMWirelessApplet.c
17593                 - Revert 2005-02-18 William Jon McCann fix for standard
17594                         copyright string until it passes 'make distcheck'.
17595                         With standard copyright string, xgettext complains
17596                         about "Non-ASCII string at ...".
17597
17598 2005-02-18  Dan Williams  <dcbw@redhat.com>
17599
17600         * panel-applet/essid.glade
17601           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17602                 - Correct spelling of "adaptor"->"adapter"
17603
17604 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17605
17606         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17607         (nmwa_about_cb): Use standard copyright string.  Update comment
17608         text to reflect that it is a notification area applet.  Remove
17609         leading newline in authors list.
17610         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17611         instead of on parent menu item activation.  Fixes #167550.
17612
17613 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17614
17615         * panel-applet/essid.glade: Capitalize items as per HIG.
17616           Fixes #167632
17617
17618 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17619
17620         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17621         files for GTK 2.4 or lower, since now public in GTK 2.6.
17622
17623         * panel-applet/essid.glade: Don't specify window size.
17624         
17625 2005-02-17  Dan Williams  <dcbw@redhat.com>
17626
17627         Caught by Bill Moss:
17628         * dhcpcd/client.c
17629                 - Time remaining for DHCP transaction calculation was incorrectly
17630                         inside a #ifdef DEBUG
17631
17632 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17633
17634         * configure.in: Added fr (French) to ALL_LINGUAS.
17635
17636 2005-02-14  Dan Williams  <dcbw@redhat.com>
17637
17638         * src/NetworkManagerDHCP.c
17639                 - (set_domain_searches): Fix free of invalid pointer
17640
17641 2005-02-14  Dan Williams  <dcbw@redhat.com>
17642
17643         Patch from Peter Jones:
17644         * dhcpcd/client.c
17645                 - Ensure we return RET_DHCP_CEASED everywhere we should
17646         * dhcpcd/udpipgen.c
17647                 - Use faster TOS for IP packets
17648                 - Don't set ip_id since we're UDP
17649
17650         Patch from Tomislav Vujec:
17651         * src/nm-dbus-dhcp.c
17652           test/nm-dhcp-opt-test.c
17653                 - Clean up warnings to enable cvs tree compilation.
17654
17655 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17656
17657         * configure.in
17658           po/hr.po
17659                 - Add the Croatian locale.
17660
17661 2005-02-14  Colin Walters  <walters@verbum.org>
17662
17663         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17664         list of domains to search.
17665         
17666         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17667
17668 2005-02-13  Dan Williams  <dcbw@redhat.com>
17669
17670         * dhcpcd/client.c
17671                 - Debug output cleanups of DHCP option printing and parsing.
17672
17673 2005-02-13  Dan Williams  <dcbw@redhat.com>
17674
17675         Patch from Dan Reed:  DHCP options D-BUS API
17676                 Exposes the DHCP options that a device receives to clients over D-BUS.
17677
17678         * configure.in
17679                 - A few cleanups
17680
17681         * dhcpcd/client.h
17682                 - Correct names, option length, and types for DHCP options
17683
17684         * dhcpcd/dhcpcd.[ch]
17685                 - Clarify function names that access DHCP options & data
17686
17687         * src/NetworkManagerDHCP.c
17688                 - Use new DHCP data access functions
17689
17690         * src/NetworkManagerDbus.c
17691                 - Message handler for DHCP functions
17692
17693         * src/nm-dbus-dhcp.[ch] (new)
17694                 - DHCP dbus methods
17695
17696         * test/nm-dhcp-opt-test.c
17697                 - Test DHCP D-BUS API and return all present DHCP options
17698
17699 2005-02-12  Dan Williams  <dcbw@redhat.com>
17700
17701         * test/Makefile.am
17702           test/nmclienttest.c
17703           test/nmtest.c
17704                 - Move nmclienttest.c -> nmtest.c
17705
17706 2005-02-12  Dan Williams  <dcbw@redhat.com>
17707
17708         * dhcpcd/buildmsg.c
17709                 - Pad DHCP packets until they are at least 300 bytes in size.
17710
17711 2005-02-11  Dan Williams  <dcbw@redhat.com>
17712
17713         * dhcpcd/client.c
17714                 - (dhcp_init): only print out client ID and class ID if they are specified
17715
17716         * src/NetworkManagerDbus.[ch]
17717           src/nm-dbus-nm.[ch]
17718           src/nm-dbus-device.[ch]
17719           src/nm-dbus-net.[ch]
17720                 - Move NM, Device, and Net functions to separate files and use the
17721                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17722                         method dispatching
17723
17724         * src/NetworkManagerDbusUtils.c
17725                 - Add new validate_method called before each dispatch (if present)
17726                         that can validate the method call
17727
17728         * src/NetworkManagerWireless.c
17729                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17730                         levels never to be evaluated
17731
17732         Patch from j@bootlab.org
17733         * src/NetworkManagerDevice.c
17734                 - Add typedef for "u64"
17735
17736         * src/backends/NetworkManagerDebian.c
17737                 - Copy in Dave Woodhouse's fixes for IPv6
17738
17739 2005-02-11  Dan Williams  <dcbw@redhat.com>
17740
17741         Patch from Dave Woodhouse for IPv6:
17742         * src/NetworkManagerUtils.c
17743                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17744                         and multicast addresses
17745
17746         * src/NetworkManagerDevice.c
17747                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17748                         after bringing up a card.
17749
17750 2005-02-10  Dan Williams  <dcbw@redhat.com>
17751
17752         Patch from Dave Woodhouse:
17753         * src/NetworkManagerSystem.h
17754           src/backends/NetworkManagerDebian.c
17755           src/backends/NetworkManagerGentoo.c
17756           src/backends/NetworkManagerSlackware.c
17757                 - New nm_system_device_add_ip6_link_address() function to add link-local
17758                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17759
17760         * src/backends/NetworkManagerRedHat.c
17761                 - (nm_system_device_add_ip6_link_address): implement
17762                 - (nm_system_device_flush_addresses): revert to previous behavior of
17763                         flushing all addresses
17764
17765 2005-02-10  Dan Williams  <dcbw@redhat.com>
17766
17767         Patch from Tom Parker:
17768         * src/NetworkManagerDevice.c
17769                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17770                         mii.h headers are broken, and instead use our own typedefs
17771
17772 2005-02-10  Dan Williams  <dcbw@redhat.com>
17773
17774         * dhcpcd/buildmsg.c
17775                 - (fill_host_and_class_id): only fill in client and class IDs if
17776                         they are set by callers.
17777
17778         * dhcpcd/client.c
17779                 - (class_id_setup): don't autogenerate a class ID, only use one
17780                         we're given, if any.
17781                 - (client_id_setup): don't autogenerate a client ID, only use one
17782                         we're given, if any.
17783
17784         * dhcpcd/dhcpcd.c
17785                 - (dhcp_interface_init): ensure that client options are correctly
17786                         NULL terminated
17787
17788         * src/NetworkManagerDHCP.c
17789                 - (nm_device_dhcp_request): pass hostname to dhcp library
17790
17791 2005-02-10  Dan Williams  <dcbw@redhat.com>
17792
17793         * dhcpcd/client.c
17794                 - #rh147661# Don't send kernel version in DHCP requests
17795
17796         * src/NetworkManagerSystem.h
17797           src/backends/NetworkManagerDebian.c
17798           src/backends/NetworkManagerGentoo.c
17799           src/backends/NetworkManagerRedHat.c
17800           src/backends/NetworkManagerSlackware.c
17801                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17802                         functions, they are no longer used anyway
17803
17804         * src/backends/NetworkManagerRedHat.c
17805                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17806                         addresses in an attempt to keep IPv6 local-scope addresses around
17807
17808 2005-02-10  Dan Williams  <dcbw@redhat.com>
17809
17810         * src/NetworkManager.c
17811                 - (nm_create_device_and_add_to_list): change the add message slightly
17812
17813         * src/NetworkManagerUtils.c
17814                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17815                         Return driver name to calling function
17816                 - (nm_get_driver_support_level): print out the driver a device is using
17817                         during the support check
17818
17819         Patch from Dave Woodhouse:
17820         * dhcpcd/udpipgen.c
17821                 - (in_cksum): copy last byte of odd-sized packets into a
17822                         'u_short' rather than a 'u_char', should fix wrong checksums
17823                         on big-endian platforms
17824
17825 2005-02-09  Dan Williams  <dcbw@redhat.com>
17826
17827         * Clean up usage of GSList objects and looping through their members
17828         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17829                 now.
17830         * Fix problem where even if scanning was turned off, card would still
17831                 cycle through frequencies.
17832
17833 2005-02-08  Dan Williams  <dcbw@redhat.com>
17834
17835         * panel-applet/NMWirelessApplet.c
17836                 - Fix for gtk 2.4
17837
17838 2005-02-08  Dan Williams  <dcbw@redhat.com>
17839
17840         Patch from Bill Moss
17841         * panel-applet/NMWirelessApplet.c
17842                 - Restore correct ESSID in tooltips
17843
17844 2005-02-07  Dan Williams  <dcbw@redhat.com>
17845
17846         * panel-applet/NMWirelessApplet.[ch]
17847                 - Add a context menu that contains:
17848                         Pause/Resume Wireless Scanning
17849                         Stop/Start All Wireless Devices
17850                         About...
17851                 - Grab active device strength off active device,
17852                         not its network
17853
17854         * panel-applet/NMWirelessAppletDbus.[ch]
17855                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17856                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17857                 - Update active device strength every 2 seconds, not every 1 second
17858
17859         * panel-applet/menu-info.c
17860                 - Only disable wired devices in the menu when they support carrier detection,
17861                         and don't currently have a link.  Non-carrier-detect devices will always
17862                         remain choosable
17863
17864         * src/Makefile.am
17865           src/NetworkManagerDbusUtils.[ch]
17866                 - Add new new dbus utils sources
17867
17868         * src/NetworkManager.c
17869                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17870                         with the boolean parameter
17871                 - Set scanning_enabled & wireless_enabled to TRUE
17872
17873         * src/NetworkManagerDbus.c
17874                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17875                 - Implement scanning & wireless enable/disable calls
17876                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17877
17878         * src/NetworkManagerDevice.c
17879                 - New link detection stuff again...
17880                         o  Create device's mainloop earlier (but don't run it earlier)
17881                         o  Hook up new carrier-detect support stuff
17882                         o  Add in the ethtool & mii support detection code
17883                 - Don't scan if scanning is disabled
17884
17885         * src/NetworkManagerPolicy.c
17886                 - Never automatically choose a device that doesn't support carrier detection
17887                 - Don't automatically choose a wireless device if wireless is disabled
17888
17889 2005-02-07  Dan Williams  <dcbw@redhat.com>
17890
17891         * libnm_glib/libnm_glib.c
17892                 - Small cleanup in element list iteration
17893
17894 2005-02-07  Dan Williams  <dcbw@redhat.com>
17895
17896         * src/NetworkManagerWireless.c
17897                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17898                         to be in line with the WEXT quality specification
17899
17900 2005-02-02  Dan Williams  <dcbw@redhat.com>
17901
17902         Patch from Nathan Fredrickson <nathan@silverorange.com>
17903         * Fix up compile for deprecation of libgnomeui
17904                 - Switch to <glib/gi18n.h> from <libintl.h>
17905                 - Remove <libgnomeui/libgnomeui.h> includes
17906                 - Use gtk_window_set_default_icon_from_file() rather than
17907                         gnome_window_set_default_icon_from_file()
17908
17909         * named/nm-named-manager.c
17910                 - (generate_named_conf): Fix return-nothing in non-void
17911                         function
17912
17913 2005-02-02  Dan Williams  <dcbw@redhat.com>
17914
17915         * Clean up unused variables and the like
17916
17917 2005-02-02  Dan Williams  <dcbw@redhat.com>
17918
17919         * src/NetworkManagerAPList.c
17920                 - (nm_ap_list_merge_scanned_ap): merge strength too
17921
17922         * src/NetworkManagerUtils.c
17923                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17924                         of locking issues by printing out prettier information than g_mutex_lock
17925                 - Print out names of mutexes registered with nm_register_mutex_desc()
17926                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17927                         us to seemingly block here for too long
17928
17929         * src/NetworkManager.c
17930           src/NetworkManagerAPList.c
17931           src/NetworkManagerDevice.c
17932                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17933                         so we get better debug information printed
17934
17935         * src/NetworkManagerDbus.c
17936                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17937                         since it sometimes has locking side effects
17938                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17939                         from 10s
17940                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17941                         we don't need a switch.  This gets called often enough that we can't block
17942                         until the scan mutex is acquired, because we'll block on device activation
17943                         and a few other things, which hangs main thread for too long.
17944
17945         * src/NetworkManagerPolicy.c
17946                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17947                         nm_device_need_ap_switch() will be called               
17948
17949 2005-02-02  Dan Williams  <dcbw@redhat.com>
17950
17951         * panel-applet/NMWirelessApplet.c
17952                 - Display name of wireless network we are connecting to or connected to
17953                         in the tooltip of the applet
17954
17955 2005-02-02  Dan Williams  <dcbw@redhat.com>
17956
17957         * src/NetworkManagerDHCP.c
17958                 - Hopefully fix double-default-route problem by cleaning up the default
17959                         route added by DHCP code right before the DHCP transaction begins
17960
17961 2005-02-02  Dan Williams  <dcbw@redhat.com>
17962
17963         * named/nm-named-manager.c
17964                 - Write out valid resolv.conf when we exit
17965
17966 2005-02-01  Dan Williams  <dcbw@redhat.com>
17967
17968         Patch from Colin Walters:
17969         * named/nm-named-manager.c
17970                 - Make multi-domain search options work
17971
17972 2005-01-31  Dan Williams  <dcbw@redhat.com>
17973
17974         * info-daemon/NetworkManagerInfoDbus.c
17975                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17976
17977         * src/NetworkManagerDevice.c
17978                 - (nm_device_new): Don't store the entire range struct, use only what we need
17979                         (which is currently avg_quality, max_quality, and frequencies).  Also
17980                         zero device structure when we've free'd it to maybe expose errors down
17981                         the line.
17982                 - (nm_device_update_signal_strength): grab the scan mutex before getting
17983                         quality data from the card since quality will be useless during a scan.
17984                         Call updated wireless qual-to-percent function with values stored in
17985                         nm_device_new() earlier.
17986                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17987                         nm_device_get_bad_crypt_packets())
17988                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17989                         nm_device_new()
17990                 - (get_initial_auth_method): always use the Auth method that's in the allowed
17991                         list if available.  Problem was this: when the WEP key is wrong, NM will
17992                         try OS then SK modes, and then get stuck in SK mode after that.  This
17993                         should reset it.
17994                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17995                         function
17996
17997         * src/NetworkManagerWireless.c
17998                 - (nm_wireless_qual_to_percent): try to make this function actually work and
17999                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
18000                         if that's all present, otherwise fall back to signal-to-noise ratios.
18001
18002 2005-01-29  Dan Williams  <dcbw@redhat.com>
18003
18004         * initscript/RedHat/NetworkManager
18005                 - Don't spit out sysctl stuff to console
18006
18007         * libnm_glib/libnm_glib.c
18008                 - (libnm_glib_init): call dbus_g_thread_init()
18009
18010         * panel-applet/NMWirelessAppletDbus.c
18011                 - (nmwa_dbus_worker): call dbus_g_thread_init()
18012
18013         * src/NetworkManager.c
18014                 - (main): call dbus_g_thread_init()
18015
18016         * src/NetworkManagerAPList.c
18017                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18018                         so we can actually see what's there in a normal syslog
18019
18020         * src/NetworkManagerDevice.c
18021                 - (nm_device_activate_wireless): print out the "waiting for access point"
18022                         message only once, then say what access point we actually got after
18023                         the wait.
18024                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18025                         function, wait until the scan is done.  Scans may change the ESSID of
18026                         the card, making this function think we need to switch access points
18027                 - (nm_device_wireless_process_scan_results): for artificial access points
18028                         don't check against the card's ESSID, but the best_ap's ESSID.  This
18029                         prevents collisions with the scanning code, which may change the card's
18030                         ESSID and cause the access point to get dropped from the device's AP
18031                         list.  Also increase the keep-around time to 2m from 60s since the max
18032                         scan interval could be 60s in some cases.
18033
18034         * src/NetworkManagerPolicy.c
18035                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18036                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18037                         the new properties and ESSIDs to the device's AP list.  Fixes some races
18038                         between NM and NMI.
18039
18040 2005-01-27  Dan Williams  <dcbw@redhat.com>
18041
18042         * info-daemon/NetworkManagerInfoDbus.c
18043                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18044                         GConf, make a minimal entry for it (essid & timestamp)
18045
18046         * src/NetworkManagerAPList.c
18047                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18048                         NetworkManagerInfo isn't running
18049
18050         * src/NetworkManagerDbus.[ch]
18051                 - (nm_dbus_nmi_is_running): new function
18052
18053         * src/NetworkManagerDevice.c
18054                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18055                         address to garbage.
18056
18057         * src/NetworkManagerPolicy.c
18058                 - (nm_policy_activation_finish): On successful activation, make sure
18059                         the "best" AP has a MAC address, and don't tell NMI to add the
18060                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18061                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18062                         access point after refreshing our allowed list if it doesn't already
18063                         have a "best" access point.
18064
18065 2005-01-25  Dan Williams  <dcbw@redhat.com>
18066
18067         * panel-applet/NMWirelessAppletDbus.c
18068                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18069                         so we check for NM_DBUS_SERVICE rather than not for it
18070
18071         * libnm_glib/libnm_glib.c
18072                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18073                         ServiceOwnerChanged signal
18074
18075 2005-01-25  Dan Williams  <dcbw@redhat.com>
18076
18077         * configure.in
18078                 - Check DBUS version in configure, and set the C macros
18079                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18080
18081         * info-daemon/NetworkManagerInfoDbus.c
18082                 - Remove #if 0-d section of code that quit NMI if NM went away.
18083
18084         * panel-applet/NMWirelessAppletDbus.c
18085                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18086
18087         * src/NetworkManager.c
18088           src/NetworkManagerMain.h
18089           src/NetworkManagerDbus.c
18090                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18091                 - Make updating of our Allowed Wireless Network lists from NMI
18092                         an idle function in the main thread now, with a high priority.
18093
18094 2005-01-24  Dan Williams  <dcbw@redhat.com>
18095
18096         * panel-applet/gtkcellview.[ch]
18097           panel-applet/menu-info.c
18098                 - Fix GTK version checks to be <= rather than <
18099
18100         * test/Makefile.am
18101                 - Include the libtool archive of libnm_glib rather than
18102                         trying to pull in the .so
18103
18104 2005-01-24  Dan Williams  <dcbw@redhat.com>
18105
18106         * src/NetworkManagerDevice.c
18107           src/NetworkManagerDevicePrivate.h
18108                 - Block nm_device_new() until our device's worker thread has had a
18109                         chance to start up.  Fixes a race between main thread and worker
18110                         thread starting that caused activation requests to get lost.
18111
18112 2005-01-24  Dan Williams  <dcbw@redhat.com>
18113
18114         * initscript/RedHat/NetworkManager
18115                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18116                         to add the NM startup script at priority 50, which was
18117                         way too early
18118
18119 2005-01-24  Colin Walters  <walters@redhat.com>
18120
18121         * named/named.conf: Use any port for query source instead of
18122         restricting to port 53.
18123
18124 2005-01-24  Dan Williams  <dcbw@redhat.com>
18125
18126         * initscript/RedHat/NetworkManager
18127                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18128                         to add the NM startup script at priority 50, which was
18129                         way too early
18130
18131 2005-01-24  Dan Williams  <dcbw@redhat.com>
18132
18133         Patch from Tom Parker <palfrey@tevp.net>
18134         * Fix up compile warnings & errors in the wireless applet
18135
18136 2005-01-24  Dan Williams  <dcbw@redhat.com>
18137
18138         * panel-applet/NMWirelessApplet.c
18139                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18140
18141 2005-01-24  Dan Williams  <dcbw@redhat.com>
18142
18143         * panel-applet/gtkcellview.[ch]
18144                 - Only compile these files for GTK 2.4 or lower, since 
18145                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18146                         when choosing "Other Wireless Networks" from the panel
18147                         applet menu
18148
18149 2005-01-21  Dan Williams  <dcbw@redhat.com>
18150
18151         * src/NetworkManager.c
18152                 - Daemonize earlier so that glib doesn't get confused (?)
18153
18154 2005-01-21  Dan Williams  <dcbw@redhat.com>
18155
18156         * panel-applet/NMWirelessApplet.[ch]
18157           panel-applet/NMWirelessAppletDbus.c
18158           panel-applet/menu-info.c
18159           src/NetworkManagerDevice.c
18160                 - Disable wired devices in the menu when they have no link.
18161
18162 2005-01-21  Dan Williams  <dcbw@redhat.com>
18163
18164         * Cache last-known-good wireless authentication method in
18165                 NetworkManagerInfo, and use that method first during
18166                 wireless device activation.  Should speed up devices that
18167                 need Shared Key authentication method since Open System is
18168                 now the default.
18169
18170         * Remove the hack to not do full activation on wired connections
18171                 that are active when we launch, it causes too many problems
18172                 with name resolution and was a hack in the first place.
18173
18174         * Re-work wireless device activation again somewhat to have a
18175                 clearer chain of events and to use last-known-good
18176                 authentication method of the access point.  Also provide
18177                 better status throughout activation to ensure the applet
18178                 can tell the user exactly what's going on.
18179
18180         * Remove the "find wireless network" code and now simply attempt
18181                 to activate with that access point.  This reduces the delay
18182                 between selecting "Other wireless Network" and actually
18183                 connecting to that network.
18184
18185         * Correctly stop the device's worker thread when its removed.
18186
18187 2005-01-21  Dan Williams  <dcbw@redhat.com>
18188
18189         * dhcpcd/client.c
18190                 - Clean up some of the debug messages
18191
18192 2005-01-21  Dan Williams  <dcbw@redhat.com>
18193
18194         * Add new icons, more frames of animation
18195         * Remove some hacks to get the panel applet to display correct
18196                 status, an NM update will soon follow that will fix the
18197                 real issue.
18198
18199 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18200
18201         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18202         the first include for working i18n. Also, don't include it in .h files
18203         * panel-applet/NMWirelessApplet.h: Same
18204         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18205         * panel-applet/menu-info.c: Same
18206
18207 2005-01-18  Dan Williams <dcbw@redhat.com>
18208
18209         * dhcpcd/client.c
18210                 - Remove some debug messages
18211                 - Wrap others in #ifdef DEBUG/#endif
18212
18213         * src/NetworkManager.c
18214                 - Remove some debug messages
18215                 - Clarify some debug messages
18216                 - Remove code related to old single-thread wireless scanning
18217
18218         * src/NetworkManagerAP.[ch]
18219                 - New AP property "last_seen" to track how recently an AP was
18220                         found in a scan
18221                 - Start using 'const' more in function arguments
18222
18223         * src/NetworkManagerAPList.[ch]
18224                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18225                         of an AP found in an AP list from a source AP, or if not found
18226                         in the list add the source AP
18227                 - (nm_ap_list_combine): remove, no longer needed
18228
18229         * src/NetworkManagerDevice.c
18230                 - Each device now has a "worker" thread from start to end of its life.
18231                         Scanning for wireless devices now happens in that thread,
18232                         not in a single "wireless scanning thread" for all devices as
18233                         previously.  Activation consists of adding an idle handler to the
18234                         thread's main loop/context, which gets run at the next available
18235                         opportunity.
18236                 - Wireless scanning is also simplified, there is now only one list of
18237                         access points per wireless device, and APs older than 60s are
18238                         removed from the list.  Previously, we kept results for the last
18239                         3 scans and merged whole lists, which was complicated.
18240                 - Cleaned up activation debug messages.
18241                 - Wireless activation and access-point search routines now use Open System
18242                         authentication before trying Shared Key.
18243                 - Removed some code in nm_device_update_best_ap() that could cause cards
18244                         to loose their link to the access point.
18245                 - Scanning now uses a backoff algorithm, where the inverval becomes
18246                         progressively longer between scans when the list of scanned access
18247                         points doesn't change.  A change will revert to the shortest scan
18248                         interval (20s).
18249
18250         * src/NetworkManagerWireless.[ch]
18251                 - Remove code related to old single-thread wireless scanning
18252
18253 2005-01-18  Colin Walters  <walters@redhat.com>
18254
18255         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18256         of older nameservers.
18257
18258 2005-01-18  Colin Walters  <walters@redhat.com>
18259
18260         * named/nm-named-manager.c (generate_named_conf): Many fixes
18261         to config file generation.
18262         (safer_kill): Remove, was too much trouble for little gain.
18263         (nm_named_manager_start): Run named as NM_NAMED_USER.
18264
18265         * configure.in: Add option --with-named-user.
18266
18267 2005-01-14  Colin Walters  <walters@redhat.com>
18268
18269         Patch from ed@catmur.co.uk (Ed Catmur)
18270
18271         * named/nm-named-manager.c: Add "context" property.
18272         Use it to add child watch source in specific GMainContext.
18273
18274         * src/NetworkManager.c (nm_data_new): Initialize
18275         named with correct main context.  Start named only
18276         after forking.
18277
18278 2005-01-14  Colin Walters  <walters@redhat.com>
18279
18280         * named/nm-named-manager.c (generate_named_conf): Write config
18281         and pid files into NM_NAMED_DATA_DIR; this allows things to
18282         work better with FC3 named SELinux policy.  Also fix up silly
18283         format error.
18284
18285         * configure.in: Add --with-named-dir option.
18286
18287 2005-01-14  Colin Walters  <walters@redhat.com>
18288
18289         * configure.in: Make named support require passing --with-named.
18290
18291         * named/nm-named-manager.c: Support writing resolv.conf directly
18292         without running named.
18293
18294 2005-01-13  Dan Williams <dcbw@redhat.com>
18295
18296         * named/nm-named-manager.c
18297                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18298
18299         * src/NetworkManagerDevice.c
18300                 - Rework wireless link detection code to be more reliable
18301
18302 2005-01-12  Dan Williams <dcbw@redhat.com>
18303
18304         * initscripts/RedHat/NetworkManager
18305                 - Change initial level to "-" rather than "345" so that
18306                         we don't activate ourselves by default on install
18307
18308 2005-01-12  Dan Williams <dcbw@redhat.com>
18309
18310         * libnm_glib/
18311                 - Client library for applications using glib
18312
18313         * configure.in
18314           various Makefiles
18315                 - Split NM_CFLAGS and NM_LIBS into separate variables
18316                         like DBUS_*, HAL_* and GLIB_*
18317
18318         * src/NetworkManager.c
18319           src/NetworkManagerMain.h
18320                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18321                         broadcast a status changed signal over DBUS from the main thread.
18322                         Still unused anywhere for the moment.
18323
18324         Patch from j@bootlab.org
18325         * panel_applet/NMWirelessAppletDbus.c
18326           src/NetworkManagerDbus.c
18327                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18328                         for the "getMode" method call
18329
18330 2005-01-10  Dan Williams <dcbw@redhat.com>
18331
18332         * src/NetworkManagerDevice.c
18333                 - Minor fixups & corrections to "auto" frequency mode, make it
18334                         less chatty with syslog
18335
18336 2005-01-10  Dan Williams <dcbw@redhat.com>
18337
18338         * src/NetworkManagerDevice.c
18339                 - Implement "auto" frequency/channel support, since cards like Atheros
18340                         can't use other frequencies at all when you've told it to use a
18341                         specific one, even for scanning.
18342                 - Grab the scan mutex around places where we can't tolerate wireless
18343                         settings changing underneath us, like nm_device_wireless_network_exists()
18344                         and nm_device_activate_wireless()
18345
18346         * src/NetworkManagerWireless.c
18347                 - Back scan interval off to 20s instead of 14s
18348
18349 2005-01-09  Dan Williams <dcbw@redhat.com>
18350
18351         * src/NetworkManagerDevice.c
18352                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18353                         already set.  Stops some drivers like Atmel from continually
18354                         reloading the firmware, which they do upon every configuration
18355                         change.
18356
18357 2005-01-09  Dan Williams <dcbw@redhat.com>
18358
18359         * dhcpcd/client.c
18360                 - Use correct timeout value
18361
18362         * info-daemon/NetworkManagerInfoDbus.c
18363           src/NetworkManagerDbus.c
18364                 - Consolidate communication between NM and NMI by doing only 1 dbus
18365                         method call to get Wireless Network info from NMI instead of 6
18366
18367         * src/NetworkManager.c
18368                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18369                         when we didn't have an AP to use, we'd wait for one forever without
18370                         quitting
18371
18372         * src/NetworkManagerDevice.c
18373                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18374                         activation, dhcp might not have started yet but we don't quit activation
18375                         before starting it, so the quit signal gets lost
18376
18377 2005-01-07  Dan Williams <dcbw@redhat.com>
18378
18379         * dhcpcd/client.c
18380                 - Rework the DHCP client code to be much less chatty when
18381                         it receives non-DHCP UDP packets during the DHCP run
18382                         (reported by and preliminary patches from Bill Moss)
18383
18384         * Move wireless scanning to a separate thread.  This thread forwards the
18385                 results to the main thread when done where they are integrated into
18386                 the device's access point lists.  This keeps the main thread (which
18387                 does all the DBUS communication) from being blocked for long periods
18388                 of time by wireless scanning.
18389
18390         * Make state modification an idle routine in the main loop, and trigger
18391                 state changes rather than polling for them.
18392
18393         * src/backends/NetworkManagerGentoo.c
18394                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18395
18396         * src/NetworkManagerDevice.c
18397                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18398                         router advertisements, causing problems and infinite loop
18399                         during "best" device determination due to link going up/down
18400                         (reported by Bill Moss)
18401
18402         Apply patch from Peter Jones
18403         * src/NetworkManagerDevice.c
18404                 - Shortcut for link-checking for ipw2x00 cards
18405                 - Split out association check into separate routine
18406
18407 2004-01-05  Colin Walters  <walters@redhat.com>
18408
18409         * named/named.conf: Add PID_FILE.
18410
18411         * named/nm-named-manager.c: Always generate a pid
18412         file, since older BIND versions don't support
18413         "pid-file none".
18414
18415 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18416
18417         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18418
18419 2004-12-22  Dan Williams <dcbw@redhat.com>
18420
18421         * src/NetworkManagerDevice.c
18422                 - Silently fail when setting bitrate doesn't work
18423
18424
18425         Patches from j@bootlab.org:
18426         * src/backends/NetworkManagerDebian
18427                 - Update backend to match functionality in RedHat backend
18428         * src/NetworkManagerDevice.c
18429                 - Take down then bring up wired devices after connection so
18430                 they send out ipv6 router advertisements
18431
18432 2004-12-21  Colin Walters  <walters@verbum.org>
18433
18434         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18435         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18436
18437 2004-12-21  Colin Walters  <walters@redhat.com>
18438
18439         * configure.in: Correct named detection.
18440
18441 2004-12-21  Colin Walters  <walters@redhat.com>
18442
18443         * src/NetworkManager.c (nm_data_new): Initialize named.
18444         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18445         the mainloop when these signals are received.
18446         (nm_data_free): Unref named.
18447         (sigterm_handler, sigterm_pipe_handler): New functions for
18448         exiting mainloop.
18449         
18450         * src/NetworkManagerMain.h (NMData): Add signal handling and
18451         nameserver bits.
18452
18453         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18454         unref.
18455
18456         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18457         set nameservers from DHCP response data.
18458         (set_domain_search): Set domain search from DHCP response.
18459         (nm_device_dhcp_configure): Invoke them.
18460
18461         * src/NetworkManagerSystem.c
18462         (nm_system_device_update_resolv_conf): Delete.  Deleting
18463         code is totally sweet.
18464
18465         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18466
18467         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18468         implements an object which controls a nameserver.  Currently
18469         uses bind 9.
18470
18471         * configure.in: Check for named.
18472
18473         * Makefile.am (SUBDIRS): Add named dir.
18474
18475         * named/named.conf: New template config file.
18476
18477 2004-12-20  Colin Walters  <walters@redhat.com>
18478
18479         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18480         instead of '='.
18481
18482 2004-12-17  Dan Williams  <dcbw@redhat.com>
18483
18484         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18485                 link-local addresses instead of doing DHCP.
18486
18487         * In the panel applet, there's a new "Create new Wireless Network..." item
18488
18489         * The panel applet also sticks around now even if NetworkManager dies, but
18490                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18491                 a bug, I'll fix that later.
18492
18493         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18494                 lookups after a switch rather than actually doing them.
18495
18496         * Clean up some of those warnings in nm_ap_list_* functions
18497
18498         * Delay between scans changed to 15s instead of 10s
18499
18500 2004-12-15  Dan Williams  <dcbw@redhat.com>
18501
18502         Patch from Tom Parker
18503         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18504                 address
18505
18506         * Longer pause after setting ESSID on cards that support a larger number
18507                 of channels to give the card time to find the right channel
18508
18509         * Add system hook to restart mDNSResponder (or whatever the local implementation
18510                 of Multicast DNS is) when we activate interfaces
18511
18512 2004-12-15  Dan Williams  <dcbw@redhat.com>
18513
18514         * Rework the DHCP code again to revert to sending full ethernet frames
18515                 rather then relying on the kernel to do the right thing with our
18516                 packets.
18517
18518 2004-12-06  Dan Williams  <dcbw@redhat.com>
18519
18520         * dhcpcd/client.c
18521                 - Fix some minor errors in dhcp_handle_transaction() that caused
18522                         unexpected early timeouts of DHCP transactions
18523
18524         * dhcpcd/client.h
18525                 - DHCP retransmit time from 4s -> 5s
18526
18527 2004-12-05  Dan Williams  <dcbw@redhat.com>
18528
18529         * Major rework of the DHCP code, taking some cues from pump.  We don't
18530                 write raw Ethernet packets anymore, which simplifies the code quite
18531                 a bit.  The new code should be more robust, not hang in recvfrom()
18532                 as much, and generally work better.  This also means that we need
18533                 to force HAL/dbus to use a created GMainContext rather than the
18534                 default context, since having the DHCP renew/rebind thread using
18535                 its own GMainContext seemed to give dbus a fit.  There is also more
18536                 debugging information printed from the DHCP loop to help with future
18537                 problems.
18538
18539         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18540                 assume that the default gateway should be the DHCP server.
18541
18542         Patch from Matthew Schick <matt oss-institute org>
18543         * src/backends/NetworkManagerGentoo.c
18544                 - Fix compilation error due to missing "ip4_broadcast"
18545
18546 2004-12-03  Dan Williams  <dcbw@redhat.com>
18547
18548         * initscript/Makefile.am
18549         * initscript/Debian/NetworkManager
18550         * initscript/Gentoo/NetworkManager
18551         * initscript/RedHat/NetworkManager
18552         * initscript/NMLaunchHelper.c
18553                 - Remove NMLaunchHelper, if you need to wait until the network
18554                         comes up, use the dead code from CVS.
18555
18556 2004-12-01  Colin Walters  <walters@redhat.com>
18557         
18558         * configure.in: Suck in gcc warnings code from Rhythmbox,
18559         but use fewer default flags, and in particular add -Wno-unused,
18560         since the codebase has a lot of unused variables.
18561
18562         * test/nmtestdevices.c (create_device): 
18563         * test/nminfotest.c (get_network_string_property) 
18564         (get_networks_of_type): 
18565         * test/nmclienttest.c (main): 
18566         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18567         * initscript/NMLaunchHelper.c (get_nm_status): 
18568         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18569         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18570         Fix declarations after statements.
18571
18572 2004-12-01  Colin Walters  <walters@redhat.com>
18573
18574         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18575         (nmi_dbus_get_vpn_userpass): New method.
18576         (nmi_dbus_nmi_message_handler): Invoke it.
18577
18578         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18579
18580         * info-daemon/NetworkManagerInfoVPN.h,
18581         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18582         to requests for VPN passwords.
18583
18584         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18585
18586 2004-12-01  Colin Walters  <walters@redhat.com>
18587
18588         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18589         includes.
18590
18591 2004-12-01  Colin Walters  <walters@redhat.com>
18592
18593         * panel-applet/NMWirelessAppletDbus.c
18594         (nmwa_dbus_update_active_device_strength): Fix missing
18595         return value.
18596
18597 2004-12-01  Colin Walters  <walters@redhat.com>
18598
18599         * panel-applet/NMWirelessApplet.c: Add missing include.
18600
18601 2004-12-01  Colin Walters  <walters@redhat.com>
18602
18603         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18604         Remove useless CLAMP (); the value is unsigned, and the case tests
18605         qual->qual < 100, so the value must always be between 0 and 100.
18606
18607 2004-12-01  Colin Walters  <walters@redhat.com>
18608
18609         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18610
18611 2004-11-22  Colin Walters  <walters@verbum.org>
18612
18613         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18614         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18615         which is essentially a noop since nscd caches hosts on disk too.
18616         
18617 2004-11-22  Colin Walters  <walters@redhat.com>
18618
18619         * src/Makefile.am (NetworkManager_SOURCES): Add
18620         NetworkManagerDevicePrivate.h.
18621
18622 2004-11-22  Dan Williams <dcbw@redhat.com>
18623
18624         * src/NetworkManagerDevicePrivate.h
18625                 - Split out the NMDevice struct to a different file so that stuff like
18626                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18627
18628         * dhcpcd/client.c
18629                 - fprintf->syslog
18630                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18631                         need to cancel the dhcp request during the send and recv
18632
18633         * dhcpcd/client.h
18634                 - Move the DHCP option enum to dhcpcd.h
18635
18636         * src/NetworkManagerDHCP.c
18637                 - Split out the actual IP/netmask/etc setting code
18638                 - New Renew/Rebind functions
18639                 - New timer setup function for renew/rebind operations
18640
18641         * src/NetworkManagerDevice.c
18642                 - For device activation, if we are using DHCP then keep the activation thread
18643                         alive until device deactivation.  We need to renew/rebind the DHCP address
18644                         after the T1 (renew) and T2 (rebind) times have expired.
18645                 - Increase some timeouts after bringing wireless cards up/down
18646
18647 2004-11-17  Dan Williams <dcbw@redhat.com>
18648
18649         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18650                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18651                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18652                 show known access points that don't broadcast their ESSID in the menus without
18653                 any user intervention whatsoever.
18654
18655         * info-daemon/NetworkManagerInfoDbus.c
18656                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18657                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18658
18659         * src/NetworkManagerAP.[ch]
18660                 - Add a "user_addresses" data member to the NMAccessPoint structure
18661                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18662                         the user_addresses data member
18663
18664         * src/NetworkManagerAPList.c
18665                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18666                         the AP's reported address
18667                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18668
18669         * src/NetworkManagerDHCP.c
18670                 - Increase DHCP timeout from 25s -> 30s
18671
18672         * src/NetworkManagerDbus.[ch]
18673                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18674                         user addresses
18675
18676         * src/NetworkManagerDevice.c
18677                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18678                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18679                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18680                         So, we take the card down to clear it out.
18681                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18682                         too, since that's where the user_addresses are
18683
18684         * src/NetworkManagerPolicy.c
18685                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18686                         that wireless networks' user_addresses list upon successful activation
18687
18688 2004-11-16  Dan Williams <dcbw@redhat.com>
18689
18690         * src/NetworkManagerDevice.[ch]
18691                 - (nm_device_clear_activation_fail): new function
18692
18693         * src/NetworkManagerPolicy.c
18694                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18695                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18696
18697 2004-11-16  Dan Williams <dcbw@redhat.com>
18698
18699         * src/NetworkManagerDevice.c
18700                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18701                         leak the structure, better updating of now_scanning status
18702                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18703
18704 2004-11-15  Dan Williams <dcbw@redhat.com>
18705
18706         Major rework of link detection code.  We now use DHCP
18707         as part of the link detection which proves to be much more robust,
18708         and also supports Open System authentication for wireless networks.
18709
18710         We no longer use external DHCP client programs.  Instead, we use 
18711         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18712         which was written by:
18713                 Yoichi Hariguchi <yoichi@fore.com>
18714                 Sergei Viznyuk <sv@phystech.com>
18715                 http://www.phystech.com/download/
18716         It resides in the "dhcpcd" directory and was refactored into a general
18717         purpose DHCP client library by me.
18718
18719         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18720         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18721
18722 2004-11-15  Dan Williams <dcbw@redhat.com>
18723
18724         Patch from Tom Parker <palfrey@tevp.net>:
18725
18726         * src/NetworkManagerDevice.c
18727                 - Less output to console when no access
18728                         points are found during a scan
18729
18730 2004-11-15  Dan Williams <dcbw@redhat.com>
18731
18732         Patch from Tom Parker <palfrey@tevp.net>:
18733
18734         * src/backends/interface_parser.c
18735                 - Use g_strdup ()
18736                 - Check for inp == NULL
18737                 - use syslog ()
18738
18739 2004-11-13  Colin Walters  <walters@redhat.com>
18740
18741         Patch from Tom Parker <palfrey@tevp.net>:
18742
18743         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18744         
18745         * src/backends/NetworkManagerRedHat.c: Switch to
18746         including shvar.h instead of shvar.c.
18747
18748         * src/backends/NetworkManagerDebian.c: Don't include
18749         interface_parser.c in source file.
18750
18751         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18752         and interface_parser.[ch].
18753         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18754         Include shvar.c and shvar.h here.
18755         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18756         interface_parser.c and interface_parser.h here.
18757
18758 2004-11-12  Colin Walters  <walters@redhat.com>
18759
18760         * configure.in: Strip out TARGET_DISTRO and
18761         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18762         conditionals.
18763
18764         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18765         (libnmbackend_la_SOURCES): Use Automake conditionals
18766         to add distro-specific files.
18767
18768         * initscript/Makefile.am (SUBDIRS): Update to
18769         use conditionals.
18770
18771 2004-11-12  Colin Walters  <walters@redhat.com>
18772
18773         Patches from j bootlab org
18774
18775         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18776         Add interface_parser.[ch].
18777
18778         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18779         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18780
18781 2004-11-12  Colin Walters  <walters@redhat.com>
18782
18783         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18784         call to nmi_dbus_is_running too, not necessary anymore.
18785         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18786         pick up exit().
18787
18788 2004-11-11  Colin Walters  <walters@verbum.org>
18789
18790         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18791         Delete.
18792         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18793         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18794         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18795         This avoids a race condition that made it pretty easily
18796         possible to get two NetworkManagerInfo daemons running.
18797
18798 2004-11-11  Colin Walters  <walters@verbum.org>
18799         
18800         * src/NetworkManager.c (main): Use daemon(3).
18801
18802         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18803
18804         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18805
18806 2004-11-10 Dan Williams <dcbw@redhat.com>
18807
18808         Patches from j bootlab org
18809         * src/NetworkManagerDevice.c
18810                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18811                         whether the card has a link or not, some cards are slow
18812                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18813
18814         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18815                 - Disable the "Login" button on the passphrase dialog until the user
18816                         enters a valid passphrase or key
18817
18818         Patches from Tom Parker <palfrey tevp net>
18819         * src/backends/NetworkManagerDebian.c
18820                 - Add static IP support to the debian backend
18821
18822         * src/backends/interface_parser.[ch]
18823                 - Parse debian interface config files
18824
18825 2004-11-08 Dan Williams <dcbw@redhat.com>
18826
18827         * src/NetworkManagerDevice.c
18828                 - Some random fprintf->syslog conversions
18829                 - (nm_device_wireless_network_exists): double-check for network
18830                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18831
18832         * src/NetworkManagerWireless.[ch]
18833                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18834                         so that the binary->ascii conversion works (if unsigned, the bitshift
18835                         will fill with zeros, which is what's required).  Also mask bitshift
18836                         result with 0xF for futher assurance.
18837
18838 2004-11-06 Dan Williams <dcbw@redhat.com>
18839
18840         * src/NetworkManagerUtils.c
18841                 - (nm_get_wireless_driver_support_level): default to
18842                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18843                         flip this when changing from whitelist->blacklist of
18844                         wireless drivers
18845
18846 2004-11-05 Dan Williams <dcbw@redhat.com>
18847
18848         Patch from Robert Paskowitz:
18849         * src/backends/NetworkManagerGentoo.c
18850                 - Update static IP config code
18851
18852 2004-11-05 Dan Williams <dcbw@redhat.com>
18853
18854         * info-daemon/NetworkManagerInfoDbus.c
18855           src/NetworkManagerDbus.[ch]
18856           src/NetworkManagerDevice.c
18857                 - Keep track of the # of attempts to get the WEP key
18858                         from the user and pass that along to the info daemon
18859
18860 2004-11-05 Dan Williams <dcbw@redhat.com>
18861
18862         * src/NetworkManagerUtils.c
18863                 - Blacklist wireless cards rather than whitelisting them.
18864                 - Grab driver name from HAL rather than trying to find it
18865                         ourselves.
18866
18867 2004-11-03 Dan Williams <dcbw@redhat.com>
18868
18869         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18870                 - Disable OK button until valid data is entered
18871                         for encryption stuff too
18872
18873         * panel-applet/NMWirelessApplet.c
18874                 - Report card strength for current AP if the card
18875                         doesn't report strength data for scanned access
18876                         points
18877
18878         * src/NetworkManagerDevice.c
18879                 - Smooth out cards reported quality, Atmel card was
18880                         intermittently reporting no quality data but soon
18881                         recovers
18882
18883         * src/NetworkManagerWireless.c
18884                 - Better quality data percentage calculation.  Atmel
18885                         cards (mine at least) seem to report the quality
18886                         in percentage format already, so honor that
18887
18888         Patch from <j@bootlab.org>
18889         * NetworkManager.h
18890           info-daemon/NetworkManagerInfoPassphraseDialog.c
18891           info-daemon/passphrase.glade
18892           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18893           panel-applet/essid.glade
18894           src/NetworkManagerAP.c
18895           src/NetworkManagerDevice.c
18896           src/NetworkManagerWireless.[ch]
18897                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18898
18899 2004-11-03 Dan Williams <dcbw@redhat.com>
18900
18901         * src/NetworkManagerDevice.[ch]
18902                 - (nm_device_set_enc_key): Add parameter to set Authentication
18903                         Mode (Open System, Shared Key, or None).  We're still using
18904                         Shared Key for now though.
18905
18906 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18907
18908         * panel-applet/menu-info.c: change from bold text to light
18909         colored, may cause problems with some themes, i've tested a lot
18910         and they seem fine. 
18911
18912         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18913
18914 2004-11-01  Colin Walters  <walters@verbum.org>
18915
18916         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18917         (nm_wireless_128bit_key_from_passphrase): Add const.
18918
18919         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18920         (nm_ap_set_enc_key_source): Add const.
18921         
18922 2004-11-01  Colin Walters  <walters@verbum.org>
18923
18924         * .cvsignore: Update.
18925
18926 2004-10-29 Dan Williams <dcbw@redhat.com>
18927
18928         * src/NetworkManagerDevice.c
18929                 - (nm_device_wireless_network_exists): Actually use the encryption
18930                         key we got from the applet when attempting to find a wireless network
18931                 - Don't bring devices down so much since on some cards it triggers
18932                         firmware hotplugs each time
18933
18934         * src/NetworkManagerDbus.c
18935                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18936                         from the caller
18937
18938 2004-10-29 Dan Williams <dcbw@redhat.com>
18939
18940         * src/NetworkManager.c
18941                 - (nm_hal_device_property_modified): unlock a locked active
18942                         wireless device when a wired connection gets a link.
18943                         (Means you'll switch to wired whenever you plug in no
18944                         matter what).
18945
18946 2004-10-29 Dan Williams <dcbw@redhat.com>
18947
18948         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18949                 - New files, implement the "Other wireless network" dialog
18950
18951         * panel-applet/NMWirelessApplet.c
18952                 - Move "other wireless network" dialog to separate file
18953
18954         * panel-applet/NMWirelessAppletDbus.[ch]
18955                 - Take key and key_type paramaters for the set_device function
18956
18957         * panel-applet/essid.glade
18958                 - Add UI bits for encryption settings
18959
18960         * src/NetworkManagerDbus.c
18961                 - Retrieve key and key_type params for "setActiveDevice" method call
18962                         and pass them on
18963                 - unref AP returned from nm_device_get_best_ap() when needed
18964
18965         * src/NetworkManagerDevice.c
18966                 - (nm_device_get_best_ap): ref the ap before returning it
18967                 - unref AP returned from nm_device_get_best_ap() when needed
18968                 - (nm_device_activate_wireless): add "ap" parameter so we don't
18969                         need to call nm_device_get_best_ap() here, it was pretty much
18970                         redundant anyway
18971                 - (AP_NEED_KEY): break second link check condition out into separate
18972                         function, and fix segfault when ap->enc_key_source was NULL
18973                 - (nm_device_find_and_use_essid): take key and key_type parameters and
18974                         pass them along to nm_device_wireless_network_exists().  If the
18975                         network does exist, set the passed-in key+key_type on the AP
18976
18977         * src/NetworkManagerPolicy.c
18978                 - unref AP returned from nm_device_get_best_ap() when needed
18979
18980 2004-10-28 Dan Williams <dcbw@redhat.com>
18981
18982         * src/NetworkManagerUtils.c
18983                 - (nm_spawn_process): Fix a potential dereference of NULL
18984
18985         Patches from Peter Jones:
18986
18987         * src/NetworkManagerDevice.c
18988                 - (nm_device_test_wireless_extensions): Better check for
18989                         wireless devices
18990
18991         * src/NetworkManagerUtils.c
18992                 - (nm_spawn_process): Pass in valid stdout and stderr so
18993                         executed programs don't randomly SIGPIPE and fail
18994                 - (nm_get_wired_driver_support_level): quash hal warning
18995                         when checking for USB ethernet device
18996
18997 2004-10-27 Dan Williams <dcbw@redhat.com>
18998
18999         * info-daemon/NetworkManagerInfo.c
19000           info-daemon/NetworkManagerInfoDbus.c
19001           info-daemon/NetworkManagerInfoPassphraseDialog.c
19002           panel-applet/NMWirelessApplet.c
19003                 - Properly escape gconf keys
19004
19005         * src/NetworkManager.c
19006                 - remove unused variables
19007
19008         * src/NetworkManagerAP.c
19009                 - (nm_ap_new_from_ap): Don't redundantly set new APs
19010                         refcount since it got set in nm_ap_new()
19011
19012         * src/NetworkManagerAPList.c
19013                 - (nm_ap_list_combine): Give up ownership of newly created
19014                         access points to the ap list, fixes memleak
19015
19016         * src/NetworkManagerDevice.c
19017                 - Remove cached_ap_list4 member since its not really needed
19018                 - (nm_device_wireless_network_exists): Try to get correct
19019                         encryption status of a found AP if its already in our
19020                         device list
19021                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19022                         memory allocs/deallocs a bit clearer and shorter-lived
19023
19024 2004-10-26 Ray Strode <rstrode@redhat.com>
19025
19026         * panel-applet/NMWirelessApplet.c:
19027           (custom_essid_item_selected):  kill some compiler
19028         warnings 
19029
19030 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19031
19032         * info-daemon/NetworkManagerInfoDbus.c
19033                 - (nmi_dbus_is_running): New function for determining if nmi is already running
19034                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19035
19036 2004-10-23 Dan Williams <dcbw@redhat.com>
19037
19038         * info-daemon/NetworkManagerInfoDbus.c
19039                 - Trap the "DeviceActivationFailed" signal
19040
19041         * docs/NetworkManager DBUS API.txt
19042                 - Add "DeviceActivationFailed" signal
19043
19044         * panel-applet/NMWirelessAppletDbus.c
19045                 - Quash the "NetworkManager service not available" message
19046
19047         * src/NetworkManagerDbus.[ch]
19048                 - Add the "DeviceActivationFailed" signal
19049
19050         * src/NetworkManagerDevice.c
19051                 - Add support for activation_failed flag
19052                 - Fix deadlock where activation thread didn't clean itself up, making
19053                         main thread still believe it was alive forever (didn't reset activation
19054                         flags like activating, just_activated, etc when IP configuration
19055                         failed)
19056
19057         * src/NetworkManagerPolicy.c
19058                 - Implement logic for DeviceActivationFailed signal, and when activation fails
19059                         for wireless networks, try to fall back to some other access point
19060
19061 2004-10-23 Dan Williams <dcbw@redhat.com>
19062
19063         * panel-applet/NMWirelessApplet.[ch]
19064                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19065                         to the applet object, so we can get tooltips
19066                 - Add tooltips (RH #136866)
19067
19068         * src/NetworkManagerDevice.c
19069                 - When trying to find a wireless network, try to connect with encryption
19070                         turned on first, so that we can more accurately detect whether or not
19071                         we need to use encryption for the actual association later on
19072
19073 2004-10-21 Dan Williams <dcbw@redhat.com>
19074
19075         * Add some support for telling NetworkManagerInfo to tell the user
19076                 that they are using a device that's not fully supported
19077
19078         * Fix some assertions in debug messages due to null access point args
19079
19080 2004-10-21 Dan Williams <dcbw@redhat.com>
19081
19082         * src/NetworkManagerDevice.c
19083                 - Don't try to activate/bring up/down unsupported
19084                         devices
19085
19086         * src/NetworkManagerUtils.c
19087                 - Fix case of PCI ID checks for driver support levels
19088
19089 2004-10-21 Dan Williams <dcbw@redhat.com>
19090
19091         * NetworkManager.h
19092                 - New file, now contains commonly used structures and bits
19093                         for the dbus API of NetworkManager
19094
19095         * Makefile.am
19096                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19097
19098         * src/NetworkManager.h
19099                 - Rename -> src/NetworkManagerMain.c
19100
19101         * Various fixups all around to use NetworkManager.h and new
19102                 src/NetworkManagerMain.h, remove redundant bits that got
19103                 moved into NetworkManager.h
19104
19105         * src/NetworkManagerDevice.[ch]
19106           src/NetworkManagerUtils.[ch]
19107           src/NetworkManagerPolicy.c
19108           src/NetworkManagerDbus.c
19109                 - Whitelist wireless drivers, and blacklist some wired
19110                         drivers.  Also blacklist cipsec and ethernet-over-usb
19111                         devices at this time (RH #135722, RH #135648)
19112                 - Don't leak unsupported devices out over dbus, or allow
19113                         them to be set as the active device.  Skip over them
19114                         during automatic device picking
19115
19116         * test/nmclienttest.c
19117                 - Clean up the dbus code a lot
19118
19119 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19120
19121         * configure.in: post release bump.
19122
19123 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19124
19125         * configure.in:
19126         * NEWS: Released NetworkManager-0.3.1
19127
19128 2004-10-18 Dan Williams <dcbw@redhat.com>
19129
19130         Patches from Thom May:
19131         * test/nmtestdevices.c
19132                 - Include <string.h>
19133         * src/backends/NetworkManagerDebian.c:
19134                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19135                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19136                         Move to using g_strdup_printf rather than arbitrary buffers
19137                 - (nm_system_device_setup_static_ip4_config) Implement function.
19138                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19139
19140 2004-10-17 Dan Williams <dcbw@redhat.com>
19141
19142         * info-daemon/NetworkManagerInfoDbus.c
19143                 - Display name of network in the "network not found" dialog
19144
19145         * panel-applet/NMWirelessAppletDbus.c
19146                 - (nmwa_dbus_call_nm_method): new function replaces all other
19147                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19148                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19149                         consolidated into nmwa_dbus_get_object_name()
19150
19151 2004-10-15 Dan Williams <dcbw@redhat.com>
19152
19153         * src/NetworkManagerDbus.c
19154           info-daemon/NetworkManagerInfoDbus.c
19155                 - Display an error dialog when the user tries to use an
19156                         "Other wireless network" that's not found.
19157
19158 2004-10-15 Dan Williams <dcbw@redhat.com>
19159
19160         * panel-applet/NMWirelessApplet.[ch]
19161                 - Fix up corner cases in applet state, making it
19162                         look more responsive.  Change state to "connecting" when
19163                         the user is forcing a device too.
19164
19165 2004-10-15 Dan Williams <dcbw@redhat.com>
19166
19167         * src/NetworkManagerAPList.c
19168                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19169
19170         * src/NetworkManagerDbus.c
19171                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19172
19173         * src/NetworkManagerDevice.c
19174                 - Disown APs after the device's AP list takes ownership
19175
19176 2004-10-15 Dan Williams <dcbw@redhat.com>
19177
19178         * panel-applet/NMWirelessApplet.c
19179                 - Update our applet state from the GUI thread
19180
19181         * panel-applet/NMWirelessAppletDbus.c
19182                 - Greatly simplify the locking to make the GUI thread
19183                         smoother.  Update a private copy of the device list
19184                         and active device and only when done talking to
19185                         NetworkManager turn it over to the GUI thread.
19186
19187 2004-10-15 Dan Williams <dcbw@redhat.com>
19188
19189         * src/NetworkManagerAP.[ch]
19190                 - Add "artificial" get/set functions, set for APs that
19191                         aren't discovered as part of a scan but instead
19192                         discovered by force-setting the ESSID
19193
19194         * src/NetworkManagerDevice.[ch]
19195                 - (nm_device_wireless_network_exists): pass back whether
19196                         or not the discovered AP was encrypted.  Also, try
19197                         falling back to encrypted mode on the card if unencrypted
19198                         association doesn't work
19199                 - (nm_device_find_and_use_essid): If the network requested
19200                         did in fact exists, but it wasn't in our scan list, add
19201                         an "artificial" entry for it.  Some Cisco cards don't
19202                         see non-ESSID-broadcasting APs in their scan but can still
19203                         associate with them if you know the ESSID, this works around
19204                         that behavior
19205                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19206                         to scan if the card is currently associated with that AP
19207
19208 2004-10-15 Dan Williams <dcbw@redhat.com>
19209
19210         ---- We have a website ----
19211         http://people.redhat.com/dcbw/NetworkManager
19212
19213         Patch from Robert Paskowitz:
19214         * src/NetworkManager.c
19215                 - (main): Make sure we are run as root
19216         * src/NetworkManagerDevice.c
19217                 - Fix type in ad-hoc setting function
19218
19219         Patch from Thom May:
19220         * src/backends/NetworkManagerDebian.c
19221                 - Make Debian backend compile again
19222
19223 2004-10-14 Dan Williams <dcbw@redhat.com>
19224
19225         * Tagged NetworkManager-0_3
19226
19227 2004-10-14 Dan Williams <dcbw@redhat.com>
19228
19229         Patch from Robert Paskowitz:
19230         * NEWS
19231           src/NetworkManagerDevice.[ch]
19232           src/backends/NetworkManagerDebian.c
19233           src/backends/NetworkManagerGentoo.c
19234           src/backends/NetworkManagerRedHat.c
19235           src/backends/NetworkManagerSlackware.c
19236                 - Add support for grabbing and using a broadcast address
19237                         from system config files
19238                 - Some Gentoo backend fixes for grabbing network config
19239                 - Fix LOG_WARN->LOG_WARNING
19240
19241 2004-10-14 Dan Williams <dcbw@redhat.com>
19242
19243         * NEWS: a few small fixes in the credits
19244
19245 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19246
19247         * NEWS: prep for release.
19248
19249 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19250
19251         * panel-applet/NMWirelessAppletDbus.c
19252         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19253
19254 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19255
19256         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19257         applet->state == APPLET_STATE_NO_NM animation.
19258
19259         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19260         set the text correctly.
19261
19262 2004-10-14 Dan Williams <dcbw@redhat.com>
19263
19264         * src/NetworkManager.c
19265                 - Only accept and manager 802.3 and 802.11 devices
19266
19267         * src/NetworkManagerDbus.[ch]
19268                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19269                         logic into NetworkManagerDevice.c
19270                 - (nm_dbus_network_status_from_data): new function
19271                 - (nm_dbus_signal_network_status_change): new function, unused for now
19272                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19273
19274         * src/NetworkManagerDevice.[ch]
19275                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19276                         a random ESSID.
19277
19278 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19279
19280         * info-daemon/NetworkManagerInfo.c 
19281                 - (main): Added session management
19282
19283 2004-10-14 Dan Williams <dcbw@redhat.com>
19284
19285         * panel-applet/NMWirelessAppletDbus.[ch]
19286                 - Expose network_device_[un]ref()
19287                 - Expose wireless_network_[un]ref()
19288                 - (wireless_network_new_with_essid): new function, create and return
19289                         a wireless network with a particular essid
19290
19291         * panel-applet/NMWirelessApplet.c
19292                 - Hook up the "other network" dialog to do something
19293
19294 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19295
19296         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19297         doesn't work yet, but it looks okay.
19298
19299         * panel-applet/icons/*png: Resize to 22x22 and install in the
19300         right place.
19301
19302 2004-10-13 Dan Williams <dcbw@redhat.com>
19303
19304         * panel-applet/NMWirelessApplet.c
19305                 - Add function to print out applet_state in a readable
19306                         manner
19307
19308         * src/NetworkManager.c
19309                 - (main): Don't segfault when nm_dbus_init() fails, we had
19310                         a left-over call to hal_shutdown() into which we passed NULL
19311
19312         * src/NetworkManagerAP.c
19313                 - (nm_ap_set_essid): Allow NULL essids
19314
19315         * src/NetworkManagerAPList.[ch]
19316                 - More use of nm_ap_list_[un]lock ()
19317                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19318                         network/essid, just return nothing.  Also skip over NULL
19319                         essid access points in the list when searching
19320                 - (nm_ap_list_get_ap_by_address): new function
19321                 - (nm_ap_list_update_network): set the access point's key source to
19322                         NULL when the key returned from NetworkManagerInfo is NULL or
19323                         of 0 length
19324                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19325                         copy timestamp over too
19326                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19327                         find the correct ESSID for a blank-essid access point by searching
19328                         through another list and matching access point MAC addresses
19329                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19330
19331         * src/NetworkManagerDbus.c
19332                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19333                         may specify.  This is mainly for access points that don't
19334                         broadcast their essid.  So if the user tells us to associate with
19335                         some random ESSID that's not in our access point list, we find
19336                         out if the access point does in fact exist (by attempting association
19337                         and then matching that access point's MAC address with the essid the
19338                         user gave us) and then we switch to it.
19339                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19340                         to the returned list of networks for the "getNetworks" method
19341
19342         * src/NetworkManagerDevice.[ch]
19343                 - Extra debugging info for link detection
19344                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19345                         based on MAC address
19346                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19347                 - (nm_device_wireless_network_exists): new function, find out whether
19348                         a random ESSID exists by attempting to associate with it
19349                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19350                         device list as long as they have an AP MAC address we can use.
19351                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19352                         devices too.  Lets the applet update more frequently.
19353
19354         * src/backends/NetworkManagerGentoo.c
19355                 - Patch from: Robert Paskowitz
19356                         - Update backend code for Gentoo
19357                         - Implement nm_system_device_update_config_info ()
19358
19359         * test/nmclienttest.c
19360                 - (set_network_device): new function, takes a command-line argument
19361                         and tells NetworkManager to use that wireless network
19362
19363 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19364
19365         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19366         if the notification icon crashes 5 times within 5 seconds of each respawn 
19367
19368 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19369
19370         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19371         g_print.
19372
19373 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19374
19375         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19376
19377         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19378         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19379         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19380         Change the name of the icons.
19381
19382         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19383         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19384         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19385         (nm_menu_wireless_expose_event): Really bad hack to get the style
19386         to draw in the right color.
19387
19388 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19389
19390         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19391         Notification if it crashes
19392
19393 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19394
19395         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19396         (nmwa_dbus_get_string): remove unused functions
19397
19398         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19399         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19400         remove unused functions
19401
19402         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19403
19404 2004-10-12 Dan Williams <dcbw@redhat.com>
19405
19406         * panel-applet/NMWirelessAppletDbus.c
19407                 - New functions:
19408                         wireless_network_new
19409                         wireless_network_copy
19410                         network_device_new
19411                         network_device_copy
19412
19413         * src/NetworkManagerDevice.[ch]
19414                 - New functions:
19415                         nm_device_set_mode_managed
19416                         nm_device_set_mode_adhoc
19417                 - Use these functions where appropriate
19418                 - When creating a new wireless device, force the card
19419                         to managed/Infrastructure mode as soon as possible
19420
19421 2004-10-12 Dan Williams <dcbw@redhat.com>
19422
19423         * src/NetworkManagerDevice.c
19424                 - Force wireless cards into Infrastructure mode before we use them
19425
19426 2004-10-12 Dan Williams <dcbw@redhat.com>
19427
19428         * TODO
19429                 - Remove bit about static IP address support
19430
19431         * src/NetworkManagerUtils.c
19432                 - (nm_spawn_process): Add some error reporting
19433
19434         * src/NetworkManagerDevice.c
19435                 - (nm_device_activation_configure_ip): hook up to the static config
19436                         routines in the backends
19437
19438         * src/backends/NetworkManagerRedHat.c
19439                 - (nm_system_device_update_config_info): use shvar.c routines to
19440                         parse the config file iformation, not our own
19441                 - (nm_system_device_setup_static_ip4_config): new function, based
19442                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19443                         with a static IP address and gateway
19444
19445         * src/backends/shvar.[ch]
19446                 - Parser (filched from initscripts package) for ifcfg-* files
19447
19448         * src/backends/NetworkManagerSystem.h
19449           src/backends/NetworkManagerGentoo.c
19450           src/backends/NetworkManagerDebian.c
19451           src/backends/NetworkManagerSlackware.c
19452                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19453
19454 2004-10-11 Dan Williams <dcbw@redhat.com>
19455
19456         * TODO
19457                 - Remove bit about more robust AP diffing since I just implemented it
19458
19459 2004-10-11 Dan Williams <dcbw@redhat.com>
19460
19461         * src/NetworkManagerAP.c
19462                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19463                         enough RAM to allocate new AP structures, but return NULL instead
19464
19465         * src/NetworkManagerAPList.[ch]
19466                 - (nm_ap_list_is_empty): new function
19467                 - (nm_ap_list_combine): new function, combine two access point lists
19468                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19469                         into another
19470
19471         * src/NetworkManagerDevice.[ch]
19472                 - Rename some functions to be clearer:
19473                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19474                         nm_device_just_activated     -> nm_device_is_just_activated
19475                         nm_device_activating         -> nm_device_is_activating
19476                         nm_device_now_scanning       -> nm_device_is_scanning
19477                 - Cache the last 4 scans so that the access point list is more stable.
19478                         We combine the lastest two scans and use that as the AP list,
19479                         and diff that combined list against the combination of the earliest
19480                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19481
19482 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19483
19484         * info-daemon/NWManagerInfo.h
19485                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19486
19487         * info-daemon/NWManagerInfoDbus.c
19488                 - (shutdown_callback): new function
19489                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19490                         if NetworkManager goes away.  Kill the timeout
19491                         if NetworkManager restarts before the 30 seconds
19492                         are up.
19493                 - (nmi_dbus_service_init): 
19494                         - call gtk_main_quit if NetworkManager is not running
19495                         - add filters to monitor dbus service creations and
19496                                 deletions
19497         
19498 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19499
19500         * panel-applet/NMWirelessApplet.c
19501                 - (nmwa_update_state): Hide notification icon if we are only
19502                         showing one wired card and no wireless interfaces 
19503                         (Red Hat Bug #134895)
19504
19505         * panel-applet/NMWirelessAppletDbus.c
19506                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19507
19508         * info-daemon/NWManagerInfo.c
19509                 - (main): Terminated the notification_icon_cmd array with a NULL
19510
19511 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19512
19513         * configure.in (ALL_LINGUAS): Added de (German).
19514
19515 2004-10-08 Dan Williams <dcbw@redaht.com>
19516
19517         * src/NetworkManagerDevice.c
19518                 - Be a bit more robust about link checking, ie make sure that
19519                         the WEP key we were given actually has some data in it
19520
19521 2004-10-08 Dan Williams <dcbw@redhat.com>
19522
19523         * info-daemon/NetworkManagerInfo.c (main):
19524                 - Initialize GError object to NULL
19525
19526 2004-10-08 Dan Williams <dcbw@redhat.com>
19527
19528         * panel-applet/NMWirelessAppletDbus.c
19529                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19530
19531 2004-10-08 Dan Williams <dcbw@redhat.com>
19532
19533         * info-daemon/NetworkManagerInfo.[ch]
19534           info-dameon/NetworkManagerInfoDbus.[ch]
19535           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19536                 - Preserve original label text in the passphrase dialog so that
19537                         it actually gets updated with the new network name the next
19538                         time around.  Previously, we were overwriting it so you'd get
19539                         the wrong network name to enter a key for
19540                 - Add a "Key Type" combo to the passphrase dialog, user selects
19541                         encryption key type now, type is stored in GConf too
19542                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19543
19544         * src/NetworkManagerAP.[ch]
19545                 - Remove all the encyption method magic.  It's now set by the user
19546                         and NetworkManager retrieves the type of encryption key from
19547                         NetworkManagerInfo
19548
19549         * src/NetworkManagerAPList.[ch]
19550           src/NetworkManagerDbus.[ch]
19551                 - Adjust to new way of setting encryption key and method
19552                 - Pull encryption method down from NMI along with key
19553
19554         * src/NetworkManagerDevice.[ch]
19555                 - Removed encryption method fallback magic as the method is now
19556                         determined by the user.  This greatly simplifies the connection
19557                         logic.
19558                 - More robust connection/link logic.  Besides removing the encryption
19559                         method fallback magic, check whether or not the card is receiving
19560                         invalidly encrypted packets, which usually indicates that we have
19561                         a bad WEP key set.
19562                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19563
19564         * test/nminfotest.c
19565                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19566
19567 2004-10-07 Dan Williams <dcbw@redhat.com>
19568
19569         * info-daemon/NetworkManagerInfo.conf
19570                 - Allow root user to run NMI too
19571
19572 2004-10-06 Dan Williams <dcbw@redhat.com>
19573
19574         * src/NetworkManagerDevice.[ch]
19575           src/NetworkManagerDbus.c
19576           doc/NetworkManager DBUS API.txt
19577                 - Add a new status tag "scanning", which is set when there
19578                         is no active network connection, but NetworkManager is
19579                         looking for an access point to associate with
19580
19581         * panel-applet/main.c
19582                 - Cast the applet appropriately for gtk_widget_show_all ()
19583
19584 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19585
19586         * panel-applet/eggtrayicon.[ch]:
19587         * panel-applet/main.c: Add missing file
19588
19589 2004-10-04 Dan Williams <dcbw@redhat.com>
19590
19591         * src/NetworkManagerDevice.[ch]
19592                 - Add a slightly more robust method of determining if the WEP key
19593                         is correct or not, by checking the WEP-discarded packet count
19594                         on the card
19595
19596         * info-daemon/NetworkManagerInfo.c
19597                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19598                         un-escape values we pull out rather than escaping them
19599
19600 2004-10-03  Marcel Telka  <marcel@telka.sk>
19601
19602         * configure.in (ALL_LINGUAS): Added sk.
19603
19604 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19605
19606         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19607         and feel.  We should be back to working, and have a good, clean
19608         look.
19609
19610 2004-09-30 Dan Williams <dcbw@redhat.com>
19611
19612         * info-daemon/NetworkManagerInfo.c
19613           info-daemon/NetworkManagerInfoDbus.c
19614           test/nminfotest.c
19615                 - Escape ESSIDs in gconf
19616
19617         * src/NetworkManagerDevice.c
19618                 - Fix pseudo-scanning to use netowrk list from info daemon
19619
19620 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19621
19622         * configure.in: Add a temporary --enable-notification-icon.  This
19623         will prolly go away.
19624
19625         * info-daemon/Makefile.am:
19626         * info-daemon/NetworkManagerInfo.c:
19627         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19628
19629         * panel-applet/Makefile.am:
19630         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19631         * panel-applet/NMWirelessApplet.h:
19632
19633 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19634
19635         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19636         before 'select custom ESSID'.
19637
19638         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19639         fully complete, but syncing in prep for merge.
19640
19641         * panel-applet/icons/*png: New images
19642
19643 2004-09-28 Dan Williams <dcbw@redhat.com>
19644
19645         * src/NetworkManager.c
19646           src/NetworkManagerDevice.c
19647           src/NetworkManagerPolicy.c
19648                 - Don't blow away an active wired connection on startup
19649
19650 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19651
19652         Changes from J5
19653         
19654         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19655
19656         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19657         syslog output
19658
19659 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19660
19661         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19662         have a wireless card.
19663
19664 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19665
19666         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19667         Also, get the right device strings.
19668
19669 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19670
19671         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19672         the logic to make this right.
19673
19674         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19675         devices so that wired networks are always first.
19676
19677 2004-09-22    <clarkbw@cvs.gnome.org>
19678
19679         * initscript/Debian/.cvsignore:
19680         * initscript/Slackware/.cvsignore:
19681         Added new cvsignores for Makefile, Makefile.in
19682         
19683         * test/.cvsignore:
19684         Added nmtestdevices
19685         
19686         * src/NetworkManagerDevice.c: 
19687         * src/NetworkManager.c: 
19688         Updated the wireless/wired HAL device strings from net.ethernet to
19689         net.80203 or net.80211 depending on wired or wireless respectively
19690         
19691         * examples/python/NetworkManager.py: 
19692         s/Quality/Strength/
19693
19694         * examples/python/systray/network_tray.py:
19695         Lots of little changes and fixes.  been rotting for a while so I
19696         figured I'd finally sync them all with CVS
19697
19698 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19699
19700         * configure.in: Add graphics
19701
19702         * panel-applet/Makefile.am: Add graphics
19703
19704         * panel-applet/icons/*: Add graphics
19705
19706         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19707         the icons fully lined up.
19708
19709         * panel-applet/menu-info.c: 
19710         * panel-applet/menu-info.h: Add another menu type.
19711
19712 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19713
19714         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19715
19716         * panel-applet/menu-item.[ch]: Wireless menu item.
19717
19718 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19719
19720         * info-daemon/NetworkManagerInfo.conf
19721                 - Created a more robust security policy for the DBus service
19722                         - everything is denied by default
19723                         - root can own and send to the service
19724                         - users logged in at the console can send to the service
19725
19726 2004-09-13  Dan Williams <dcbw@redhat.com>
19727
19728         * src/NetworkManagerDevice.c
19729                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19730                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19731                         the latter
19732
19733 2004-09-13  Dan Williams <dcbw@redhat.com>
19734
19735         * TODO: fix typo
19736
19737         * docs/NetworkManager DBUS API.txt
19738                 - Update for new signal strength changes
19739
19740         * panel-applet/NMWirelessApplet.c
19741                 - Make panel icon show strength of the current connection
19742                 - Cleanups and memleak fixes
19743
19744         * panel-applet/NMWirelessApplet.h
19745                 - Add data members for signal strength on devices and networks
19746
19747         * panel-applet/NMWirelessAppletDbus.c
19748                 - Free more DBusErrors
19749                 - Update for new signal strength changes
19750                 - Make devices and networks more like real objects, use ref/unref methods
19751                 - Actually unlock the mutex when updating the active device
19752
19753         * src/NetworkManagerAP.c
19754                 - Change AP functions and data members from "quality"->"strength"
19755
19756         * src/NetworkManagerDbus.c
19757                 - Kill "getMaxQuality" and "getQuality" methods
19758                 - Add "getStrength" methods for Networks and Devices
19759
19760         * src/NetworkManagerDevice.[ch]
19761                 - Add accessors for device strength
19762                 - Add functions to update strength for a device.  Note that not all drivers
19763                         actually support signal strength for scanned access points (Atmel drivers
19764                         being one)
19765                 - Calculate signal strength for each AP during scan
19766
19767         * src/NetworkManagerWireless.[ch]
19768                 - Add function to return signal strength % from a device and a raw quality struct
19769
19770         * test/nmclienttest.c
19771                 - Update for new signal strength changes
19772
19773 2004-09-11  Dan Williams <dcbw@redhat.com>
19774
19775         * src/NetworkManager.c
19776                 - Fix race condition between initscripts and NM on card insertion
19777                         which could cause a card to keep an IP address and routes around
19778                         even when it was not the active device
19779
19780         * src/NetworkManagerDbus.c
19781                 - Fix compile errors, free more DBusErrors
19782
19783 2004-09-11  Dan Williams <dcbw@redhat.com>
19784
19785         * docs/NetworkManager DBUS API.txt
19786                 - Add an explanation of NM's API
19787
19788         * src/NetworkManagerDbus.c
19789                 - Free some more DBusErrors if needed
19790
19791 2004-09-11  Dan Williams <dcbw@redhat.com>
19792
19793         * panel-applet/NMWirelessApplet.c
19794           panel-applet/NMWirelessAppletDbus.c
19795                 - Start using NetworkDevice/WirelessNetwork structures in more places
19796                 - Update for unified device/network forcing in NetworkManager
19797
19798         * src/NetworkManager.c
19799                 - some code consolidation
19800
19801         * src/NetworkManagerDbus.c
19802                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19803                         or two arguments:  the first is the NM ID of the device to switch to,
19804                         and the second (optional) argument is the ESSID of a wireless network
19805                         to use as well.
19806                 - Get rid of "setNetwork" method due to above change
19807
19808         * src/NetworkManagerDevice.c
19809                 - (nm_device_new): perform scan and update best AP on device creation
19810                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19811                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19812                         spin waiting for cancellation to finish before returning
19813
19814         * src/NetworkManagerPolicy.c
19815                 - Changes here clarify the situations in which a device switch occurs, and 
19816                         make sure to keep using a forced device and network if the user gives
19817                         us one
19818                 - Remove old unused code
19819
19820 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19821
19822         * configure.in: Added Danish (da) to ALL_LINGUAS.
19823
19824 2004-09-09  Dan Williams <dcbw@redhat.com>
19825
19826         * panel-applet/NMWirelessAppletDbus.c
19827                 - Pull fresh devices and networks from NM when wireless networks
19828                         change.  Provides faster feedback of a forced wireless network
19829
19830         * src/NetworkManagerDbus.c
19831                 - Return error when "getMaxQuality" is called on a wired device
19832                 - Make best_ap freezing actually work again, and signal cancellation
19833                         of activation if there's already a device activation when the user
19834                         freezes the best_ap
19835
19836         * src/NetworkManagerDevice.c
19837                 - Don't clear out the best_ap for wireless devices when the link goes
19838                         down, that's done elsewhere
19839                 - Kill any dhcp daemons when cancelling device activation since they
19840                         may be stuck waiting for a DHCP address, and since we're cancelling
19841                         activation we don't care about that anymore
19842
19843         * src/NetworkManagerPolicy.c
19844                 - Make sure to unref the device we ref earlier (we refed it to make sure
19845                         it stuck around during device activation and such)
19846                 - If we were going to change the best device, but its activating currently
19847                         (and therefore the change didn't occur due to the check earlier)
19848                         we mark the state changed to we come back to it later when device
19849                         activation has canceled and its no longer activating
19850
19851         * src/backends/NetworkManagerRedHat.c
19852                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19853
19854 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19855
19856         * info-daemon/passphrase.glade: 
19857         set passphrase input to activates_default : True
19858
19859         * examples/python/systray/network_tray.py
19860         (network_tray.sort_networks):
19861
19862         Added support for having wireless always scanning
19863
19864 2004-09-09  Dan Williams <dcbw@redhat.com>
19865
19866         NOTE: this commit changes the behavior of wireless devices in
19867         NetworkManager.  They are now up all the time, scanning all
19868         the time.  Only the active device has an IP address and routing
19869         information set up however.  Also, NetworkManager will no longer
19870         opportunistically switch wireless networks when a better one
19871         comes in range, it will remain associated with one wireless network
19872         until that one drops out.
19873
19874         * panel-applet/NMWirelessApplet.c
19875           panel-applet/NMWirelessAppletDbus.c
19876                 - List all wireless cards and their respective networks
19877
19878         * src/NMLoadModules
19879                 - Use full path to /sbin/ip
19880
19881         * src/NetworkManager.c
19882                 - Keep wireless devices up all the time so they can scan
19883
19884         * src/NetworkManagerDbus.c
19885                 - On a WirelessNetworkUpdate signal from NMI, don't update
19886                         the "best" AP
19887
19888         * src/NetworkManagerDevice.c
19889                 - (nm_device_set_link_active): clear out the best ap for
19890                         wireless devices when the link is set to FALSE
19891                 - Scan on all wireless cards, all the time
19892                 - (nm_device_activation_worker): split out the wireless card
19893                         link-waiting code to a separate function
19894                 - Keep wireless cards up even if device activation fails
19895                 - Don't update the "best" ap as much
19896
19897         * src/NetworkManagerPolicy.c
19898                 - Don't update the best ap when checking if its frozen,
19899                         let link checking clear out a frozen best ap for us
19900
19901         * src/NetworkManagerWireless.c
19902                 - Scan on all wireless cards, all the time
19903
19904 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19905
19906         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19907
19908 2004-09-09  Ankit Patel <ankit@redhat.com>
19909
19910         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19911
19912 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19913
19914         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19915
19916 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19917
19918         * examples/python/NetworkManager.py: 
19919         added CONNECTED, CONNECTING, and DISCONNECTED states
19920         added methods to return number of devices of a single type
19921
19922         * examples/python/systray/network_tray.py: 
19923         did some tweaks to get the menu looking near what it is supposed
19924         to look like.  Also did a Airo card hack to make it show the
19925         correct AP quality
19926
19927 2004-09-08  Dan Williams <dcbw@redhat.com>
19928
19929         * panel-applet/no-networkmanager.png
19930           panel-applet/Makefile.am
19931           panel-applet/NMWirelessApplet.c
19932                 - Add a "NetworkManager not running" icon and use it
19933                 - Use new consolidated GConf keys rather than Preferred/Trusted
19934
19935         * TODO: update
19936
19937         * info-daemon/NetworkManagerInfo.c
19938           info-daemon/NetworkManagerInfoDbus.[ch]
19939           info-daemon/NetworkManagerInfoPassphraseDialog.c
19940                 - There are now no longer two separate lists of wireless networks,
19941                         but one list where each network is "trusted" or not trusted
19942                 - Add a "getNetworkTrusted" dbus method
19943                 - "WirelessNetworkUpdate" signal now sent rather than
19944                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19945                 - Start freeing some dbus errors (not completed yet)
19946
19947         * info-daemon/passphrase.glade
19948                 - Remove the "don't show" hints for pager and taskbar
19949                 - Add a title since its going to be in the taskbar
19950
19951         * src/NetworkManager.[ch]
19952           src/NetworkManagerAPList.[ch]
19953                 - There are now no longer two separate lists of wireless networks,
19954                         but one list where each network is "trusted" or not trusted
19955
19956         * src/NetworkManagerAP.[ch]
19957                 - Add get/set "trusted" accessors and data bit
19958
19959         * src/NetworkManagerDbus.[ch]
19960                 - Add function to get "trusted" status of a network from NetworkManagerInfo
19961                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19962
19963         * src/NetworkManagerDevice.[ch]
19964                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19965                 - (nm_device_new): Get device config from backend when initializing devices
19966                 - (nm_device_activation_worker): Split out device configuration on
19967                         activation to deal with static/dynamic IP differences, and try encryption
19968                         fallbacks on a device if the encryption method for the best AP is not good
19969                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19970                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19971
19972         * src/NetworkManagerWireless.c
19973                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19974
19975         * src/backends/NetworkManagerRedHat.c
19976           src/backends/NetworkManagerSystem.h
19977                 - (nm_system_device_update_config_info): Add function to get device configuration
19978                         from system data in ifcfg-* files
19979
19980         * src/backends/NetworkManagerDebian.c
19981           src/backends/NetworkManagerGentoo.c
19982           src/backends/NetworkManagerSlackware.c
19983                 - Add stub functions for getting device configuration
19984
19985 2004-09-07  Dan Williams <dcbw@redhat.com>
19986
19987         * src/backends/NetworkManagerRedhat.c
19988           src/backends/NetworkManagerSlackware.c
19989                 - Use full path to /sbin/ip everywhere
19990
19991 2004-09-07  Dan Williams <dcbw@redhat.com>
19992
19993         Patch from: Narayan Newton <narayan_newton@yahoo.com>
19994
19995         * configure.in
19996           initscript/Makefile.am
19997           initscript/Slackware/Makfile.am
19998           initscript/Slackware/rc.networkmanager
19999           src/Makefile.am
20000           src/backends/NetworkManagerSlackware.c
20001                 - Add Slackware support
20002
20003 2004-09-07  Dan Williams <dcbw@redhat.com>
20004
20005         Patches below from:
20006                 <j@bootlab.org>
20007                 Mark Roach <mrroach@okmaybe.com>
20008                 Thom May <thom@debian.org>
20009
20010         * configure.in
20011           initscript/Debian/NetworkManager
20012           initscript/Debian/Makefile.am
20013                 - Initscript for Debian
20014
20015         * src/backends/NetworkManagerDebian.c
20016                 - Add missing system init function to allow compilation
20017                         on Debian
20018
20019 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
20020
20021         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20022
20023 2004-09-03  Akagic Amila <bono@linux.org.ba>
20024
20025         * configure.in: Added 'bs' to ALL_LINGUAS.
20026
20027 2004-09-02  Colin Walters  <walters@verbum.org>
20028
20029         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20030         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20031         g_strdup_printf instead of arbitrarily sized buffers.
20032
20033 2004-09-01  Colin Walters  <walters@verbum.org>
20034
20035         * NetworkManager.pc.in: New file.
20036
20037         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20038
20039 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
20040         
20041         * configure.in: Punjabi(pa) is added to po/.
20042
20043 2004-08-31  Dan Williams <dcbw@redhat.com>
20044
20045         * Remove 'debug' extern global from all files since we now
20046                 use syslog()
20047
20048         * src/NetworkManager.[ch]
20049                 - Break out routine that get the net.interface property from HAL,
20050                         removing that logic from nm_create_device_and_add_to_list()
20051                 - (nm_create_device_and_add_to_list): make this a bit more general so
20052                         it doesn't do the talking to HAL.  Also add arguments to facilitate
20053                         the create of test devices.
20054                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20055                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20056                         which makes NetworkManager listen for dbus commands to create test
20057                         devices, which have no backing hardware.  Use when you're on a plane
20058                         for example, and/or forgot your wireless card at home.  Test devices
20059                         _cannot_ be created unless NM is started with --enable-test-devices.
20060
20061         * src/NetworkManagerDbus.[ch]
20062                 - New "getLinkActive" method for devices
20063                 - New "setLinkActive" method for devices (only works on test devices)
20064                 - New "createTestDevice" method on NetworkManager object to create a test
20065                         device of a specified type (ie wired, wireless).  UDI is created from
20066                         scratch, as is the interface name.  Only works when NM is started with
20067                         --enable-test-devices switch.
20068                 - New "removeTestDevice" method on NetworkManager object which removes a
20069                         test device.  Only works when NM is started with --enable-test-devices
20070
20071         * src/NetworkManagerDevice.[ch]
20072                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
20073                         whether a device is a test device or not, and what its link status is.
20074                 - Deal with test devices in most functions.  For those that work directly on hardware
20075                         special-case test devices.
20076                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20077                         command-line.
20078                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20079                         checking to separate functions to facilitate test device link checking.
20080                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20081                         don't make a distinction between System Authentication and Encryption
20082                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20083                         on the card.  We don't deal with Shared Key auth yet.
20084                 - (nm_device_activation_worker): split the activation cancel check logic out into
20085                         a separate routine nm_device_activation_cancel_if_needed()
20086                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20087                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20088                         a list of fake access points that they can "see"
20089                 - (nm_device_is_test_device): return whether or not a device is a test device
20090
20091         * src/NetworkManagerPolicy.c
20092                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20093                         previously if you "locked"/forced NM to use a wireless device but then
20094                         selected a wireless network for NM to use, it would switch to a wired device.
20095                         So, if the active device is wireless and it has a "forced" best AP, use it
20096                         if the "forced" best AP is still valid
20097                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20098                         there were no usable network devices, or the last one was removed
20099
20100         * src/backends/NetworkManager*.c
20101                 - Deal with test devices, mostly just return success for operations like getting
20102                         a DHCP address
20103
20104         * test/nmtestdevices.c
20105                 - Test tool to create/remove/link-switch test devices
20106
20107 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20108
20109         * examples/python/NetworkManager.py: 
20110         added convience functions has_wired_device and has_wireless_device
20111
20112         * examples/python/systray/network_tray.py: 
20113         cleaned up a bunch of cruft, added support for listing wireless
20114         networks just like the real applet.  This is probably all I'm
20115         going to work on this applet from now on.
20116         TODO: add support for actually changing networks and devices
20117
20118         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20119         changed "nm.networks" into a dict from a list so I can store all
20120         the cool information about networks in there
20121
20122         * examples/python/systray/network_tray.py: 
20123         Added nice message when you try to run without running make first
20124
20125         * examples/python/NetworkManager.py: 
20126         Bug fixes to the code so we get all the device information
20127         that we need in get_device()
20128         
20129         * examples/python/NMTester.py: 
20130         Fixed _print_device_list to print_device_list
20131
20132 2004-08-29  Seth Nickell  <seth@gnome.org>
20133
20134         * configure.in:
20135
20136         Actually properly setup the Debian backend in configure.
20137         
20138 2004-08-29  Colin Walters  <walters@verbum.org>
20139
20140         * test/nminfotest.c: Include string.h and stdlib.h.
20141         (get_network_string_property, get_networks_of_type): Return NULL.
20142
20143         * test/nmclienttest.c (get_device_name, get_active_device): Return
20144         NULL.
20145
20146         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20147         use strlen, fgets always NULL-terminates the string.
20148
20149         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20150         dbus_message_get_member): Remove /* in comment.
20151
20152         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20153
20154         * src/NetworkManager.c (quit): Unused, delete.
20155         (nm_data_free): Cast arg to GFunc.
20156
20157         * panel-applet/NMWirelessAppletDbus.c: Need to include
20158         string.h, and dbus-glib-lowlevel.h (the latter is needed
20159         for dbus_connection_setup_with_g_main at present).
20160         (nmwa_dbus_update_wireless_network_list): Parenthesize
20161         assignment in conditional.
20162         (nmwa_dbus_worker): Return NULL.
20163
20164         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20165         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20166         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20167         (nmwa_populate_menu): Return NULL on failure, instead of just
20168         return;
20169
20170         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20171
20172         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20173         variables.
20174
20175         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20176         delete.
20177         
20178 2004-08-29  Colin Walters  <walters@verbum.org>
20179
20180         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20181         a GTimeVal instead of time_t.  This is easier to work with,
20182         since time_t may be a long or double, we don't know.
20183
20184         * src/NetworkManagerDbus.h: Update prototype.
20185         
20186         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20187         instead of time_t.
20188         (nm_ap_get_timestamp): Update to return GTimeVal.
20189         (nm_ap_set_timestamp): Update to take GTimeVal.
20190         
20191         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20192         to handle GTimeVal.
20193
20194         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20195         GTimeVal change.
20196         (nm_ap_list_print_members): Fix warnings in printf format.
20197
20198 2004-08-29  Colin Walters  <walters@verbum.org>
20199         
20200         * panel-applet/NMWirelessApplet.c: Include config.h.
20201
20202 2004-08-29  Colin Walters  <walters@verbum.org>
20203
20204         * configure.in: Generate config.h.
20205
20206         * configure.in: Dump dependency on OpenSSL; we can't
20207         use it since this package is GPL:
20208         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20209         Instead, check for libgcrypt, use it if available,
20210         otherwise use included MD5 code.
20211
20212         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20213         Suck in from gnome-keyring, munge a bit.
20214         
20215         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20216         gnome-keyring-md5.h gnome-keyring-md5.c.
20217         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20218
20219         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20220         libgcrypt or included gnome-keyring md5 bits.
20221         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20222
20223 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20224
20225         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20226
20227 2004-08-27  Bryan Clark  <bclark@redhat.com>
20228
20229         * examples/python/systray/Makefile: 
20230
20231         Updated the clean section
20232         
20233         * examples/python/systray/trayiconmodule.c: 
20234         * examples/python/systray/trayicon.override: 
20235         * examples/python/systray/network_tray.py: 
20236         * examples/python/systray/eggtrayicon.h: 
20237         * examples/python/systray/eggtrayicon.c: 
20238         * examples/python/systray/Makefile: 
20239         * examples/python/README: 
20240         * examples/python/NetworkManager.py: 
20241         * examples/python/NMTester.py: 
20242
20243         Initial commit of these python example files
20244
20245 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20246
20247         * panel-applet/NMWirelessApplet.c
20248                 - Make current device bold
20249                 - Show more user-friendly device name if we got one from hal
20250
20251         * panel-applet/NMWirelessAppletDbus.c
20252                 - Grab "info.product" key from hal for network devices
20253                 - Cache the current active device
20254
20255 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20256
20257         * configure.in: Added en_CA to ALL_LINGUAS.
20258
20259 2004-08-27  Christian Rose  <menthos@menthos.com>
20260
20261         * configure.in: Added "sv" to ALL_LINGUAS.
20262
20263 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20264
20265         * Tag NetworkManager-0.2
20266
20267 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20268
20269         * initscripts/Makefile.am
20270         * configure.in: Make pass distcheck
20271
20272         * po/ChangeLog: added
20273
20274 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20275
20276         * panel-applet/NMWirelessApplet.c
20277                 - Remove debugging code
20278                 - Enable device switching from menus
20279
20280         * panel-applet/NMWirelessAppletDbus.[ch]
20281                 - Method for asking NM to switch devices
20282
20283         * src/NetworkManagerDevice.c
20284                 - Set dev->activating earlier, avoids race between
20285                         the dbus signal of "DeviceActivating" and setting
20286                         dev->activating (which is what NM's "status" method call
20287                         looks at)
20288
20289 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20290
20291         * panel-applet/NMWirelessApplet.[ch]
20292                 - Rework menu code to add devices to menu, and to show
20293                         signal strength for each access point.  Code cleanups
20294                         too.
20295
20296         * panel-applet/NMWirelessAppletDbus.c
20297                 - Grab network devices from NetworkManager too
20298                 - Grab quality information from NM for wireless networks
20299
20300         * src/NetworkManagerDbus.[ch]
20301                 - Add dbus methods for getting the HAL UDI from a device and
20302                         for getting its base quality, if its wireless
20303                 - Consolidate some functions (wireless network notifications,
20304                         device notifications)
20305                 - Add method for requesting NM to use a particular device
20306
20307         * src/NetworkManager.c
20308                 - Change for function consolidations from NetworkManagerDbus.c
20309                 - Implement active device locking and user-requested devices
20310                         (ie, tell NM to use a particular device instead of the one
20311                         it autochose)
20312
20313         * src/NetworkManagerDevice.c
20314                 - Add method for getting the base quality of a device, if its
20315                         wireless
20316                 - Grab device base quailty info from iwlib during scans
20317
20318         * src/NetworkManagerPolicy.c
20319                 - Use a user-requested device rather than the auto-chosen device
20320                         if we are told to
20321
20322 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20323
20324         * Makefile.am: add po as a supdir
20325
20326         * autogen.sh: use gnome-autogen.sh
20327
20328         * initscript/Gentoo/.cvsignore:
20329         * initscript/RedHat/.cvsignore: Shut up cvs
20330
20331         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20332
20333         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20334         (nmwa_fill): Use gettext.
20335
20336         * configure.in: add gettext support
20337         * po/.cvsignore:
20338         * po/NetworkManager.pot:
20339         * po/POTFILES.in:
20340
20341 2004-08-26  Seth Nickell  <seth@gnome.org>
20342
20343         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20344         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20345         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20346         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20347         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20348         * panel-applet/NMWirelessApplet.h:
20349
20350         Use a menu bar instead of a button for the main clickable
20351         thingy.
20352         
20353 2004-08-25  Dan Williams <dcbw@redhat.com>
20354
20355         * src/NetworkManagerDevice.c
20356                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20357                         turning encryption off, because the Cisco driver doesn't associate
20358                         with WEP-enabled access points unless we are in "open"
20359
20360 2004-08-25  Dan Williams <dcbw@redhat.com>
20361
20362         * src/NetworkManagerWireless.c
20363                 - Don't try to defererence blank passphrases
20364
20365 2004-08-25  Dan Williams <dcbw@redhat.com>
20366
20367         * panel-applet/NMWirelessApplet.c
20368                 - Rebuild the menu whenever a user clicks
20369
20370 2004-08-25  Dan Williams <dcbw@redhat.com>
20371
20372         * panel-applet/NMWirelessApplet.c
20373                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20374                         when NM isn't around or when its not connected
20375
20376         * src/NetworkManagerDevice.c
20377                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20378                         canceled.
20379
20380 2004-08-25  Dan Williams <dcbw@redhat.com>
20381
20382         * panel-applet/NMWirelessAppletDbus.c
20383                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20384                         for getting encryption, and don't stop on "val" once we've gotten it
20385                         from NetworkManager.  Short form:  encryption should now show up.
20386
20387 2004-08-25  Dan Williams <dcbw@redhat.com>
20388
20389         * panel-applet/NMWirelessApplet.c
20390                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20391                         network to associate with
20392
20393 2004-08-25  Dan Williams <dcbw@redhat.com>
20394
20395         * panel-applet/*
20396                 - Rework the panel applet to do all DBUS communication in a separate
20397                         thread
20398
20399 2004-08-25  Dan Williams <dcbw@redhat.com>
20400
20401         * info-daemon/NetworkManagerInfo.[ch]
20402                 - Remove "get_next_priority" function
20403
20404         * info-daemon/NetworkManagerInfoDbus.[ch]
20405                 - Convert "priority" functions to "timestamp"
20406
20407 2004-08-25  Dan Williams <dcbw@redhat.com>
20408
20409         * src/NetworkManagerAP.[ch]
20410                 - Add a "enc_method_good" member and accessors to an Access Point
20411                         to signal when we've found the correct encryption method
20412                         for an access point
20413                 - Add a "timestamp" member and accessors, remove "priority" member
20414                         and accessors (use timestamps instead)
20415                 - Rename "wep_key"->"enc_key"
20416                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20417                         for a specified encryption method using the access points
20418                         source encryption key/passphrase
20419
20420         * src/NetworkManagerAPList.c
20421                 - When updating a network with dbus, grab timestamp now instead of
20422                         priority
20423
20424         * src/NetworkManagerDBus.[ch]
20425                 - Add signal for "DeviceActivating"
20426                 - Switch priority->timestamp
20427
20428         * src/NetworkManagerDevice.c
20429                 - Change references of "wep_key" -> "enc_key" or "key"
20430                 - Signal DeviceActivating when starting activation
20431                 - When activating a wireless device, if the access point we are connecting
20432                         to is encrypted, and we have a source key, try to generate a mangled
20433                         key and use that (ie, generate real WEP key from a passphrase)
20434                 - Rework device activation to fallback to other encryption methods if
20435                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20436                         first, then if that doesn't work fall back to direct hex key).
20437                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20438                         priority.  We now prefer the latest access point used, rather than using
20439                         a priority scheme
20440                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20441                         points we've just discovered, and merge in correct info from the global
20442                         access point lists
20443
20444 2004-08-25  Seth Nickell  <seth@gnome.org>
20445
20446         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20447         Debian support.
20448         
20449         * src/Makefile.am:
20450         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20451         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20452         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20453         (nm_system_delete_default_route),
20454         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20455         (nm_system_load_device_modules):
20456
20457 2004-08-24  Dan Willemsen <dan@willemsen.us>
20458
20459         * src/NetworkManager.c
20460           src/backends/NetworkManagerGentoo.c
20461           src/backends/NetworkManagerRedHat.c
20462           src/backends/NetworkManagerSystem.h
20463                 - Implement preliminary Gentoo support, adding a
20464                         nm_system_init function to the backend specification
20465
20466         * configure.in
20467                 - Distribution auto-detection, lowercase any user-fed
20468                         distribution names
20469
20470         * initscript/.cvsignore
20471           initscript/Makefile.am
20472           initscript/RedHat/Makefile.am
20473           initscript/RedHat/NetworkManager
20474           initscript/Gentoo/Makefile.am
20475           initscript/Gentoo/NetworkManager
20476                 - Refactored initscript code separately for each
20477                         distribution
20478
20479 2004-08-23  Dan Williams <dcbw@redhat.com>
20480
20481         * configure.in
20482           src/Makefile.am
20483           src/NetworkManagerDevice.c
20484           src/NetworkManager.c
20485           src/NetworkManagerUtils.[ch]
20486           src/backends/NetworkManagerSystem.h
20487           src/backends/NetworkManagerRedHat.c
20488           src/backends/NetworkManagerGentoo.c
20489                 - Refactor system-specific code into separate backends for
20490                         each distribution
20491
20492 2004-08-23  Dan Willemsen <dan@willemsen.us>
20493
20494         * dispatcher-daemon/NetworkManagerDispatcher.c
20495           info-daemon/NetworkManagerInfo.[ch]
20496           info-daemon/NetworkManagerInfoDbus.c
20497           info-daemon/NetworkManagerInfoPassphraseDialog.c
20498           src/NetworkManager.c
20499           src/NetworkManagerAP.c
20500           src/NetworkManagerAPList.c
20501           src/NetworkManagerDbus.c
20502           src/NetworkManagerDevice.c
20503           src/NetworkManagerPolicy.c
20504           src/NetworkManagerUtils.[ch]
20505           src/NetworkManagerWireless.c
20506                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20507
20508         * src/NetworkManager.c
20509                 - Fixed usage wording for --no-daemon
20510
20511 2004-08-23  Dan Williams <dcbw@redhat.com>
20512
20513         * panel-applet/NMWirelessApplet.c
20514                 - Update our state every second to get more responsive panel icon
20515                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20516                         was causing our marching ants status blips to never move when
20517                         looking for a wireless network
20518
20519         * src/NetworkManagerDevice.c
20520                 - (nm_device_activation_begin): return if activation has already begun
20521                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20522                         trusted/preferred network into the device's access point when the
20523                         scan list is processed
20524
20525 2004-08-23  Dan Williams <dcbw@redhat.com>
20526
20527         * initscript/NetworkManager
20528                 - Use NMLaunchHelper rather than sleeping
20529
20530         * initscript/NMLaunchHelper.c
20531           Makefile.am
20532                 - Add helper program that exits only when NM activates a device,
20533                         or 10 seconds have passed, whichever happens first.  This
20534                         stops the boot processes until we have a network connection,
20535                         which NM can't do because it daemonizes and brings the connection
20536                         up in the background.  Allows stuff like NFS to not die.
20537
20538 2004-08-20  Dan Williams <dcbw@redhat.com>
20539
20540         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20541                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20542                         for a network, set the essid as well since it may not exist yet
20543                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20544                         since WEP keys/passphrases are long and prone to entry-error
20545
20546         * panel-applet/Makefile.am
20547           panel-applet/wired.png
20548                 - Add (pulled from system-config-network temporarily)
20549
20550         * panel-applet/NMWirelessApplet.[ch]
20551                 - Show wired picture when a wired connection is used
20552                 - Rename wireless icon enums, adding WIRELESS
20553
20554         * src/NetworkManagerDevice.c
20555                 - (nm_device_activate_wireless): unset encryption before bringing
20556                         down the card and setting the essid
20557                 - (nm_device_activatin_worker): request a key from the user if the
20558                         AP we are connecting to is encrypted but we don't have a key
20559                         for it yet
20560                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20561                         strcmp() that prevented a user-entered key from actually getting
20562                         used
20563
20564 2004-08-16  Dan Williams <dcbw@redhat.com>
20565
20566         * initscript/NetworkManager
20567                 - Check for /sbin/ip
20568                 - Do sysctl magic that network service does
20569                 - sleep 4s after start to allow network time to come up [hack]
20570
20571         * src/Makefile.am
20572           src/NMLoadModules
20573                 - Load all network device kernel modules (hal doesn't know devices
20574                         are ethernet until the module is loaded, and therefore we don't know)
20575
20576         * src/NetworkManager.c
20577                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20578                         network devices, and bring up the loopback device explicitly
20579
20580         * src/NetworkManagerUtils.[ch]
20581                 - (nm_enable_loopback): new function
20582
20583 2004-08-13  Dan Williams <dcbw@redhat.com>
20584
20585         * configure.in
20586           panel-applet/Makefile.am
20587                 - Fix up cleanfiles and server_DATA/server_in_files
20588
20589         * README
20590                 - Update with some comments on theory of operation
20591
20592         * CONTRIBUTING
20593           Makefile.am
20594                 - Add CONTRIBUTING
20595
20596 2004-08-12  Dan Williams <dcbw@redhat.com>
20597
20598         * info-daemon/passphrase.glade
20599                 - Set window title to " "
20600
20601         * panel-applet/Makefile.am
20602           panel-applet/keyring.png
20603                 - Deliver to correct place
20604
20605         * panel-applet/NMWirelessApplet.[ch]
20606                 - Add comments
20607                 - Remove applet->have_active_device as its no longer used
20608                 - (nmwa_load_theme): load keyring.png too
20609                 - (error_dialog): remove
20610                 - (show_warning_dialog): subsume functionality of error dialog too
20611                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20612                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20613                         the networks menu
20614                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20615                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20616                         and when we get broadcasts of changed wireless access points only, not when the
20617                         user clicks on the button to display the menu (too long of a wait)
20618                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20619                         networks that are encrypted
20620                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20621                         menu item with g_object_set_data()
20622
20623         * panel-applet/NMWirelessAppletDbus.[ch]
20624                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20625                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20626                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20627                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20628                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20629                         activation/deactivation signals and rebuild the menu when they happen
20630
20631         * src/NetworkManager.c
20632                 - (main): use new nm_spawn_process() rather than system()
20633
20634         * src/NetworkManagerDbus.c
20635                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20636                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20637                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20638                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20639                         to freeze the best_ap.
20640
20641         * src/NetworkManagerDevice.[ch]
20642                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20643                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20644                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20645                         ap list
20646
20647         * src/NetworkManagerUtils.[ch]
20648                 - (nm_spawn_process): add replacement for system() usage
20649
20650 2004-08-11  Dan Williams <dcbw@redhat.com>
20651
20652         * panel-applet/NMWirelessApplet.[ch]
20653                 - Fix up copyright and credits to include Bastien and Eskil,
20654                         who created the gnome-applets wireless applet, from whose
20655                         skeleton this one was created
20656                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20657                         pixmap to draw is computed during nmwa_update_state()
20658                 - Applet now shows itself all the time due to panel packing issues
20659                         which caused the applet to previously never come back after hiding.
20660                         When a wired device is the active device, the applet shows "not connected"
20661
20662         * panel-applet/NMWirelessAppletDbus.[ch]
20663                 - Clean up error messages and show what function they are from
20664                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20665                 - Add new device type getters, and a status getter
20666
20667         * src/NetworkManagerDbus.c
20668                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20669                         network is actually in the device's ap list
20670                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20671
20672         * src/NetworkManagerDevice.c
20673                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20674                         card
20675
20676         * test/nmclienttest.c
20677                 - Report status of NetworkManager too
20678
20679 2004-08-11  Dan Williams <dcbw@redhat.com>
20680
20681         * info-daemon/NetworkManagerInfo.c:
20682                 - (main): clean up Seth's code style
20683
20684         * info-daemon/NetworkManagerInfoDbus.c:
20685                 - Use the more aptly-named path/service/interface constants from NetworkManager
20686                 - Don't return empty strings ("") as object paths ever, instead return errors
20687
20688         * panel-applet/NMWirelessApplet.c:
20689                 - Clean up Seth's code style
20690
20691         * src/NetworkManager.[ch]
20692                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20693                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20694
20695         * src/NetworkManagerAPList.[ch]
20696                 - Move Iter struct right above the iter functions to preserve opacity
20697                 - (nm_ap_list_remove_ap): implement
20698                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20699                         remove AP if NetworkManagerInfo doesn't know anything about it
20700                 - (nm_ap_list_diff): user NMAPList iterators
20701                 - (nm_ap_list_print_members): implement debugging function
20702
20703         * src/NetworkManagerDbus.[ch]
20704                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20705                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20706                         and move the actual key setting stuff into NetworkManagerDevice.c
20707                 - (nm_dbus_get_network_priority): return -1 now on errors
20708                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20709                         get lost, and force the active device to update its "best" ap when AP lists change
20710                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20711                         method call due to pending_device member removal
20712
20713         * src/NetworkManagerDevice.[ch]
20714                 - Move NMDevice structure to the top
20715                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20716                 - Remove Pending Action stuff from everywhere
20717                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20718                         activation for us.  This thread blocks until all conditions for activation have
20719                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20720                         then setup up the interface and runs dhclient.  We have to do this because there
20721                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20722                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20723                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20724                         can tell nm_device_activation_worker() that we've got a key
20725                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20726                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20727                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20728                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20729
20730         * src/NetworkManagerPolicy.c
20731                 - Remove anything to do with pending_device
20732                 - Adjust device activation to deal with activation-in-worker-thread
20733
20734         * src/NetworkManagerUtils.c
20735                 - Clean up locking debugging a bit
20736
20737         * src/NetworkManagerWireless.[ch]
20738                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20739                         was badly named and is better as a device function
20740
20741         * panel-applet/.cvsignore: add
20742
20743 2004-08-09  Seth Nickell  <seth@gnome.org>
20744
20745         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20746         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20747         (nmwa_new):
20748         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20749
20750         Don't load the menus until clicked on (also removes a call outside
20751         normal code paths at first load).
20752
20753         Hide applet when NM is not present.
20754         
20755         Improve printf debugging stuff.
20756         
20757 2004-08-09  Dan Williams <dcbw@redhat.com>
20758
20759         * dispatcher-daemon/NetworkManagerDispatcher.c:
20760                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20761                 - Use constants for NetworkManager interface, service, and path
20762
20763 2004-08-09  Dan Williams <dcbw@redhat.com>
20764
20765         * src/NetworkManagerDbus.c:
20766                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20767                         instead return an error message
20768                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20769                         on a wired device.  Also never return an empty object path, instead return an error message
20770
20771 2004-08-06  Seth Nickell  <seth@gnome.org>
20772
20773         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20774
20775         Check the error code when getting a connection.
20776         
20777         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20778
20779         Check if the NM service exists when initializing (rather than
20780         assuming it does not).
20781         
20782         * src/NetworkManagerDbus.c: (nm_dbus_init):
20783
20784         Don't acquire the well-known service name until we have
20785         registered object/path handlers and can actually receive
20786         calls.
20787         
20788 2004-08-06  Dan Williams <dcbw@redhat.com>
20789
20790         * panel-applet/*
20791                 - Add panel applet
20792
20793         * src/NetworkManagerPolicy.c
20794           src/NetworkManager.c
20795                 - Get access point lists from NetworkManagerInfo on-demand,
20796                         and look for ServiceCreate/ServiceDeleted signals to see when
20797                         we should query NMI for lists
20798         * src/NetworkManagerAPList.c
20799                 - Make sure to init the list's mutex
20800                 - Convert traversals of the list over to the list iter functions
20801
20802         * src/NetworkManagerDbus.[ch]
20803                 - Use more aptly-named path/service/interface constants
20804                 - Treat both active and pending devices the same for "getActiveDevice"
20805                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20806
20807         * src/NetworkManagerDevice.c
20808                 - Honor "ignored" network list when picking best ap to use
20809
20810 2004-08-06  Seth Nickell  <seth@gnome.org>
20811
20812         * aclocal.m4:
20813
20814         Autogenerated, remove from CVS.
20815         
20816         * autogen.sh:
20817
20818         Don't hardcode automake version.
20819         
20820         * configure.in:
20821         * info-daemon/Makefile.am:
20822         * info-daemon/NetworkManagerInfo.c: (main):
20823
20824         Use GnomeProgram et al. for doing session management.
20825         Use popt stuff for argument parsing rather than doing
20826         it manugally.
20827         
20828 2004-08-05  Dan Williams <dcbw@redhat.com>
20829
20830         * test/nminfotest.c
20831                 - Update to new NMI dbus API, check different network types
20832
20833         * info-daemon/NetworkManagerInfoDbus.c
20834                 - Update to new NM dbus API, ie network type sent in query message
20835
20836 2004-08-05  Dan Williams <dcbw@redhat.com>
20837
20838         * An assload of changes
20839
20840 2004-08-02  Dan Williams <dcbw@redhat.com>
20841
20842         * TODO
20843                 - new task: proper logging support
20844
20845         * info-daemon/NetworkManagerInfo.c
20846                 - Correct spelling of "canceled"
20847                 - Correct casting of objects for g_signal_connect()
20848
20849         * info-daemon/NetworkManagerInfoDbus.c
20850                 - Add defines for NetworkManager namespace and object path, and use them
20851                 - Add filter function to trap new signals from NetworkManager:
20852                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20853
20854         * info-daemon/passphrase.glade
20855                 - Change name of "ok" button to "Login to Network..."
20856                 - Mark invisible
20857
20858         * src/NetworkManager.c
20859                 - Code and debug message cleanups
20860                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20861                 - (nm_add_initial_devices) Check returned string array of devices
20862                         and don't try to add devices if array is NULL
20863                 - (main) Initialize libhal a bit later, make code a bit clearer
20864
20865         * src/NetworkManagerAP.[ch]
20866                 - New accessor and data member "matched": used to speed up AP list
20867                         diffing
20868                 - New accessor and data member "enc_method": will be used during key
20869                         fallback to cache which passphrase->key conversion actually works
20870                         so we don't have to do it every time
20871
20872         * src/NetworkManagerAPList.[ch]
20873                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20874                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20875                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20876                         dbus in response to those differences
20877
20878         * src/NetworkManagerDbus.[ch]
20879                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20880                         make an object path for that access point (NOTE that we don't yet check to
20881                         make sure that access point is actually in the device's AP list yet)
20882                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20883                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20884                         New: signal appearance/disappearance of wireless networks
20885                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20886                         key entry
20887
20888         * src/NetworkManagerDevice.[ch]
20889                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20890                 - (nm_device_ap_list_get) New: return the AP list (static function)
20891                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20892                         new one resulting from the scan with the old one
20893
20894         * src/NetworkManagerWireless.c
20895                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20896
20897         * test/nminfotest.c
20898                 - #define object paths and namespaces and use the #defines rather than static strings
20899                 - Test out user-key functionality of NetworkManagerInfo too
20900
20901 2004-07-29  Dan Williams <dcbw@redhat.com>
20902
20903         * info-daemon/NetworkManagerInfoDbus.c
20904           src/NetworkManagerDbus.c
20905                 - Update to current DBus (ie don't use decomposed paths when registering
20906                         object paths/fallbacks)
20907
20908 2004-07-27  Dan Williams <dcbw@redhat.com>
20909
20910         * Remove various Makefile.in files
20911
20912         * TODO
20913                 - Add some more items
20914
20915         * configure.in
20916                 - Add checks for OpenSSL/md5 headers and libs
20917
20918         * src/Makefile.am
20919                 - Use OpenSSL CFLAGS
20920
20921         * src/NetworkManagerAP.[ch]
20922                 - Remove 'stamp' functions, replace with 'invalid' functions
20923                         to support user cancelling WEP key entry
20924
20925         * src/NetworkManagerDbus.c
20926                 - Remove 'stamp' return functions
20927                 - Treat returned user key as a passphrase and convert to a WEP key,
20928                         but don't actually use the WEP key yet.  We use the returned user
20929                         key as a hexadecimal WEP key until we can figure out a UI for
20930                         passphrase-vs-hex key
20931
20932         * src/NetworkManagerWireless.[ch]
20933                 - Add passphrase-to-128bit-key function
20934
20935 2004-07-27  Dan Williams <dcbw@redhat.com>
20936
20937         * TODO
20938                 - Add a couple of items
20939
20940 2004-07-27  Dan Williams <dcbw@redhat.com>
20941
20942         * info-daemon/NetworkManagerInfo.c
20943                 - Update allowed network's GConf key when user enters a WEP key explicitly
20944
20945         * info-daemon/NetworkManagerDbus.c
20946                 - Fix some comments
20947                 - nmi_dbus_get_allowed_networks(): kill warning
20948
20949 2004-07-27  Dan Williams <dcbw@redhat.com>
20950
20951         * initscript/Makefile.in
20952                 - Remove
20953
20954         * initscript/Makefile.am
20955                 - Add correct rules to install the init.d initscript
20956
20957         * info-daemon/NetworkManagerInfoDbus.c
20958                 - Remove debug fprintf
20959
20960         * src/NetworkManagerDbus.[ch]
20961                 - Remove debug fprintfs
20962                 - Add macros for NetworkManagerInfo object path/namespace
20963                 - Use said macros instead of constant strings
20964
20965 2004-07-27  Dan Williams <dcbw@redhat.com>
20966
20967         * initscript/.cvsignore
20968                 - Add
20969
20970         * info-daemon/Makefile.am
20971                 - Install .glade files and keyring.png
20972                 - Fix stupid omission of a \ that caused half the flags not to be
20973                         passed to gcc
20974
20975         * info-daemon/NetworkManagerInfo.c
20976                 - gtk_signal_connect->g_signal_connect
20977                 - Alert NetworkManagerInfo to new glade file location
20978
20979 2004-07-27  Dan Williams <dcbw@redhat.com>
20980
20981         * test/nmclienttest.c
20982           test/nminfotest.c
20983                 - Add missing <dbus/dbus.h> headers
20984                 - Add GPL message at top
20985
20986 2004-07-27  Dan Williams <dcbw@redhat.com>
20987
20988         * src/NetworkManagerAPList.[ch]
20989           src/Makefile.am
20990                 - Add.  Deal with allowed network list additions, deletions, and updates
20991
20992         * dispatcher-daemon/NetworkManagerDispatcher.c
20993                 - Add missing <dbus/dbus.h> header
20994
20995         * info-daemon/NetworkManagerInfo.[ch]
20996                 - Add missing <dbus/dbus.h> header
20997                 - Implement the GConf notify callback to signal NetworkManager of an allowed
20998                         network change
20999                 - Better error checking
21000
21001         * info-daemon/NetworkManagerInfoDbus.[ch]
21002                 - Add missing <dbus/dbus.h> header
21003                 - Convert to using dbus_message_append_args/dbus_message_get_args
21004                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21005                         that an allowed network changed.  We don't want to signal on individual
21006                         keys _inside_ an allowed network really, just want NM to query the info
21007                         daemon for updated info on all keys.
21008                 - Better error checking
21009
21010         * src/NetworkManager.[ch]
21011                 - Add missing <dbus/dbus.h> header
21012                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21013                 - Zero out NMData structure on free
21014                 - No longer use a thread for allowed_ap_list updating, instead its now done
21015                         through dbus queries against NetworkManagerInfo
21016                 - Populate allowed_ap_list initially before adding existing network devices
21017                         to the device list, so wireless devices can get their "best" AP
21018
21019         * src/NetworkManagerDbus.[ch]
21020                 - Convert to using dbus_message_append_args/dbus_message_get_args
21021                 - Better error checking
21022                 - Implement Allowed Network info functions to request allowed network
21023                         info from NetworkManagerInfo
21024                 - Implement the filter function to process signals from NetworkManagerInfo
21025                         about changing allowed networks
21026
21027         * src/NetworkManagerDevice.c
21028                 - Fix file descriptor leak in nm_device_update_ip4_address()
21029
21030 2004-07-27  Dan Williams <dcbw@redhat.com>
21031
21032         * .cvsignore
21033           src/.cvsignore
21034           test/.cvsignore
21035           dispatcher-daemon/.cvsignore
21036           info-daemon/.cvsignore
21037                 - Add .cvsignore files to reduce noise when diffing
21038
21039 2004-07-24  Dan Williams <dcbw@redhat.com>
21040
21041         * src/NetworkManager.[ch]
21042           src/NetworkManagerDbus.[ch]
21043           src/NetworkManagerDevice.[ch]
21044           src/NetworkManagerPolicy.c
21045           src/NetworkManagerWireless.[ch]
21046                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21047                 - Pass the NMData application data structure through all calls
21048                         that need it so we can get rid of nm_get_global_data()
21049                 - Change deallocation of the allowed_ap_list GSList in preparation
21050                         for not completely clearing it every time we get an update,
21051                         but instead getting incremental updates via GConf/dbus
21052
21053 2004-07-22  Dan Williams <dcbw@redhat.com>
21054
21055         * configure.in
21056                 - Add checks for GConf libs & headers & flags
21057
21058         * info-daemon/Makefile.am
21059                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21060
21061         * info-daemon/NetworkManagerInfo.[ch]
21062                 - Don't use gquarks for data storage, just use normal data storage
21063                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21064
21065         * info-daemon/NetworkManagerDbus.[ch]
21066                 - Add method call for getting allowed networks
21067                 - Add method calls for getting an allowed network's essid, priority, and key
21068                 - Hook the method calls up to GConf
21069                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21070                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21071                 
21072         * src/NetworkManagerDbus.[ch]
21073                 - Switch for enumeration of networks to using essid instead
21074
21075         * test/Makefile.am
21076           test/nminfotest.c
21077                 - Add test program for NetworkManagerInfo
21078
21079 2004-07-19  Dan Williams <dcbw@redhat.com>
21080
21081         * src/NetworkManagerDbus.c
21082                 - Switch from indexed device paths to names.  Less code, more efficient.
21083                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21084
21085 2004-07-19  Dan Williams <dcbw@redhat.com>
21086
21087         * dispatcher-daemon/NetworkManagerDispatcher.c
21088                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21089
21090 2004-07-19  Dan Williams <dcbw@redhat.com>
21091
21092         * Makefile.am
21093                 - Add info-daemon directory
21094
21095         * configure.in
21096                 - Check for glade libs and headers
21097                 - Add info-daemon directory
21098
21099         * src/NetworkManagerAP.c
21100                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21101                         copied over to the new AP.
21102
21103         * src/NetworkManagerDbus.c
21104           src/NetworkManagerDbus.h
21105                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21106                 - Remove nm_dbus_signal_need_key_for_network()
21107                 - Add disabled code for asynchronous user wep key callbacks
21108                 - Add functions for getting, setting, and cancelling user key operations
21109                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21110                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21111
21112         * src/NetworkManagerDevice.c
21113           src/NetworkManagerDevice.h
21114                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21115                         logic is in device activation now
21116                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21117                         key is wrong) trigger get-user-key pending action
21118                 - Implement get-user-key pending action stuff, tie to dbus messages
21119                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21120                 - Add nm_device_ap_list_get_ap_by_essid()
21121                 - Instead of copying "best" access points, ref them instead so that the key we set
21122                         sticks around
21123
21124         * src/NetworkManagerPolicy.c
21125                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21126                 - Don't cancel pending actions on a device if its the same device as last iteration
21127                 - Only promote pending_device->active_device if activation was successfull
21128
21129         * src/Makefile.am
21130                 - Rename nmclienttest->nmtest
21131
21132         * info-daemon/Makefile.am
21133           info-daemon/NetworkManagerInfo.c
21134           info-daemon/NetworkManagerInfo.h
21135           info-daemon/NetworkManagerInfoDbus.c
21136           info-daemon/NetworkManagerInfoDbus.h
21137           info-daemon/passphrase.glade
21138           info-daemon/NetworkManagerInfo.conf
21139           info-daemon/keyring.png
21140                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21141                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21142                         lists to NetworkManager by proxying user's GConf
21143           
21144
21145 2004-07-15  Dan Williams <dcbw@redhat.com>
21146
21147         * src/Makefile.am
21148                 - Turn on warnings
21149
21150         * src/NetworkManager.c
21151                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21152                         that doing the deactivation ourselves
21153                 - Cancel an pending actions on a device if its being removed
21154                 - Break up link state checking a bit, make non-active wireless cards
21155                         deactivated to save power
21156                 - Remove unused variables
21157
21158         * src/NetworkManager.h
21159                 - Add support for "pending" device
21160
21161         * src/NetworkManagerAP.h
21162           src/NetworkManagerAP.c
21163                 - Add support for determining whether and AP has encryption enabled or not
21164                 - AP address is now "struct ether_addr" rather than a string
21165
21166         * src/NetworkManagerDbus.h
21167           src/NetworkManagerDbus.c
21168                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21169                 - Changes for AP address from struct ether_addr->string
21170
21171         * src/NetworkManagerDevice.h
21172           src/NetworkManagerDevice.c
21173                 - Remove unused variables, fix warnings
21174                 - Add support for Pending Actions (things that block a device from being "active"
21175                         until they are completed).
21176                 - First pending action:  Get a WEP key from the user
21177                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21178                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21179                 - Update wireless link checking to try to determine if the AP we are associated
21180                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21181                         trigger the GetUserKey pending action on the device
21182                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21183                         up in that case, otherwise we can't scan or link-check on it
21184                 - Add IP address change notifications at appropriate points (still needs some work)
21185                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21186
21187         * src/NetworkManagerPolicy.h
21188           src/NetworkManagerPolicy.c
21189                 - Split out "best" access point determiniation into separate function
21190                 - Make device activation 2-stage:  first the device is pending, then
21191                         in the next iteration through it becomes "active" unless it has
21192                         pending actions
21193
21194         * src/NetworkManagerUtils.h
21195           src/NetworkManagerUtils.c
21196                 - Clean up unused variables and warnings
21197                 - Wrap our debug macros in {} to prevent possible confusion
21198
21199         * src/NetworkManagerWireless.c
21200                 - Forgot to return current best priority, which lead to last available AP always
21201                         being chosen no matter what its priority was.  Corrected.
21202
21203 2004-07-15  Dan Williams <dcbw@redhat.com>
21204
21205         * dispatcher-daemon/Makefile.am
21206                 - Turn on warnings
21207
21208         * dispatcher-daemon/NetworkManagerDispatcher.c
21209                 - Remove unused variables due to warnings
21210                 - Fix some comments
21211                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21212
21213 2004-07-06  Dan Williams <dcbw@redhat.com>
21214
21215         * src/NetworkManager.c
21216                 - Add IPv4 address update for active device during link state check
21217                 - Don't allow wireless cards to be powered up when they are not the
21218                         active device
21219
21220         * src/NetworkManagerDbus.c
21221           src/NetworkManagerDbus.h
21222                 - Add DBUS IPv4 address change signal
21223                 - Add DBUS IPv4 address get method for devices
21224
21225         * src/NetworkManagerDevice.c
21226                 - Make setting the WEP key actually work
21227                 - Move IP address get/set/update stuff here, per-device
21228                 - Power down/bring down wireless device when deactivated
21229                 - For scanning wireless devices, if first scan returned ENODATA, try again
21230
21231         * src/NetworkManagerPolicy.c
21232                 - Only set the WEP key for an allowed access point if there is one.
21233                         We were setting it to be blank if one wasn't specified.
21234
21235         * src/NetworkManagerUtils.h
21236           src/NetworkManagerUtils.c
21237                 - Move the IP address stuff to NetworkManagerDevice.c
21238
21239         * dispatcher-daemon/NetworkManagerDispatcher.c
21240                 - Add device IPv4 address change notification stuff
21241
21242 2004-07-05  Dan Williams <dcbw@redhat.com>
21243
21244         * dispatcher-daemon/NetworkManagerDispatcher.c
21245                 - A bit more descriptive state message
21246                 - Don't segfault when reading directory
21247
21248         * src/NetworkManager.h
21249                 - Remove NMData desired_ap member, its now
21250                         per-device rather than global
21251
21252         * src/NetworkManager.c
21253                 - Remove references to desired_ap
21254                 - Move the allowed AP list refresh stuff into a thread
21255
21256         * src/NetworkManagerDevice.c
21257           src/NetworkManagerDevice.h
21258                 - Each wireless device now has a "best ap"
21259                 - Make device activate/deactivate functions per-device
21260                 - Make wireless scanning per-device
21261                 - Add IPv4 address discover functions, stub IPv6 ones
21262                 - Move ethernet address validation functions to NetworkManagerUtils.c
21263                 - Add wireless access point accessor function
21264                 - Get/Set functions for "best ap"
21265
21266         * src/NetworkManagerPolicy.c
21267                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21268                 - Deal with per-device "best ap" rather than data->desired_apa
21269                 - Implement allowed access point worker thread
21270                 - Add nm_policy_essid_is_allowed() function
21271
21272         * src/NetworkManagerUtils.c
21273           src/NetworkManagerUtils.h
21274                 - Add nm_ethernet_address_is_valid() function
21275                 - Add IPv4/IPv6 address get functions
21276
21277         * src/NetworkManagerWireless.c
21278           src/NetworkManagerWireless.h
21279                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21280
21281 2004-06-29  Dan Williams <dcbw@redhat.com>
21282
21283         * dispatcher-daemon/NetworkManagerDispatcher.c
21284                 - Implement script callout functionality
21285
21286 2004-06-24  Dan Williams <dcbw@redhat.com>
21287
21288         * NetworkManager.c
21289             - Spacing cleanups
21290             - Flush device routes and ip addresses when added to the device list
21291
21292         * NetworkManagerDbus.c
21293             - Spacing cleanups
21294             - Add missing returns in the two signal functions
21295         
21296         * NetworkManagerPolicy.c
21297             - Spacing and variable cleanups
21298
21299 2004-06-24  Dan Williams <dcbw@redhat.com>
21300
21301         * Makefile.am
21302           Makefile.in
21303           configure.in
21304           dispatcher-daemon/Makefile.am
21305           dispatcher-daemon/Makefile.in
21306           dispatcher-daemon/NetworkManagerDispatcher.c
21307             - Add a daemon that receives signals from NetworkManager
21308                         and will (eventually) call scripts in /etc/somewhere
21309                         when devices go up or down.
21310         
21311         * NetworkManager.c
21312             - Spacing cleanups
21313             - Flush device routes and ip addresses when added to the device list
21314
21315         * NetworkManagerDbus.c
21316             - Spacing cleanups
21317             - Add missing returns in the two signal functions
21318         
21319         * NetworkManagerPolicy.c
21320             - Spacing and variable cleanups
21321             - Rename nm_policy_switch_interface->nm_policy_switch_device
21322             - nm_policy_switch_device():
21323                                 Use kill (pid) instead of system ("kill <pid>")
21324             - nm_state_modification_monitor():
21325                                 Add wireless essid to output of debug statements
21326                                 Correct typo in device compare to switch or not (should be !=)
21327                                 Don't sleep after sending "no longer active" signal, was useless
21328
21329 2004-06-24  Dan Williams <dcbw@redhat.com>
21330
21331         * Initial import