2008-10-16 Dan Williams <dcbw@redhat.com>
[NetworkManager.git] / ChangeLog
1 2008-10-16  Dan Williams  <dcbw@redhat.com>
2
3         * src/nm-device-wifi.c
4                 - (constructor): correctly determine encryption capabilities
5
6 2008-10-15  Dan Williams  <dcbw@redhat.com>
7
8         * src/nm-device-wifi.c
9                 - (wireless_qual_to_percent): fix quality calculation in a fallback case
10                         (Johannes Berg)
11
12 2008-10-15  Dan Williams  <dcbw@redhat.com>
13
14         * src/NetworkManagerSystem.c
15                 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
16                         if the ip4_dest is in a smaller subnet contained within a subnet
17                         the machine is currently on, the destination is in the same subnet
18                 - (nm_system_device_set_ip4_route): move subnet checks to callers
19                 - (add_vpn_gateway_route): check if the VPN gateway is in the same
20                         subnet as the parent device, and if so, don't add the direct
21                         host route via the parent device's gateway (bgo #481620)
22                 - (nm_system_apply_ip4_config): check whether the route to be added
23                         is contained within a subnet the device is already on
24
25 2008-10-11  Dan Williams  <dcbw@redhat.com>
26
27         * include/NetworkManager.h
28           introspection/nm-device.xml
29           include/NetworkManagerVPN.h
30                 - Add a few more state reasons for the device deactivated state
31
32         * src/nm-device-interface.c
33           src/nm-device-interface.h
34                 - (nm_device_interface_deactivate): add a 'reason' argument
35
36         * src/nm-device.c
37           src/nm-device.h
38                 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
39                 - (nm_device_state_changed): pass the state change reason to
40                         nm_device_take_down()
41                 - (nm_device_set_managed): take a 'reason' argument, and pass it along
42                         to the state change function
43
44         * src/nm-manager.c
45           src/nm-manager.h
46                 - (remove_one_device, handle_unmanaged_devices, sync_devices,
47                    impl_manager_sleep): pass a reason code to nm_device_set_managed()
48                 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
49                         something reasonable along to VPN deactivation
50
51         * src/vpn-manager/nm-vpn-manager.c
52           src/vpn-manager/nm-vpn-manager.h
53                 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
54                         pass that along to nm_vpn_connection_disconnect()
55
56 2008-10-11  Dan Williams  <dcbw@redhat.com>
57
58         * src/nm-device-wifi.c
59                 - (can_scan): remove old madwifi hack for not scanning while connected
60
61 2008-10-11  Dan Williams  <dcbw@redhat.com>
62
63         Add support for VPN subnet gateways (bgo #549196)
64
65         * include/NetworkManager.h
66                 - Add key for internal VPN subnet gateway
67
68         * src/vpn-manager/nm-vpn-connection.c
69                 - (ip_address_to_string): return a const from a static buffer so we
70                         don't leak a lot of strings
71                 - (print_vpn_config): print internal VPN gateway as well
72                 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
73                         VPN service too
74                 - (nm_vpn_connection_get_ip4_internal_gateway): new function
75
76         * src/NetworkManagerSystem.c
77           src/NetworkManagerSystem.h
78                 - (nm_system_device_replace_default_ip4_route): split into two, one for
79                         VPN connections and one for normal devices
80                 - (replace_default_ip4_route): break out route stuff into its own function
81                 - (nm_system_replace_default_ip4_route_vpn,
82                    nm_system_replace_default_ip4_route): simplify by having two cases,
83                         one for VPNs and one for normal devices
84
85         * src/NetworkManagerPolicy.c
86                 - (update_routing_and_dns): simplify, use split default route replacement
87                         functions
88
89 2008-10-10  Dan Williams  <dcbw@redhat.com>
90
91         Rework default route handling to consolidate decisions in the policy,
92         and to take active VPN connections into account when changing the default
93         route (bgo #545912)
94
95         * src/NetworkManager.c
96                 - (main): pass the vpn_manager to the policy so it knows about active
97                         VPN connections; clean up the named manager which wasn't done before
98
99         * src/NetworkManagerPolicy.c
100           src/NetworkManagerPolicy.h
101                 - (nm_policy_new): get a clue about the vpn_manager
102                 - (update_default_route): remove, fold into update_routing_and_dns()
103                 - (update_routing_and_dns): handle active VPN connections too; an
104                         active VPN connection becomes the default route if it does not have
105                         server-specified or user-specified custom routes.  Otherwise, the
106                         best active device gets the default route
107                 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
108                    nm_policy_destroy): track VPN connection activation and deactivation
109                         and update the default route when appropriate
110
111         * src/NetworkManagerSystem.c
112           src/NetworkManagerSystem.h
113                 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
114                         in the VPN connection itself
115                 - (nm_system_vpn_device_set_from_ip4_config,
116                    nm_system_device_set_from_ip4_config): merge together to make
117                         nm_system_apply_ip4_config()
118                 - (add_vpn_gateway_route): add a route to the VPN's external gateway
119                         via the parent device
120                 - (nm_system_apply_ip4_config): simplify
121                 - (add_ip4_route_to_gateway): new function; add a direct route to the
122                         gateway if needed
123                 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
124                         route stuff out into add_ip4_route_to_gateway() for clarity
125
126         * src/nm-device.c
127                 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
128
129         * src/vpn-manager/nm-vpn-connection.c
130           src/vpn-manager/nm-vpn-connection.h
131                 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
132                    nm_vpn_connection_get_parent_device): add
133                 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
134                         device explicit
135                 - (connection_state_changed): update the named manager now that
136                         nm_system_vpn_device_unset_from_ip4_config() is gone; do something
137                         useful on errors
138
139         * src/vpn-manager/nm-vpn-manager.c
140           src/vpn-manager/nm-vpn-manager.h
141                 - Add a 'connection-activated' signal
142                 - (nm_vpn_manager_get_active_connections): new function; mainly for the
143                         policy to find out about active VPN connections
144
145 2008-10-10  Tambet Ingo  <tambet@gmail.com>
146
147         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
148         a daemon to prevent NM logging spew on console on startup and shutdown (due
149         to dependency loop between NM and syslog).
150
151 2008-10-10  Alexander Sack  <asac@ubuntu.com>
152
153         Implement managed mode. We bind devices configured in /etc/network/interfaces
154         to their connections by updating wired/wireless setting with the
155         mac address of the device.
156
157         * system-settings/plugins/ifupdown/plugin.c
158                 - (get_net_address_for_udi): implement function to retrieve MAC
159                         address of udi from hal in GByteArray format
160                 - (bind_device_to_connection): bind mac address of device to
161                         wired/wireless system connection
162                 - (hal_device_added_cb): call bind_device_to_connection for
163                         system connections with a matching interface.name
164                 - (hal_device_added_cb): ensure that all code paths
165                         properly free the "iface" string.
166
167 2008-10-10  Alexander Sack  <asac@ubuntu.com>
168
169         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
170         mode of the ifupdown system config plugin.
171
172         * system-settings/plugins/ifupdown/plugin.c
173                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
174                         private unmanage_well_known state field accordingly
175
176 2008-10-10  Alexander Sack  <asac@ubuntu.com>
177
178         Implement unmanaged mode that will prevent all devices in the
179         well_known_udis set from being touched by NetworkManager
180
181         * system-settings/plugins/ifupdown/plugin.c
182                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
183                         unmanage_well_known field used to turn on/off unmanaged
184                         mode
185                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
186                         signal when well_known_udis get added/removed
187                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
188                         if we are in unmanaged mode
189
190 2008-10-10  Alexander Sack  <asac@ubuntu.com>
191
192         Add support to track network devices that have a configuration
193         with a matching interface.name in /etc/network/interfaces
194
195         * system-settings/plugins/ifupdown/plugin.c
196                 - (typedef struct SCPluginIfupdownPrivate): add hash table
197                         to track |well_known_udis|
198                 - (get_iface_for_udi): helper function to get interface.name
199                         for a udi
200                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
201                         that add and remove devices to and from the well_known_udis
202                         set depending on whether their |interface.name| matches
203                         any interface definition in /etc/network/interfaces
204                 - (SCPluginIfupdown_init): connect callbacks from above with
205                         hal_mgr and setup well_known_udis hashtable
206                 - (GObject__dispose): destroy well_known_udis hashtable
207                 - (hal_device_added_cb2): implement wrapper callback with GFunc
208                         signature. user_data is supposed to be a triple (hal_mgr,
209                         config and devtype)
210                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
211                         startup and call hal_device_added_cb2
212
213 2008-10-10  Alexander Sack  <asac@ubuntu.com>
214
215         Remove implementation for not used NMSystemConfigInterface callback functions
216         in ifupdown plugin
217
218         * system-settings/plugins/ifupdown/plugin.c
219                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
220                 - (SCPluginIfupdown_connection_added): removed
221
222 2008-10-08  Dan Williams  <dcbw@redhat.com>
223
224         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
225
226         * src/NetworkManagerUtils.c
227                 - (nm_utils_call_dispatcher): add a 'hostname' action
228
229         * src/NetworkManagerPolicy.c
230                 - (set_system_hostname): dispatch hostname changes
231
232         * callouts/nm-dispatcher-action.c
233                 - (nm_dispatcher_action): handle 'hostname' actions
234
235 2008-10-08  Dan Williams  <dcbw@redhat.com>
236
237         * src/NetworkManagerSystem.c
238                 - (find_route): ref the route so it doesn't get destroyed when the cache
239                         is cleared
240                 - (nm_system_device_set_priority): unref the route here after it's done
241                         being used
242
243 2008-10-08  Dan Williams  <dcbw@redhat.com>
244
245         * src/nm-serial-device.c
246                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
247
248 2008-10-08  Tambet Ingo  <tambet@gmail.com>
249
250         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
251         connection with new settings before saving it.
252
253 2008-10-06  Dan Williams  <dcbw@redhat.com>
254
255         * src/nm-ip4-config.c
256           src/nm-ip4-config.h
257                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
258
259         * src/nm-device-interface.c
260                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
261                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
262                         by using '/' for the object path
263
264         * src/nm-device.c
265                 - (src/nm-device.c): marshal missing/unexported ip4-config through
266                         dbus as '/' since dbus-glib can't handle NULL objects nor can
267                         dbus handle NULL object paths
268
269 2008-10-03  Alexander Sack  <asac@ubuntu.com>
270
271         Implement system hostname support for debian/ubuntu
272
273         * system-settings/plugins/ifupdown/plugin.c
274                 - (GObject__get_property): extend announced capabilities; add
275                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
276                 - (GObject__set_property,write_system_hostname): implement
277                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
278                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
279                    update_system_hostname, get_hostname):
280                         implement hostname property that watches and
281                         parses /etc/hostname
282
283 2008-10-03  Alexander Sack  <asac@ubuntu.com>
284
285         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
286           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
287           system-settings/plugins/ifcfg-fedora/Makefile.am
288           system-settings/src/nm-inotify-helper.c
289           system-settings/src/nm-inotify-helper.h
290           src/Makefile.am
291                 - Move ifcfg-fedora inotify helpers to the system settings service so
292                         they are available to all plugins
293
294 2008-10-03  Alexander Sack  <asac@ubuntu.com>
295
296         Implement support for wep-tx-keyidx in ifupdown system
297         config plugin.
298
299         * system-settings/plugins/ifupdown/parser.c
300                 - (update_wireless_security_setting_from_if_block): introduce
301                         free_type_mapping func table; rename a few local
302                         variables to improve readability; add wpa security mapping
303                         for wep-tx-keyidx property
304                 - (string_to_gpointerint): new function used for the auto_type_mapping
305                         of new wep-tx-keyidx property
306                 - (slist_free_all): free func used for mapped slist types
307
308 2008-10-03  Alexander Sack  <asac@ubuntu.com>
309
310         * system-settings/src/main.c:
311                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
312                         always used as the hash key; fixes a crash when removing wired
313                         devices
314
315 2008-10-02  Dan Williams  <dcbw@redhat.com>
316
317         * src/nm-gsm-device.c
318                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
319                         pass the required GSM secret along via user_data rather than keeping
320                         it around in the private data where it sometimes didn't get cleared
321                 - (real_get_ppp_name): implement using the GSM username
322
323 2008-10-02  Dan Williams  <dcbw@redhat.com>
324
325         * src/ppp-manager/nm-ppp-manager.c
326           src/ppp-manager/nm-ppp-manager.h
327                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
328                         the settings daemon for completely new ones
329                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
330                         local PPP peer name; allow PPP debuging by launching NM with
331                         the environment variable NM_PPP_DEBUG defined
332                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
333                         create_pppd_cmd_line()
334
335         * src/nm-serial-device.c
336           src/nm-serial-device.h
337                 - New 'get_ppp_name' function for subclasses to implement to return the
338                         local PPP peer name
339                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
340                         and pass that name to the PPP manager
341
342         * src/nm-device-ethernet.c
343                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
344                         the local peer name
345
346         * src/nm-cdma-device.c
347                 - (real_get_ppp_name): implement using the CDMA username
348
349 2008-10-02  Dan Williams  <dcbw@redhat.com>
350
351         Patch from Alexander Sack <asac ubuntu com>
352
353         * system-settings/plugins/ifupdown/parser.c
354                 - Implement more graceful ip4 config parsing for cases where
355                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
356                   by using default values
357
358 2008-10-02  Dan Williams  <dcbw@redhat.com>
359
360         * src/NetworkManagerPolicy.c
361                 - (device_state_changed): when marking a connection invalid, clear its
362                         secrets too so that fresh secrets get requested the next time
363
364 2008-10-01  Dan Williams  <dcbw@redhat.com>
365
366         * system-settings/src/dbus-settings.c
367                 - (nm_sysconfig_settings_init): cache system hostname on startup as
368                         a fallback if no plugin provides a hostname
369                 - (get_property): fall back to cached hostname if no plugin provides
370                         a hostname
371
372 2008-10-01  Dan Williams  <dcbw@redhat.com>
373
374         Fix setting value comparison issue that caused some settings to look the
375         same when they were really different (rh #464417)
376
377         * libnm-util/nm-param-spec-specialized.c
378                 - (type_is_fixed_size): return fundamental size of the fixed type too
379                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
380                         in the comparison so that the _entire_ fixed type collection gets
381                         compared rather than just the first 'len1' bytes
382
383 2008-09-30  Dan Williams  <dcbw@redhat.com>
384
385         * src/NetworkManagerPolicy.c
386                 - (lookup_thread_worker): don't store the idle handler ID becuase the
387                         idle handler could have already run and freed the LookupThread
388                         structure
389
390 2008-09-30  Tambet Ingo  <tambet@gmail.com>
391
392         * src/nm-device.c (nm_device_get_priority): Implement.
393         (nm_device_set_ip4_config): Send the device priority to system ip4 
394         config setter.
395
396         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
397         Add priority argument and if it's >= 0, set the priority of the network
398         route added automatically by netlink (or kernel?).
399         (nm_system_device_set_priority): Implement.
400
401         * src/NetworkManagerPolicy.c (get_best_device): Use 
402         nm_device_get_priority() instead of home-grown version. Revert the
403         meaning, best priority is the lowest one.
404
405 2008-09-29  Dan Williams  <dcbw@redhat.com>
406
407         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
408         when it returns EAGAIN (rh #362421)
409
410         * src/nm-device-wifi.c
411                 - (wireless_get_range): try GIWRANGE a few times until the card responds
412                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
413
414 2008-09-28  Dan Williams  <dcbw@redhat.com>
415
416         * src/nm-serial-device.c
417           src/nm-serial-device.h
418                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
419                         cleaned at the right times when subclasses close the serial port too
420                 - (nm_serial_device_send_command): use a default send delay; don't
421                         spin forever on EAGAIN
422                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
423                         remove, no longer used
424                 - (find_response): return the matched response if any
425                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
426                         while doing so
427                 - (wait_for_reply_done): pass the matched response to the callback
428                 - (wait_for_reply_got_data): save the matched response; simplify timeout
429                         handling
430                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
431                         const since they never get modified
432                 - (cleanup_device): split out common cleanup stuff to a new function
433                 - (real_deactivate_quickly, finalize): use cleanup_device()
434
435         * src/nm-gsm-device.c
436                 - (modem_get_reply): remove, unused
437                 - (set_apn): give the card a bit more time to respond
438                 - (manual_registration_again, schedule_manual_registration_again,
439                    manual_registration_response, manual_registration): handle manual
440                         registration timeouts better by retrying registration a few times
441                         because cards are a bit slow after CFUN=1
442                 - (automatic_registration_get_network, get_network_response): use
443                         modem_wait_for_reply() because it interacts better with the serial
444                         buffer and does more intelligent matching; need to wait for 'OK'
445                         rather than just matching terminators
446                 - (schedule_automatic_registration_again,
447                    automatic_registration_response, automatic_registration): retry
448                         registration a few times on timeout or "searching" because cards
449                         take a bit to find a network after being powered up with CFUN=1
450                 - (power_up_response, power_up, init_full_done, enter_pin,
451                    check_pin_done): power up the card with CFUN=1 before trying to
452                         register with the network
453                 - (init_modem_full, init_modem): use more standard 3G init strings
454
455         * src/nm-hso-gsm-device.c
456                 - (modem_get_reply): remove, unused
457                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
458                         modem_wait_for_reply() to match actual responses instead of single
459                         termination characters; it doesn't leave stuff in the serial buffer
460                         that might confuse later calls
461                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
462                         to ensure that the call is really disconnected and not leave extra
463                         stuff in the serial buffer
464
465         * src/nm-cdma-device.c
466                 - (power_up_response, power_up, init_done): try Sierra-style modem
467                         power up before attempting to connect
468
469 2008-09-27  Dan Williams  <dcbw@redhat.com>
470
471         * libnm-util/nm-setting-gsm.c
472                 - (verify): verify GSM network ID
473
474 2008-09-25  Dan Williams  <dcbw@redhat.com>
475
476         * libnm-util/nm-setting-gsm.c
477           libnm-util/nm-setting-gsm.h
478                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
479                         technology terms (bgo #551361)
480
481 2008-09-25  Dan Williams  <dcbw@redhat.com>
482
483         Fix bgo #549401 (inspired by patch from Alexander Sack)
484
485         * src/nm-device-ethernet.c
486                 - (finish_supplicant_task): clean up scheduled tasks and free memory
487                 - (remove_supplicant_interface_error_handler): remove the supplicant
488                         error idle callback too
489                 - (supplicant_interface_release): rename from supplicant_interface_clean
490                         to match nm-device-wifi.c; clean up supplicant interface-related
491                         state tasks when the supplicant interface is disposed of
492                 - (schedule_state_handler): add scheduled tasks to a list so they can
493                         be cleaned up later
494                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
495                    supplicant_iface_connection_state_cb_handler): use
496                         finish_supplicant_task() to clean up each completed task
497                 - (supplicant_iface_connection_error_cb_handler,
498                    supplicant_connection_timeout_cb): clear source id when the task is
499                         complete
500                 - (supplicant_iface_connection_error_cb): save scheduled task id for
501                         later cleanup
502                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
503                         tasks
504
505         * src/nm-device-wifi.c
506                 - (finish_supplicant_task): clean up scheduled tasks and free memory
507                 - (remove_supplicant_interface_error_handler): remove the supplicant
508                         error idle callback too
509                 - (supplicant_interface_release): clean up supplicant interface-related
510                         state tasks when the supplicant interface is disposed of
511                 - (schedule_state_handler): add scheduled tasks to a list so they can
512                         be cleaned up later
513                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
514                    supplicant_iface_connection_state_cb_handler): use
515                         finish_supplicant_task() to clean up each completed task
516                 - (supplicant_iface_connection_error_cb_handler): clear source id when
517                         the task is complete
518                 - (supplicant_iface_connection_error_cb): save scheduled task id for
519                         later cleanup
520                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
521
522 2008-09-24  Tambet Ingo  <tambet@gmail.com>
523
524         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
525         method and get/set hostname property.
526
527 2008-09-24  Tambet Ingo  <tambet@gmail.com>
528
529         * src/supplicant-manager/nm-supplicant-interface.c
530         (nm_supplicant_interface_disconnect): Don't increment the reference 
531         count when disconnecting. The problem is on shutdown, when the replies
532         to these commands do not arrive before NM exits, resulting on never
533         calling supplicant interface's dispose(), which removes the interface
534         from supplicant.
535
536 2008-09-24  Tambet Ingo  <tambet@gmail.com>
537
538         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
539         all the public function arguments.
540
541 2008-09-22  Tambet Ingo  <tambet@gmail.com>
542
543         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
544         "Failure" signal from VPN plugins, store the failure reason, and
545         use it when the state is changed to failure.
546
547         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
548         description.
549
550         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
551         reason to the end of the list to not break the API.
552         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
553         so it can be shared by plugins and daemon.
554
555 2008-09-18  Dan Williams  <dcbw@redhat.com>
556
557         Patch from Alexander Sack <asac@ubuntu.com>
558
559         * configure.in
560           system-settings/plugins/Makefile.am
561           system-settings/plugins/ifupdown/Makefile.am
562           system-settings/plugins/ifupdown/interface_parser.c
563           system-settings/plugins/ifupdown/interface_parser.h
564           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
565           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
566           system-settings/plugins/ifupdown/parser.c
567           system-settings/plugins/ifupdown/parser.h
568           system-settings/plugins/ifupdown/plugin.c
569           system-settings/plugins/ifupdown/plugin.h
570                 - Implement a Debian/Ubuntu legacy network configuration plugin
571                         (gnome.org #551941)
572
573 2008-09-18  Dan Williams  <dcbw@redhat.com>
574
575         Implement support for honoring configured and automatic hostnames, and for
576         setting the configured hostname.
577
578         * introspection/nm-ip4-config.xml
579           src/nm-ip4-config.c
580           src/nm-ip4-config.h
581           src/dhcp-manager/nm-dhcp-manager.c
582                 - Remove useless hostname property; it's not really part of the IPv4
583                         config
584
585         * introspection/nm-settings-system.xml
586           libnm-glib/nm-dbus-settings-system.c
587           libnm-glib/nm-dbus-settings-system.h
588                 - Add SetHostname() call to system settings D-Bus interface
589                 - Add Hostname property to system settings D-Bus interface
590                 - (nm_dbus_settings_system_save_hostname,
591                    nm_dbus_settings_system_get_hostname): implement
592
593         * src/nm-device.c
594           src/nm-device.h
595                 - (nm_device_get_dhcp4_config): implement
596
597         * src/nm-manager.c
598           src/nm-manager.h
599                 - Fetch and track system settings service hostname changes, and proxy
600                         the changes via a GObject property of the manager
601
602         * system-settings/src/nm-system-config-interface.c
603           system-settings/src/nm-system-config-interface.h
604                 - Replace nm_system_config_interface_supports_add() with a capabilities
605                         bitfield
606
607         * system-settings/src/nm-system-config-error.c
608           system-settings/src/nm-system-config-error.h
609                 - Add additional errors
610
611         * system-settings/src/dbus-settings.c
612           system-settings/src/dbus-settings.h
613                 - (get_property, nm_sysconfig_settings_class_init): add hostname
614                         property; first plugin returning a hostname wins
615                 - (impl_settings_add_connection): use plugin capabilities instead of
616                         nm_system_config_interface_supports_add()
617                 - (impl_settings_save_hostname): implement hostname saving
618
619         * src/NetworkManagerPolicy.c
620                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
621                    lookup_thread_die): implement an asynchronous hostname lookup thread
622                         which given an IPv4 address tries to look up the hostname for that
623                         address with reverse DNS
624                 - (get_best_device): split out best device code from
625                         update_routing_and_dns()
626                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
627                         to preserve the 127.0.0.1 reverse mapping that so many things require
628                 - (set_system_hostname): set a given hostname
629                 - (update_system_hostname): implement hostname policy; a configured
630                         hostname (from the system settings service) is used if available,
631                         otherwise an automatically determined hostname from DHCP, VPN, etc.
632                         If there was no automatically determined hostname, reverse DNS of
633                         the best device's IP address will be used, and as a last resort the
634                         hostname 'localhost.localdomain' is set.
635                 - (update_routing_and_dns): use get_best_device(); update the system
636                         hostname when the network config changes
637                 - (hostname_changed): update system hostname if the system settings
638                         service signals a hostname change
639                 - (nm_policy_new): list for system settings service hostname changes
640                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
641                         gets told to die
642
643         * system-settings/plugins/keyfile/plugin.c
644           system-settings/plugins/ifcfg-suse/plugin.c
645                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
646                         capabilities properties
647
648         * system-settings/plugins/ifcfg-fedora/shvar.c
649                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
650                         writes out /etc/sysconfig/network now
651
652         * system-settings/plugins/ifcfg-fedora/plugin.c
653                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
654                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
655                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
656                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
657                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
658                         hostname get/set and capabilities get
659
660 2008-09-18  Dan Williams  <dcbw@redhat.com>
661
662         * libnm-util/nm-setting-wireless.c
663                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
664                         group ciphers if the wireless-security setting explicitly specified
665                         them, effectively making the default be "all ciphers"  (idea from
666                         Alexander Sack)
667
668 2008-09-15  Dan Williams  <dcbw@redhat.com>
669
670         Patch from Alexander Sack <asac@ubuntu.com>
671
672         * src/named-manager/nm-named-manager.c
673                 - (dispatch_resolvconf): respect resolvconf exit code
674
675 2008-09-12  Tambet Ingo  <tambet@gmail.com>
676
677         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
678         again. Add some debugging.
679
680 2008-09-11  Dan Williams  <dcbw@redhat.com>
681
682         * system-settings/plugins/keyfile/plugin.c
683                 - (update_connection_settings): update connection manually, since
684                         nm_exported_connection_update() does authentication
685                 - (dir_changed): update_connection_settings() doesn't need to return
686                         an error
687
688 2008-09-09  Dan Williams  <dcbw@redhat.com>
689
690         * libnm-glib/nm-vpn-plugin-ui-interface.c
691           libnm-glib/nm-vpn-plugin-ui-interface.h
692           libnm-glib/libnm_glib_vpn.ver
693                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
694                         should clean up resources related to the connection (like keyring
695                         secrets)
696                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
697                         should save user-scope secrets (like to the keyring)
698
699 2008-09-08  Dan Williams  <dcbw@redhat.com>
700
701         Patch from Alexander Sack <asac@ubuntu.com>
702
703         * libnm-util/crypto_gnutls.c
704           libnm-util/crypto_nss.c
705                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
706
707         * libnm-util/nm-utils.c
708           libnm-util/nm-utils.h
709           libnm-util/libnm-util.ver
710                 - (nm_utils_init): initialize libnm-util
711                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
712
713         * libnm-util/nm-setting-8021x.c
714                 - (nm_setting_802_1x_class_init): init libnm-util when needed
715
716 2008-09-05  Dan Williams  <dcbw@redhat.com>
717
718         Patch from Roy Marples <roy@marples.name> and others
719
720         * configure.in
721           src/named-manager/nm-named-manager.c
722                 - Add support for resolvconf; use --with-resolvconf at configure time
723                         to enable it
724
725 2008-09-05  Dan Williams  <dcbw@redhat.com>
726
727         * libnm-util/crypto_nss.c
728           libnm-util/crypto_gnutls.c
729           libnm-util/crypto.h
730                 - (crypto_init): return error when init fails
731
732 2008-09-05  Dan Williams  <dcbw@redhat.com>
733
734         * libnm-glib/nm-device-wifi.c
735                 - (access_point_removed_proxy): clean up the active access point too
736                         just in case the active ap changed signal didn't come through yet
737                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
738
739 2008-09-05  Dan Williams  <dcbw@redhat.com>
740
741         * libnm-glib/nm-client.c
742                 - (constructor): get initial state after we know whether NM is running
743                         or not
744
745 2008-09-05  Dan Williams  <dcbw@redhat.com>
746
747         * libnm-glib/nm-ip4-config.c
748           libnm-glib/nm-dhcp4-config.c
749                 - (finalize): clean up the DBusGProxy
750
751 2008-09-04  Dan Williams  <dcbw@redhat.com>
752
753         * src/nm-ip4-config.c
754           src/nm-ip4-config.h
755                 - (nm_ip4_config_new): don't export over D-Bus here
756                 - (nm_ip4_config_export): new function; export the config over D-Bus
757                 - (nm_ip4_config_is_exported): new function
758
759         * src/nm-device.c
760                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
761                         objects by balancing the IP4Config constructor; the device holds
762                         a reference to the IP4Config already
763                 - (nm_device_set_ip4_config): export the IP4Config when needed
764
765 2008-09-04  Dan Williams  <dcbw@redhat.com>
766
767         * src/supplicant-manager/nm-supplicant-settings-verify.c
768                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
769
770 2008-09-04  Dan Williams  <dcbw@redhat.com>
771
772         * libnm-util/nm-setting-vpn.c
773           libnm-util/nm-setting-vpn.h
774                 - Split VPN secrets from VPN data so that settings services can actually
775                         figure out that they are secrets and store them accordingly
776
777         * system-settings/plugins/keyfile/nm-keyfile-connection.c
778           system-settings/plugins/keyfile/reader.c
779           system-settings/plugins/keyfile/reader.h
780           system-settings/plugins/keyfile/writer.c
781                 - Store VPN secrets separately from VPN data so that they can be fetched
782                         on demand
783                 - Implement the get_secrets() call so that (a) secrets don't leak out
784                         to unprivileged callers, and (b) secrets can be sent to privileged
785                         callers when needed
786
787         * vpn-daemons/vpnc/src/nm-vpnc-service.c
788                 - Handle split VPN secrets
789
790 2008-08-27  Dan Williams  <dcbw@redhat.com>
791
792         * system-settings/plugins/ifcfg-fedora/reader.c
793                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
794
795 2008-08-27  Dan Williams  <dcbw@redhat.com>
796
797         Ensure zombie children get cleaned up.  To get notifications when children
798         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
799         that requires calling waitpid() yourself if you've removed the child watch
800         handler before the process has actually died, which NM needs to do in a few
801         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
802         cleans up after the child when required.  Should fix problems trying to
803         activate mobile broadband connections after a previous failure.
804
805         * src/dhcp-manager/nm-dhcp-dhclient.c
806           src/dhcp-manager/nm-dhcp-dhcpcd.c
807                 - Use G_SPAWN_DO_NOT_REAP_CHILD
808
809         * src/dhcp-manager/nm-dhcp-manager.c
810                 - (nm_dhcp_device_destroy): ensure child is cleaned up
811                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
812                         block on child quitting, since the non-blocking functionality was
813                         never actually used
814
815         * src/dnsmasq-manager/nm-dnsmasq-manager.c
816                 - (dm_watch_cb): child is already reaped here
817                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
818
819         * src/nm-device.c
820                 - (aipd_cleanup): block until child is dead
821
822         * src/named-manager/nm-named-manager.c
823                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
824                         event bothering to watch the child
825
826         * src/ppp-manager/nm-ppp-manager.c
827                 - (ppp_watch_cb): child is already reaped here
828                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
829
830         * src/vpn-manager/nm-vpn-service.c
831                 - (vpn_service_watch_cb): child is already reaped here
832                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
833                         status of the child is actually tracked
834                 - (ensure_killed, finalize): block until child is dead
835
836 2008-08-26  Dan Williams  <dcbw@redhat.com>
837
838         * system-settings/plugins/keyfile/nm-keyfile-connection.c
839                 - (update): Update filename of the connection if the connection id
840                         was changed
841
842         * system-settings/plugins/keyfile/plugin.c
843                 - (dir_changed): first pass at handling connection renames correctly
844
845         * system-settings/plugins/keyfile/writer.c
846           system-settings/plugins/keyfile/writer.h
847                 - (write_connection): replace '/' with '*' when writing out the filename
848                         from the connection id
849
850 2008-08-26  Dan Williams  <dcbw@redhat.com>
851
852         Add connection UUIDs, since connection names can be changed, and since
853         old-style connection IDs could change over the life of the connection.  The
854         UUID should be assigned at connection creation time, be stable for a given
855         connection, and should be unique among all connections for a given settings
856         service.
857
858         * configure.in
859           libnm-util/Makefile.am
860                 - Require libuuid
861
862         * introspection/nm-exported-connection.xml
863                 - Remove "GetID" method
864
865         * libnm-glib/nm-dbus-connection.c
866           libnm-glib/nm-settings.c
867           libnm-glib/nm-settings.h
868                 - Remove id-related stuff
869
870         * libnm-util/nm-utils.c
871           libnm-util/nm-utils.h
872           libnm-util/libnm-util.ver
873                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
874                         utility functions to generate UUIDs
875
876         * libnm-util/nm-setting-connection.c
877           libnm-util/nm-setting-connection.h
878                 - Add 'uuid' member to the connection setting
879                 - (verify): require valid 'uuid' for a valid connection
880
881         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
882           system-settings/plugins/ifcfg-fedora/reader.c
883           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
884           system-settings/plugins/ifcfg-suse/parser.c
885           system-settings/plugins/keyfile/nm-keyfile-connection.c
886           system-settings/src/main.c
887                 - Remove id-related stuff
888                 - Give connections UUIDs where needed
889
890 2008-08-25  Dan Williams  <dcbw@redhat.com>
891
892         * libnm-util/crypto_gnutls.c
893           libnm-util/crypto_nss.c
894                 - (crypto_init, crypto_deinit): refcount init/deinit
895                 - (crypto_md5_hash): allow NULL salt
896
897 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
898
899         * libnm-glib/Makefile.am
900           libnm-util/Makefile.am
901           libnm-glib/libnm_glib.ver
902           libnm-glib/libnm_glib_vpn.ver
903           libnm-util/libnm-util.ver
904                 - Use linker version scripts to control the list of exported 
905                 symbols. List each exported symbol explicitely.
906         * libnm-util/Makefile.am
907                 - Fix compilation of the test-crypto binary. The crypto
908                 functions are no longer part of the libnm-util API. Add 
909                 crypto_*.c to test_crypto_SOURCES and link against the correct
910                 crypto libraries.
911
912 2008-08-19  Dan Williams  <dcbw@redhat.com>
913
914         * configure.in
915           test/Makefile.am
916                 - Don't build test/test-common
917                 - Remove unused stuff
918
919         * test/nm-set-fallback
920           test/nmtestdevices.c
921           test/test-common/.cvsignore
922           test/test-common/Makefile.am
923           test/test-common/test-common.c
924           test/test-common/test-common.h
925                 - delete
926
927 2008-08-18  Dan Williams  <dcbw@redhat.com>
928
929         * libnm-util/nm-utils.c
930           libnm-util/nm-utils.h
931                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
932                         export anything that needs to be converted with this function
933
934         * src/dhcp-manager/nm-dhcp-manager.c
935                 - (garray_to_string): convert a byte array to a UTF-8 string with
936                         minimal validation; the DHCP client sends it in ASCII anyway
937                 - (get_option, copy_option): use garray_to_string()
938
939 2008-08-18  Dan Williams  <dcbw@redhat.com>
940
941         * include/NetworkManager.h
942           introspection/nm-device.xml
943                 - Add a "missing firmware" device state reason
944
945         * src/NetworkManagerSystem.c
946           src/NetworkManagerSystem.h
947                 - (nm_system_device_set_up_down): add a no_firmware argument
948                 - (nm_system_device_set_up_down_with_iface): if the result of setting
949                         IFF_UP is ENOENT, that almost always means missing firmware
950
951         * src/backends/NetworkManagerGeneric.c
952           src/nm-device-ethernet.c
953           src/nm-device-private.h
954           src/nm-device-wifi.c
955           src/nm-device.c
956           src/nm-device.h
957           src/nm-hso-gsm-device.c
958           src/vpn-manager/nm-vpn-connection.c
959                 - Pass no_firmware along; check it where appropriate
960
961 2008-08-18  Dan Williams  <dcbw@redhat.com>
962
963         Patch from Robert Buchholz <rbu@gentoo.org>
964
965         * autogen.sh
966           configure.in
967                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
968                         1003.1-1988, allowing for file names longer than 99 characters
969
970 2008-08-17  Dan Williams  <dcbw@redhat.com>
971
972         * include/NetworkManager.h
973           introspection/nm-device.xml
974           src/nm-gsm-device.c
975                 - Finer-grained GSM registration failure error codes
976
977 2008-08-17  Dan Williams  <dcbw@redhat.com>
978
979         * callouts/Makefile.am
980           src/Makefile.am
981                 - Move dispatcher directory creation to callouts/Makefile.am
982
983         * system-settings/plugins/keyfile/Makefile.am
984                 - Create keyfile connections directory in DESTDIR (bgo #546833)
985
986 2008-08-15  Dan Williams  <dcbw@redhat.com>
987
988         Do connection sharing in a cleaner manner; all required iptables rules
989         are now stored in the activation request and pertain only to the device
990         which is being shared to other computers. (rh #458625)
991
992         * src/nm-activation-request.c
993           src/nm-activation-request.h
994                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
995                         the activation request which will get torn down automatically when
996                         the activation request dies
997                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
998                         is started, and tear them down when sharing is stopped
999
1000         * src/nm-device.c
1001                 - (start_sharing): start up sharing by doing the required iptables magic
1002                 - (share_init): poke the right bits of the kernel and load the right
1003                         modules for NAT
1004                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1005                         connection if it's a 'shared' connection
1006
1007         * src/NetworkManagerPolicy.c
1008                 - Remove all sharing stuff; done in the device code itself
1009
1010 2008-08-15  Dan Williams  <dcbw@redhat.com>
1011
1012         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1013                 - (create_dm_cmd_line): send the right router address
1014
1015 2008-08-15  Dan Williams  <dcbw@redhat.com>
1016
1017         * src/ppp-manager/nm-ppp-manager.c
1018                 - (pppd_timed_out): ensure timeouts fail the connection
1019
1020 2008-08-14  Dan Williams  <dcbw@redhat.com>
1021
1022         * src/nm-properties-changed-signal.c
1023           src/nm-properties-changed-signal.h
1024                 - Add a property spec flag for "don't export this property" in
1025                         property changed signals
1026
1027         * src/nm-hso-gsm-device.c
1028           src/nm-gsm-device.c
1029           src/nm-cdma-device.c
1030                 - Don't export monitor interface or netdev interface properties
1031
1032 2008-08-14  Dan Williams  <dcbw@redhat.com>
1033
1034         * src/NetworkManagerPolicy.c
1035                 - (update_routing_and_dns): 'hso' devices can be default even if they
1036                         don't have a gateway
1037
1038 2008-08-14  Dan Williams  <dcbw@redhat.com>
1039
1040         * src/nm-device.c
1041                 - (nm_device_deactivate_quickly): tear down activation request after
1042                         calling device-specific deactivation
1043
1044         * src/nm-hso-gsm-device.c
1045                 - (real_deactivate_quickly): terminate connection when deactivating
1046
1047 2008-08-14  Dan Williams  <dcbw@redhat.com>
1048
1049         * src/nm-activation-request.h
1050                 - Add HSO secrets caller
1051
1052         * src/nm-gsm-device.c
1053           src/nm-gsm-device.h
1054                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1055                         something to the callback function
1056                 - (set_apn, set_apn_done): call class dial function, not a static one
1057                 - (nm_gsm_device_class_init): add a class 'dial' function
1058
1059         * src/nm-hal-manager.c
1060                 - (get_hso_netdev): find the hso-driven hardware's net device
1061                 - (modem_device_creator): recognize hso-driven hardware and create the
1062                         right type of device object for it
1063
1064         * src/Makefile.am
1065           src/nm-hso-gsm-device.c
1066           src/nm-hso-gsm-device.h
1067                 - Implement support for devices driven by the 'hso' driver as a subclass
1068                         of NMGsmDevice
1069
1070 2008-08-14  Dan Williams  <dcbw@redhat.com>
1071
1072         * src/NetworkManagerSystem.c
1073                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1074                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1075                         success if the operation really was successful
1076
1077 2008-08-14  Dan Williams  <dcbw@redhat.com>
1078
1079         * src/nm-netlink-monitor.c
1080           src/nm-netlink-monitor.h
1081           src/nm-device-ethernet.c
1082                 - (nm_netlink_monitor_request_status): return an error on failure
1083                 - (constructor): don't segfault on missing error
1084
1085 2008-08-13  Dan Williams  <dcbw@redhat.com>
1086
1087         * callouts/nm-dispatcher-action.c
1088                 - Add IP4 config info to script environment
1089
1090 2008-08-12  Dan Williams  <dcbw@redhat.com>
1091
1092         * src/nm-device.c
1093                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1094                         that want to use DHCP hostnames should use dispatcher scripts
1095                         for that
1096
1097         * src/NetworkManagerSystem.h
1098           src/backends/NetworkManagerArch.c
1099           src/backends/NetworkManagerDebian.c
1100           src/backends/NetworkManagerFrugalware.c
1101           src/backends/NetworkManagerGeneric.c
1102           src/backends/NetworkManagerGeneric.h
1103           src/backends/NetworkManagerGentoo.c
1104           src/backends/NetworkManagerMandriva.c
1105           src/backends/NetworkManagerPaldo.c
1106           src/backends/NetworkManagerRedHat.c
1107           src/backends/NetworkManagerSlackware.c
1108           src/backends/NetworkManagerSuSE.c
1109                 - Remove nm_system_set_hostname(), no longer used
1110           
1111         * src/backends/Makefile.am
1112           src/backends/shvar.c
1113           src/backends/shvar.h
1114                 - Remove shvar.*; no longer used
1115
1116 2008-08-12  Dan Williams  <dcbw@redhat.com>
1117
1118         Revert most of the 'hostname' patch.  Too much stuff still breaks when
1119         hostname is updated at runtime.  Distros or users who want hostname updates
1120         can use dispatcher scripts to update the hostname if they need it.
1121
1122 2008-08-12  Dan Williams  <dcbw@redhat.com>
1123
1124         * introspection/nm-settings-system.xml
1125           system-settings/src/dbus-settings.c
1126           system-settings/src/dbus-settings.h
1127                 - Add a 'Hostname' property (rw) which represents the configured
1128                         hostname and domain of the system, if any
1129
1130         * system-settings/src/nm-system-config-error.c
1131           system-settings/src/nm-system-config-error.h
1132           system-settings/src/nm-system-config-interface.c
1133           system-settings/src/nm-system-config-interface.h
1134                 - Add a 'hostname' property to the plugin interface
1135                 - Add a method to send updated hostname to plugins to save in their
1136                         backing configuration store
1137
1138         * system-settings/plugins/keyfile/nm-keyfile-connection.c
1139           system-settings/plugins/keyfile/plugin.c
1140           system-settings/plugins/keyfile/writer.c
1141           system-settings/plugins/keyfile/writer.h
1142           system-settings/plugins/ifcfg-suse/plugin.c
1143                 - Add minimal hostname support
1144
1145         * system-settings/plugins/ifcfg-fedora/plugin.c
1146                 - Add support for updating system hostname in /etc/sysconfig/network
1147
1148 2008-08-12  Dan Williams  <dcbw@redhat.com>
1149
1150         * system-settings/plugins/ifcfg-fedora/shvar.c
1151           system-settings/plugins/ifcfg-fedora/shvar.c
1152                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1153
1154 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1155
1156         * Makefile.am: Fix distcheck.
1157
1158 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1159
1160         * libnm-glib/*.c. Document some more.
1161
1162 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1163
1164         Start documenting libnm-glib public API using gtk-doc.
1165
1166         * libnm-glib/nm-serial-device.c: 
1167         * libnm-glib/nm-object.c: 
1168         * libnm-glib/nm-gsm-device.c: 
1169         * libnm-glib/nm-device.c: 
1170         * libnm-glib/nm-device-wifi.c: 
1171         * libnm-glib/nm-device-ethernet.c: 
1172         * libnm-glib/nm-client.c: 
1173         * libnm-glib/nm-cdma-device.c: Document the public API.
1174
1175         * docs/libnm-glib/libnm-glib.types: Implement.
1176
1177         * docs/libnm-glib/Makefile.am: Implement.
1178
1179         * autogen.sh: 
1180         * configure.in: 
1181         * Makefile.am: Add gtk-doc support.
1182
1183 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1184
1185         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1186
1187         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1188         the composite result of all the IP4 configurations and call a distro
1189         specific update_resolv_conf().
1190         (update_resolv_conf): Implement one for directly writing to 
1191         /etc/resolv.conf and one for opensuse to call netconfig.
1192
1193 2008-08-11  Dan Williams  <dcbw@redhat.com>
1194
1195         * src/ppp-manager/nm-ppp-manager.c
1196                 - (impl_ppp_manager_need_secrets): pass interface as required
1197
1198 2008-08-11  Dan Williams  <dcbw@redhat.com>
1199
1200         Merge the vpn-properties setting with the vpn setting since it was pointless
1201         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1202         of string:string (instead of string:variant) so that system settings plugins
1203         can have an easier time dealing with the arbitrary key/value pairs.
1204
1205 2008-08-11  Dan Williams  <dcbw@redhat.com>
1206
1207         * libnm-util/nm-utils.c
1208                 - (nm_utils_register_value_transformations): add value transform for
1209                         a hash table of string:string
1210
1211 2008-08-10  Dan Williams  <dcbw@redhat.com>
1212
1213         * libnm-glib/nm-vpn-plugin.c
1214                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1215                         an idle handler so the Connect reply gets delivered before the
1216                         stop StateChanged signal
1217
1218 2008-08-10  Dan Williams  <dcbw@redhat.com>
1219
1220         * src/nm-ip4-config.c
1221                 - (get_property): use common ip4 address/route conversion functions
1222                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1223                         copy the new route here, not take ownership
1224
1225 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1226
1227         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1228         Update the IP4 setting's method name.
1229
1230 2008-08-07  Dan Williams  <dcbw@redhat.com>
1231
1232         * introspection/nm-ip4-config.xml
1233           libnm-glib/libnm-glib-test.c
1234           libnm-glib/nm-ip4-config.c
1235           libnm-glib/nm-ip4-config.h
1236           src/NetworkManagerSystem.h
1237           src/backends/NetworkManagerArch.c
1238           src/backends/NetworkManagerDebian.c
1239           src/backends/NetworkManagerFrugalware.c
1240           src/backends/NetworkManagerGeneric.c
1241           src/backends/NetworkManagerGeneric.h
1242           src/backends/NetworkManagerGentoo.c
1243           src/backends/NetworkManagerMandriva.c
1244           src/backends/NetworkManagerPaldo.c
1245           src/backends/NetworkManagerRedHat.c
1246           src/backends/NetworkManagerSlackware.c
1247           src/backends/NetworkManagerSuSE.c
1248           src/dhcp-manager/nm-dhcp-manager.c
1249           src/nm-device.c
1250           src/nm-ip4-config.c
1251           src/nm-ip4-config.h
1252                 - Remove NIS logic; should be done from dispatcher scripts instead
1253
1254 2008-08-07  Dan Williams  <dcbw@redhat.com>
1255
1256         * src/dhcp-manager/nm-dhcp-manager.c
1257                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1258                         mis-handling of DHCP responses that returned more than one router
1259                         (found by Grant Williamson)
1260
1261 2008-08-07  Dan Williams  <dcbw@redhat.com>
1262
1263         * callouts/nm-dispatcher-action.c
1264                 - (nm_dispatcher_action): grab device path and create the device; pass
1265                         the device's DHCP4 config to script caller
1266                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1267                         scripts
1268
1269         * libnm-glib/nm-dhcp4-config.c
1270           libnm-glib/nm-dhcp4-config.h
1271                 - (nm_dhcp4_config_get_options): expose
1272                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1273
1274 2008-08-07  Dan Williams  <dcbw@redhat.com>
1275
1276         * include/NetworkManager.h
1277                 - Add the DHCP4Config D-Bus interface
1278
1279         * libnm-glib/Makefile.am
1280           libnm-glib/nm-dhcp4-config.c
1281           libnm-glib/nm-dhcp4-config.h
1282                 - Handle DHCP4 config objects exported by NM over D-Bus
1283
1284         * libnm-glib/nm-device.c
1285           libnm-glib/nm-device.h
1286                 - Add a 'dhcp4-config' property
1287
1288         * libnm-glib/libnm-glib-test.c
1289                 - Print out DHCP4 config for devices
1290                 - Fix some crashes when no connections are active
1291
1292         * src/nm-device-interface.c
1293           src/nm-device.c
1294           src/nm-dhcp4-config.c
1295           src/nm-dhcp4-config.h
1296                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1297                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1298                         doesn't let us do when the property type is G_TYPE_OBJECT
1299
1300 2008-08-07  Dan Williams  <dcbw@redhat.com>
1301
1302         * src/NetworkManager.c
1303           src/NetworkManagerSystem.h
1304           src/backends/NetworkManagerArch.c
1305           src/backends/NetworkManagerDebian.c
1306           src/backends/NetworkManagerFrugalware.c
1307           src/backends/NetworkManagerGeneric.c
1308           src/backends/NetworkManagerGeneric.h
1309           src/backends/NetworkManagerGentoo.c
1310           src/backends/NetworkManagerMandriva.c
1311           src/backends/NetworkManagerPaldo.c
1312           src/backends/NetworkManagerRedHat.c
1313           src/backends/NetworkManagerSlackware.c
1314           src/backends/NetworkManagerSuSE.c
1315                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1316
1317 2008-08-06  Dan Williams  <dcbw@redhat.com>
1318
1319         * libnm-glib/nm-ip4-config.c
1320           libnm-glib/nm-ip4-config.h
1321                 - Add 'routes' property
1322
1323         * libnm-util/nm-setting-vpn.c
1324           libnm-util/nm-setting-vpn.h
1325                 - Remove 'routes' property
1326
1327         * libnm-util/nm-setting-ip4-config.c
1328           libnm-util/nm-setting-ip4-config.h
1329                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1330                 - Add 'ignore-auto-routes' property
1331                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1332                         accomodate route metrics
1333                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1334
1335         * libnm-util/nm-utils.c
1336           libnm-util/nm-utils.h
1337                 - Add helpers for marshalling IP4 routes
1338
1339         * src/NetworkManagerUtils.c
1340                 - (nm_utils_merge_ip4_config): handle property renames and new route
1341                         structure
1342
1343         * src/NetworkManagerSystem.c
1344                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1345                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1346
1347         * src/dhcp-manager/nm-dhcp-manager.c
1348                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1349
1350         * system-settings/plugins/ifcfg-fedora/reader.c
1351           system-settings/plugins/ifcfg-fedora/writer.c
1352                 - Handle routes separately from addresses now that routes have a different
1353                         format
1354
1355         * introspection/nm-ip4-config.xml
1356           src/nm-ip4-config.c
1357           src/nm-ip4-config.h
1358                 - Rename internal routing functions
1359                 - 'static-routes' renamed to 'routes'
1360
1361 2008-08-04  Dan Williams  <dcbw@redhat.com>
1362
1363         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1364
1365         * src/NetworkManager.c
1366           src/nm-manager.c
1367           src/nm-manager.h
1368                 - More explicitly make the NMManager a singleton
1369
1370 2008-08-04  Dan Williams  <dcbw@redhat.com>
1371
1372         * libnm-util/nm-connection.c
1373           libnm-util/nm-connection.h
1374                 - (nm_connection_verify): return error on missing 'connection' setting
1375                         (found by Sjoerd Simons)
1376
1377 2008-08-04  Dan Williams  <dcbw@redhat.com>
1378
1379         Handle multiple concurrent PPP connections.
1380
1381         * src/ppp-manager/nm-ppp-manager.c
1382           src/ppp-manager/nm-ppp-manager.h
1383                 - (constructor): only PPP Manager request bus name once; each
1384                         NMPPPManager object gets a unique object path
1385                 - (nm_ppp_manager_class_init, get_property, set_property,
1386                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1387                         at construct time
1388                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1389                         remove timeout until PPP manager gets an IP4 config
1390                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1391                         the plugin can call back to this specific PPP manager instance
1392
1393         * src/nm-device-ethernet.c
1394           src/nm-serial-device.c
1395                 - Pass parent device in nm_ppp_manager_new()
1396
1397         * src/nm-gsm-device.c
1398           src/nm-cdma-device.c
1399                 - (device_state_changed): don't close serial device on NEED_AUTH
1400                         state changed, that's not a failure case like the rest are
1401
1402         * src/ppp-manager/nm-pppd-plugin.c
1403                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1404                         binds one interface to any pppd process, thus the correct index
1405                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1406                         problems; try harder to get a peer address in spite of pppd
1407                 - (plugin_init): use 'ipparam' as the object path back to our specific
1408                         PPP manager instance
1409
1410 2008-08-04  Dan Williams  <dcbw@redhat.com>
1411
1412         * src/ppp-manager/nm-ppp-manager.c
1413                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1414                         since the GSM and CDMA settings now implement need_secrets, we can
1415                         rely on them to do the right thing.  Where secrets are not required,
1416                         just pass empty strings back to the pppd plugin.
1417                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1418                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1419                         on successful IP4 config receipt
1420
1421 2008-08-04  Dan Williams  <dcbw@redhat.com>
1422
1423         * libnm-util/nm-setting-cdma.c
1424           libnm-util/nm-setting-gsm.c
1425                 - (verify): validate username & password if they exist
1426                 - (need_secrets): if username given, require a password too
1427
1428 2008-08-04  Dan Williams  <dcbw@redhat.com>
1429
1430         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1431                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1432                         manpage says about --listen-address without --interface
1433                         (bgo #546033)
1434
1435 2008-08-01  Dan Williams  <dcbw@redhat.com>
1436
1437         * libnm-glib/nm-device.c
1438                 - (proxy_get_string): util function for querying a HAL property
1439                 - (get_ancestor_device): split out from get_product_and_vendor()
1440                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1441                         from PCI devices by querying subsys properties
1442                 - (nm_device_update_description): simplify
1443
1444 2008-08-01  Dan Williams  <dcbw@redhat.com>
1445
1446         * libnm-util/nm-setting-ip4-config.c
1447           libnm-util/nm-setting-ip4-config.h
1448                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1449                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1450                         settings, and they don't necessarily use DHCP.
1451
1452         * src/NetworkManagerPolicy.c
1453           src/nm-device.c
1454           system-settings/plugins/ifcfg-fedora/reader.c
1455           system-settings/plugins/ifcfg-suse/parser.c
1456                 - Fixup for method changes
1457
1458 2008-07-31  Dan Williams  <dcbw@redhat.com>
1459
1460         * src/nm-activation-request.c
1461           src/vpn-manager/nm-vpn-connection.c
1462                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1463                         itself should be attached to the activation request or the VPN
1464                         connection, not the NMConnection object, since the call is not
1465                         expected to live as long as the NMConnection itself
1466
1467 2008-07-31  Dan Williams  <dcbw@redhat.com>
1468
1469         * src/nm-device-wifi.c
1470                 - (real_act_stage2_config): fix issue where association would continue
1471                         even though secrets were needed; 'goto out' was in wrong scope and
1472                         result of handle_auth_or_fail() should have been dumped directly to
1473                         'ret' to ensure that the association was postponed until secrets
1474                         are available
1475
1476 2008-07-31  Dan Williams  <dcbw@redhat.com>
1477
1478         * system-settings/plugins/ifcfg-fedora/plugin.c
1479           system-settings/plugins/ifcfg-fedora/reader.c
1480                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1481                         valid NM connection
1482
1483 2008-07-29  Dan Williams  <dcbw@redhat.com>
1484
1485         * src/nm-gsm-device.c
1486                 - (automatic_registration_response, automatic_registration): recognize
1487                         denied registration and reorder responses
1488
1489 2008-07-29  Dan Williams  <dcbw@redhat.com>
1490
1491         * src/nm-serial-device.c
1492                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1493                         time(2) is used for current time, which returns seconds, we shouldn't
1494                         be multiplying by 1000.
1495
1496 2008-07-28  Dan Williams  <dcbw@redhat.com>
1497
1498         Patch from Fabrice Bellet <fabrice@bellet.info>
1499
1500         * src/NetworkManagerSystem.c
1501                 - (route_in_same_subnet): mask addresses and compare them so that the
1502                         function actually does what it says it's going to do (rh #456685)
1503
1504 2008-07-27  Dan Williams  <dcbw@redhat.com>
1505
1506         * libnm-util/nm-setting-ip6-config.c
1507                 - (set_property): add missing break that caused routes to be overwritten
1508                         with addresses
1509
1510         * libnm-util/nm-setting-ip6-config.c
1511                 - (verify): validate routes and return GError everywhere on invalid setting
1512                 - (finalize): don't leak routes
1513                 - (set_property): add missing break that caused routes to be overwritten
1514                         with addresses
1515
1516 2008-07-27  Dan Williams  <dcbw@redhat.com>
1517
1518         * libnm-util/*
1519                 - Relicense to LGPLv2+
1520
1521 2008-07-27  Dan Williams  <dcbw@redhat.com>
1522
1523         * system-settings/plugins/ifcfg-fedora/reader.c
1524                 - (make_ip4_setting): fix parsing automatic configs
1525
1526 2008-07-27  Dan Williams  <dcbw@redhat.com>
1527
1528         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1529           src/nm-device.c
1530           src/ppp-manager/nm-ppp-manager.c
1531                 - Ensure child process gets reaped.  The child watch function may be
1532                         removed from the mainloop before the child gets killed, so we have
1533                         to make sure the child is reaped when it's told to die intentionally
1534
1535 2008-07-27  Dan Williams  <dcbw@redhat.com>
1536
1537         Patch from Roy Marples <roy@marples.name>
1538
1539         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1540                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1541
1542 2008-07-27  Dan Williams  <dcbw@redhat.com>
1543
1544         * src/nm-gsm-device.c
1545                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1546                         Huawei devices turn echo back on after CPIN (rh #456770)
1547
1548 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1549
1550         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1551         format argument to g_set_error() call.
1552
1553         * src/backends/interface_parser.[ch]: Remove.
1554
1555         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1556
1557 2008-07-21  Dan Williams  <dcbw@redhat.com>
1558
1559         * src/ppp-manager/nm-ppp-manager.c
1560                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1561                         to prevent pppd from picking up some random local address from an
1562                         interface that doesn't have anything to do with the one we're
1563                         interested in (rh #455348)
1564
1565 2008-07-17  Dan Williams  <dcbw@redhat.com>
1566
1567         * libnm-util/nm-utils.c
1568                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1569                         by locale
1570                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1571                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1572
1573 2008-07-17  Dan Williams  <dcbw@redhat.com>
1574
1575         * introspection/Makefile.am
1576           introspection/nm-device.xml
1577           introspection/nm-dhcp4-config.xml
1578                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1579                         itself
1580         * src/nm-device-interface.c
1581           src/nm-device-interface.h
1582                 - Add the DHCP4Config property
1583
1584         * src/nm-device.c
1585                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1586                         D-Bus clients when it changes
1587
1588         * src/nm-dhcp4-config.c
1589           src/nm-dhcp4-config.h
1590                 - Simple object to store DHCP4 options, export them over D-Bus, and
1591                         notify when they change
1592
1593         * src/dhcp-manager/nm-dhcp-manager.c
1594           src/dhcp-manager/nm-dhcp-manager.h
1595                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1596                         filter server-returned DHCP options into an NMDHCP4Config object
1597
1598 2008-07-16  Dan Williams  <dcbw@redhat.com>
1599
1600         * introspection/nm-device.xml
1601                 - Add device state reasons
1602
1603 2008-07-16  Dan Williams  <dcbw@redhat.com>
1604
1605         Patch from Roy Marples <roy@marples.name>
1606
1607         * configure.in
1608                 - Add --with-dhcp-client option
1609
1610         * src/dhcp-manager/Makefile.am
1611                 - pass DHCP_CLIENT_PATH on compile line
1612
1613         * src/dhcp-manager/nm-dhcp-manager.c
1614           src/dhcp-manager/nm-dhcp-manager.h
1615                 - Genericize for both dhcpcd and dhclient
1616
1617         * src/dhcp-manager/nm-dhcp-dhclient.c
1618                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1619
1620         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1621                 - Implement support for dhcpcd too
1622
1623 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1624
1625         * system-settings/src/nm-system-config-interface.c 
1626         (nm_system_config_interface_supports_add): Implement.
1627         (nm_system_config_interface_add_connection): Return a boolean to notify
1628         of errors.
1629
1630         * system-settings/src/nm-polkit-helpers.c: 
1631         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1632         a separate file.
1633
1634         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1635         Return an error when none of the plugins support add or if addition
1636         failed for some reason.
1637
1638         * system-settings/src/nm-system-config-error.h: 
1639         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1640         here from nm-polkit-helpers.[ch].
1641
1642         * system-settings/src/Makefile.am: Build new files.
1643
1644         * system-settings/plugins/keyfile/reader.c 
1645         (read_array_of_array_of_uint): Make it more general so that it would
1646         work for routes as well.
1647
1648         * system-settings/plugins/keyfile/writer.c
1649         (write_array_of_array_of_uint): Ditto.
1650         Fix the netmask/prefix writing.
1651
1652         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1653         boolean to notify errors.
1654
1655         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1656         Return more specific error.
1657         (delete): Ditto.
1658
1659 2008-07-11  Dan Williams  <dcbw@redhat.com>
1660
1661         Modify the NMDevice::state-changed signal to include the previous state
1662         and reason. Enables the applet to provide more information why device
1663         activation failed.
1664
1665 2008-07-09  Dan Williams  <dcbw@redhat.com>
1666
1667         * callouts/Makefile.am
1668           callouts/nm-avahi-autoipd-action.c
1669           callouts/nm-avahi-autoipd.conf
1670                 - avahi-autoipd callout to send options back to NM
1671
1672         * src/autoip.c
1673           src/autoip.h
1674                 - remove
1675
1676         * src/nm-device.c
1677           src/nm-device-private.h
1678           src/nm-manager.c
1679                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1680                         old custom stuff
1681
1682 2008-07-07  Dan Williams  <dcbw@redhat.com>
1683
1684         * system-settings/plugins/ifcfg-fedora/reader.c
1685                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1686                         handle PREFIX too; clean up
1687
1688 2008-07-07  Dan Williams  <dcbw@redhat.com>
1689
1690         Convert to using IPv4 prefixes instead of netmasks.
1691
1692 2008-07-03  Dan Williams  <dcbw@redhat.com>
1693
1694         * libnm-util/nm-setting-ip4-config.c
1695           libnm-util/nm-setting-ip4-config.h
1696                 - Add properties for DHCP Client Identifier and DHCP Hostname
1697
1698         * src/dhcp-manager/nm-dhcp-manager.c
1699           src/dhcp-manager/nm-dhcp-manager.h
1700                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1701                         setting as an argument to pass on to the dhclient config file
1702                         creation function
1703                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1704                         DHCP is torn down
1705                 - (dhclient_run): punt config file handling to create_dhclient_config()
1706                 - (create_dhclient_config): create an interface-specific dhclient
1707                         config file since there may need to be interface-specific options
1708                         passed to dhclient
1709                 - (merge_dhclient_config): merge normal distro dhclient config file and
1710                         add options from the connection
1711                 - (nm_dhcp_device_new): generate the interface specific dhclient
1712                         config file path once
1713                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1714                         dhclient config file path
1715
1716         * src/nm-device.c
1717                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1718                         DHCP manager when starting DHCP
1719
1720 2008-07-02  Dan Williams  <dcbw@redhat.com>
1721
1722         * libnm-util/nm-setting-8021x.c
1723                 - (verify): allow forcing the PEAP label to 0
1724
1725 2008-07-02  Dan Williams  <dcbw@redhat.com>
1726
1727         * introspection/nm-active-connection.xml
1728           introspection/nm-vpn-connection.xml
1729           libnm-glib/nm-active-connection.c
1730           src/nm-activation-request.c
1731           src/nm-active-connection.h
1732           src/vpn-manager/nm-vpn-connection.c
1733                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1734                         and libnm-glib API since sharing didn't get implemented that way
1735
1736 2008-07-02  Dan Williams  <dcbw@redhat.com>
1737
1738         * src/nm-device-wifi.c
1739                 - (can_scan): don't scan when a shared connection is activated since
1740                         that makes drivers mad (causing disconnects); also NM doesn't need
1741                         to hedge against disconnects by keeping up-to-date network topology
1742                         because the connection originates from the local machine, and thus
1743                         there should be no disconnects
1744
1745 2008-07-01  Dan Williams  <dcbw@redhat.com>
1746
1747         Fix mobile broadband username/password issues.  NM was never requesting
1748         mobile broadband secrets, nor was it passing back the username and password
1749         if it had them.
1750
1751         * marshallers/nm-marshal.list
1752                 - Add some new types for activation request objects
1753
1754         * src/nm-activation-request.c
1755           src/nm-activation-request.h
1756                 - (get_secrets_cb): pass the caller type in the signal
1757                 - (nm_act_request_request_connection_secrets): take a caller type, so
1758                         that GetSecrets() reply handlers know who asked for the secrets in
1759                         the first place; use secret hints too so the settings service can
1760                         figure out exactly what NM wants (ie, PIN or the PPP password)
1761
1762         * src/ppp-manager/nm-ppp-manager.c
1763           src/ppp-manager/nm-ppp-manager.h
1764                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1765                         detect needed secrets when the secret could be blank, like GSM/CDMA
1766                         passwords.  So always ask for secrets, and send a hint as to what
1767                         secret we really want.
1768                 - (nm_ppp_manager_update_secrets): make function more generic by making
1769                         the device specific class figure out the username and password, and
1770                         accept an error argument to return back over D-Bus
1771
1772         * src/nm-device-wifi.c
1773                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1774                         nm_act_request_request_connection_secrets()
1775                 - (real_connection_secrets_updated): update for 'caller' changes
1776
1777         * src/nm-device.c
1778           src/nm-device.h
1779                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1780                         for 'caller' changes
1781
1782         * src/nm-device-ethernet.c
1783                 - (real_connection_secrets_updated): update for 'caller' changes and
1784                         move logic for getting PPPoE username and password here before
1785                         calling nm_ppp_manager_update_secrets()
1786                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1787                         nm_act_request_request_connection_secrets()
1788
1789         * src/nm-cdma-device.c
1790                 - (real_connection_secrets_updated): pass username and password back
1791                         to the PPP manager when required
1792
1793         * src/nm-gsm-device.c
1794                 - (enter_pin): send the required secret name to the settings service
1795                 - (real_connection_secrets_updated): pass username and password back
1796                         to the PPP manager when required
1797
1798 2008-06-30  Dan Williams  <dcbw@redhat.com>
1799
1800         * src/nm-device-wifi.c
1801                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1802
1803 2008-06-30  Dan Williams  <dcbw@redhat.com>
1804
1805         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1806         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1807         priv->supplicant.iface.  When either condition is false, the device should
1808         transition back to UNAVAILABLE because it cannot be used.
1809
1810         * src/nm-device-wifi.c
1811                 - (constructor): cleanup; connect to supplicant manager here since the
1812                         supplicant manager is always around
1813                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1814                         ensure the supplicant manager is in the IDLE state
1815                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1816                         cancel any pending scans too
1817                 - (real_bring_up): don't set up the supplicnat interface here, because
1818                         we need the supplicant interface at times when the device may not
1819                         be "up"
1820                 - (real_take_down): just remove the periodic source
1821                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1822                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1823                         do anything if there's no supplicant interface
1824                 - (cleanup_association_attempt): cleanup
1825                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1826                         the interface enters the READY state; transition to UNAVAILABLE
1827                         state when the interface goes down because the device can't be used
1828                         without a supplicant interface
1829                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1830                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1831                         acquire the supplicant interface and transition to DISCONNECTED
1832                         if the radio isn't killed
1833                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1834                 - (state_changed_cb): release any existing supplicant interface; if the
1835                         radio is enabled then try to acquire a new supplicant interface;
1836                         if the radio is enabled and a supplicant interface has been acquired,
1837                         we can transition to DISCONNECTED
1838                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1839                         don't enable the radio, because HAL probably lied to us about the
1840                         killswitch being off.  If bringing the hardware up worked, then
1841                         try to grab a supplicant interface, and if that was successful,
1842                         transition to DISCONNECTED
1843
1844 2008-06-30  Dan Williams  <dcbw@redhat.com>
1845
1846         * src/supplicant-manager/nm-supplicant-interface.c
1847                 - (request_scan_results, nm_supplicant_interface_dispose,
1848                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1849                         the id of the timeout, not a GSource
1850
1851 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1852
1853         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1854         bunch of typoes introduced by "Patch from David Cantrell 
1855         <dcantrell@redhat.com> and me".
1856
1857 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1858
1859         * src/nm-serial-device.c: 
1860         * src/nm-gsm-device.c: 
1861         * src/nm-cdma-device.c: Move the pending call handling to a common location
1862         in serial device. Handle setting device state to failed in one place as well.
1863
1864 2008-06-29  Dan Williams <dcbw@redhat.com>
1865
1866         * src/nm-hal-manager.c
1867                 - Rework killswitch handling to query killswitch status immediately
1868                         when the first killswitch is added, so that rfkill state is
1869                         known as early as possible
1870                 - Also treat failure of GetPower() as rfkill when the dbus method
1871                         call times out (but not when the HAL callout returns an error)
1872
1873 2008-06-26  Dan Williams <dcbw@redhat.com>
1874
1875         Patch from David Cantrell <dcantrell@redhat.com> and me
1876
1877         * include/nm-dbus-glib-types.h
1878                 - Add IP6 address types
1879
1880         * libnm-util/Makefile.am
1881           libnm-util/nm-setting-ip6-config.c
1882           libnm-util/nm-setting-ip6-config.h
1883                 - Add IP6 settings object
1884
1885         * libnm-util/nm-connection.c
1886                 - (register_default_settings): register ip6 settings object
1887
1888         * libnm-util/nm-utils.c
1889           libnm-util/nm-utils.h
1890                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1891                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1892                         ip6 address conversion functions
1893         
1894 2008-06-26  Dan Williams <dcbw@redhat.com>
1895
1896         Patch from David Cantrell <dcantrell@redhat.com>
1897         
1898         * Use inet_ntop() and inet_pton() everwhere and check for errors
1899
1900 2008-06-26  Dan Williams <dcbw@redhat.com>
1901
1902         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1903
1904 2008-06-26  Dan Williams <dcbw@redhat.com>
1905
1906         Patch from Adel Gadllah <adel.gadllah@gmail.com>
1907
1908         * src/nm-device-wifi.c
1909                 - (link_timeout_cb): don't ignore disconnects due to scanning
1910                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1911                         a longer timeout when scanning; avoids case where supplicant can't
1912                         find the AP and just keeps scanning forever but isn't connected
1913
1914 2008-06-26  Dan Williams <dcbw@redhat.com>
1915
1916         Patch from Michael Biebl <biebl@debian.org>
1917
1918         * Clean up build system stuff
1919
1920 2008-06-23  Christian Persch  <chpe@gnome.org>
1921
1922         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1923         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1924         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1925         (impl_get_object):
1926         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1927         (impl_get_object):
1928         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1929         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1930         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1931         (impl_get_object):
1932         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1933         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1934         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1935         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1936         * vpn-daemons/pptp/properties/vpnui_opt.c:
1937         (vpnui_opt_connect_signals):
1938         * vpn-daemons/pptp/properties/vpnui_opt.h:
1939         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1940         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1941         deprecated gtk type macros. Bug #539325.
1942
1943 2008-06-20  Dan Williams  <dcbw@redhat.com>
1944
1945         * libnm-glib/nm-vpn-plugin-ui-interface.c
1946           libnm-glib/nm-vpn-plugin-ui-interface.h
1947                 - 'validity-changed' -> 'changed' to work better with the connection
1948                         editor.  Plugin UI widgets should emit 'changed' whenever their
1949                         UI values change in a meaningful way.
1950                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1951                         update_connection member now returns validity of the UI widget
1952
1953 2008-06-20  Tambet Ingo  <tambet@gmail.com>
1954
1955         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1956
1957 2008-06-17  Dan Williams  <dcbw@redhat.com>
1958
1959         * libnm-glib/nm-vpn-plugin-ui-interface.c
1960           libnm-glib/nm-vpn-plugin-ui-interface.h
1961                 - Add "desc" property for longer descriptions of the VPN plugin
1962
1963 2008-06-16  Dan Williams  <dcbw@redhat.com>
1964
1965         * configure.in
1966           libnm-glib/libnm_glib_vpn.pc.in
1967                 - add a .pc file for libnm_glib_vpn
1968
1969         * libnm-glib/nm-vpn-plugin-ui-interface.c
1970           libnm-glib/nm-vpn-plugin-ui-interface.h
1971                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1972                         rework it substantially
1973
1974 2008-06-12  Dan Williams  <dcbw@redhat.com>
1975
1976         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1977         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
1978         returns a descriptive GError when verification fails.
1979
1980 2008-06-11  Dan Williams  <dcbw@redhat.com>
1981
1982         Patch from Tambet Ingo <tambet@gmail.com>
1983
1984         * libnm-util/nm-setting-gsm.c
1985                 - (verify): validate APN
1986
1987         * src/nm-gsm-device.c
1988                 - (manual_registration_done): start setting APN if needed
1989                 - (set_apn, set_apn_done): set the APN
1990                 - (do_dial): use the APN when dialing
1991
1992 2008-06-11  Dan Williams  <dcbw@redhat.com>
1993
1994         * src/NetworkManagerSystem.c
1995                 - (nm_system_device_set_ip4_route,
1996                    nm_system_device_replace_default_ip4_route): check for the right
1997                         return value from rtnl_route_add() to know when to add a gateway
1998                         route (from Tambet)
1999
2000 2008-06-11  Dan Williams  <dcbw@redhat.com>
2001
2002         * src/NetworkManagerPolicy.c
2003                 - do_ipt_cmd -> do_cmd
2004                 - (sharing_init): use do_cmd() instead of system()
2005
2006 2008-06-10  Dan Williams  <dcbw@redhat.com>
2007
2008         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
2009         and use "wifi" everwhere instead.
2010
2011 2008-06-10  Dan Williams  <dcbw@redhat.com>
2012
2013         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
2014
2015 2008-06-10  Dan Williams  <dcbw@redhat.com>
2016
2017         Patch from Tambet Ingo <tambet@gmail.com>
2018
2019         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2020                 changes.
2021
2022         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2023                 a signal to emit these changes over dbus.
2024
2025         * src/Makefile.am: Genereate nm-serial-device-glue.
2026
2027         * libnm-glib/nm-serial-device.[ch]: Implement.
2028
2029         * libnm-glib/nm-cdma-device.[ch]
2030           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2031
2032         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2033
2034         * introspection/nm-device-serial.xml: Implement.
2035
2036         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2037
2038         * introspection/Makefile.am: Add nm-device-serial.xml.
2039
2040         * include/NetworkManager.h: Add a DBus interface for serial device.
2041
2042 2008-06-10  Dan Williams  <dcbw@redhat.com>
2043
2044         * configure.in
2045                 - Add TARGET_* define to config.h to distinguish distros
2046
2047         * src/dhcp-manager/nm-dhcp-manager.c
2048                 - (dhclient_run): use distro-specific path for dhclient config file
2049
2050 2008-06-09  Dan Williams  <dcbw@redhat.com>
2051
2052         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2053           src/dnsmasq-manager/nm-dnsmasq-manager.h
2054                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2055                         calculate the addresses passed to dnsmasq instead of hard-coding
2056                         them
2057
2058         * src/nm-device.c
2059                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2060                         IP addresses for shared connections to guard against shared
2061                         connection address collisions
2062                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2063                         error conditions
2064                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2065                         the dnsmasq manager
2066
2067 2008-06-09  Dan Williams  <dcbw@redhat.com>
2068
2069         * src/NetworkManagerPolicy.c
2070                 - (update_routing_and_dns): set the default connection _after_ unsetting
2071                         default on all non-default connections so that two connections can
2072                         never be default at the same time
2073                 - (device_state_changed): start and stop connection sharing when
2074                         needed
2075                 - (active_connection_default_changed): restart or stop sharing when
2076                         the default connection changes to keep shared connections always
2077                         NAT-ed through the default connection
2078                 - (check_sharing): handle activation/deactivation of shared connections
2079                 - (sharing_restart): atom-bomb approach to connection sharing until we
2080                         can use libnl; reinit all sharing when the default connection or
2081                         shared connections change
2082                 - (sharing_init, sharing_stop): evil functions that init and deinit
2083                         iptables
2084
2085 2008-06-09  Dan Williams  <dcbw@redhat.com>
2086
2087         * src/nm-activation-request.c
2088           src/nm-activation-request.h
2089                 - (nm_act_request_set_shared, nm_act_request_get_shared,
2090                    nm_act_request_get_device): new functions to facilitate connection
2091                         sharing
2092
2093 2008-06-09  Dan Williams  <dcbw@redhat.com>
2094
2095         * src/nm-device.c
2096                 - (clear_act_request): unset the 'default' property of the activation
2097                         request when clearing it to ensure the property changed signal gets
2098                         delivered and handled
2099
2100 2008-06-09  Dan Williams  <dcbw@redhat.com>
2101
2102         * libnm-glib/nm-device-802-11-wireless.c
2103                 - (access_point_removed_proxy): actually unref the AP after removing
2104                         it from the device's AP list.  Fixes refcounting bug for APs that
2105                         caused them to get mixed up in the applet's menu.
2106
2107 2008-06-09  Tambet Ingo  <tambet@gmail.com>
2108
2109         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2110         (nm_dhcp_device_destroy): Destroy the device options hash table.
2111
2112 2008-06-06  Dan Williams <dcbw@redhat.com>
2113
2114         * system-settings/src/nm-polkit-helpers.c
2115                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2116                         unref the context if the initialization fails; also avoid spew when
2117                         the error isn't set
2118
2119 2008-06-06  Dan Williams <dcbw@redhat.com>
2120
2121         Patch from Tambet Ingo  <tambet@gmail.com>
2122
2123         * src/NetworkManagerSystem.c
2124           src/NetworkManagerSystem.h
2125                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2126                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2127                 - (nm_system_device_set_ip4_route): clean up
2128                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2129
2130         * src/nm-device.c
2131                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2132
2133         * src/vpn-manager/nm-vpn-connection.c
2134                 - (ip_address_to_string): new function
2135                 - (print_vpn_config): use ip_address_to_string
2136                 - (merge_vpn_routes): add user-defined routes to the ip4 config
2137                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2138
2139         * include/NetworkManagerVPN.h
2140                 - Add 'routes' key
2141
2142 2008-06-05  Dan Williams <dcbw@redhat.com>
2143
2144         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2145
2146         * test/nm-tool.c
2147                 - Show which device is the default device
2148
2149 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2150
2151         Fix memory leaks.
2152
2153         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2154         Free data returned from dbus method call.
2155
2156         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2157         dbus_g_method_get_sender() returns a duplicated string, free it 
2158         when done.
2159         (check_polkit_privileges): Looks like policykit sometimes returns
2160         error and non-null return value, don't leak errors in that case.
2161
2162         * system-settings/src/main.c (find_plugin): Don't leak existing 
2163         plugin names.
2164         (load_stuff): Don't leak device list and list items.
2165         (have_connection_for_device): Don't leak connection list.
2166
2167         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2168         Free the data received from g_keyfile_get_*.
2169
2170         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2171         the key when the security object is updated.
2172
2173         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2174         Free data returned from dbus method call.
2175         (iface_state_cb): Ditto.
2176         (add_network_cb): Ditto.
2177         (nm_supplicant_interface_add_cb): Don't make another copy of already
2178         duplicated object path.
2179         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2180         when done.
2181
2182         * src/supplicant-manager/nm-supplicant-config.c 
2183         (ADD_STRING_LIST_VAL): Fix a memory leak.
2184
2185         * src/nm-manager.c (free_get_settings_info): Free the allocated
2186         memory slice.
2187         (list_connections_cb): Free data returned from dbus method call.
2188         (system_settings_get_unmanaged_devices_cb): Ditto.
2189
2190         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2191
2192         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2193         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2194         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2195         of the GList.
2196
2197         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2198         arguments after the object is created.
2199
2200 2008-06-04  Dan Williams <dcbw@redhat.com>
2201
2202         * libnm-util/Makefile.am
2203                 - Don't distribute nm-param-spec-specialized.h
2204
2205 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2206
2207         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2208
2209         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2210         NMIP4Address, update the getters and setters.
2211
2212         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2213         Use the updated NMIP4Config routes api.
2214
2215         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2216         static routes as well.
2217
2218         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2219         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2220         routes api.
2221
2222 2008-05-30  Dan Williams <dcbw@redhat.com>
2223
2224         * src/named-manager/nm-named-manager.c
2225           src/named-manager/nm-named-manager.h
2226                 - Remove stale/obsolete bits for controlling bind over DBus
2227
2228 2008-05-29  Dan Williams <dcbw@redhat.com>
2229
2230         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2231           src/dnsmasq-manager/nm-dnsmasq-manager.h
2232                 - (nm_dnsmasq_manager_new): move iface argument here
2233                 - (constructor): remove, not needed
2234                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2235                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2236
2237         * src/nm-device.c
2238                 - (real_act_stage4_get_ip4_config,
2239                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2240                         changes
2241
2242 2008-05-29  Dan Williams <dcbw@redhat.com>
2243
2244         * src/nm-device.c
2245                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2246                         something happens to dnsmasq
2247                 - (nm_device_new_ip4_shared_config): new function; create a new
2248                         ip4-config for shared connections.  Shared connections always use a
2249                         fixed static IP address.
2250                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2251                         autoip connections by actually using the returned ip4-config and
2252                         not leaking it
2253                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2254                         connections
2255                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2256                         if its active
2257
2258 2008-05-29  Dan Williams <dcbw@redhat.com>
2259
2260         * src/nm-device-802-11-wireless.c
2261                 - (real_get_best_auto_connection): auto-activate 'shared' method
2262                         connections too
2263
2264 2008-05-29  Dan Williams <dcbw@redhat.com>
2265
2266         * libnm-util/nm-setting-ip4-config.c
2267           libnm-util/nm-setting-ip4-config.h
2268                 - Add a 'shared' method to indicate that this connection should be
2269                         brought up with a DHCP and proxy DNS server to facilitate
2270                         connection sharing.
2271                 - (verify): 'shared' method doesn't allow DNS or searches either
2272
2273 2008-05-29  Dan Williams <dcbw@redhat.com>
2274
2275         * configure.in
2276           src/Makefile.am
2277           src/dnsmasq-manager/Makefile.am
2278           src/dnsmasq-manager/nm-dnsmasq-manager.c
2279           src/dnsmasq-manager/nm-dnsmasq-manager.h
2280                 - Add a dnsmasq daemon manager to facilitate connection sharing
2281
2282 2008-05-29  Dan Williams <dcbw@redhat.com>
2283
2284         * src/nm-device-private.h
2285                 - Remove unused prototypes and clean up
2286
2287         * src/nm-device.c
2288                 - Remove anything related to system_config_data, which is no longer used
2289                 - (nm_device_new_ip4_autoip_config): make static
2290
2291 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2292
2293         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2294         (file_changed): Fix a bug where suse system settings plugin didn't
2295         update the connections automatically when the files changed.
2296
2297 2008-05-28  Dan Williams  <dcbw@redhat.com>
2298
2299         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2300
2301 2008-05-28  Dan Williams  <dcbw@redhat.com>
2302
2303         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2304
2305         * src/NetworkManagerSystem.c
2306                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2307                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2308                         was causing -EINVAL errors since the libnl code actually does flush
2309                         the routes on VPN interfaces now
2310
2311         * src/backends/NetworkManagerArch.c
2312           src/backends/NetworkManagerDebian.c
2313           src/backends/NetworkManagerFrugalware.c
2314           src/backends/NetworkManagerGeneric.c
2315           src/backends/NetworkManagerGentoo.c
2316           src/backends/NetworkManagerMandriva.c
2317           src/backends/NetworkManagerPaldo.c
2318           src/backends/NetworkManagerRedHat.c
2319           src/backends/NetworkManagerSlackware.c
2320           src/backends/NetworkManagerSuSE.c
2321                 - (nm_system_device_flush_ip4_routes,
2322                    nm_system_device_flush_ip4_routes_with_iface): remove
2323
2324 2008-05-28  Dan Williams  <dcbw@redhat.com>
2325
2326         * libnm-util/nm-setting-wireless.c
2327           libnm-util/nm-setting-wireless.h
2328                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2329                         'adhoc-create' property, which when TRUE indicates that NM should
2330                         create this connection as an adhoc wifi network if it's not found
2331                         as an adhoc network during scanning.  Can be used to auto-create
2332                         adhoc networks when used in combination with autoconnect.
2333
2334 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2335
2336         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2337
2338         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2339         checked, it doesn't work on some devices.
2340
2341 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2342
2343         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2344         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2345
2346         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2347         Use inet_aton() everywhere to improve error detection.
2348         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2349         provided.
2350
2351 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2352
2353         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2354         Fix a typo.
2355
2356 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2357
2358         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2359         reference counting issue.
2360
2361 2008-05-23  Dan Williams  <dcbw@redhat.com>
2362
2363         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2364
2365         * src/backends/NetworkManagerGeneric.c
2366                 - (nm_generic_enable_loopback): use libnl
2367
2368 2008-05-23  Dan Williams  <dcbw@redhat.com>
2369
2370         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2371
2372         * src/NetworkManagerSystem.h
2373           src/backends/NetworkManagerArch.c
2374           src/backends/NetworkManagerDebian.c
2375           src/backends/NetworkManagerFrugalware.c
2376           src/backends/NetworkManagerGentoo.c
2377           src/backends/NetworkManagerMandriva.c
2378           src/backends/NetworkManagerPaldo.c
2379           src/backends/NetworkManagerRedHat.c
2380           src/backends/NetworkManagerSlackware.c
2381           src/backends/NetworkManagerSuSE.c
2382                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2383                    nm_system_flush_arp_cache): remove, unused
2384
2385         * src/backends/NetworkManagerGeneric.c
2386           src/backends/NetworkManagerGeneric.h
2387                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2388                    nm_generic_flush_arp_cache): remove, unused
2389
2390 2008-05-23  Dan Williams  <dcbw@redhat.com>
2391
2392         * system-settings/plugins/ifcfg-fedora/reader.c
2393                 - (make_ip4_setting): honor PEERDNS setting
2394
2395 2008-05-23  Dan Williams  <dcbw@redhat.com>
2396
2397         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2398
2399         * src/NetworkManagerSystem.c
2400                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2401                         libnl
2402
2403         * src/backends/NetworkManagerArch.c
2404           src/backends/NetworkManagerDebian.c
2405           src/backends/NetworkManagerFrugalware.c
2406           src/backends/NetworkManagerGentoo.c
2407           src/backends/NetworkManagerMandriva.c
2408           src/backends/NetworkManagerPaldo.c
2409           src/backends/NetworkManagerRedHat.c
2410           src/backends/NetworkManagerSlackware.c
2411           src/backends/NetworkManagerSuSE.c
2412                 - (nm_system_device_flush_ip4_addresses,
2413                    nm_system_device_flush_ip4_addresses_with_iface): remove
2414
2415         * src/backends/NetworkManagerGeneric.c
2416                 - (nm_generic_device_flush_ip4_addresses,
2417                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2418
2419 2008-05-23  Dan Williams  <dcbw@redhat.com>
2420
2421         * src/supplicant-manager/nm-supplicant-settings-verify.c
2422                 - Switch 'bssid' from bytes to keyword type
2423                 - (validate_type_keyword): allow NULL keyword lists
2424
2425         * src/supplicant-manager/nm-supplicant-config.c
2426                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2427                         a byte array to string form, which is what the supplicant expects
2428
2429 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2430
2431         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2432         information received from DHCP.
2433
2434         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2435         to make it possible to ignore the DNS information (both servers and 
2436         searches) returned by DHCP server.
2437
2438         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2439         name servers and searches if "ignore_dhcp_dns" is set.
2440
2441         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2442         (nm_ip4_config_reset_searches): Implement.
2443
2444 2008-05-22  Dan Williams  <dcbw@redhat.com>
2445
2446         Remove anything mDNS related.  This is better done from a distro-specific
2447         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2448         avahi, since avahi can handle interface changes just fine using netlink.
2449
2450         * configure.in
2451                 - Remove --with-mdns-provider
2452
2453         * src/NetworkManagerPolicy.c
2454                 - (global_state_changed): don't restart the mdns provider
2455
2456         * src/NetworkManagerSystem.h
2457           src/backends/NetworkManagerArch.c
2458           src/backends/NetworkManagerDebian.c
2459           src/backends/NetworkManagerFrugalware.c
2460           src/backends/NetworkManagerGentoo.c
2461           src/backends/NetworkManagerMandriva.c
2462           src/backends/NetworkManagerPaldo.c
2463           src/backends/NetworkManagerRedHat.c
2464           src/backends/NetworkManagerSlackware.c
2465           src/backends/NetworkManagerSuSE.c
2466                 - (nm_system_restart_mdns_responder): remove
2467
2468         * src/backends/NetworkManagerGeneric.c
2469           src/backends/NetworkManagerGeneric.h
2470                 - (nm_generic_restart_mdns_responder): remove
2471
2472 2008-05-22  Dan Williams  <dcbw@redhat.com>
2473
2474         * configure.in
2475                 - clean up crypto options; just use --with-crypto=nss or
2476                         --with-crypto=gnutls
2477
2478 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2479
2480         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2481         anymore, do it right away.
2482
2483 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2484
2485         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2486         serial device open when we're not connecting or connected.
2487
2488         * src/nm-cdma-device.c (device_state_changed): Ditto.
2489
2490 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2491
2492         Don't remove all devices on waking up, sync with HAL.
2493
2494         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2495         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2496         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2497
2498 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2499
2500         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2501         If the default gateway is unreachable, add a route to gateway and try
2502         again.
2503
2504 2008-05-20  Dan Williams  <dcbw@redhat.com>
2505
2506         * system-settings/plugins/ifcfg-fedora/reader.c
2507                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2508
2509 2008-05-19  Dan Williams  <dcbw@redhat.com>
2510
2511         * system-settings/plugins/ifcfg-fedora/reader.c
2512                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2513                         if the ifcfg doesn't specify one (rh #446527)
2514
2515 2008-05-19  Dan Williams  <dcbw@redhat.com>
2516
2517         Make the system settings service exit when the bus goes away.  Since it's
2518         a bus-activated service, it's lifetime is limited to the bus that activated
2519         it (rh #444976).
2520
2521         * system-settings/src/Makefile.am
2522           system-settings/src/nm-system-config-hal-manager-private.h
2523                 - Remove nm-system-config-hal-manager-private.h
2524
2525         * system-settings/src/nm-system-config-hal-manager.c
2526                 - (nm_system_config_hal_manager_reinit_dbus,
2527                    nm_system_config_hal_manager_deinit_dbus): remove
2528
2529         * system-settings/src/main.c
2530                 - (dbus_reconnect): remove
2531                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2532                 - (destroy_cb): just quit when the bus goes away
2533                 - (start_dbus_service, dbus_init): simplify
2534                 - (main): destroy the wired devices hash table after destroying
2535                         the HAL manager so we don't have to disconnect signals from the
2536                         HAL manager
2537
2538 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2539
2540         Move crypto functions from nm-applet to libnm-util.
2541
2542         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2543         (nm_setting_802_1x_set_client_cert)
2544         (nm_setting_802_1x_set_phase2_ca_cert)
2545         (nm_setting_802_1x_set_phase2_client_cert)
2546         (nm_setting_802_1x_set_private_key)
2547         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2548         file (or private key and it's password), read the certificate data.
2549
2550         * libnm-util/crypto_nss.c: 
2551         * libnm-util/crypto_gnutls.c: 
2552         * libnm-util/crypto.[ch]: Move here from nm-applet.
2553
2554         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2555
2556         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2557         Imlement WPA-EAP configuration reading from sysconfig.
2558
2559 2008-05-16  Dan Williams  <dcbw@redhat.com>
2560
2561         * src/nm-device-802-11-wireless.c
2562                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2563                         wireless
2564
2565 2008-05-14  Dan Williams  <dcbw@redhat.com>
2566
2567         Fix Linus' bug in rh #134886
2568
2569         * src/nm-device-802-3-ethernet.c
2570                 - (constructor): request initial carrier state
2571
2572         * src/nm-netlink-monitor.c
2573                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2574                         signals after refilling the link cache.  Because the refill is a 
2575                         synchronous operation, the normal message hander won't get called
2576                         since libnl has already consumed the messages.
2577                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2578
2579 2008-05-14  Dan Williams  <dcbw@redhat.com>
2580
2581         * src/NetworkManagerSystem.c
2582                 - (nm_system_device_is_up_with_iface): clean up
2583
2584 2008-05-13  Dan Williams  <dcbw@redhat.com>
2585
2586         Fix refcounting issues over sleep/wake when a VPN connection was active that
2587         caused NM to try registering an object path for a device upon wake that was
2588         the same as an already registered object path.
2589
2590         * src/nm-device.c
2591                 - (nm_device_take_down): properly handle cases where the device is
2592                         no longer active but was just active, and therefore must be
2593                         deactivated.  When a device moves to unmanaged mode, this function
2594                         previously would not deactivate the device, because the state was
2595                         already unmanaged by the time this function was called.
2596
2597         * src/vpn-manager/nm-vpn-connection.c
2598                 - (device_state_changed): properly handle multiple devices states in
2599                         which the device is now deactivated.  Code previously didn't handle
2600                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2601                         UNMANAGED states.
2602
2603 2008-05-13  Dan Williams  <dcbw@redhat.com>
2604
2605         * src/nm-device-private.h
2606           src/nm-device.c
2607                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2608
2609         * src/nm-device-802-11-wireless.c
2610                 - (nm_device_802_11_wireless_set_enabled): take devices up
2611                         and down as appropriate for the rfkill state
2612
2613 2008-05-13  Dan Williams  <dcbw@redhat.com>
2614
2615         * marshallers/nm-marshal.list
2616                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2617
2618         * system-settings/plugins/ifcfg-fedora/Makefile.am
2619           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2620           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2621                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2622                         events.  Solely for use watching ifcfg files to pick up changes
2623                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2624
2625         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2626                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2627                         file contents change
2628                 - (finalize): clean up inotify watches
2629                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2630                         and the connection ifcfg for changes on their hardlinks
2631                 - (files_changed_cb): proxy the changed signal back out to listeners
2632
2633         * system-settings/plugins/ifcfg-fedora/plugin.c
2634                 - (dir_changed): 
2635                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2636                         changes
2637                 - (read_one_connection): connect to change signals on the new connection
2638                 - (dir_changed, connection_changed_handler,
2639                    handle_connection_remove_or_new): break out connection change
2640                         handling and connection new/remove handling so it can be used from
2641                         both the GFileMonitor callback and the NMIfcfgConnection changed
2642                         signals
2643
2644         * system-settings/plugins/ifcfg-fedora/reader.c
2645           system-settings/plugins/ifcfg-fedora/reader.h
2646                 - (connection_from_file): return the keyfile path the connection would use
2647
2648 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2649
2650         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2651         single PolKitContext which is shared by all. PolKitContext::unref leaks
2652         just about everything, including all open file descriptiors and results
2653         in 99% cpu usage when data arrives to any of the fds that don't belong
2654         to any context anymore.
2655
2656 2008-05-12  Dan Williams  <dcbw@redhat.com>
2657
2658         * gfilemonitor/glocaldirectorymonitor.c
2659           gfilemonitor/glocaldirectorymonitor.h
2660                 - (g_local_directory_monitor_constructor): actually subscribe to the
2661                         watch
2662                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2663
2664         * gfilemonitor/glocalfilemonitor.c
2665           gfilemonitor/glocalfilemonitor.h
2666                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2667                 - (_g_local_file_monitor_new): ensure that inotify is started up
2668
2669 2008-05-11  Dan Williams  <dcbw@redhat.com>
2670
2671         * configure.in
2672                 - record PolicyKit version
2673
2674         * system-settings/src/nm-polkit-helpers.c
2675                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2676                         with PolicyKit <= 0.6
2677
2678 2008-05-11  Dan Williams  <dcbw@redhat.com>
2679
2680         Update Fedora system-settings plugin to support latest API and use
2681         GFileMonitor rather than home-rolled inotify code.
2682
2683         * system-settings/plugins/ifcfg-fedora/Makefile.am
2684           system-settings/plugins/ifcfg-fedora/common.h
2685           system-settings/plugins/ifcfg-fedora/plugin.c
2686                 - Update to latest system settings plugin API; use GIO instead of
2687                         custom inotify code; use NMIfcfgConnection objects instead of
2688                         ConnectionData structures tacked onto NMConnection objects
2689
2690         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2691           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2692                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2693                         connections
2694
2695         * system-settings/plugins/ifcfg-fedora/reader.c
2696           system-settings/plugins/ifcfg-fedora/reader.h
2697                 - Move ifcfg parsing bits here from parser.c
2698
2699         * system-settings/plugins/ifcfg-fedora/parser.c
2700           system-settings/plugins/ifcfg-fedora/parser.h
2701                 - Remove; most code moved to reader.c
2702
2703 2008-05-11  Dan Williams  <dcbw@redhat.com>
2704
2705         * configure.in
2706           Makefile.am
2707           gfilemonitor/*
2708                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2709                         implementation, so that the same change monitoring code can be used
2710                         on systems without glib-2.14 (like Fedora 8)
2711
2712         * system-settings/plugins/keyfile/Makefile.am
2713           system-settings/plugins/keyfile/plugin.c
2714           system-settings/plugins/ifcfg-suse/Makefile.am
2715           system-settings/plugins/ifcfg-suse/plugin.c
2716                 - Use private gfilemonitor code if GIO is not present
2717
2718 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2719
2720         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2721         NMExportedConnection's 'update' and 'delete' and return error with
2722         descriptive message.
2723
2724 2008-05-08  Dan Williams  <dcbw@redhat.com>
2725
2726         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2727
2728         * src/nm-gsm-device.c
2729           src/nm-cdma-device.c
2730                 - (real_get_best_auto_connection): implement; allow autoconnection
2731                         to GSM & CDMA devices
2732
2733 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2734
2735         Use PolicyKit to authorize the system settings' AddConnection method
2736         and the system settings connections' Update and Delete methods.
2737         
2738         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2739         (impl_exported_connection_delete, nm_exported_connection_update)
2740         (nm_exported_connection_delete): Return boolean and fill GError
2741         to notify the callers of the reasons why it might have failed.
2742
2743         * libnm-glib/nm-dbus-settings-system.c
2744         (nm_dbus_settings_system_add_connection): Return the error from dbus
2745         call so that the callers can see why it failed.
2746
2747         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2748         signatures.
2749
2750         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2751
2752         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2753         abstract base class that checks PolicyKit permissions.
2754
2755         * system-settings/src/dbus-settings.c:
2756         (impl_settings_add_connection): Check the policy before carring out
2757         the request.
2758
2759         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2760         Inherit from NMSysconfigConnection, check the policies before
2761         allowing updating or removing.
2762
2763         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2764         Inherit from NMSysconfigConnection.
2765
2766         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2767         "Delete" methods with async flag so that the implementations can get
2768         access to DBusGMethodInvocation.
2769
2770         * system-settings/src/dbus-settings.c 
2771         (settings_add_connection_check_privileges): Implement.
2772         (impl_settings_add_connection): Check the privileges before adding a new
2773         connection. Improve error reporting.
2774
2775         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2776         async so that the implementation can access DBusGMethodInvocation.
2777
2778         * configure.in: Check for PolicyKit.
2779
2780         * policy/org.freedesktop.network-manager-settings.system.policy: 
2781         New file.
2782
2783         * policy/Makefile.am: Install the policy file.
2784
2785         * configure.in: Add 'policy' subdir.
2786
2787 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2788
2789         Rewrite the suse system settings plugin.
2790
2791         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2792
2793         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2794
2795         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2796
2797         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2798
2799         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2800
2801         * system-settings/src/main.c (load_plugins): Improve error reporting.
2802
2803         * system-settings/src/sha1.[ch] Add.
2804
2805         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2806
2807 2008-05-07  Dan Williams  <dcbw@redhat.com>
2808
2809         * system-settings/plugins/keyfile/reader.c
2810                 - (read_one_setting_value): handle IP address items separately
2811                 - (read_array_of_uint): read IPv4 DNS option as a string array
2812                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2813                         array
2814
2815         * system-settings/plugins/keyfile/writer.c
2816                 - (write_setting_value): handle IP address items separately
2817                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2818                         not an array of uint, so that it's user-editable
2819                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2820                         arrays, so they are user-editable
2821
2822 2008-05-07  Dan Williams  <dcbw@redhat.com>
2823
2824         * system-settings/plugins/keyfile/Makefile.am
2825                 - Change location of the keyfile plugin settings to
2826                         /etc/NetworkManager/system-connections
2827
2828 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2829
2830         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2831
2832         * system-settings/plugins/keyfile/plugin.c: Work with
2833         NMKeyfileConnections.
2834
2835         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2836         Plugins are supposed to return NMExportedConnections now and handle the
2837         updated(), removed(), and GetSecrets().
2838         Store the internal list of connections in hash table to make it easier
2839         to find duplicates.
2840
2841 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2842
2843         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2844         for multiple IP addresses.
2845
2846 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2847
2848         Patch from André Lemos.
2849
2850         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2851         corruption.
2852
2853 2008-05-06  Dan Williams  <dcbw@redhat.com>
2854
2855         * src/dhcp-manager/nm-dhcp-manager.c
2856                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2857                         NMIP4Config to support multiple IP addresses
2858
2859         * src/NetworkManagerUtils.c
2860                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2861
2862         * src/nm-ip4-config.c
2863           src/nm-ip4-config.h
2864                 - Store a list of IPv4 address/netmask/gateway tuples
2865                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2866                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2867                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2868                    nm_ip4_config_set_address): remove
2869                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2870                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2871                         new functions; handle multiple IPv4 addresses
2872
2873         * src/nm-device.c
2874           src/ppp-manager/nm-ppp-manager.c
2875           src/vpn-manager/nm-vpn-connection.c
2876           src/NetworkManagerPolicy.c
2877           test/nm-tool.c
2878           libnm-glib/libnm-glib-test.c
2879                 - update for changes to NMIP4Config for multiple IPv4 addresses
2880
2881         * src/NetworkManagerSystem.c
2882                 - (nm_system_device_set_ip4_route): don't add the route if any address
2883                         is on the same subnet as the destination
2884                 - (check_one_address): ignore the exact match, just match family and
2885                         interface index
2886                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2887                         an interface
2888                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2889                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2890
2891         * introspection/nm-ip4-config.xml
2892                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2893                 - Add 'addresses' property which is an array of (uuu) tuples of
2894                         address/netmask/gateway
2895
2896         * libnm-util/nm-setting-ip4-config.c
2897                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2898
2899         * libnm-glib/nm-ip4-config.c
2900           libnm-glib/nm-ip4-config.h
2901                 - Handle D-Bus interface changes to support multiple IP addresses
2902
2903 2008-05-06  Dan Williams  <dcbw@redhat.com>
2904
2905         * libnm-util/nm-utils.c
2906           libnm-util/nm-utils.h
2907                 - (nm_utils_ip4_addresses_from_gvalue,
2908                    nm_utils_ip4_addresses_to_gvalue): new functions
2909
2910 2008-05-06  Tambet Ingo  <tambet@gmail.com>
2911
2912         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2913         the returned connection paths.
2914
2915 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2916
2917         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
2918         "PropertiesChanged" signal signature.
2919
2920         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2921         defined in nm-dbus-glib-types.h.
2922         Don't register the connection on dbus, we're a proxy class to 
2923         communicate with an already registered connection over dbus.
2924
2925 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2926
2927         Implement new subclasses of NMSettings and NMExportedConnection to make
2928         it easier for the applet to access and modify system settings.
2929
2930         * libnm-glib/nm-dbus-connection.[ch]:
2931         * libnm-glib/nm-dbus-settings.[ch]:
2932         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2933
2934         * libnm-glib/Makefile.am: Add the new files to build, generate some more
2935         bindings and glue.
2936
2937         * include/NetworkManager.h: Define the system settings DBus interface.
2938
2939 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2940
2941         Implement additional C API for exported connections to make them identical
2942         with the DBus API. Change the (list_connections) virtual function to be
2943         more usable from C - instead of requiring implementers to return a GPtrArray
2944         of dbus paths, return a list of connections.
2945
2946         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2947         (nm_settings_list_connections):
2948         (nm_exported_connection_new):
2949         (nm_exported_connection_update):
2950         (nm_exported_connection_delete): Implement.
2951
2952         (impl_settings_list_connections):
2953         (impl_exported_connection_update):
2954         (impl_exported_connection_delete): Use the new public functions to make 
2955         sure the C and dbus interfaces stay in sync.
2956
2957         * system-settings/src/dbus-settings.c (list_connections): Return a list of
2958         connections.
2959
2960 2008-05-02  Dan Williams  <dcbw@redhat.com>
2961
2962         * system-settings/plugins/ifcfg-fedora/plugin.c
2963                 - (dispose): use right unref call on the DBusGConnection
2964
2965 2008-05-02  Dan Williams  <dcbw@redhat.com>
2966
2967         * src/nm-serial-device.c
2968                 - (find_terminator): don't compare the whole line, just the size of the
2969                         terminator, since some modems put stuff after the terminator, like
2970                         "CONNECT 9600"
2971
2972 2008-05-01  Dan Williams  <dcbw@redhat.com>
2973
2974         Patch from Michael Biebl <biebl@debian.org>
2975
2976         * callouts/Makefile.am
2977           callouts/org.freedesktop.nm_dispatcher.service.in
2978           system-settings/src/Makefile.am
2979           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2980                 - use the right install location for dbus-activated stuff
2981
2982 2008-04-30  Dan Williams  <dcbw@redhat.com>
2983
2984         * src/nm-gsm-device.c
2985                 - (enter_pin): fix setting name passed to applets when asking for a GSM
2986                         PIN or PUK
2987
2988 2008-04-30  Dan Williams  <dcbw@redhat.com>
2989
2990         * src/nm-manager.c
2991                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2992
2993 2008-04-30  Dan Williams  <dcbw@redhat.com>
2994
2995         * src/nm-device-802-3-ethernet.c
2996           src/nm-device-802-11-wireless.c
2997                 - (real_is_up): return true instead of chaining up to unimplemented
2998                         parent method
2999
3000 2008-04-30  Dan Williams  <dcbw@redhat.com>
3001
3002         * src/NetworkManagerSystem.c
3003           src/NetworkManagerSystem.h
3004                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3005                         functions to check device flags for IFF_UP
3006
3007         * src/nm-serial-device.c
3008                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3009                         implement is_up
3010
3011         * src/nm-device-802-3-ethernet.c
3012           src/nm-device-802-11-wireless.c
3013                 - (real_hw_is_up): call nm_system_device_is_up()
3014
3015         * src/nm-device.c
3016                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3017                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3018                         does not implement
3019
3020 2008-04-29  Dan Williams  <dcbw@redhat.com>
3021
3022         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3023
3024         * marshallers/nm-marshal.list
3025                 - Add marshaller
3026
3027         * src/NetworkManager.c
3028                 - (main): let the NMManager handle the NMHalManager
3029
3030         * src/nm-hal-manager.c
3031           src/nm-hal-manager.h
3032                 - convert to a GObject, and emit singals when stuff changes.  Let the
3033                         NMManager handle the signals, instead of the NMHalManager calling
3034                         into the NMManager.  
3035
3036         * src/nm-manager.c
3037           src/nm-manager.h
3038                 - (remove_one_device): consolidate device removals here
3039                 - (dispose): use remove_one_device()
3040                 - (nm_manager_get_device_by_udi): make static
3041                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3042                         manager for devices at startup or wakeup time
3043                 - (nm_manager_new): create and monitor the HAL manager
3044                 - (hal_manager_udi_added_cb): new function; do what
3045                         nm_manager_add_device() used to do when signalled by the hal manager
3046                 - (hal_manager_udi_removed_cb): new function; do what
3047                         nm_manager_remove_device() used to do when signalled by the hal
3048                         manager
3049                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3050                         hal manager
3051                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3052                         in our device list that aren't known to HAL
3053                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3054                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3055                         commits ago
3056                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3057                    nm_manager_activation_pending, nm_manager_wireless_enabled,
3058                    nm_manager_wireless_hardware_enabled,
3059                    nm_manager_set_wireless_hardware_enabled): remove, unused
3060
3061 2008-04-28  Dan Williams  <dcbw@redhat.com>
3062
3063         Fix the device up/down ambiguities.  Up/down state used to be a
3064         conglomeration of hardware state (IFF_UP) and any device-specific things
3065         (supplicant, periodic timers, etc) that the device used to indicate
3066         readiness.  Unfortunately, if the hardware was already IFF_UP for some
3067         reason, then the device specific stuff wouldn't get run, and the device
3068         would be stuck.
3069
3070         * src/nm-device.c
3071           src/nm-device.h
3072                 - Create hw_is_up, hw_bring_up, and hw_take_down
3073                 - Rename bring_down -> take_down
3074                 - (real_hw_is_up): check interface flags for IFF_UP
3075                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3076                 - (nm_device_is_up): make static; only used locally
3077                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3078                         if the device is already up; if the device isn't up, bring it up
3079                 - (nm_device_hw_take_down): just take down hardware
3080                 - (nm_device_bring_up): bring up HW first, then device specific stuff
3081                 - (nm_device_take_down): always deactivate device when called; always
3082                         try to take hardware down too
3083                 - (nm_device_state_changed): take device down when entering unmanaged
3084                         state from a higher state
3085
3086         * src/nm-device-802-11-wireless.c
3087                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3088                         check IFF_UP really
3089                 - (real_take_down, supplicant_iface_state_cb_handler, 
3090                    supplicant_iface_connection_state_cb_handler,
3091                    supplicant_mgr_state_cb_handler): fix some messages
3092
3093         * src/nm-device-802-3-ethernet.c
3094                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3095                         check IFF_UP really
3096
3097 2008-04-28  Dan Williams  <dcbw@redhat.com>
3098
3099         * src/nm-manager.c
3100           src/nm-manager.h
3101                 - (nm_manager_error_get_type): add new error
3102                 - (nm_manager_remove_device): don't bother taking down the device here,
3103                         the state change from unmanaging the device will do it
3104                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3105                         uses it; when going to sleep, just unmanage the device instead of
3106                         taking it down, because stuff will cleaned up correctly when the
3107                         device gets unmanaged
3108
3109 2008-04-28  Dan Williams  <dcbw@redhat.com>
3110
3111         * src/nm-hal-manager.c
3112                 - (add_initial_devices): convert to a GSourceFunc prototype
3113                 - (nm_manager_state_changed): when coming out of sleep, punt the
3114                         device re-addition to an idle handler to let D-Bus events go out
3115                         first, fixing a potential dbus-glib assert if the old device was
3116                         not yet disposed (due to references held while emitting the D-Bus
3117                         signals) but the new device was found, because the mainloop didn't
3118                         run between signal emission and add_initial_devices()
3119
3120 2008-04-27  Dan Williams  <dcbw@redhat.com>
3121
3122         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3123
3124         * initscript/paldo/NetworkManager.in
3125           initscript/SUSE/networkmanager.in
3126                 - Remove last bits of dhcdbd
3127
3128 2008-04-27  Dan Williams  <dcbw@redhat.com>
3129
3130         * src/nm-device-802-11-wireless.c
3131                 - (link_timeout_cb): don't ask for secrets when disconnected during
3132                         association/authentication phase, drivers are still just too crappy
3133
3134 2008-04-27  Dan Williams  <dcbw@redhat.com>
3135
3136         * Makefile.am
3137           configure.in
3138           dispatcher-daemon/Makefile.am
3139           dispatcher-daemon/NetworkManagerDispatcher.c
3140           initscript/Arch/Makefile.am
3141           initscript/Arch/networkmanager-dispatcher.in
3142           initscript/Gentoo/Makefile.am
3143           initscript/Gentoo/NetworkManagerDispatcher.in
3144           initscript/Mandriva/Makefile.am
3145           initscript/Mandriva/networkmanagerdispatcher.in
3146           initscript/RedHat/Makefile.am
3147           initscript/RedHat/NetworkManagerDispatcher.in
3148           initscript/SUSE/Makefile.am
3149           initscript/SUSE/networkmanager-dispatcher.in
3150           initscript/Slackware/Makefile.am
3151           initscript/Slackware/rc.networkmanager-dispatcher.in
3152           initscript/paldo/Makefile.am
3153           initscript/paldo/NetworkManagerDispatcher.in
3154           man/Makefile.am
3155           man/NetworkManagerDispatcher.8.in
3156                 - Remove the dispatcher daemon
3157
3158 2008-04-27  Dan Williams  <dcbw@redhat.com>
3159
3160         * callouts/Makefile.am
3161           callouts/nm-dispatcher-action.c
3162           callouts/nm-dispatcher-action.h
3163           callouts/nm-dispatcher.conf
3164           callouts/nm-dispatcher.xml
3165           callouts/org.freedesktop.nm_dispatcher.service
3166                 - Re-implement the dispatcher as a system-bus activated service that
3167                         NM calls on-demand, rather than an always running daemon
3168
3169         * src/Makefile.am
3170                 - Add callouts dir to includes to pick up dispatcher defines
3171
3172         * src/nm-device.c
3173                 - (nm_device_state_changed): call dispatcher on device activated/
3174                         deactivated
3175
3176         * src/vpn-manager/nm-vpn-connection.c
3177                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3178                         go up and down
3179
3180         * src/NetworkManagerUtils.c
3181           src/NetworkManagerUtils.h
3182                 - (nm_utils_call_dispatcher): helper to call dispatcher
3183
3184 2008-04-27  Dan Williams  <dcbw@redhat.com>
3185
3186         * src/NetworkManagerUtils.c
3187           src/NetworkManagerUtils.h
3188                 - remove unneeded includes
3189                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3190                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3191                    nm_timeval_cmp, nm_timeval_add): remove, unused
3192                 - clean up formatting
3193                 - (nm_spawn_process): de-uglify
3194
3195         * src/nm-device-802-11-wireless.c
3196                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3197
3198 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3199
3200         * initscript/Gentoo/NetworkManager.in:
3201                 Fix for starting the daemon.
3202
3203 2008-04-25  Dan Williams  <dcbw@redhat.com>
3204
3205         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3206
3207         * src/NetworkManagerSystem.c
3208                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3209
3210 2008-04-25  Dan Williams  <dcbw@redhat.com>
3211
3212         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3213
3214         * src/NetworkManagerSystem.c
3215                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3216                         implementation of nm_system_device_replace_default_route()
3217
3218         * src/NetworkManagerPolicy.c
3219                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3220
3221         * src/backends/NetworkManagerArch.c
3222           src/backends/NetworkManagerDebian.c
3223           src/backends/NetworkManagerFrugalware.c
3224           src/backends/NetworkManagerGeneric.c
3225           src/backends/NetworkManagerGeneric.h
3226           src/backends/NetworkManagerGentoo.c
3227           src/backends/NetworkManagerMandriva.c
3228           src/backends/NetworkManagerPaldo.c
3229           src/backends/NetworkManagerRedHat.c
3230           src/backends/NetworkManagerSlackware.c
3231           src/backends/NetworkManagerSuSE.c
3232                 - (nm_system_device_replace_default_route): remove
3233
3234 2008-04-25  Dan Williams  <dcbw@redhat.com>
3235
3236         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3237
3238         * src/NetworkManagerSystem.c
3239                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3240                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3241                         replace nm_system_device_add_route_via_device_with_iface() in the
3242                         backends
3243
3244         * src/backends/NetworkManagerArch.c
3245           src/backends/NetworkManagerDebian.c
3246           src/backends/NetworkManagerFrugalware.c
3247           src/backends/NetworkManagerGeneric.c
3248           src/backends/NetworkManagerGeneric.h
3249           src/backends/NetworkManagerGentoo.c
3250           src/backends/NetworkManagerMandriva.c
3251           src/backends/NetworkManagerPaldo.c
3252           src/backends/NetworkManagerRedHat.c
3253           src/backends/NetworkManagerSlackware.c
3254           src/backends/NetworkManagerSuSE.c
3255                 - Remove nm_system_device_add_route_via_device_with_iface()
3256
3257 2008-04-25  Dan Williams  <dcbw@redhat.com>
3258
3259         * system-settings/plugins/ifcfg-fedora/parser.c
3260                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3261
3262 2008-04-24  Dan Williams  <dcbw@redhat.com>
3263
3264         * dispatcher-daemon/NetworkManagerDispatcher.c
3265                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3266
3267 2008-04-24  Dan Williams  <dcbw@redhat.com>
3268
3269         * initscript/RedHat/NetworkManager.in
3270           initscript/RedHat/NetworkManagerDispatcher.in
3271                 - Be active at runlevel 2
3272                 - Adjust priorities earlier
3273
3274 2008-04-22  Dan Williams  <dcbw@redhat.com>
3275
3276         * src/NetworkManagerPolicy.c
3277                 - (update_routing_and_dns): when checking for a gateway, look at the
3278                         composite IP4 config, not the connection's ip4-config setting, which
3279                         doesn't include DHCP-returned information
3280
3281 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3282
3283         Implement GKeyFile system settings plugin.
3284         Implement writing system settings (currently supported only by GKeyFile plugin).
3285
3286         * system-settings/src/main.c: 
3287         * system-settings/src/dbus-settings.c: Move the communication with plugins
3288         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3289         plugins for adding/updating/removing connections.
3290
3291         * system-settings/src/nm-system-config-interface.c
3292         (nm_system_config_interface_add_connection): Implement
3293         (nm_system_config_interface_update_connection): Implement.
3294         (nm_system_config_interface_remove_connection): Implement.
3295
3296         * system-settings/plugins/keyfile/Makefile.am:
3297         * system-settings/plugins/keyfile/plugin.[ch]:
3298         * system-settings/plugins/keyfile/writer.[ch]:
3299         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3300
3301         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3302
3303         * configure.in: Generate GKeyFile Makefile.
3304
3305         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3306         corruption, need to duplicate the returned string.
3307         (impl_exported_connection_update): Implement.
3308         (impl_exported_connection_delete): Implement.
3309
3310         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3311
3312         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3313
3314 2008-04-22  Dan Williams  <dcbw@redhat.com>
3315
3316         Patch from Charles R. Anderson (cra@wpi.edu)
3317
3318         * src/NetworkManagerPolicy.c
3319                 - (update_routing_and_dns): don't select devices without a gateway
3320                         as having the default route (rh #437338)
3321
3322 2008-04-21  Dan Williams  <dcbw@redhat.com>
3323
3324         * src/nm-activation-request.c
3325           src/nm-activation-request.h
3326                 - (dispose): ensure to disconnect from the device's state-changed signal
3327                         when appropriate so the signal doesn't get handled by an already
3328                         disposed NMActRequest
3329                 - (device_state_changed): update is_default here too just to make sure
3330                         default is only True when the child device is activated
3331                 - (nm_act_request_set_default): new function
3332
3333         * src/NetworkManagerPolicy.c
3334                 - (update_routing_and_dns): set 'default' on the active connection which
3335                         has the default route and DNS
3336
3337 2008-04-21  Dan Williams  <dcbw@redhat.com>
3338
3339         * src/NetworkManagerPolicy.c
3340                 - (device_state_changed): update routing and DNS when a device goes
3341                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3342
3343 2008-04-21  Dan Williams  <dcbw@redhat.com>
3344
3345         * include/NetworkManager.h
3346                 - Add NMActiveConnectionState enum
3347
3348         * introspection/nm-active-connection.xml
3349           introspection/nm-vpn-connection.xml
3350                 - Add 'State' property for overall active connection state
3351                 - Add 'Default' property, when True means this active connection
3352                         has the default route
3353                 - Add PropertyChanged signals so changes actually go out over the bus
3354
3355         * src/nm-active-connection.h
3356                 - Add defines for State & Default properties
3357
3358         * src/nm-activation-request.c
3359                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3360                         signal to determine active connection state
3361
3362         * src/vpn-manager/nm-vpn-connection.c
3363           src/vpn-manager/nm-vpn-connection.h
3364           src/vpn-manager/nm-vpn-manager.c
3365           src/vpn-manager/nm-vpn-service.c
3366                 - Rename old 'state' to 'vpn-state'
3367                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3368                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3369                         'vpn-state-changed' signal
3370
3371         * libnm-glib/nm-active-connection.c
3372           libnm-glib/nm-active-connection.h
3373                 - Add new 'state' and 'default' properties and accessors
3374
3375         * libnm-glib/nm-vpn-connection.c
3376           libnm-glib/nm-vpn-connection.h
3377                 - Rename old 'state' property to 'vpn-state'
3378                 - Add new 'state' and 'default' properties and accessors
3379
3380 2008-04-21  Dan Williams  <dcbw@redhat.com>
3381
3382         * src/nm-ip4-config.c
3383                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3384                         not specified (rh #443474)
3385
3386 2008-04-20  Dan Williams  <dcbw@redhat.com>
3387
3388         * src/NetworkManagerUtils.c
3389           src/NetworkManagerUtils.h
3390                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3391                         NMSettingIP4Config to an NMIP4Config object
3392
3393         * src/nm-device.c
3394                 - (merge_ip4_config): move to NetworkManagerUtils.c
3395
3396         * src/vpn-manager/nm-vpn-connection.c
3397                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3398                         too
3399
3400 2008-04-18  Dan Williams  <dcbw@redhat.com>
3401
3402         * libnm-util/nm-setting-ppp.c
3403           libnm-util/nm-setting-ppp.h
3404                 - Add 'no-vj-comp' option for TCP header compression
3405                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3406                         uint32
3407
3408 2008-04-18  Dan Williams  <dcbw@redhat.com>
3409
3410         * libnm-util/nm-setting-ppp.c
3411           libnm-util/nm-setting-ppp.h
3412           src/ppp-manager/nm-ppp-manager.c
3413                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3414
3415 2008-04-18  Dan Williams  <dcbw@redhat.com>
3416
3417         * libnm-util/nm-setting-ppp.c
3418           libnm-util/nm-setting-ppp.h
3419           src/ppp-manager/nm-ppp-manager.c
3420                 - Remove the 'usepeerdns' option and always request DNS servers from
3421                         the PPP server; the connection chooses to use/override/ignore the
3422                         DNS servers returned from the PPP server
3423
3424 2008-04-18  Dan Williams  <dcbw@redhat.com>
3425
3426         * libnm-util/nm-setting-ppp.c
3427           libnm-util/nm-setting-ppp.h
3428           src/ppp-manager/nm-ppp-manager.c
3429                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3430                         it seems to have been an erroneous addition to the PPTP plugin in
3431                         the first place (from which the ppp-manager is derived)
3432
3433 2008-04-17  Dan Williams  <dcbw@redhat.com>
3434
3435         * libnm-util/nm-setting-pppoe.c
3436                 - (verify): require a PPP setting too
3437
3438         * src/ppp-manager/nm-ppp-manager.c
3439                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3440                         segfaulting
3441
3442 2008-04-17  Dan Williams  <dcbw@redhat.com>
3443
3444         * src/nm-device.c
3445                 - (nm_device_state_changed): do deactivation and and promotion to
3446                         unavailable here, so that the device gets cleaned up before the
3447                         manager runs and starts emitting signals; do the
3448                         FAILED->DISCONNECTED transition from an idle handler rather than
3449                         immediately to guard against recursion
3450                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3451                         FAILED->DISCONNECTED handler if it's scheduled
3452
3453 2008-04-17  Dan Williams  <dcbw@redhat.com>
3454
3455         * src/nm-device-802-11-wireless.c
3456                 - (state_changed_cb): clear AP list when device transitions to
3457                         unavailable or unmanaged
3458                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3459                         since this is already done in device_cleanup()
3460                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3461                         isn't available or managed
3462                 - (device_cleanup): use remove_all_aps()
3463                 - (remove_all_aps): consolidate code removing all APs
3464
3465 2008-04-17  Dan Williams  <dcbw@redhat.com>
3466
3467         * src/nm-serial-device.c
3468           src/nm-serial-device.h
3469                 - (wait_for_reply_got_data): break input into lines, and search each
3470                         line for responses _and_ terminator strings; also make sure that
3471                         the read loop doesn't continue after the timeout is supposed to fire
3472                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3473
3474         * src/nm-gsm-device.c
3475           src/nm-cdma-device.c
3476                 - Send terminators to nm_serial_device_wait_for_reply()
3477
3478 2008-04-16  Dan Williams  <dcbw@redhat.com>
3479
3480         Patch from 陈鑫 <znscnchen@gmail.com>
3481
3482         * src/ppp-manager/nm-pppd-plugin.c
3483                 - (get_credentials): return correct value for success; handle case where
3484                         pppd just does some checking but doesn't want a password
3485                 - (plugin_init): make CHAP work too
3486
3487 2008-04-16  Dan Williams  <dcbw@redhat.com>
3488
3489         Patch from 陈鑫 <znscnchen@gmail.com>
3490
3491         * src/ppp-manager/nm-ppp-manager.c
3492                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3493
3494 2008-04-16  Dan Williams  <dcbw@redhat.com>
3495
3496         Patch from 陈鑫 <znscnchen@gmail.com>
3497
3498         * src/nm-device-802-3-ethernet.c
3499                 - (real_deactivate_quickly): clear the IP interface name on
3500                         deactivation, otherwise the wrong interface might get used later
3501                         for routing and IP management
3502
3503 2008-04-15  Dan Williams  <dcbw@redhat.com>
3504
3505         * libnm-glib/nm-device.c
3506                 - (get_product_and_vendor): handle serial devices correctly
3507                 - (nm_device_update_description): pass device to get_product_and_vendor()
3508
3509 2008-04-15  Dan Williams  <dcbw@redhat.com>
3510
3511         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3512
3513         * src/NetworkManagerSystem.h
3514           src/backends/NetworkManagerArch.c
3515           src/backends/NetworkManagerDebian.c
3516           src/backends/NetworkManagerFrugalware.c
3517           src/backends/NetworkManagerGeneric.c
3518           src/backends/NetworkManagerGeneric.h
3519           src/backends/NetworkManagerGentoo.c
3520           src/backends/NetworkManagerMandriva.c
3521           src/backends/NetworkManagerPaldo.c
3522           src/backends/NetworkManagerRedHat.c
3523           src/backends/NetworkManagerSlackware.c
3524           src/backends/NetworkManagerSuSE.c
3525           src/nm-device.c
3526                 - (nm_generic_device_add_ip6_link_address,
3527                    nm_system_device_add_ip6_link_address): remove
3528
3529 2008-04-15  Dan Williams  <dcbw@redhat.com>
3530
3531         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3532
3533         * src/backends/NetworkManagerArch.c
3534           src/backends/NetworkManagerDebian.c
3535           src/backends/NetworkManagerFrugalware.c
3536           src/backends/NetworkManagerGeneric.c
3537           src/backends/NetworkManagerGeneric.h
3538           src/backends/NetworkManagerGentoo.c
3539           src/backends/NetworkManagerMandriva.c
3540           src/backends/NetworkManagerPaldo.c
3541           src/backends/NetworkManagerRedHat.c
3542           src/backends/NetworkManagerSlackware.c
3543           src/backends/NetworkManagerSuSE.c
3544           src/NetworkManagerSystem.h
3545                 - flush_routes -> flush_ip4_routes
3546                 - flush_addresses -> flush_ip4_addresses
3547
3548         * src/NetworkManagerSystem.c
3549           src/nm-device.c
3550           src/vpn-manager/nm-vpn-connection.c
3551                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3552
3553 2008-04-15  Dan Williams  <dcbw@redhat.com>
3554
3555         Remove exposure of wireless-tools mode types in the API.
3556
3557         * include/NetworkManager.h
3558                 - Define NM80211Mode enum
3559
3560         * introspection/generic-types.xml
3561                 - Describe NM_802_11_MODE enum
3562                 - Remove IW_MODE_* enum
3563
3564         * introspection/nm-access-point.xml
3565           libnm-glib/nm-access-point.c
3566           libnm-glib/nm-access-point.h
3567                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3568
3569         * introspection/nm-device-802-11-wireless.xml
3570           libnm-glib/nm-device-802-11-wireless.c
3571           libnm-glib/nm-device-802-11-wireless.h
3572                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3573
3574         * libnm-util/nm-setting-wireless.c
3575           src/NetworkManagerAP.c
3576           src/NetworkManagerAP.h
3577           src/nm-device-802-11-wireless.c
3578           src/nm-device-802-11-wireless.h
3579           test/nm-tool.c
3580                 - Use NM80211Mode not IW_MODE_*
3581
3582 2008-04-15  Dan Williams  <dcbw@redhat.com>
3583
3584         Enhance nm-online based on a patch from Bill Nottingham.
3585
3586         * test/nm-online.c
3587                 - Add a '-q' option
3588                 - Add help messages and option summary
3589                 - Add long-format options
3590                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3591
3592 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3593
3594         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3595
3596         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3597
3598 2008-04-15  Dan Williams  <dcbw@redhat.com>
3599
3600         * nm-setting-ip4-config.c
3601                 - (ip4_addresses_from_gvalue): handle NULL address array
3602
3603         * nm-setting-8021x.c
3604                 - (verify_tls, verify_ttls): warn on failed verification
3605
3606 2008-04-10  Dan Williams  <dcbw@redhat.com>
3607
3608         * src/nm-gsm-device.c
3609                 - (automatic_registration): accept "+CREG: 0,0"
3610                 - (automatic_registration_response): fail on "+CREG: 0,0"
3611
3612 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3613
3614         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3615
3616 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3617
3618         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3619         Make it compile again by commenting out broken code that at first didn't work and
3620         now didn't compile either.
3621
3622 2008-04-08  Dan Williams  <dcbw@redhat.com>
3623
3624         * libnm-glib/nm-object-cache.c
3625           libnm-glib/nm-settings.c
3626           src/dhcp-manager/nm-dhcp-manager.c
3627           system-settings/plugins/ifcfg-fedora/plugin.c
3628           system-settings/plugins/ifcfg-suse/plugin.c
3629           system-settings/src/nm-system-config-hal-manager.c
3630           libnm-util/nm-utils.c
3631                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3632                         not threadsafe anyway
3633
3634 2008-04-08  Dan Williams  <dcbw@redhat.com>
3635
3636         * system-settings/src/main.c
3637                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3638                         callbacks take a device type too
3639
3640 2008-04-08  Dan Williams  <dcbw@redhat.com>
3641
3642         The system settings service will now create a new default DHCP connection
3643         for wired devices that have no existing applicable connection.
3644
3645         * system-settings/src/nm-system-config-hal-manager.c
3646           system-settings/src/nm-system-config-hal-manager.h
3647                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3648
3649         * system-settings/src/dbus-settings.c
3650           system-settings/src/dbus-settings.h
3651                 - (nm_sysconfig_settings_get_connections): new function
3652                 - (nm_sysconfig_settings_is_device_managed): new function
3653
3654         * system-settings/src/main.c
3655                 - (load_stuff): check for wired devices that need a default connection
3656                 - (get_details_for_udi): get interface and MAC address from HAL
3657                 - (add_default_dhcp_connection): add a default connection for a wired
3658                         device if needed
3659                 - (device_added_cb, device_removed_cb): do the right thing with
3660                         wired devices and their default connections on HAL device events
3661
3662 2008-04-07  Dan Williams  <dcbw@redhat.com>
3663
3664         * libnm-glib/nm-device.c
3665           libnm-glib/nm-device.h
3666                 - Proxy the 'managed' property
3667
3668 2008-04-07  Dan Williams  <dcbw@redhat.com>
3669
3670         * src/nm-gsm-device.c
3671           src/nm-cdma-device.c
3672                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3673                         handler to transition to DISCONNECTED
3674
3675 2008-04-07  Dan Williams  <dcbw@redhat.com>
3676
3677         Patch from Bill Nottingham
3678
3679         * dispatcher-daemon/NetworkManagerDispatcher.c
3680                 - ignore backup/packaging crufy (rh #440143)
3681
3682 2008-04-07  Dan Williams  <dcbw@redhat.com>
3683
3684         * include/NetworkManager.h
3685                 - Remove the DOWN and CANCELLED device states
3686                 - Add UNMANAGED and UNAVAILABLE device states
3687                 - Document the device states
3688
3689         * introspection/nm-device.xml
3690           src/nm-device-interface.c
3691           src/nm-device-interface.h
3692                 - Add the 'managed' property
3693
3694         * test/nm-tool.c
3695                 - (detail_device): print out device state
3696
3697         * src/NetworkManagerSystem.h
3698           src/backends/NetworkManagerArch.c
3699           src/backends/NetworkManagerDebian.c
3700           src/backends/NetworkManagerFrugalware.c
3701           src/backends/NetworkManagerGentoo.c
3702           src/backends/NetworkManagerMandriva.c
3703           src/backends/NetworkManagerPaldo.c
3704           src/backends/NetworkManagerRedHat.c
3705           src/backends/NetworkManagerSlackware.c
3706           src/backends/NetworkManagerSuSE.c
3707                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3708                    nm_system_device_free_system_config): remove; they were unused and
3709                         their functionality should be re-implemented in each distro's
3710                         system settings service plugin 
3711
3712         * src/nm-gsm-device.c
3713           src/nm-gsm-device.h
3714           src/nm-cdma-device.c
3715           src/nm-cdma-device.h
3716                 - (*_new): take the 'managed' argument
3717
3718         * src/nm-device.c
3719                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3720                 - (nm_device_init): start in unmanaged state, not disconnected
3721                 - (constructor): don't start device until the system settings service
3722                         has had a chance to figure out if the device is managed or not
3723                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3724                         don't set device state here, let callers handle that as appropriate
3725                 - (nm_device_dispose): don't touch the device if it's not managed
3726                 - (set_property, get_property, nm_device_class_init): implement the
3727                         'managed' property
3728                 - (nm_device_state_changed): bring the device up if its now managed,
3729                         and deactivate it if it used to be active
3730                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3731                         with the managed state
3732
3733         * src/nm-hal-manager.c
3734                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3735                         take initial managed state and pass it along to device constructors
3736                 - (create_device_and_add_to_list): get managed state and pass to
3737                         type creators
3738
3739         * src/nm-device-802-11-wireless.c
3740                 - (real_can_activate): fold in most of
3741                         nm_device_802_11_wireless_can_activate()
3742                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3743                 - (link_timeout_cb): instead of deactivating, change device state and
3744                         let the device state handler to it
3745                 - (real_update_hw_address): clean up
3746                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3747                         handler to transition to DISCONNECTED if the device isn't rfkilled
3748
3749         * src/nm-device-802-3-ethernet.c
3750                 - (set_carrier): move above callers and get rid of prototype
3751                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3752                         idle handler to transition to DISCONNECTED if the device has a
3753                         carrier
3754                 - (real_update_hw_address): clean up
3755                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3756                         deactivation directly as deactivation doesn't change state anymore
3757
3758         * src/NetworkManagerPolicy.c
3759                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3760                         the NMManager and wireless devices work that out themselves now
3761                 - (device_state_changed): change to a switch and update for new device
3762                         states
3763                 - (device_carrier_changed): remove; device handles this now through
3764                         state changes
3765                 - (device_added): don't care about carrier any more; the initial
3766                         activation check will happen when the device transitions to
3767                         DISCONNECTED
3768
3769         * src/nm-manager.c
3770                 - (dispose): clear unmanaged devices
3771                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3772                         the managed property on each device when needed
3773                 - (system_settings_properties_changed_cb): handle signals from the
3774                         system settings service
3775                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3776                         getting the unmanaged device list method call
3777                 - (query_unmanaged_devices): ask the system settings service for its
3778                         list of unmanaged devices
3779                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3780                         devices
3781                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3782                         devices directly and let them handle the necessary state transitions
3783                 - (manager_device_state_changed): update for new device states
3784                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3785                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3786                 - (nm_manager_activate_connection): return error if the device is
3787                         unmanaged
3788                 - (nm_manager_sleep): handle new device states correctly; don't change
3789                         the state of unavailable/unmanaged devices
3790
3791         * libnm-glib/nm-device-802-11-wireless.c
3792                 - (state_changed_cb): update for new device states
3793
3794 2008-04-07  Dan Williams  <dcbw@redhat.com>
3795
3796         * marshallers/nm-marshal.list
3797                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3798
3799 2008-04-07  Dan Williams  <dcbw@redhat.com>
3800
3801         * system-settings/src/main.c
3802                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3803                         plugins to the dbus settings object
3804                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3805                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3806                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3807                 - (main): switch default logging to syslog with a 'debug' option to
3808                         output to console; start up the HAL manager
3809
3810 2008-04-07  Dan Williams  <dcbw@redhat.com>
3811
3812         * introspection/nm-settings-system.xml
3813           introspection/Makefile.am
3814                 - Define the unmanaged devices interface for the system settings service
3815
3816         * system-settings/src/nm-system-config-hal-manager.c
3817           system-settings/src/nm-system-config-hal-manager.h
3818           system-settings/src/nm-system-config-hal-manager-private.h
3819           system-settings/src/Makefile.am
3820                 - Add a lightweight HAL manager object for tracking network devices for
3821                         the purpose of determining unmanaged devices and which devices need
3822                         the default DHCP connections
3823
3824         * system-settings/src/nm-system-config-interface.c
3825           system-settings/src/nm-system-config-interface.h
3826                 - (nm_system_config_interface_init): add the HAL manager as an argument
3827                 - (nm_system_config_interface_get_unmanaged_devices): implement
3828                 - Define 'unmanaged-devices-changed' signal
3829
3830         * system-settings/src/dbus-settings.c
3831           system-settings/src/dbus-settings.h
3832                 - Implement the unmanaged devices interface; some cleanups
3833
3834         * system-settings/plugins/ifcfg-suse/plugin.c
3835                 - Fixup for plugin interface changes
3836
3837         * system-settings/plugins/ifcfg-fedora/plugin.c
3838                 - (get_ether_device_udi): new function; find the device that has
3839                         a specified MAC address and return its UDI
3840                 - (get_udi_for_connection): new function; try to find the specific
3841                         device a connection is locked to, if any
3842                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3843                         response to HAL events
3844                 - (get_unmanaged_devices): new function; return unmanaged device list
3845                 - (build_one_connection): set the connection's locked device, if any
3846                 - (write_auto_wired_connection): remove
3847                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3848                 - (handle_connection_changed): alert listeners that the unmanaged device
3849                         list has changed
3850                 - (init): fixup for plugin interface changes, implement unmanaged devices
3851
3852         * system-settings/plugins/ifcfg-fedora/parser.c
3853           system-settings/plugins/ifcfg-fedora/parser.h
3854                 - (connection_data_free): clean up connection UDI
3855
3856 2008-04-07  Dan Williams  <dcbw@redhat.com>
3857
3858         * system-settings/plugins/ifcfg-fedora/parser.c
3859                 - (make_ip4_setting): fix parsing of DNS servers
3860
3861 2008-04-05  Dan Williams  <dcbw@redhat.com>
3862
3863         * Makefile.am
3864           configure.in
3865           marshallers/Makefile.am
3866           marshallers/nm-marshal-main.c
3867           marshallers/nm-marshal.list
3868                 - Consolidate marshallers
3869
3870         * libnm-glib/nm-marshal-main.c
3871           libnm-glib/nm-marshal.list
3872           src/marshallers/Makefile.am
3873           src/marshallers/nm-marshal-main.c
3874           src/marshallers/nm-marshal.list
3875                 - Remove
3876
3877         * libnm-glib/Makefile.am
3878           src/Makefile.am
3879           src/dhcp-manager/Makefile.am
3880           src/ppp-manager/Makefile.am
3881           src/supplicant-manager/Makefile.am
3882           src/vpn-manager/Makefile.am
3883                 - Use consolidated marshallers
3884
3885 2008-04-04  Dan Williams  <dcbw@redhat.com>
3886
3887         * src/nm-hal-manager.c
3888           src/nm-hal-manager.h
3889                 - (hal_init): don't look for hardware here
3890                 - (nm_hal_manager_start): new function; look for hardware here instead,
3891                         which can be done at a later time than hal_init()
3892
3893         * src/NetworkManager.c
3894                 - (main): start HAL manager after entering the main loop
3895
3896 2008-04-03  Dan Williams  <dcbw@redhat.com>
3897
3898         * libnm-glib/nm-settings.c
3899           libnm-glib/nm-settings.h
3900             - (nm_exported_connection_get_id): new function
3901                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3902
3903 2008-04-02  Dan Williams  <dcbw@redhat.com>
3904
3905         * src/nm-device-interface.c
3906           src/nm-device-interface.h
3907           src/nm-device.c
3908           src/nm-device.h
3909                 - Rename check_connection_conflicts() to check_connection_compatible()
3910
3911         * src/nm-device-802-11-wireless.c
3912                 - (real_check_connection_conflicts): remove
3913                 - (real_check_connection_compatible): implement; match MAC address
3914
3915         * src/nm-device-802-3-ethernet.c
3916                 - (real_check_connection_conflicts): remove
3917                 - (real_check_connection_compatible): implement; match MAC address
3918                 - (real_get_best_auto_connection): correctly handle PPPoE cases
3919
3920         * src/nm-manager.c
3921                 - (check_connection_allowed): remove; unused until PolicyKit integration
3922                 - (internal_activate_device): check whether the connection is compatible
3923                         with the device before trying to activate it
3924
3925 2008-04-02  Dan Williams  <dcbw@redhat.com>
3926
3927         * system-settings/plugins/ifcfg-fedora/parser.c
3928                 - (read_mac_address): new function; read in MAC address and stuff it
3929                         into the connection
3930                 - (add_one_wep_key): remove debug spew
3931                 - (make_wireless_security_setting): validate the default TX key; don't
3932                         add the wireless-security setting if the connection doesn't need
3933                         security; don't leak the keys shvarFile on error cases
3934                 - (make_wireless_setting, make_wired_setting): populate device's MAC
3935                         address
3936
3937 2008-04-02  Dan Williams  <dcbw@redhat.com>
3938
3939         * libnm-util/nm-setting-connection.c
3940           libnm-util/nm-setting-connection.h
3941                 - (set_property, get_property, nm_setting_connection_class_init): remove
3942                         the 'lockdown' property; it's functionality will be replaced by
3943                         PolicyKit instead
3944
3945 2008-04-01  Dan Williams  <dcbw@redhat.com>
3946
3947         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3948
3949         * configure.in
3950           initscript/Makefile.am
3951           initscript/Mandriva/Makefile.am
3952           initscript/Mandriva/networkmanager.in
3953           initscript/Mandriva/networkmanagerdispatcher.in
3954           src/backends/Makefile.am
3955           src/backends/NetworkManagerMandriva.c
3956           system-settings/plugins/Makefile.am
3957                 - Add Mandriva support
3958
3959 2008-03-31  Dan Williams  <dcbw@redhat.com>
3960
3961         * src/vpn-manager/nm-vpn-service.c
3962                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3963                         errors can be passed back to the caller; also no longer scheduled
3964                         as an idle handler, but called directly; and bump up VPN service
3965                         spawn timeout, 2s is really short
3966                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3967                         but call it directly so that errors are reported on return from
3968                         ActivateConnection() and don't get lost.  If scheduled as an idle
3969                         handler, clients don't have the time to query NM for the new VPN
3970                         connection's properties before the VPN connection is torn down again
3971                         if the service couldn't be launched, and therefore launch errors
3972                         get lost.
3973
3974 2008-03-31  Dan Williams  <dcbw@redhat.com>
3975
3976         * src/vpn-manager/nm-vpn-connection.c
3977                 - (device_state_changed): send correct state on device failure too
3978                 - (plugin_state_changed): failed state means unexpected disconnection,
3979                         thus if the service goes away while the VPN connection is activated
3980                         that's a failure too
3981
3982 2008-03-31  Dan Williams  <dcbw@redhat.com>
3983
3984         * src/vpn-manager/nm-vpn-manager.c
3985           src/vpn-manager/nm-vpn-manager.h
3986                 - Make VPNManager errors more available; add a service-start-failed error
3987
3988 2008-03-31  Dan Williams  <dcbw@redhat.com>
3989
3990         * libnm-glib/nm-client.c
3991           libnm-glib/nm-client.h
3992                 - (activate_cb): pass the new active connection to callback; fix
3993                         message when no callback is specified
3994
3995 2008-03-30  Dan Williams  <dcbw@redhat.com>
3996
3997         * libnm-util/nm-setting-wireless-security.c
3998                 - (need_secrets): only require key0 if the transmit key index is also
3999                         0
4000                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4001
4002 2008-03-29  Dan Williams  <dcbw@redhat.com>
4003
4004         * libnm-util/nm-setting-8021x.c
4005           libnm-util/nm-setting-ip4-config.c
4006           libnm-util/nm-setting-vpn-properties.c
4007           libnm-util/nm-setting-vpn.c
4008           libnm-util/nm-setting-wireless-security.c
4009           libnm-util/nm-setting-wireless.c
4010           libnm-util/nm-utils.c
4011           src/dhcp-manager/nm-dhcp-manager.c
4012           src/nm-activation-request.c
4013           src/nm-ip4-config.c
4014           src/nm-manager.c
4015           src/nm-properties-changed-signal.c
4016           src/ppp-manager/nm-pppd-plugin.c
4017           src/supplicant-manager/nm-supplicant-interface.c
4018           src/vpn-manager/nm-vpn-connection.c
4019                 - consistently use nm-dbus-glib-types.h
4020
4021 2008-03-29  Dan Williams  <dcbw@redhat.com>
4022
4023         * src/vpn-manager/nm-vpn-connection.c
4024                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4025                         not string
4026
4027         * src/nm-activation-request.c
4028                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4029                         not string
4030
4031 2008-03-29  Dan Williams  <dcbw@redhat.com>
4032
4033         * libnm-glib/nm-device-802-11-wireless.c
4034                 - (access_point_added_proxy): create new APs if not found
4035
4036 2008-03-29  Dan Williams  <dcbw@redhat.com>
4037
4038         * libnm-glib/nm-client.c
4039                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4040                         before freeing them
4041
4042 2008-03-29  Dan Williams  <dcbw@redhat.com>
4043
4044         * system-settings/plugins/ifcfg-fedora/parser.c
4045                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4046                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4047
4048 2008-03-29  Dan Williams  <dcbw@redhat.com>
4049
4050         * system-settings/plugins/ifcfg-fedora/parser.c
4051                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4052
4053 2008-03-27  Dan Williams  <dcbw@redhat.com>
4054
4055         * nm-object.c
4056                 - (nm_object_queue_notify): don't notify multiple times for the same
4057                         property
4058
4059         * nm-object-private.h
4060                 - (handle_ptr_array_return): return NULL if the given array is NULL or
4061                         if it has zero elements
4062
4063         * nm-ip4-config.c
4064                 - (finalize): use g_ptr_array_foreach() when freeing domains
4065                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4066
4067         * nm-active-connection.c
4068                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4069
4070         * nm-device-802-11-wireless.c
4071           nm-device-802-11-wireless.h
4072                 - (nm_device_802_11_wireless_get_access_points): return const; use
4073                         handle_ptr_array_return()
4074
4075         * nm-types.c
4076                 - (nm_object_array_demarshal): always create an array, even of length
4077                         zero, to distinguish between "NM returned no items" and "haven't
4078                         asked NM yet"
4079
4080         * nm-client.c
4081                 - (dispose): free active connections too
4082                 - (proxy_name_owner_changed): free active connections too when NM goes
4083                         away
4084                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4085                 - (nm_client_get_active_connections): use handle_ptr_array_return()
4086
4087 2008-03-26  Dan Williams  <dcbw@redhat.com>
4088
4089         Rework VPN connection handling for a more consistent D-Bus API.  The
4090         VPNManager object has been removed, and active VPN connections are now the
4091         same as any other active connection.  The Manager object's ActivateConnection
4092         and DeactivateConnection methods are used to start and stop a VPN connection,
4093         and the VPNConnection objects are subclasses of the ActiveConnection objects.
4094         When activating a VPN connection, pass the path of the active connection
4095         to which the VPN connection is tied in the 'specific_object' argument.
4096
4097         Consequently, the libnm-glib API has been reworked to match this arrangement,
4098         with the VPNManager object removed, and the NMVPNConnection objects now
4099         being subclasses of NMActiveConnection.
4100
4101 2008-03-25  Dan Williams  <dcbw@redhat.com>
4102
4103         Patch from Björn Martensen <bjoern.martensen@gmail.com>
4104
4105         * initscript/Arch/networkmanager.in
4106           initscript/Arch/networkmanager-dispatcher.in
4107                 - Updates for Arch Linux (gnome.org #523701)
4108
4109 2008-03-25  Dan Williams  <dcbw@redhat.com>
4110
4111         * libnm-glib/nm-ip4-config.c
4112           libnm-glib/nm-active-connection.c
4113           libnm-glib/nm-access-point.c
4114                 - Use nm_object_queue_notify() instead of g_object_notify()
4115
4116         * libnm-glib/nm-device.c
4117                 - (demarshal_ip4_config): distinguish between successful but missing
4118                         ip4-config request, and unsuccessful and missing ip4-config request
4119                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4120                         path
4121                 - Use nm_object_queue_notify() instead of g_object_notify()
4122
4123         * libnm-glib/nm-device-802-11-wireless.c
4124                 - (demarshal_active_ap): distinguish between successfull but missing
4125                         active-ap request, and unsuccessful and missing active-ap request
4126                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4127                         code
4128                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4129                         for the NMClient to notify the device that wireless is disabled,
4130                         and therefore to clear the AP list and active AP
4131                 - Use nm_object_queue_notify() instead of g_object_notify()
4132
4133         * libnm-glib/nm-client.c
4134                 - (poke_wireless_devices_with_rf_status): new function
4135                 - (update_wireless_status): notify wireless devices of the rfkill status
4136                         so they can clean up if needed
4137                 - Use nm_object_queue_notify() instead of g_object_notify()
4138
4139 2008-03-25  Dan Williams  <dcbw@redhat.com>
4140
4141         * libnm-glib/nm-object.c
4142           libnm-glib/nm-object-private.h
4143                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4144                         signals to an idle handler
4145                 - (nm_object_get_property): add a timeout to the D-Bus method call
4146
4147 2008-03-25  Dan Williams  <dcbw@redhat.com>
4148
4149         * introspection/nm-device-cdma.xml
4150           introspection/nm-device-gsm.xml
4151           introspection/Makefile.am
4152           introspection/all.xml
4153                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4154
4155         * src/nm-gsm-device.h
4156           src/nm-gsm-device.c
4157           src/nm-cdma-device.h
4158           src/nm-cdma-device.c
4159           src/Makefile.am
4160                 - Implement PropertiesChanged signals
4161
4162         * libnm-glib/nm-cdma-device.c
4163           libnm-glib/nm-cdma-device.c
4164                 - Attach to PropertiesChanged signals
4165
4166 2008-03-24  Dan Williams  <dcbw@redhat.com>
4167
4168         * libnm-glib/nm-client.c
4169                 - (client_device_added_proxy): add new devices to the internal device
4170                         list so they appear to clients
4171
4172 2008-03-24  Dan Williams  <dcbw@redhat.com>
4173
4174         Massive fixup of libnm-glib to:
4175         a) have all objects (with the exception of VPN) cache their properties and
4176                 update them asynchronously on PropertiesChanged signals from NM
4177         b) return internal const data for most attributes/properties instead of
4178                 allocated values that the caller must free
4179         c) cache wrapped objects such that a given D-Bus path will always map to the
4180                 same GObject returned by libnm-glib
4181         d) remove a few signals and move them to GObject property notifications
4182         e) match recent NM D-Bus API changes for activation/deactivation
4183         f) remove some private functions from libnm-glib headers
4184
4185 2008-03-20  Dan Williams  <dcbw@redhat.com>
4186
4187         * src/nm-manager.c
4188                 - (nm_manager_update_state, manager_device_state_changed,
4189                    nm_manager_activate_device, connection_added_default_handler,
4190                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4191                         queue PropertyChanged singals when the active connections change
4192
4193 2008-03-20  Dan Williams  <dcbw@redhat.com>
4194
4195         * introspection/nm-manager.xml
4196           introspection/nm-manager-client.xml
4197                 - (ActivateConnection): return the object path of the active connection
4198                         on success
4199                 - (GetActiveConnections): remove
4200                 - (DeactivateConnection): new function; deactivate a currently active
4201                         connection
4202                 - Add an ActiveConnections property which returns an array of
4203                         active connection object paths
4204
4205         * introspection/nm-device.xml
4206                 - (Deactivate): remove
4207
4208         * introspection/all.xml
4209                 - Add ActiveConnection introspection
4210
4211         * introspection/nm-active-connection.xml
4212                 - Add the ActiveConnection object
4213
4214         * include/NetworkManager.h
4215                 - Add the Connection.Active D-Bus interface
4216
4217         * src/nm-device-interface.c
4218                 - (impl_device_deactivate): remove
4219
4220         * src/nm-activation-request.c
4221           src/nm-activation-request.c
4222           src/Makefile.am
4223                 - Implement the Connection.Active D-Bus interface
4224
4225         * src/nm-manager.c
4226                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4227                 - (nm_manager_activate_device): return the active connection path
4228                 - (connection_added_default_handler, impl_manager_activate_connection):
4229                         return the active connection to the caller
4230                 - (add_one_connection_element, impl_manager_get_active_connections):
4231                         remove
4232                 - (impl_manager_deactivate_connection): new function; deactivate an
4233                         active connection
4234
4235         * libnm-glib/nm-device.c
4236           libnm-glib/nm-device.h
4237                 - Remove Deactivate() function
4238
4239 2008-03-19  Dan Williams  <dcbw@redhat.com>
4240
4241         * introspection/nm-manager.xml
4242           introspection/nm-manager-client.xml
4243                 - Rename the ActivateDevice method to ActivateConnection to better
4244                         reflect it's usage; it's arguments get reordered a bit too
4245                 - Convert GetActiveConnections method return from a struct to a dict
4246
4247         * include/NetworkManager.h
4248                 - Define the dict keys for return value of GetActiveConnections
4249
4250         * src/nm-manager.c
4251                 - impl_manager_activate_device -> impl_manager_activate_connection
4252                 - (add_one_connection_element): return a populated hash table, not
4253                         a structure
4254
4255         * libnm-glib/nm-client.c
4256           libnm-glib/nm-client.h
4257                 - nm_client_activate_device -> nm_client_activate_connection
4258                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4259                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4260                         instead of the custom structures.  Each element of the returned list
4261                         must be freed with nm_client_free_active_connections_element()
4262
4263 2008-03-18  Dan Williams  <dcbw@redhat.com>
4264
4265         * system-settings/plugins/ifcfg-fedora/parser.c
4266           system-settings/plugins/ifcfg-fedora/parser.h
4267           system-settings/plugins/ifcfg-fedora/plugin.c
4268                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4269                         profiles.  DNS servers and searches must now be stored in the ifcfg
4270                         files themselves
4271
4272 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4273
4274         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4275         print out username and password, it's supposed to be a secret.
4276
4277         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4278         request and set the device state accordingly.
4279
4280 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4281
4282         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4283
4284         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4285
4286 2008-03-18  Dan Williams  <dcbw@redhat.com>
4287
4288         * src/vpn-manager/nm-vpn-connection.c
4289                 - (get_secrets_cb): handle new GetSecrets return format
4290
4291 2008-03-18  Dan Williams  <dcbw@redhat.com>
4292
4293         Adapt system settings service for split 802.1x.
4294
4295         * system-settings/src/nm-system-config-interface.h
4296                 - clarify return value of get_secrets()
4297
4298         * system-settings/src/dbus-settings.c
4299                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4300                 - (check_for_secrets): check if there actually secrets returned by a
4301                         plugin
4302                 - (exported_connection_get_secrets): just return the plugin-returned
4303                         hash of settings' secrets if it looks valid
4304
4305         * system-settings/plugins/ifcfg-fedora/plugin.c
4306                 - (get_secrets): add split secrets with correct format to reply hash
4307
4308         * system-settings/plugins/ifcfg-fedora/parser.c
4309           system-settings/plugins/ifcfg-fedora/parser.h
4310                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4311                    connection_data_free, connection_data_add): keep secrets for
4312                         different settings in different hashes
4313
4314 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4315
4316         Clean up activating device deactivation.
4317
4318         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4319         should be done whether the device activation gets cancelled or the device
4320         is just getting deactivated.
4321         (nm_device_activation_cancel): Remove.
4322         (nm_device_deactivate_quickly): Handle the case where device is activating.
4323
4324         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4325         It does the exact same thing as real_deactivate_quickly().
4326
4327 2008-03-17  Dan Williams  <dcbw@redhat.com>
4328
4329         Split the 802.1x bits out of the wireless-security setting so they are
4330         generalized enough for wired 802.1x to use too.
4331
4332         * introspection/nm-exported-connection.xml
4333                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4334                         of just a hash of the secrets for one setting
4335
4336         * libnm-util/nm-setting-wireless-security.c
4337           libnm-util/nm-setting-wireless-security.h
4338                 - Remove 802.1x-specific stuff
4339                 - Added leap-username and leap-password properties for old-school LEAP
4340
4341         * src/nm-device.c
4342           src/nm-device.h
4343                 - (connection_secrets_updated_cb): take a list of updated settings names,
4344                         not just one
4345
4346         * src/supplicant-manager/nm-supplicant-config.c
4347           src/supplicant-manager/nm-supplicant-config.h
4348                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4349                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4350                         to nm_supplicant_config_add_setting_8021x()
4351                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4352                         the supplicant config
4353
4354         * src/nm-device-802-11-wireless.c
4355                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4356                 - (real_connection_secrets_updated): take a list of updated settings
4357                         names, not just one
4358
4359         * src/nm-device-802-3-ethernet.c
4360           src/nm-cdma-device.c
4361           src/nm-gsm-device.c
4362                 - (real_connection_secrets_updated_cb): take a list of updated settings
4363                         names, not just one
4364
4365         * src/nm-activation-request.c
4366           src/nm-activation-request.h
4367                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4368                         now passes a list of updated settings names, not just one
4369                 - (update_one_setting): new function; handle one updated setting
4370                 - (get_secrets_cb): handle multiple settings returned from the
4371                         settings service; have to be careful of ordering here as there are
4372                         some dependencies between settings (ex. wireless-security and 802.1x
4373                         in some cases)
4374
4375         * src/marshallers/nm-marshal.list
4376                 - new marshaller for connection-secrets-updated signal
4377
4378         * libnm-util/nm-setting-8021x.c
4379                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4380                         methods
4381                 - (verify): a valid 'eap' property is now required
4382
4383         * libnm-util/nm-connection.c
4384                 - (register_default_settings): add priorities to settings; there are
4385                         some dependencies between settings, and during the need_secrets
4386                         calls this priority needs to be respected.  For example, only the
4387                         wireless-security setting knows whether or not the connection is
4388                         going to use 802.1x or now, so it must be asked for secrets before
4389                         any existing 802.1x setting is
4390                 - (nm_connection_lookup_setting_type): expose
4391
4392         * libnm-util/nm-setting-wireless.c
4393                 - (verify): should verify even if all_settings is NULL; otherwise won't
4394                         catch the case where there is missing security
4395
4396         * libnm-util/nm-setting-wireless-security.c
4397                 - Remove everything to do with 802.1x
4398                 - Add old-school LEAP specific properties for username and password
4399                 - (need_secrets): rework LEAP secrets checking
4400                 - (verify): rework for LEAP and 802.1x verification
4401
4402 2008-03-17  Dan Williams  <dcbw@redhat.com>
4403
4404         * src/NetworkManagerPolicy.c
4405                 - (auto_activate_device): always remove the current activation check
4406                         from the pending activation list, otherwise when the policy gets
4407                         destroyed on NM exit it will attempt to free the already freed
4408                         activation check
4409
4410 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4411
4412         * src/backends/NetworkManagerSlackware.c 
4413         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4414
4415         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4416
4417 2008-03-14  Dan Williams  <dcbw@redhat.com>
4418
4419         * src/nm-manager.c
4420                 - (nm_device_interface_get_iface): g_object_get() will return an
4421                         allocated value, so this function must not return const
4422                 - (nm_device_interface_activate): free returned iface
4423
4424 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4425
4426         * libnm-util/Makefile.am: Add new files to build.
4427
4428         * libnm-util/nm-connection.c: Register NMSetting8021x.
4429
4430         * libnm-util/nm-setting-8021x.c
4431         * libnm-util/nm-setting-8021x.h: Implement.
4432
4433 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4434
4435         * libnm-util/Makefile.am: Add new files to build.
4436
4437         * libnm-util/nm-connection.c: Register NMSetting8021x.
4438
4439         * libnm-util/nm-setting-8021x.c
4440         * libnm-util/nm-setting-8021x.h: Implement.
4441
4442 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4443
4444         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4445         data.
4446
4447 2008-03-14  Dan Williams  <dcbw@redhat.com>
4448
4449         * include/wireless-helper.h
4450           include/Makefile.am
4451                 - One place for all the junk needed for #including wireless.h
4452
4453         * test/nm-tool.c
4454           src/NetworkManagerAP.c
4455           src/wpa.c
4456           src/Makefile.am
4457           libnm-util/nm-utils.c
4458           libnm-util/nm-setting-wireless.c
4459           libnm-glib/nm-device-802-11-wireless.c
4460           libnm-glib/nm-access-point.c
4461           libnm-glib/libnm-glib-test.c
4462                 - include wireless-helper.h, not iwlib.h
4463
4464         * configure.in
4465                 - Don't need libiw really, just need to check for wireless.h
4466
4467         * src/kernel-types.h
4468                 - Remove; used types moved into wpa.c
4469
4470         * src/nm-device-802-11-wireless.c
4471                 - (nm_device_802_11_wireless_update_signal_strength,
4472                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4473                    nm_device_802_11_wireless_set_mode,
4474                    nm_device_802_11_wireless_get_frequency,
4475                    nm_device_802_11_wireless_get_ssid,
4476                    nm_device_802_11_wireless_set_ssid,
4477                    nm_device_802_11_wireless_get_bitrate,
4478                    nm_device_802_11_wireless_get_bssid,
4479                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4480                         instead of iwlib functions
4481
4482 2008-03-14  Dan Williams  <dcbw@redhat.com>
4483
4484         * src/ppp-manager/nm-ppp-manager.c
4485                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4486                         should only take the DBusGMethodInvocation argument, not user/pass
4487                         too.  With dbus-glib, async functions only take 2 C arguments since
4488                         the real dbus method arguments get passed back with
4489                         dbus_g_method_return()
4490
4491 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4492
4493         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4494         Adapt the changes of NMSettingIP4Config.
4495
4496 2008-03-13  Dan Williams  <dcbw@redhat.com>
4497
4498         * src/NetworkManagerUtils.c
4499           src/NetworkManagerUtils.h
4500                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4501
4502         * src/NetworkManagerAP.c
4503           src/nm-device-802-11-wireless.c
4504           src/nm-device-802-3-ethernet.c
4505                 - s/iw_ether_ntop/nm_ether_ntop/g
4506
4507 2008-03-13  Dan Williams  <dcbw@redhat.com>
4508
4509         * src/NetworkManagerPolicy.c
4510                 - (update_routing_and_dns): never set the default route through an
4511                         IPv4LL addressed device
4512
4513 2008-03-13  Dan Williams  <dcbw@redhat.com>
4514
4515         * NetworkManagerUtils.c
4516           NetworkManagerUtils.h
4517                 - Remove NMSock stuff
4518                 - Remove the completion stuff
4519
4520         * nm-device.c
4521           nm-device.h
4522           NetworkManager.c
4523           NetworkManagerSystem.c
4524           autoip.c
4525           nm-device-802-11-wireless.c
4526           nm-device-802-3-ethernet.c
4527                 - Remove NMSock and completion stuff
4528                 - Remove nm_ioctl_info()
4529
4530 2008-03-12  Dan Williams  <dcbw@redhat.com>
4531
4532         * src/nm-device.c
4533                 - (merge_ip4_config): avoid duplicates
4534
4535 2008-03-12  Dan Williams  <dcbw@redhat.com>
4536
4537         * libnm-util/nm-setting-ip4-config.c
4538           libnm-util/nm-setting-ip4-config.h
4539                 - Remove 'manual' and 'autoip' properties
4540                 - Add 'method' property
4541                 - (verify): fix verification with 'method'
4542                 - (finalize): free 'method'
4543                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4544                         up for 'method'
4545
4546         * src/nm-device.c
4547                 - (real_act_stage3_ip_config_start): check IP4Config method
4548                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4549                         the future
4550                 - (merge_ip4_config): IP settings are valid with DHCP too
4551                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4552                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4553
4554         * src/nm-device-802-11-wireless.c
4555                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4556                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4557                         only on demand
4558
4559         * system-settings/plugins/ifcfg-fedora/parser.c
4560           system-settings/plugins/ifcfg-suse/parser.c
4561                 - (make_ip4_setting): fix up for 'method'
4562
4563 2008-03-12  Dan Williams  <dcbw@redhat.com>
4564
4565         * system-settings/plugins/ifcfg-fedora/parser.c
4566           system-settings/plugins/ifcfg-fedora/parser.h
4567                 - (get_ifcfg_name): ignore more file suffixes
4568                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4569
4570 2008-03-12  Dan Williams  <dcbw@redhat.com>
4571
4572         * configure.in
4573                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4574
4575 2008-03-12  Dan Williams  <dcbw@redhat.com>
4576
4577         * system-settings/plugins/ifcfg-fedora/plugin.c
4578                 - (write_auto_wired_connection): new function; write out an auto
4579                         wired connection file since the applet isn't doing it any more
4580                 - (reload_all_connections): write out the auto wired connection file
4581                         if there aren't any wired connections already
4582                 - (init): don't leak a GError
4583
4584 2008-03-12  Dan Williams  <dcbw@redhat.com>
4585
4586         * src/nm-device-interface.c
4587                 - (nm_device_interface_activate): print the ID of the connection
4588                         that's about to be activated
4589
4590 2008-03-12  Dan Williams  <dcbw@redhat.com>
4591
4592         Harmonize the 802.11 bitrate API
4593
4594         * introspection/nm-access-point.xml
4595                 - 'Rate' -> 'MaxBitrate'; clarify units
4596
4597         * introspection/nm-device-802-11-wireless.xml
4598                 - Clarify units of 'Bitrate'
4599
4600         * src/NetworkManagerAP.c
4601           src/NetworkManagerAP.h
4602                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4603                         property to 'max-bitrate'
4604                 - (foreach_property_cb): convert rate to Kb/s
4605
4606         * src/nm-device-802-11-wireless.c
4607                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4608
4609         * libnm-glib/nm-access-point.c
4610           libnm-glib/nm-access-point.h
4611                 - 'rate' -> 'max-bitrate'
4612
4613         * test/nm-tool.c
4614           libnm-glib/libnm-glib-test.c
4615                 - Fix up for these changes
4616
4617 2008-03-12  Dan Williams  <dcbw@redhat.com>
4618
4619         * src/nm-device.c
4620                 - (nm_device_set_ip4_config): don't send property notifications when
4621                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4622                         which dbus-glib can't parse because the value is NULL, which isn't
4623                         a legal object path.  Setting the IP4 config to NULL is only
4624                         valid when deactivating a device anyway, so the device state change
4625                         will alert listeners that the ip4 config is invalid.
4626
4627 2008-03-12  Dan Williams  <dcbw@redhat.com>
4628
4629         * src/nm-properties-changed-signal.c
4630                 - (add_to_string): better handling of NULL objects
4631
4632 2008-03-12  Dan Williams  <dcbw@redhat.com>
4633
4634         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4635         convert the libnm-glib NMDevice8023Ethernet to cached properties
4636
4637         * introspection/nm-device-802-3-ethernet.xml
4638                 - New 'Carrier' property
4639                 - New 'PropertiesChanged' signal
4640
4641         * introspection/nm-device.xml
4642                 - Remove 'Carrier' property
4643                 - Remove 'CarrierChanged' signal
4644
4645         * src/nm-device-interface.c
4646           src/nm-device-interface.h
4647                 - (nm_device_interface_init): remove 'carrier' property and
4648                         'carrier-changed' signal
4649
4650         * src/nm-device.c
4651           src/nm-device.h
4652                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4653                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4654                         the link here; wired device will handle that
4655                 - (handle_dhcp_lease_change): don't bother updating link here
4656                 - (get_property, nm_device_class_init): remove carrier property
4657
4658         * src/nm-device-802-11-wireless.c
4659                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4660                         real_update_link(); wireless devices don't use carrier at all
4661                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4662                    supplicant_iface_connection_state_cb_handler,
4663                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4664
4665         * src/nm-device-802-3-ethernet.c
4666           src/nm-device-802-3-ethernet.h
4667                 - (nm_device_802_3_ethernet_carrier_on,
4668                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4669                         instead of nm_device_set_carrier()
4670                 - (device_state_changed): update link from sysfs on activation;
4671                         replaces real_update_link()
4672                 - (real_update_link): remove, replaced by device_state_changed()
4673                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4674                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4675                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4676                         new get_carrier function
4677                 - (get_property): add 'carrier' property
4678                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4679                         hook into property-changed signal helper
4680
4681         * src/NetworkManagerPolicy.c
4682                 - (device_carrier_changed): will only ever be called with a wired device
4683                 - (device_added): only hook up to carrier-changed for wired devices
4684
4685         * libnm-glib/nm-device.c
4686           libnm-glib/nm-device.h
4687                 - (constructor, nm_device_class_init): remove carrier-changed signal
4688                 - (device_carrier_changed_proxy): remove; unused
4689                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4690
4691         * libnm-glib/nm-device-802-3-ethernet.c
4692           libnm-glib/nm-device-802-3-ethernet.h
4693                 - Convert to cached properties like AP and Wireless objects
4694                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4695                         instead of a 'char *', return value should not be freed
4696                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4697                 - (constructor): hook into properties-changed helper
4698                 - (set_property, get_property): new functions
4699                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4700
4701         * test/nm-tool.c
4702                 - (detail_device): strdup the wired hardware address too since it's
4703                         cached now
4704
4705         * libnm-glib/libnm-glib-test.c
4706                 - (dump_wired): strdup the wired hardware address too since it's
4707                         cached now
4708
4709 2008-03-12  Dan Williams  <dcbw@redhat.com>
4710
4711         * libnm-util/nm-setting-ip4-config.c
4712           libnm-util/nm-setting-ip4-config.h
4713                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4714                         the 'autoip' property from the spec
4715
4716 2008-03-11  Dan Williams  <dcbw@redhat.com>
4717
4718         * src/backends/NetworkManagerGeneric.c
4719           src/backends/NetworkManagerGeneric.h
4720                 - (nm_generic_device_get_use_dhcp): remove
4721
4722 2008-03-11  Dan Williams  <dcbw@redhat.com>
4723
4724         * src/nm-device.c
4725                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4726                         already in nm_device_set_ip4_config()
4727                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4728                         due to a DHCP rebind fails
4729                 - (nm_device_set_ip4_config): send property notifications when the
4730                         ip4 config changes
4731                 - (get_property): only report IP4Config property during valid states
4732
4733         * src/NetworkManagerPolicy.c
4734                 - (update_routing_and_dns): ignore devices that don't have an ip4
4735                         config; add parameter 'force_update' to allow callers to specify
4736                         that changes should be made even if the default device doesn't change
4737                 - (device_ip4_config_changed): update DNS and routing when the device's
4738                         IP4Config changes, like for DHCP updates
4739                 - (device_added): listen for ip4-config property changes
4740
4741 2008-03-11  Dan Williams  <dcbw@redhat.com>
4742
4743         Fix address handling as a result of DHCP rebind/renew/reboot.
4744
4745         * src/NetworkManagerSystem.c
4746                 - (check_one_address): delete an address if it doesn't match a given
4747                         one for the same interface
4748                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4749                         be smarter about flushing addresses (only flush ones that don't
4750                         match the one we're about to apply)
4751
4752         * src/backends/NetworkManagerDebian.c
4753           src/backends/NetworkManagerSuSE.c
4754           src/backends/NetworkManagerArch.c
4755           src/backends/NetworkManagerSlackware.c
4756           src/backends/NetworkManagerRedHat.c
4757           src/backends/NetworkManagerPaldo.c
4758           src/backends/NetworkManagerFrugalware.c
4759           src/backends/NetworkManagerGentoo.c
4760                 - (nm_system_delete_default_route): remove
4761
4762         * src/backends/NetworkManagerGeneric.c
4763           src/backends/NetworkManagerGeneric.h
4764                 - (nm_generic_enable_loopback): fix the loopback device label
4765                 - (nm_generic_delete_default_route): remove; no longer used
4766
4767 2008-03-11  Dan Williams  <dcbw@redhat.com>
4768
4769         * src/nm-device-interface.h
4770                 - Delimit property name words with '-', otherwise g_object_notify()
4771                         doesn't work the way we expect
4772
4773 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4774
4775         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4776
4777 2008-03-11  Dan Williams  <dcbw@redhat.com>
4778
4779         * src/NetworkManagerPolicy.c
4780                 - (update_routing_and_dns): don't change anything if the default device
4781                         hasn't changed; print something out when switching the default route
4782                         and DNS
4783
4784 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4785
4786         Implement PPPoE.
4787
4788         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4789         setting. Use "nic-$eth".
4790
4791         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4792         the device is activating here to fix a race condition.
4793
4794         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4795
4796         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4797         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4798         (nm_ppp_manager_start): Take activation request instead of connection, we might
4799         need it for asking secrets.
4800         (nm_ppp_manager_update_secrets): Implement.
4801
4802         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4803         ppp manager start. It might be needed for asking secrets.
4804
4805         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4806         (ppp_state_changed): Handle pppd daemon disappearing.
4807         (pppoe_stage2_config): Send activation request to ppp manager start.
4808
4809         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4810
4811         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4812         username and password.
4813         
4814 2008-03-10  Dan Williams  <dcbw@redhat.com>
4815
4816         * src/nm-device.c
4817                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4818                         response to a DHCP lease change
4819                 - (dhcp_state_changed): handle DHCP lease changes while activated
4820                 - (nm_device_set_ip4_config): remove a previously set named config
4821                         when setting an ip4 config
4822
4823 2008-03-10  Dan Williams  <dcbw@redhat.com>
4824
4825         * src/nm-serial-device.c
4826                 - (nm_serial_device_send_command): report errno on error
4827                 - (get_reply_got_data): limit the size of the overall buffer
4828                 - (wait_for_reply_info_destroy): destroy result string
4829                 - (wait_for_reply_got_data): append received data to an overall buffer
4830                         until timeout, filled buffer, or error instead of keeping a per-call
4831                         buffer.  Some devices send data slowly enough that this function
4832                         gets called multiple times for the same command stream.
4833                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4834                         wait_for_reply_got_data() here
4835
4836 2008-03-10  Dan Williams  <dcbw@redhat.com>
4837
4838         * src/nm-cdma-device.c
4839                 - (do_dial, init_modem): handle errors from
4840                         nm_serial_device_send_command_string()
4841
4842         * src/nm-gsm-device.c
4843                 - (do_dial, manual_registration, automatic_registration_get_network,
4844                    automatic_registration, enter_pin, check_pin, init_modem): handle
4845                         errors from nm_serial_device_send_command_string()
4846
4847 2008-03-10  Dan Williams  <dcbw@redhat.com>
4848
4849         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4850
4851         * src/named-manager/nm-named-manager.c
4852                 - (compute_searches): prefer searches before domains
4853                 - (compute_domain): new function
4854                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4855                 - (merge_one_ip4_config): if there are no searches in the source config,
4856                         merge domains of the source config into the target config
4857                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4858
4859 2008-03-10  Dan Williams  <dcbw@redhat.com>
4860
4861         * src/nm-serial-device.c
4862                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4863                 - (wait_for_reply_got_data): try to handle slower serial devices where
4864                         the reply is broken up into multiple reads by concatenating replies
4865                         together until either an error is received or the search string is
4866                         found
4867
4868 2008-03-10  Dan Williams  <dcbw@redhat.com>
4869
4870         * src/nm-device.c
4871                 - (nm_device_bring_down): deactivate the device if it's activating too,
4872                         not just if it's already activated.  This makes sure that everything
4873                         from an association attempt is cleaned up (like DHCP for example)
4874
4875 2008-03-10  Dan Williams  <dcbw@redhat.com>
4876
4877         * src/nm-serial-device.c
4878                 - (config_fd): report error from TCSETA
4879                 - (nm_serial_device_open): fail when config_fd() fails
4880
4881 2008-03-10  Dan Williams  <dcbw@redhat.com>
4882
4883         * src/nm-ip4-config.c
4884                 - (nm_ip4_config_init): allocate searches list
4885                 - (finalize): free searches list
4886
4887 2008-03-09  Dan Williams  <dcbw@redhat.com>
4888
4889         Patch from Bas Zoetekouw <bas@debian.org>
4890
4891         * src/dhcp-manager/nm-dhcp-manager.c
4892                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4893
4894 2008-03-09  Dan Williams  <dcbw@redhat.com>
4895
4896         Patch from Bas Zoetekouw <bas@debian.org>
4897
4898         * src/nm-ip4-config.c
4899           src/nm-ip4-config.h
4900                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4901                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
4902                         domains.  'searches' is the correct way to store multiple search
4903                         domains, whereas 'domains' is really just supposed to store one
4904                         domain.  Some sites abuse the DHCP 'domain-name' option to push
4905                         search domains to the client.
4906                 - (nm_ip4_config_add_domain): group with related functions (my patch)
4907
4908 2008-03-09  Dan Williams  <dcbw@redhat.com>
4909
4910         * src/dhcp-manager/nm-dhcp-manager.c
4911                 - (dhclient_run): send interface-specific config files to dhclient
4912
4913 2008-03-07  Dan Williams  <dcbw@redhat.com>
4914
4915         * system-settings/plugins/ifcfg-fedora/parser.c
4916                 - (is_wireless_device): new function; test a device for wireless
4917                         extensions
4918                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4919                         test the device for wireless extensions to determine the type
4920
4921 2008-03-07  Dan Williams  <dcbw@redhat.com>
4922
4923         Change manager's StateChange signal to StateChanged for consistency.
4924
4925         * introspection/nm-manager.xml
4926                 - Add 'StateChanged' signal
4927                 - Move 'StateChange' down to the deprecated section
4928
4929         * src/nm-hal-manager.c
4930                 - (nm_hal_manager_new): connect to 'state-changed' instead
4931
4932         * src/NetworkManagerPolicy.c
4933                 - (nm_policy_new): connect to 'state-changed' instead
4934
4935         * src/nm-manager.c
4936           src/nm-manager.h
4937                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4938                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4939                         of 'state-change'
4940
4941         * libnm-glib/nm-client.c
4942           libnm-glib/nm-client.h
4943                 - (constructor, nm_client_class_init, client_state_changed_proxy):
4944                         track and proxy 'state-changed' instead of 'state-change'
4945
4946 2008-03-07  Dan Williams  <dcbw@redhat.com>
4947
4948         First pass of multiple active device support.  Expect bugs.
4949
4950         * src/nm-ip4-config.c
4951           src/nm-ip4-config.h
4952                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4953                         there are better ways to do this in the named manager
4954
4955         * src/nm-device.c
4956           src/nm-device.h
4957                 - (nm_device_can_activate): return whether the device can activate a
4958                         connection right now; taking into account things like carrier state
4959                         and rfkill state
4960                 - (nm_device_get_best_auto_connection): renamed from
4961                         nm_device_get_best_connection
4962                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4963                         device subclasses themselves, so that each device can override the
4964                         MTU from it's NMSetting subclass if needed
4965                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4966                         in NetworkManagerSystem.c, not here
4967
4968         * src/named-manager/nm-named-manager.c
4969           src/named-manager/nm-named-manager.h
4970                 - (nm_named_manager_name_owner_changed,
4971                    nm_named_manager_dbus_connection_changed): fix for changes to
4972                         rewrite_resolv_conf()
4973                 - (compute_nameservers): don't need the NMNamedManager at all, remove
4974                         from parameter list
4975                 - (merge_one_ip4_config): new function; merge ip4 configs together
4976                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4977                         ip4 configs; the VPN config takes precedence, then the best
4978                         device config, then the rest of the configs
4979                 - (get_domain_for_config): take the NMNamedManager as an argument
4980                         to check whether the config is the VPN config
4981                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4982                         attribute from ip4 configs
4983                 - (add_all_ip4_configs_to_named): add all the configs in priority order
4984                 - (remove_ip4_config_from_named): fix for changes to
4985                         get_domain_for_config()
4986                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4987                         based on its type; callers must pass in the type now
4988                 - (get_last_default_domain): remove, unused
4989                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4990
4991         * src/nm-device-802-11-wireless.c
4992                 - (real_can_activate): new function
4993                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4994                 - (real_act_stage4_get_ip4_config): handle MTU override
4995
4996         * src/nm-device-802-3-ethernet.c
4997                 - (real_can_activate): new function
4998                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4999                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5000
5001         * src/vpn-manager/nm-vpn-connection.c
5002                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5003                         attribute on the ip4 config
5004
5005         * src/NetworkManagerPolicy.c
5006                 - (nm_policy_auto_get_best_device): remove
5007                 - (nm_policy_device_change_check): remove
5008                 - (update_default_route): new function; set the default route via
5009                         the specified device
5010                 - (get_device_priority): new function; return the priority number of
5011                         a device type WRT which one should have the default route.  Order is
5012                         (highest to lowest)  wired, wireless, GSM, CDMA.
5013                 - (update_routing_and_dns): new function; determine which device should
5014                         have the default route, then update the routing table and DNS
5015                 - (maybe_auto_activate_device): new function; if a device is now
5016                         available for activation, find out what connection it would like to
5017                         activate and do it
5018                 - (schedule_activate_check): new function; if a device can be activated
5019                         now, schedule the activation.  Each device may have only one
5020                         pending activation at a given time.
5021                 - (device_state_changed): if activation was canceled, try again,
5022                         possibly with another connection; if the device was activated,
5023                         update routing and DNS; if the device was deactivated, try again
5024                         with another connection
5025                 - (device_carrier_changed): if there is no carrier, deactivate the
5026                         device; otherwise schedule an activation check for the device
5027                 - (wireless_networks_changed): schedule an activation check for the
5028                         device
5029                 - (device_added): keep track of the signal handler IDs so they can
5030                         be removed when the device goes away
5031                 - (device_removed): remove any signal handlers that might be attached
5032                         to the device; update routing and DNS
5033                 - (schedule_activate_all): new function
5034                 - (connections_added, connection_added, connection_updated): when
5035                         connections change, schedule all devices for an activation check
5036                 - (connection_removed): when a device is deactivated because its
5037                         connection was removed, schedule another activation check for it
5038                 - (nm_policy_destroy): destroy pending activations and disconnect
5039                         all device signal handlers
5040
5041         * src/nm-manager.c
5042                 - (nm_manager_activate_device): if the device was already actived,
5043                         deactivate it
5044                 - (deactivate_old_device): remove
5045                 - (connection_added_default_handler, impl_manager_activate_device):
5046                         don't deactivate other devices when activating this one
5047
5048         * src/backends/NetworkManagerGentoo.c
5049           src/backends/NetworkManagerFrugalware.c
5050           src/backends/NetworkManagerPaldo.c
5051           src/backends/NetworkManagerRedHat.c
5052           src/backends/NetworkManagerSlackware.c
5053           src/backends/NetworkManagerArch.c
5054           src/backends/NetworkManagerSuSE.c
5055           src/backends/NetworkManagerDebian.c
5056                 - (nm_system_get_mtu): remove; MTU should be provided through the
5057                         distro's system settings service plugin instead
5058                 - (nm_system_device_add_default_route_via_device): remove
5059                 - (nm_system_device_add_default_route_via_device_with_iface): remove
5060                 - (nm_system_device_replace_default_route): new function; call
5061                         generic implementation
5062
5063         * src/backends/NetworkManagerGeneric.c
5064           src/backends/NetworkManagerGeneric.h
5065                 - (nm_generic_device_add_default_route_via_device,
5066                    nm_generic_device_add_default_route_via_device_with_iface): remove
5067                 - (nm_generic_device_replace_default_route): replace the default route
5068                         with the given route via some gateway
5069
5070         * src/NetworkManagerSystem.c
5071           src/NetworkManagerSystem.h
5072                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5073                         to routing and DNS; but set the MTU here
5074                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5075                         ip_iface of the active device; use the standard MTU setting function
5076                 - (nm_system_set_mtu): remove
5077                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5078
5079 2008-03-07  Tambet Ingo  <tambet@gmail.com>
5080
5081         Rework the interaction between ppp manager and pppd plugin. Register a well
5082         known DBUS service in manager and let the plugin call it's methods instead
5083         of listening plugin's signals.
5084
5085         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5086         of emitting signals.
5087
5088         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5089
5090         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5091
5092         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5093         nm_ppp_manager_start().
5094
5095         * introspection/nm-ppp-manager.xml: New file.
5096
5097         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5098         the case correctly where driver is trying to send -1 for the speed, which gets
5099         casted to u16 and thus is always > 0.
5100
5101 2008-03-07  Dan Williams  <dcbw@redhat.com>
5102
5103         * src/nm-hal-manager.c
5104                 - (nm_get_device_driver_name): use net.originating_device first, fall
5105                         back to physical device.  HAL has deprecated physical_device.
5106
5107         * libnm-glib/nm-device.c
5108                 - (get_product_and_vendor): use net.originating_device first, fall
5109                         back to physical device.  HAL has deprecated physical_device.
5110                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5111
5112 2008-03-07  Dan Williams  <dcbw@redhat.com>
5113
5114         * src/nm-netlink.c
5115                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5116                         last commit; fix that
5117                 - (get_link_cache): print error string
5118
5119 2008-03-07  Dan Williams  <dcbw@redhat.com>
5120
5121         * src/nm-netlink.c
5122                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5123                         don't need this hack any more (Benoit Boissinot)
5124
5125 2008-03-06  Dan Williams  <dcbw@redhat.com>
5126
5127         * autogen.sh
5128                 - Die gnome-common, die
5129
5130 2008-03-04  Dan Williams  <dcbw@redhat.com>
5131
5132         Patch from Michael Biebl <biebl@debian.org>
5133
5134         * NetworkManager.pc.in
5135                 - doesn't actually depend on dbus-1
5136
5137         * libnm-util/nm-utils.h
5138                 - remove unused #include <dbus/dbus.h>
5139
5140         * libnm-glib/libnm_glib.pc.in
5141                 - depends on glib and dbus-glib
5142
5143 2008-03-02  Dan Williams  <dcbw@redhat.com>
5144
5145         * src/NetworkManagerPolicy.c
5146                 - s/device_state_changed_idle_id/update_state_id/
5147
5148 2008-03-02  Dan Williams  <dcbw@redhat.com>
5149
5150         * src/nm-device.c
5151           src/nm-device.h
5152           src/nm-device-802-11-wireless.c
5153           src/nm-device-802-3-ethernet.c
5154           src/NetworkManagerPolicy.c
5155                 - s/link_active/carrier
5156                 - nm_device_set_active_link() -> nm_device_set_carrier()
5157                 - nm_device_has_active_link() -> nm_device_get_carrier()
5158
5159 2008-03-02  Dan Williams  <dcbw@redhat.com>
5160
5161         * system-settings/plugins/ifcfg-fedora/parser.c
5162                 - (make_wireless_setting): fail connection creation on missing SSID
5163
5164 2008-02-29  Dan Williams  <dcbw@redhat.com>
5165
5166         * src/NetworkManagerPolicy.c
5167                 - (nm_policy_device_change_check): ensure that a previously active
5168                         device with a system connection has a link before denying a switch
5169                         to a user connection
5170
5171 2008-02-29  Dan Williams  <dcbw@redhat.com>
5172
5173         * src/nm-device-802-11-wireless.c
5174                 - (link_timeout_cb): try again if scanning; deactivate the device when
5175                         activated if the link dies
5176                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5177                         15 seconds
5178
5179 2008-02-29  Dan Williams  <dcbw@redhat.com>
5180
5181         * src/nm-device-802-11-wireless.c
5182           src/nm-device-802-11-wireless.h
5183                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5184                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5185                 - (device_cleanup): reset the scan interval lower when the device
5186                         deactivates
5187                 - (can_scan): base decision mostly off device state, not supplicant
5188                         interface state since the supplicant interface state isn't a
5189                         great indicator of whether the device is active or not
5190                 - (request_wireless_scan): clean up; schedule the next scan here
5191                 - (schedule_scan): only back the scan interval off if a new scan
5192                         actually gets scheduled; and make scan intervals tighter when the
5193                         device is disconnected
5194                 - (supplicant_iface_state_cb_handler): fold in the bits of
5195                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5196                         interval to minimum
5197                 - (activation_success_handler): reset scan interval to something
5198                         reasonable 
5199
5200 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5201
5202         reviewed by: Steev <steev@steev.net>
5203
5204         * configure.in:
5205         * src/backends/NetworkManagerGentoo.c:
5206         (nm_system_restart_mdns_responder):
5207                 Howl is no longer a supported mDNS provider
5208
5209 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5210
5211         Get rid of a bunch of unused distro specific functions.
5212
5213 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5214
5215         Implement suse plugin for system settings daemon.
5216
5217         * system-settings/plugins/ifcfg-suse/*: Implement.
5218
5219         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5220         suse.
5221
5222         * configure.in: Check (without failing) for gio.
5223         Create ifcfg-suse plugin's Makefile.
5224
5225 2008-02-20  Dan Williams  <dcbw@redhat.com>
5226
5227         * libnm-util/nm-connection.c
5228           libnm-util/nm-connection.h
5229                 - (nm_connection_compare): accept compare flags and pass them to the
5230                         setting compare function
5231
5232         * libnm-util/nm-setting.c
5233           libnm-util/nm-setting.h
5234                 - (nm_setting_compare): accept compare flags; ignore properties that are
5235                         marked fuzzy
5236
5237         * libnm-util/nm-setting-connection.c
5238           libnm-util/nm-setting-wireless.c
5239           libnm-util/nm-setting-ppp.c
5240           libnm-util/nm-setting-wired.c
5241                 - Mark some setting properties as ignorable when doing a fuzzy compare
5242
5243         * src/nm-device.c
5244                 - (device_activation_precheck): use exact compare
5245
5246 2008-02-20  Dan Williams  <dcbw@redhat.com>
5247
5248         * src/NetworkManagerPolicy.c
5249                 - (nm_policy_device_change_check): get scope off the connection, not
5250                         using the manager helper
5251
5252         * src/nm-manager.c
5253           src/nm-manager.h
5254                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5255                 - (connection_get_settings_cb): set scope and path on connection, not
5256                         using GObject data items
5257                 - (get_connection_for_proxy): don't need to return path, since that
5258                         can be gotten from the connection
5259                 - (get_connection_for_proxy): get path off the connection, not from
5260                         parameters
5261                 - (connection_removed_cb, connection_updated_cb): don't need to get
5262                         path from get_connection_for_proxy(); get scope off the connection
5263                         instead of using GObject data items
5264                 - (connection_added_default_handler, add_one_connection_element): use
5265                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5266                 - (nm_manager_get_connection_dbus_path): remove
5267                 - (nm_manager_get_connection_scope): remove
5268
5269 2008-02-20  Dan Williams  <dcbw@redhat.com>
5270
5271         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5272                 on confusing names
5273
5274         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5275                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5276                 NMExportedConnection
5277
5278         * Internally rename NMConnectionType -> NMConnectionScope
5279
5280         * Provide default implementations of the 'get_id' and 'get_settings' methods
5281                 of NMExportedConnection
5282
5283 2008-02-15  Dan Williams  <dcbw@redhat.com>
5284
5285         * src/nm-device-802-11-wireless.c
5286                 - (device_cleanup): release the AP list here too so that the AP list
5287                         doesn't survive across suspend/resume and up/down.  There is some
5288                         room for optimization, for example blow the list away when the card
5289                         brought back up, but only if the device has only been down for a
5290                         minute or more.
5291
5292 2008-02-15  Dan Williams  <dcbw@redhat.com>
5293
5294         * src/nm-hal-manager.c
5295                 - (modem_device_creator): recognize new HAL modem capabilities
5296
5297 2008-02-12  Dan Williams  <dcbw@redhat.com>
5298
5299         * system-settings/plugins/ifcfg-fedora/plugin.c
5300                 - (watch_path): handle IN_DELETE_SELF too
5301                 - (handle_connection_changed): notify when removing a connection
5302                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5303                         case of a file moving out of the profile directory
5304
5305 2008-02-12  Dan Williams  <dcbw@redhat.com>
5306
5307         * system-settings/plugins/ifcfg-fedora/parser.c
5308                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5309
5310 2008-02-12  Dan Williams  <dcbw@redhat.com>
5311
5312         * libnm-util/nm-utils.c
5313                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5314                         just any empty array
5315
5316 2008-02-12  Dan Williams  <dcbw@redhat.com>
5317
5318         * system-settings/src/nm-system-config-interface.c
5319           system-settings/src/nm-system-config-interface.h
5320                 - (load_connections): get_connections() should now return an allocated
5321                         GSList that the system settings service will free
5322
5323         * system-settings/plugins/ifcfg-fedora/plugin.c
5324           system-settings/plugins/ifcfg-fedora/parser.h
5325           system-settings/plugins/ifcfg-fedora/parser.c
5326                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5327                         in the profile directory, handle resolv.conf file changes
5328
5329 2008-02-10  Dan Williams  <dcbw@redhat.com>
5330
5331         * src/nm-device-802-3-ethernet.c
5332                 - (real_bring_up): save the supplicant interface state signal id
5333                 - (real_bring_down): disconnect from the supplicant interface state
5334                         signal
5335
5336 2008-02-07  Dan Williams  <dcbw@redhat.com>
5337
5338         * initscript/RedHat/NetworkManager.in
5339           initscript/RedHat/NetworkManagerDispatcher.in
5340                 - Add new-style LSB init headers
5341
5342 2008-02-07  Dan Williams  <dcbw@redhat.com>
5343
5344         * system-settings/src/dbus-settings.c
5345           system-settings/src/dbus-settings.h
5346                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5347                         table of secrets
5348                 - (connection_settings_get_secrets): consolidate error returns into
5349                         one place; use the new get_secrets() plugin interface function to
5350                         get secrets from the plugin itself rather than using GObject data
5351                         magic
5352
5353         * system-settings/src/main.c
5354                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5355                    load_connections): keep a private list of the plugin-returned
5356                         connections, don't use the plugin's GSList
5357
5358         * system-settings/plugins/ifcfg-fedora/plugin.c
5359                 - (watch_path): watch the path, not the filename (duh)
5360                 - (reload_all_connections): use the direct hash/equal functions; the
5361                         ones for int aren't appropriate here
5362                 - (get_secrets, system_config_interface_init): implement the
5363                         get_secrets() function
5364                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5365                         now in the connection's ConnectionData instead of being a GObject
5366                         data property
5367                 - (handle_profile_item_changed): ifcfg file path is now in the
5368                         connection's ConnectionData instead of being a GObject data property;
5369                         be sure to copy secrets over from the new connection to the existing
5370                         connection when updating the connection's settings
5371                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5372                         file descriptor
5373
5374         * system-settings/plugins/ifcfg-fedora/parser.c
5375           system-settings/plugins/ifcfg-fedora/parser.h
5376                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5377                    connection_data_copy_secrets, connection_data_free,
5378                    connection_data_add): new functions; connection data manipulation
5379                 - (make_wireless_security_setting): stuff secrets into the
5380                         connection data, not as GObject data items; make sure to close
5381                         the keys ifcfg file
5382                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5383                         connection data to the connection
5384
5385 2008-02-07  Dan Williams  <dcbw@redhat.com>
5386
5387         * system-settings/src/nm-system-config-interface.c
5388           system-settings/src/nm-system-config-interface.h
5389                 - Add a get_secrets() interface function to retrieve secrets for a
5390                         specific setting of a specific connection.  Document the interface
5391                         a bit more too.
5392
5393 2008-02-07  Dan Williams  <dcbw@redhat.com>
5394
5395         * src/nm-device-802-11-wireless.c
5396                 - (handle_auth_or_fail): new function; consolidate device activation
5397                         failure check after a certain number of failures getting secrets
5398                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5399                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5400                         the connection if secrets were requested more than a few times
5401                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5402                         tries here; otherwise they are cleared before the IP configure
5403                         timeout, which happens with open system WEP when key is wrong
5404                 - (activation_success_handler): clear wireless secrets tries here too
5405
5406 2008-02-07  Dan Williams  <dcbw@redhat.com>
5407
5408         * src/NetworkManagerPolicy.c
5409                 - (connection_updated): clear invalid tag when connection gets updated
5410                         to allow that connection to be tried again
5411                 - (nm_policy_new): save signal ids so they can be disconnected when
5412                         the policy is destroyed
5413                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5414                         and disconnect all signals from the manager object so that none
5415                         of the policy functions gets called after the policy is destroyed
5416
5417 2008-02-06  Dan Williams  <dcbw@redhat.com>
5418
5419         * src/nm-manager.c
5420                 - (finalize): remove devices a bit earlier; clean up system settings
5421                         poke
5422                 - (nm_manager_name_owner_changed): clean up system settings poke when
5423                         the service appears, and try to restart it if it fails
5424                 - (poke_system_settings_daemon_cb): try to get the system settings
5425                         service started through D-Bus service activation
5426                 - (initial_get_connections): start the system settings daemon if it's
5427                         not already running
5428
5429 2008-02-05  Dan Williams  <dcbw@redhat.com>
5430
5431         * src/supplicant-manager/nm-supplicant-config.c
5432                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5433                         broadcast networks too
5434
5435 2008-02-04  Dan Williams  <dcbw@redhat.com>
5436
5437         * system-settings/plugins/ifcfg-fedora/parser.c
5438                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5439                         need key_mgmt set too
5440                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5441                         .bak files; ensure that an error is set whenever NULL gets returned
5442
5443 2008-02-04  Dan Williams  <dcbw@redhat.com>
5444
5445         * system-settings/src/Makefile.am
5446                 - Install D-Bus service activation file for the system settings
5447                         service
5448
5449         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5450                 - D-Bus service activation file for system settings service
5451
5452 2008-02-04  Dan Williams  <dcbw@redhat.com>
5453
5454         * system-settings/src/main.c
5455                 - (parse_config_file): parse a config file
5456                 - (main): accept --config option and read plugins from config file
5457
5458 2008-02-04  Dan Williams  <dcbw@redhat.com>
5459
5460         * system-settings/plugins/ifcfg-fedora/plugin.c
5461                 - Change reported name to 'ifcfg-fedora'
5462                 - Use IFCFG_PLUGIN_NAME
5463
5464         * system-settings/plugins/ifcfg-fedora/plugin.c
5465                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5466
5467 2008-02-04  Dan Williams  <dcbw@redhat.com>
5468
5469         * system-settings/plugins/ifcfg-fedora/parser.c
5470                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5471                 - (make_connection_setting): use get_ifcfg_name()
5472                 - (make_wireless_security_setting): handle shadow key files
5473                 - (get_one_wep_key): treat empty string as NULL
5474
5475 2008-02-04  Dan Williams  <dcbw@redhat.com>
5476
5477         * src/supplicant-manager/nm-supplicant-manager.c
5478                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5479                         glib automatically reschedule
5480                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5481                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5482                         the supplicant
5483
5484 2008-02-01  Dan Williams  <dcbw@redhat.com>
5485
5486         * src/NetworkManagerPolicy.c
5487                 - (device_state_changed): schedule a change check when a device gets
5488                         deactivated so something happens if you disconnect GSM/CDMA
5489
5490 2008-01-31  Dan Williams  <dcbw@redhat.com>
5491
5492         * src/nm-device-802-11-wireless.h
5493           src/nm-device-802-11-wireless.c
5494                 - (ap_list_get_ap_by_ssid, is_associated,
5495                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5496                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5497                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5498                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5499                         function
5500
5501 2008-01-30  Dan Williams  <dcbw@redhat.com>
5502
5503         * system-settings/plugins/ifcfg
5504         * system-settings/plugins/ifcfg-fedora
5505                 - Move the ifcfg plugin to ifcfg-fedora
5506
5507 2008-01-24  Dan Williams  <dcbw@redhat.com>
5508
5509         * libnm-glib/nm-device-802-11-wireless.c
5510                 - (get_access_point): move the "/" check here; check for invalid path
5511                         too
5512                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5513                         to get_access_point()
5514                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5515                         to send signals for non-existent access points
5516
5517 2008-01-24  Dan Williams  <dcbw@redhat.com>
5518
5519         * libnm-glib/nm-device-802-11-wireless.c
5520                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5521
5522 2008-01-23  Dan Williams  <dcbw@redhat.com>
5523
5524         * libnm-glib/libnm_glib.c
5525                 - (libnm_glib_init): make thread joinable
5526                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5527
5528 2008-01-23  Dan Williams  <dcbw@redhat.com>
5529
5530         * test/libnm_glib_test.c
5531                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5532                 - (main): set up signal handlers; call libnm_glib_shutdown
5533
5534 2008-01-21  Dan Williams  <dcbw@redhat.com>
5535
5536         * include/NetworkManager.h
5537                 - Add CDMA mobile broadband card device type
5538
5539         * src/nm-hal-manager.c
5540                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5541                         must now be tagged with 'cdma' or 'gsm' capability
5542
5543         * src/nm-cdma-device.c
5544           src/nm-cdma-device.h
5545           src/Makefile.am
5546                 - Add the CDMA mobile broadband card device class
5547
5548         * libnm-util/nm-connection.c
5549                 - (register_default_settings): add NMSettingCdma
5550
5551         * libnm-util/nm-setting-cdma.c
5552           libnm-util/nm-setting-cdma.h
5553           libnm-util/Makefile.am
5554                 - Add the CDMA mobile broadband card setting class
5555
5556         * libnm-glib/nm-cdma-device.c
5557           libnm-glib/nm-cdma-device.h
5558           libnm-glib/Makefile.am
5559                 - Add the CDMA mobile broadband card GLib proxy class
5560
5561         * libnm-glib/nm-client.c
5562                 - (get_device): handle CDMA devices too
5563
5564 2008-01-21  Dan Williams  <dcbw@redhat.com>
5565
5566         * src/ppp-manager/nm-ppp-manager.c
5567                 - (ip4_config_get): set peer address too
5568
5569         * src/ppp-manager/nm-pppd-plugin.c
5570                 - (nm_ip_up): try harder to get the peer's address
5571
5572         * src/NetworkManagerSystem.c
5573                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5574                         address, use that too.  Otherwise, some PPP connections won't work.
5575
5576 2008-01-19  Dan Williams  <dcbw@redhat.com>
5577
5578         * src/NetworkManagerPolicy.c
5579                 - (nm_policy_device_change_check): system connections override user
5580                         connections; don't activate a user connection if there's a currently
5581                         active system connection, and new, better system connections always
5582                         interrupt user connections
5583
5584 2008-01-19  Dan Williams  <dcbw@redhat.com>
5585
5586         * src/nm-manager.h
5587                 - (nm_manager_get_connection_type): new function
5588
5589 2008-01-19  Dan Williams  <dcbw@redhat.com>
5590
5591         * src/nm-device-802-11-wireless.c
5592                 - (real_get_best_connection): collapse find_best_connection() into this
5593                         function
5594
5595 2008-01-19  Dan Williams  <dcbw@redhat.com>
5596
5597         * src/nm-device-802-3-ethernet.c
5598                 - (real_get_best_connection): collapse find_best_connection() into this
5599                         function
5600
5601 2008-01-18  Dan Williams  <dcbw@redhat.com>
5602
5603         * src/nm-device-802-3-ethernet.c
5604                 - (find_best_connection): check MAC address too
5605                 - (real_get_best_connection): let autoconnect=True connections activate
5606                         for devices that don't have carrier detection
5607
5608         * src/nm-device-802-11-wireless.c
5609                 - (find_best_connection): check MAC address too
5610
5611 2008-01-18  Dan Williams  <dcbw@redhat.com>
5612
5613         * system-settings/plugins/ifcfg/parser.c
5614                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5615
5616 2008-01-17  Dan Williams  <dcbw@redhat.com>
5617
5618         * src/nm-device-802-3-ethernet.c
5619                 - (nm_device_802_3_ethernet_carrier_on,
5620                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5621                         carrier events that might come in for devices that don't support
5622                         carrier detect
5623
5624 2008-01-17  Dan Williams  <dcbw@redhat.com>
5625
5626         * src/nm-device-interface.c
5627                 - (nm_device_interface_check_connection_conflicts): need to actually
5628                         get the interface, not cast to the object
5629
5630         * src/nm-device.c
5631                 - (nm_device_check_connection_conflicts): need to get the device class,
5632                         not cast the device to the device class
5633
5634 2008-01-17  Dan Williams  <dcbw@redhat.com>
5635
5636         * src/nm-device-802-11-wireless.c
5637                 - (real_check_connection_conflicts): ignore connections that aren't
5638                         wireless connections
5639
5640 2008-01-17  Dan Williams  <dcbw@redhat.com>
5641
5642         * src/NetworkManagerPolicy.c
5643                 - (nm_policy_device_change_check): clear change check idle here
5644                 - (device_change_check_done): remove
5645                 - (schedule_change_check): simplify
5646
5647 2008-01-17  Dan Williams  <dcbw@redhat.com>
5648
5649         * src/nm-manager.c
5650                 - (check_connection_allowed): take an NMDeviceInterface instead of
5651                         an NMDevice object as an argument
5652                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5653                         check_connection_allowed()
5654
5655 2008-01-13  Dan Williams  <dcbw@redhat.com>
5656
5657         * libnm-glib/nm-device-802-11-wireless.c
5658                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5659
5660 2008-01-12  Dan Williams  <dcbw@redhat.com>
5661
5662         * src/nm-device-802-11-wireless.c
5663                 - (activation_success_handler): if a match was found in the scan list
5664                         and that match is a hidden AP, update that AP's SSID
5665
5666 2008-01-11  Dan Williams  <dcbw@redhat.com>
5667
5668         * src/NetworkManagerAP.c
5669                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5670
5671         * src/nm-device-802-11-wireless.c
5672                 - (get_active_ap): do two passes over the scan list if the caller
5673                         requests that hidden APs get matched too; during the second pass
5674                         when matching hidden APs, ignore the SSID since hidden APs in the
5675                         scan list don't have an SSID yet
5676                 - (periodic_update): move some checks to
5677                         nm_device_802_11_periodic_update() because not all callers need them
5678                 - (nm_device_802_11_periodic_update): move some checks here from
5679                         perodic_update()
5680                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5681                         matching on incoming scan results, because the fake AP's flags
5682                         might be slightly different (yet still compatible) with the incoming
5683                         scan result's flags and they might actually be the same AP; update
5684                         the rate on merged APs too
5685                 - (activation_success_handler): update the frequency of the fake AP
5686                         on successful connection; match hidden APs too since if the
5687                         current AP is fake, there might already be a scan result in the
5688                         scan list for the desired AP, just without it's SSID filled in yet
5689
5690 2008-01-10  Dan Williams  <dcbw@redhat.com>
5691
5692         * src/NetworkManagerAP.c
5693                 - (foreach_property_cb): catch more hidden SSID formats
5694
5695 2008-01-10  Dan Williams  <dcbw@redhat.com>
5696
5697         Fix gnome.org #464215.  Requires the kernel patch titled
5698         "Introduce WEXT scan capabilities" but will handle the patch not being
5699         present, you'll just continue to have problems with hidden SSIDs when
5700         using mac80211-based drivers.
5701
5702         * src/supplicant-manager/nm-supplicant-config.h
5703           src/supplicant-manager/nm-supplicant-config.c
5704                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5705                         whether the driver supports SSID scans or not.  If it does, and if
5706                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5707
5708         * src/nm-device-802-11-wireless.c
5709                 - (constructor): check whether or not the driver supports SSID scans
5710                 - (build_supplicant_config): pass driver SSID scan capability when
5711                         building the wireless bits of the supplicant config
5712
5713 2008-01-09  Dan Williams  <dcbw@redhat.com>
5714
5715         * src/nm-device.c
5716           src/nm-device.h
5717                 - (device_activation_precheck, check_connection_complete): remove this
5718                         virtual function; incomplete connections should be invalid by
5719                         definition, complete-ness should be checked in the setting's
5720                         verify function
5721
5722         * src/nm-serial-device.c
5723           src/nm-gsm-device.c
5724                 - (real_check_connection_complete): remove
5725
5726         * libnm-util/nm-setting-serial.c
5727                 - (verify): new function; ensure there is a PPP setting too
5728
5729         * libnm-util/nm-setting-gsm.c
5730                 - (verify): ensure there is a serial setting too
5731
5732 2008-01-06  Dan Williams  <dcbw@redhat.com>
5733
5734         * src/dhcp-manager/nm-dhcp-manager.c
5735                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5736                         (gnome.org #332953)
5737
5738 2008-01-04  Dan Williams  <dcbw@redhat.com>
5739
5740         * src/named-manager/nm-named-manager.c
5741                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5742                         nameservers if the secondary config doesn't have any
5743                         (gnome.org #346833)
5744
5745 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5746
5747         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5748         with G_PARAM_CONSTRUCT so that they get the default values.
5749
5750         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5751         the monitoring device and prints out the output for now. Or more precicely, doesn't
5752         do absolutely anything right now since the montoring device argument is never set.
5753
5754         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5755         requires it's own knob to turn it on.
5756         (config_fd): Add NMSettingSerial to the arguments list.
5757         (nm_serial_device_open): Ditto.
5758         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5759         (nm_serial_device_get_io_channel): Implement.
5760
5761         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5762         a new reference every time (and forgetting to release it sometimes) is a pain and
5763         it's not like NMManager could work without dbus.
5764         (nm_manager_add_device): Register the added device on dbus here.
5765
5766         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5767         device.
5768
5769         * src/nm-device.c (constructor): Don't export the device here, instead export
5770         it when it's added to the NMManager's device list.
5771
5772 2007-12-31  Dan Williams  <dcbw@redhat.com>
5773
5774         * src/nm-device-interface.c
5775           src/nm-device-interface.h
5776                 - (nm_device_interface_check_connection_conflicts): new function
5777
5778         * src/nm-device.c
5779           src/nm-device.h
5780                 - (nm_device_check_connection_conflicts): new function
5781                 - (device_activation_precheck): don't require subclasses to implement
5782                         check_connection_complete()
5783                 - check_connection() -> check_connection_complete()
5784
5785         * src/nm-device-802-11-wireless.c
5786                 - (real_check_connection): remove; unused
5787                 - (real_check_connection_conflicts): implement, handle lockdown for
5788                         system connections
5789
5790         * src/nm-device-802-3-ethernet.c
5791                 - (real_check_connection): remove; unused
5792
5793         * src/nm-manager.c
5794                 - (check_connection_allowed): new function
5795                 - (nm_manager_activate_device): ensure the connection being requested
5796                         is allowed to be activated
5797
5798         * src/nm-serial-device.c
5799           src/nm-gsm-device.c
5800                 - real_check_connection() -> real_check_connection_complete()
5801
5802 2007-12-27  Dan Williams  <dcbw@redhat.com>
5803
5804         * src/nm-device-interface.c
5805           src/nm-device-interface.h
5806                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5807                         normalize and expand errors
5808                 - (nm_device_interface_init): register errors so they can be marshalled
5809                         through dbus-glib
5810                 - (nm_device_interface_activate): ensure that failure of activation
5811                         returns an error
5812
5813         * src/nm-device.c
5814           src/nm-device.h
5815                 - (device_activation_precheck): implementations of check_connection()
5816                         now take a GError and must fill it in if the check fails.  Return
5817                         more descriptive error if the requested connection is already
5818                         activating
5819                 - (nm_device_activate): actually try to return descriptive errors on
5820                         failures
5821
5822         * src/nm-device-802-11-wireless.c
5823           src/nm-device-802-3-ethernet.c
5824           src/nm-serial-device.c
5825           src/nm-gsm-device.c
5826                 - (real_check_connection): return more descriptive errors on failure
5827
5828         * src/NetworkManagerPolicy.c
5829                 - (nm_policy_device_change_check): print activation errors in the logs
5830
5831         * src/nm-manager.c
5832                 - (nm_manager_error_quark, nm_manager_error_get_type,
5833                    nm_manager_class_init): new errors
5834                 - (nm_manager_activate_device): handle errors
5835                 - (nm_manager_error_new): removed
5836                 - (wait_for_connection_expired, connection_added_default_handler,
5837                    impl_manager_activate_device): better error handling
5838
5839 2007-12-27  Dan Williams  <dcbw@redhat.com>
5840
5841         Fixes gnome.org #466954
5842
5843         * src/supplicant-manager/nm-supplicant-settings-verify.c
5844                 - Allow 'frequency' network property
5845
5846         * src/supplicant-manager/nm-supplicant-config.c
5847           src/supplicant-manager/nm-supplicant-config.h
5848                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5849                         for callers to specify the frequency an Ad-Hoc network should operate
5850                         on.  Some drivers require this to successfully create an Ad-Hoc
5851                         network.
5852
5853         * src/nm-device-802-11-wireless.c
5854                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5855                         guint32 value in MHz
5856                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5857                         iw_freq_to_uint32()
5858                 - (find_supported_frequency): new function; find a free supported
5859                         frequency for a user-created Ad-Hoc network
5860                 - (build_supplicant_config): if no frequency was specified for a user-
5861                         created Ad-Hoc network, find a free one to use
5862                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5863                         a specific object as user-created
5864
5865 2007-12-27  Dan Williams  <dcbw@redhat.com>
5866
5867         * libnm-util/nm-utils.c
5868           libnm-util/nm-utils.h
5869                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5870                         for adhoc networks
5871
5872 2007-12-24  Dan Williams  <dcbw@redhat.com>
5873
5874         * libnm-util/nm-setting-wireless.c
5875                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5876                         185, 187, 188, 192, and 196
5877
5878 2007-12-24  Dan Williams  <dcbw@redhat.com>
5879
5880         * src/nm-device-802-11-wireless.c
5881                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5882                         a channel # instead of a frequency
5883
5884 2007-12-24  Dan Williams  <dcbw@redhat.com>
5885
5886         * src/NetworkManagerAP.c
5887           src/NetworkManagerAP.h
5888                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5889                 - (freq_to_channel): handle split band tables
5890                 - (channel_to_freq): handle split band tables, take a band argument
5891
5892 2007-12-24  Dan Williams  <dcbw@redhat.com>
5893
5894         * libnm-util/nm-setting-connection.h
5895           libnm-util/nm-setting-connection.c
5896                 - Add 'lockdown' member
5897
5898 2007-12-22  Dan Williams  <dcbw@redhat.com>
5899
5900         * libnm-util/nm-setting-wireless.c
5901                 - (nm_setting_wireless_class_init): add missing 'rate' property
5902                         specification
5903
5904 2007-12-18  Dan Williams  <dcbw@redhat.com>
5905
5906         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5907
5908         * src/nm-netlink-monitor.c
5909           src/nm-netlink-monitor.h
5910                 - Remove handrolled netlink, use libnl instead
5911
5912         * src/nm-device-802-3-ethernet.c
5913                 - (constructor, nm_device_802_3_ethernet_carrier_off,
5914                    nm_device_802_3_ethernet_carrier_on): use new names
5915
5916 2007-12-17  Dan Williams  <dcbw@redhat.com>
5917
5918         * configure.in
5919                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5920                         and fixes memory leaks)
5921
5922         * src/nm-netlink.c
5923                 - (nm_netlink_get_default_handle): handle new versions of libnl that
5924                         automatically handle the netlink PID
5925
5926 2007-12-17  Dan Williams  <dcbw@redhat.com>
5927
5928         Patch from Michael Biebl <biebl@debian.org>
5929
5930         * configure.in
5931           src/ppp-manager/Makefile.am
5932                 - fix up install dir of pppd plugin
5933                 - clean up configure.in a bit
5934
5935 2007-12-12  Dan Williams  <dcbw@redhat.com>
5936
5937         * system-settings/src/nm-system-settings.conf
5938                 - Allow non-root clients (like the applet) to read settings
5939
5940 2007-12-10  Tambet Ingo  <tambet@gmail.com>
5941
5942         * Replace all occurences of 'UMTS' with 'GSM'.
5943
5944 2007-12-07  Dan Williams  <dcbw@redhat.com>
5945
5946         * src/nm-serial-device.c
5947                 - (real_is_up): serial devices are always "up"
5948
5949 2007-12-07  Dan Williams  <dcbw@redhat.com>
5950
5951         * src/nm-netlink.c
5952           src/NetworkManagerSystem.c
5953                 - (new_nl_handle): ensure that the same netlink pid is never chosen
5954                         twice (gnome.org #491047)
5955                 - Make more robust against allocation-related failures should they occur
5956
5957 2007-12-07  Dan Williams  <dcbw@redhat.com>
5958
5959         Noticed by Christian Persch <chpe@gnome.org>
5960
5961         Always chain up to parent object in dispose and finalize handlers.
5962                 (gnome.org #433112)
5963
5964 2007-12-07  Dan Williams  <dcbw@redhat.com>
5965
5966         * src/nm-device-802-11-wireless.c
5967                 - Wrap #include of linux/mii.h to fix redefined structures due to
5968                         incorrect kernel headers (gnome.org #350061)
5969
5970 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5971
5972         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5973         before doing anything else.
5974         (init_modem): Move modem initialization here.
5975
5976         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5977         (nm_serial_device_flash): Implement.
5978
5979         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5980         changes signal is "StateChanged" and not "Status".
5981         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5982
5983 2007-12-06  Dan Williams  <dcbw@redhat.com>
5984
5985         * src/supplicant-manager/nm-supplicant-config.c
5986                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5987                         to only send some options when they make sense; also send phase2
5988                         option to the supplicant (possible fix for rh #399631)
5989
5990 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5991
5992         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5993         arguments: This whole file shouldn't really know anything about NMDevices, it
5994         should deal only with device interfaces. Devices might have different ifaces for
5995         different stuff and this place shouldn't know anything about it.
5996
5997         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5998         (global_state_changed): Implement. In the current NM it's not really important,
5999         but will be required in the case of multiple active devices. (Or even better,
6000         if stuff like that gets moved out from NM).
6001
6002         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6003         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
6004         instead.
6005
6006         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6007         devices like serial devices (ttyS0 and ppp0 for example).
6008         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6009         set.
6010         (nm_device_set_ip_iface): Implement.
6011         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6012         after setting ip4_config from here ...
6013         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6014         than this function should call nm_system_device_set_from_ip4_config() because no
6015         other code has enough information on which arguments to use. So instead, other code
6016         could just set the new ip4 config using this function and everyone is happy.
6017
6018         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6019         if we happen to get deactivated while something is pending.
6020         (automatic_registration): Handle the response that indicates pending network
6021         registration and wait until the pending registration is done.
6022         (real_deactivate_quickly): If there's a pending operation, cancel it.
6023
6024         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6025         (real_deactivate_quickly): ... and remove it when it's down.
6026         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6027         it if needed.
6028         (nm_serial_device_wait_for_reply): Ditto.
6029
6030 2007-12-05  Tambet Ingo  <tambet@gmail.com>
6031
6032         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6033         (get_network_done): Remove newline, nm_info() does it already.
6034         (real_act_stage1_prepare): Turn the modem echo off.
6035
6036         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6037         device, set the route to the device interface. This is a hack.
6038
6039         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
6040         return, no need for a new-line.
6041         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6042         Change the device iface here (ugh).
6043         (real_act_stage4_get_ip4_config): Implement.
6044         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6045         Restore the device iface.
6046
6047         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6048         device is not wired or wireless (eg, automatically upped) device.
6049
6050         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6051         it isn't.
6052         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6053
6054         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6055         before calling it's is_device_fn().
6056
6057 2007-12-05  Dan Williams  <dcbw@redhat.com>
6058
6059         * libnm-util/nm-utils.c
6060                 - (nm_utils_register_value_transformations,
6061                    nm_utils_convert_gvalue_hash_to_string): better debug output of
6062                         GHashTables of GValues too
6063
6064 2007-12-04  Dan Williams  <dcbw@redhat.com>
6065
6066         * initscript/RedHat/NetworkManager.in
6067                 - No longer start named; it's D-Bus interface is going away
6068
6069 2007-12-04  Dan Williams  <dcbw@redhat.com>
6070
6071         Patch from Michael Biebl <biebl@debian.org>
6072
6073         * system-settings/plugins/ifcfg/Makefile.am
6074           system-settings/src/main.c
6075           system-settings/src/Makefile.am
6076                 - Put system settings plugins in NM plugins dir
6077
6078         * src/ppp-manager/Makefile.am
6079           src/ppp-manager/nm-ppp-manager.c
6080                 - Move pppd plugin to NM plugins dir
6081
6082 2007-12-04  Dan Williams  <dcbw@redhat.com>
6083
6084         * libnm-util/nm-setting-vpn-properties.h
6085                 - Clarify usage of the 'data' member of the setting
6086
6087         * libnm-util/nm-setting-vpn-properties.c
6088                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6089                 - (set_property): just remove all the settings; don't recreate the has
6090                 - (update_one_secret): don't need to create the hash table here since
6091                         it should always be present
6092
6093 2007-12-03  Tambet Ingo  <tambet@gmail.com>
6094
6095         Implement PIN and PUK requesting.
6096
6097         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6098         (enter_pin): Handle PIN and PUK requests.
6099         (real_act_stage1_prepare): Clear the secret type.
6100         (real_connection_secrets_updated): Implement this class method to get
6101         notified when new secrets arrive.
6102         (nm_umts_device_class_init): Add private data back to the umts device class
6103         to store the required secret type.
6104
6105 2007-12-01  Dan Williams  <dcbw@redhat.com>
6106
6107         * system-settings/plugins/ifcfg/parser.c
6108                 - (parser_parse_file): don't try to verify NULL connections
6109
6110 2007-12-01  Dan Williams  <dcbw@redhat.com>
6111
6112         * system-settings/src/main.c
6113                 - (load_connections, add_connection_to_settings): actually export
6114                         plugin-provided connections over D-Bus so NM can get them
6115
6116 2007-12-01  Dan Williams  <dcbw@redhat.com>
6117
6118         * system-settings/plugins/ifcfg/parser.c
6119           system-settings/plugins/ifcfg/parser.h
6120           system-settings/plugins/ifcfg/plugin.c
6121                 - Hook up more inotify bits (untested)
6122
6123 2007-11-29  Dan Williams  <dcbw@redhat.com>
6124
6125         * system-settings/src/nm-system-config-interface.h
6126           system-settings/src/nm-system-config-interface.c
6127                 - (nm_system_config_interface_init,
6128                    nm_system_config_interface_get_connections): add
6129
6130         * system-settings/src/main.c
6131                 - (load_plugins, load_connections, main): use a GSList for plugins
6132                         to ensure priority ordering
6133
6134         * system-settings/plugins/ifcfg/parser.c
6135                 - (ifcfg_error_quark): move to plugin.c, and rename
6136
6137         * system-settings/plugins/ifcfg/plugin.h
6138           system-settings/plugins/ifcfg/plugin.c
6139                 - (ifcfg_plugin_error_quark): move here from parser.c
6140                 - rework connection loading and initialization
6141                 - Add preliminary inotify support for network profile config file
6142
6143 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6144
6145         Merge the beginnings of the new GSM card support.
6146
6147         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6148         ppp watch source before killing pppd - If this happens from g_object_unref()
6149         then the ppp manager is already destroyed by the time the watch callback runs.
6150
6151         * src/nm-hal-manager.c: Add a device_type_name string to the device
6152         creators, so that we can print a nice human readable string when a
6153         device is added.
6154
6155         * src/nm-umts-device.c (automatic_registration_get_network): Query
6156         for the activated network, not much is done with the result thought.
6157
6158         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6159         (ppp_ip4_config): Change the device state to activated here for now.
6160         (real_check_connection): Make sure the connection includes ppp setting.
6161
6162         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6163
6164         * libnm-glib/Makefile.am: Add the new files to build.
6165
6166         * libnm-glib/nm-umts-device.c: 
6167         * libnm-glib/nm-umts-device.h: Implement.
6168
6169 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6170
6171         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6172         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6173
6174         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6175         the timeout source - this function is only called when the timeout source has
6176         been removed.
6177         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6178         to be big enough to contain the terminating zero element as well.
6179         The timeout argument is meant to be in seconds now.
6180         (real_deactivate_quickly): Implement.
6181
6182         * src/NetworkManager.conf: Allow root to own 
6183         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6184
6185         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6186         (not unsigned ints).
6187
6188         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6189         small issue with parity bounds - capital letters have lower ascii codes
6190         than lower case letters.
6191
6192         * libnm-util/nm-connection.c (register_default_settings): Register serial
6193         and umts settings.
6194
6195 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6196
6197         Remove the "index" property from devices as not all device types have this.
6198
6199         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6200
6201         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6202         (wired_device_creator): Get the device interface from hal to create the device.
6203         (wireless_device_creator): Ditto.
6204
6205         * src/nm-device.c (nm_device_init): Remove the index member.
6206         (constructor): Remove the checks for index property, make interface property
6207         a require constructor property.
6208         Use the HAL udi for DBus path for devices.
6209         (nm_device_get_index): Remove.
6210         (set_property): Remove index handling.
6211         (get_property): Ditto.
6212         (nm_device_get_dbus_path): Remove.
6213
6214         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6215         property.
6216
6217         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6218         Access the device index through it's interface.
6219         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6220         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6221         index argument. Add interface argument.
6222
6223         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6224         the useless test_dev argument. Remove index argument. Add interface arugment.
6225
6226         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6227         device index through interface.
6228         (nm_system_set_mtu): Ditto.
6229
6230         * introspection/nm-device.xml: Remove the "Index" property.
6231
6232 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6233
6234         * src/nm-serial-device.c: 
6235         * src/nm-serial-device.c: 
6236         * src/nm-umts-device.c:
6237         * src/nm-umts-device.h: Implement.
6238
6239         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6240         allocated by libhal.
6241         (modem_device_creator): Implement.
6242         (register_built_in_creators): Register the modem creator.
6243
6244         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6245         Remove the unused test_dev argument.
6246
6247         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6248
6249         * src/Makefile.am: Add new files to build.
6250         Link in ppp-manager.
6251
6252         * libnm-util/nm-setting-umts.c: 
6253         * libnm-util/nm-setting-umts.h: 
6254         * libnm-util/nm-setting-serial.c: 
6255         * libnm-util/nm-setting-serial.h: Implement.
6256
6257         * libnm-util/Makefile.am: Add new files to build.
6258
6259 2007-11-28  Dan Williams  <dcbw@redhat.com>
6260
6261         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6262
6263         Support DHCP-provided static routes.
6264
6265         * src/nm-ip4-config.h
6266           src/nm-ip4-config.c
6267                 - Add get/set functions for static routes
6268
6269         * src/dhcp-manager/nm-dhcp-manager.c
6270                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6271                         DHCP response
6272
6273         * src/NetworkManagerSystem.c
6274                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6275                         interface when applying the IP4Config
6276
6277 2007-11-28  Dan Williams  <dcbw@redhat.com>
6278
6279         * src/nm-device-802-11-wireless.c
6280                 - (real_act_stage1_prepare): mark APs created for hidden networks
6281                         as non-broadcasting
6282
6283 2007-11-27  Dan Williams  <dcbw@redhat.com>
6284
6285         * system-settings/src/nm-system-config-interface.h
6286                 - Note how to store secrets on NMSetting objects
6287
6288         * system-settings/src/dbus-settings.c
6289                 - (connection_settings_get_secrets): implement
6290
6291 2007-11-27  Dan Williams  <dcbw@redhat.com>
6292
6293         * system-settings/plugins/ifcfg/Makefile.am
6294           system-settings/plugins/ifcfg/parser.c
6295           system-settings/plugins/ifcfg/parser.h
6296           system-settings/plugins/ifcfg/plugin.c
6297                 - Parse wireless connections too
6298
6299         * system-settings/src/dbus-settings.c
6300           system-settings/src/dbus-settings.h
6301           system-settings/src/main.c
6302                 - Handle connection update/removal if the plugin supports it
6303
6304 2007-11-27  Dan Williams  <dcbw@redhat.com>
6305
6306         * src/nm-dbus-manager.h
6307           src/nm-hal-manager.c
6308                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6309                         do it for them
6310
6311         * src/Makefile.am
6312           src/NetworkManagerDbusUtils.c
6313           src/NetworkManagerDbusUtils.h
6314                 - Remove these two source files; they are unused
6315
6316 2007-11-27  Dan Williams  <dcbw@redhat.com>
6317
6318         * src/vpn-manager/nm-vpn-manager.c
6319                 - (impl_vpn_manager_connect): fix system settings check (found by
6320                         James M. Leddy)
6321
6322 2007-11-26  Dan Williams  <dcbw@redhat.com>
6323
6324         * Fix warnings so everything compiles with --enable-more-warnings
6325
6326 2007-11-25  Dan Williams  <dcbw@redhat.com>
6327
6328         * system-settings/*
6329                 - Rework structure and code to use GModule-loaded plugins and a plugin
6330                         interface that plugins export to the system settings service
6331
6332 2007-11-21  Dan Williams  <dcbw@redhat.com>
6333
6334         * system-settings/*
6335                 - Add Soren's system settings service.  Needs work for distros other
6336                         than Fedora; the backends from NM should mostly migrate to here
6337                         and be converted to GObjects
6338
6339 2007-11-21  Dan Williams  <dcbw@redhat.com>
6340
6341         * libnm-util/nm-setting-vpn-properties.c
6342                 - (set_property): must deep-copy the given settings hash, otherwise
6343                         double-free errors occur when the setting is disposed of
6344
6345 2007-11-21  Dan Williams  <dcbw@redhat.com>
6346
6347         * src/vpn-manager/nm-vpn-act-request.h
6348           src/vpn-manager/nm-vpn-act-request.c
6349                 - Remove; unused
6350
6351 2007-11-20  Dan Williams  <dcbw@redhat.com>
6352
6353         * libnm-util/nm-utils.c
6354                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6355                    nm_utils_convert_ip4_addr_struct_array_to_string,
6356                    nm_utils_register_value_transformations): print out the readable
6357                         values of more types of properties of NMSettings subclasses
6358
6359 2007-11-20  Dan Williams  <dcbw@redhat.com>
6360
6361         * libnm-util/nm-setting-ip4-config.c
6362                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6363                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6364                         marshal GValueArrays inside collections, so switch to types that it
6365                         can actually marshal/demarshal
6366
6367 2007-11-16  Dan Williams  <dcbw@redhat.com>
6368
6369         * libnm-util/nm-setting-wireless-security.c
6370                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6371                         minimal verification of EAP methods too
6372                 - (verify): verify phase1 eap methods too
6373
6374 2007-11-15  Dan Williams  <dcbw@redhat.com>
6375
6376         * libnm-glib/nm-device.h
6377           libnm-glib/nm-device.c
6378                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6379                         const char *
6380
6381 2007-11-15  Dan Williams  <dcbw@redhat.com>
6382
6383         * libnm-glib/nm-device.c
6384                 - (get_product_and_vendor): don't try to free things that should be
6385                         freed
6386
6387 2007-11-15  Dan Williams  <dcbw@redhat.com>
6388
6389         * src/NetworkManagerUtils.c
6390                 - (nm_ethernet_address_is_valid): unbreak previous fix
6391
6392 2007-11-15  Dan Williams  <dcbw@redhat.com>
6393
6394         * src/supplicant-manager/nm-supplicant-config.c
6395                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6396                         options
6397
6398 2007-11-15  Dan Williams  <dcbw@redhat.com>
6399
6400         * src/NetworkManagerUtils.c
6401                 - (nm_ethernet_address_is_valid): fix style, clarify
6402                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6403
6404         * src/nm-device-802-11-wireless.c
6405                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6406                 - (nm_device_802_11_wireless_get_ssid,
6407                    nm_device_802_11_wireless_get_bssid,
6408                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6409                         before calling the ioctl; fixes valgrind-reported jump depends on
6410                         uninitialized value errors
6411
6412 2007-11-15  Dan Williams  <dcbw@redhat.com>
6413
6414         * libnm-util/nm-setting.c
6415                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6416                         unecessary to serialize 'name'
6417
6418         * src/nm-activation-request.c
6419                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6420                         the GetSecrets call
6421
6422 2007-11-15  Dan Williams  <dcbw@redhat.com>
6423
6424         * libnm-util/nm-setting-connection.h
6425           libnm-util/nm-setting-connection.c
6426                 - Rename the 'name' property to 'id', because it conflicted with the
6427                         NMSetting superclass' 'name' property.
6428
6429         * libnm-util/nm-setting.c
6430                 - (nm_setting_to_hash): serialize the 'name' property
6431                 - (one_property_cb): ignore 'name' on deserialization of a connection
6432
6433         * src/nm-device-802-11-wireless.c
6434           src/vpn-manager/nm-vpn-connection.c
6435           src/NetworkManagerPolicy.c
6436                 - Fix up for NMSettingConnection 'name'->'id' changes
6437
6438 2007-11-13  Dan Williams  <dcbw@redhat.com>
6439
6440         * libnm-glib/nm-device-802-11-wireless.h
6441           libnm-glib/nm-device-802-11-wireless.c
6442                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6443
6444         * test/nm-tool.c
6445           libnm-glib/libnm-glib-test.c
6446                 - Fixes for above change
6447
6448 2007-11-12  Dan Williams  <dcbw@redhat.com>
6449
6450         * src/supplicant-manager/nm-supplicant-settings-verify.c
6451                 - Allow fragment_size option
6452
6453         * src/supplicant-manager/nm-supplicant-settings-verify.c
6454                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6455                         EAP fragment size than the default to help some TLS connections
6456
6457 2007-11-12  Dan Williams  <dcbw@redhat.com>
6458
6459         Make certs actually work.  The private key is now a secret, and should be
6460         decrypted when requested by NM.  The private key and phase2 private key
6461         passwords are no longer interesting to NM because they should be used by
6462         the settings service to decrypt the private key itself before passing it
6463         to NM, and hence have been removed as fields.
6464
6465         * libnm-util/nm-setting-wireless-security.h
6466           libnm-util/nm-setting-wireless-security.c
6467                 - Remove private-key-passwd and phase2-private-key-passwd from
6468                         properties
6469                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6470                    need_secrets): use property #defines instead strings to keep things
6471                         consistent
6472                 - (need_secrets_tls): if a client certificate is present but no
6473                         private key, request the private key
6474                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6475                         remove private key password stuff, mark private keys as secret
6476
6477         * src/supplicant-manager/nm-supplicant-settings-verify.c
6478                 - Remove private_key_passwd and private_key2_passwd from opt_table
6479
6480 2007-11-09  Dan Williams  <dcbw@redhat.com>
6481
6482         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6483         Since the vpn-properties are managed and known by the VPN daemons themselves,
6484         libnm-util doesn't know what's secret and what's in the setting's 'data'
6485         member.
6486
6487         * libnm-util/nm-setting.h
6488           libnm-util/nm-setting.c
6489                 - Add the ability for subclasses to override update_one_secret
6490
6491         * libnm-util/nm-setting-vpn-properties.c
6492                 - Override update_one_secret and just copy the values into the
6493                         internal table
6494
6495 2007-11-09  Dan Williams  <dcbw@redhat.com>
6496
6497         * libnm-glib/nm-settings.h
6498           libnm-glib/nm-settings.c
6499                 - (nm_settings_new_error): remove
6500                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6501                         clients should use g_set_error() with NM_SETTINGS_ERROR
6502
6503 2007-11-09  Dan Williams  <dcbw@redhat.com>
6504
6505         * src/supplicant-manager/nm-supplicant-config.c
6506                 - (nm_supplicant_config_add_setting_wireless_security): private key
6507                         passwords are never sent to wpa_supplicant, because the supplicant
6508                         should never be reading random files from the disk.  Clients like
6509                         the applet are required to decrypt the private keys and send NM
6510                         the decrypted blobs.
6511
6512 2007-11-08  Dan Williams  <dcbw@redhat.com>
6513
6514         * libnm-util/nm-setting-wireless-security.h
6515           libnm-util/nm-setting-wireless-security.c
6516                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6517                         members to 802-11-wireless-security structure.  This should be used
6518                         to indicate that the values in private-key and phase2-private-key
6519                         are already decrypted by the user agent, and that no
6520                         private-key-passwd or phase2-private-key-passwd should be expected.
6521                         It is not meant to be a stored configuration value, but meant to
6522                         be set when the conneciton is sent to NM over dbus.
6523
6524 2007-11-08  Dan Williams  <dcbw@redhat.com>
6525
6526         * libnm-util/nm-connection.h
6527           libnm-util/nm-connection.c
6528                 - (nm_connection_need_secrets): add argument to return hints
6529
6530         * src/nm-device-802-11-wireless.c
6531                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6532                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6533                         nm_connection_need_secrets() change
6534
6535 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6536
6537         Rework NMSetting structures: Move each setting to it's own file.
6538         Convert to GObject. Remove home grown setting types and use GTypes.
6539         Use GObject property introspection for hash conversion, enumerating
6540         properties, etc.
6541
6542         * libnm-util/nm-setting-connection.[ch]
6543         * libnm-util/nm-setting-ip4-config.[ch]
6544         * libnm-util/nm-setting-ppp.[ch]
6545         * libnm-util/nm-setting-vpn.[ch]
6546         * libnm-util/nm-setting-vpn-properties.[ch]
6547         * libnm-util/nm-setting-wired.[ch]
6548         * libnm-util/nm-setting-wireless.[ch]
6549         * libnm-util/nm-setting-wireless-security.[ch]
6550
6551         New files, each containing a setting.
6552
6553         * libnm-util/nm-setting-template.[ch]: A template for creating new
6554         settings. To use it, just replace 'template' with the new setting
6555         name, and you're half-way done.
6556
6557         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6558         introspection instead of internal types and tables.
6559
6560         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6561
6562         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6563         GValue types defined by dbus-glib for composed types like collections,
6564         structures and maps.
6565
6566         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6567         a setting from connection takes the setting type now. Also, since
6568         the settings are in multiple files, include relevant settings.
6569
6570 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6571
6572         * configure.in:
6573         * src/backends/NetworkManagerGentoo.c:
6574         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6575         providers in Gentoo.
6576
6577 2007-10-31  Dan Williams  <dcbw@redhat.com>
6578
6579         * libnm-util/nm-connection.c
6580                 - (gvalue_to_string): handle UINT32 arrays
6581
6582 2007-10-31  Dan Williams  <dcbw@redhat.com>
6583
6584         * libnm-glib/nm-device.h
6585           libnm-glib/nm-device.c
6586                 - (nm_device_get_description): remove
6587                 - (nm_device_get_product, nm_device_get_vendor): add
6588                 - (nm_device_update_description): new function (private); walk HAL
6589                         devices to get product and vendor IDs for a specific device
6590
6591 2007-10-31  Dan Williams  <dcbw@redhat.com>
6592
6593         * src/nm-device-802-11-wireless.c
6594                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6595
6596 2007-10-29  Dan Williams  <dcbw@redhat.com>
6597
6598         * src/nm-hal-manager.c
6599                 - (device_added, device_new_capability): ignore device additions while
6600                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6601                         kernel module is unloaded and reloaded and recognized by NM again.
6602
6603 2007-10-26  Dan Williams  <dcbw@redhat.com>
6604
6605         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6606
6607         * src/NetworkManagerAP.c
6608           src/NetworkManagerAP.h
6609           libnm-glib/nm-access-point.c
6610           libnm-glib/nm-access-point.h
6611                 - Make 'rate' property a guint32 to better match with WEXT and
6612                         wpa_supplicant and to allow representation of higher bitrates
6613
6614         * src/nm-device-802-11-wireless.c
6615           introspection/nm-device-802-11-wireless.xml
6616           libnm-glib/nm-device-802-11-wireless.c
6617           libnm-glib/nm-device-802-11-wireless.h
6618                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6619
6620         * src/nm-device-802-3-ethernet.c
6621           src/nm-device-802-3-ethernet.h
6622           introspection/nm-device-802-3-ethernet.xml
6623           libnm-glib/nm-device-802-3-ethernet.c
6624           libnm-glib/nm-device-802-3-ethernet.h
6625                 - Make 'speed' property a guint32 to match other speed/rate types
6626                 - Make nm_device_802_3_ethernet_get_speed() static
6627
6628         * test/nm-tool.c
6629                 - Update for the changes above
6630
6631 2007-10-26  Dan Williams  <dcbw@redhat.com>
6632
6633         * src/named-manager/nm-named-manager.c
6634                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6635                     not calling fclose() twice on some error conditions
6636
6637 2007-10-26  Dan Williams  <dcbw@redhat.com>
6638
6639         * src/nm-activation-request.c
6640                 - (dispose): clean up indentation; get the right DBusGProxy object to
6641                         cancel the GetSecrets pending call on.  Need to use the Secrets
6642                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6643                         pending call doesn't get canceled, and pressing Cancel in the
6644                         applet's password dialog could cause get_secrets_cb() to be called
6645                         after the activation request has already been destroyed
6646
6647 2007-10-24  Dan Williams  <dcbw@redhat.com>
6648
6649         * src/supplicant-manager/nm-supplicant-config.c
6650                 - (nm_supplicant_config_add_blob): pass blob data and length for
6651                         verification
6652                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6653
6654 2007-10-24  Dan Williams  <dcbw@redhat.com>
6655
6656         * src/supplicant-manager/nm-supplicant-settings-verify.c
6657                 - (opt_table): max length for certificates should be 65536
6658
6659 2007-10-24  Dan Williams  <dcbw@redhat.com>
6660
6661         * src/supplicant-manager/nm-supplicant-interface.c
6662                 - (blob_free): correctly free blob data after use
6663                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6664
6665 2007-10-24  Dan Williams  <dcbw@redhat.com>
6666
6667         * libnm-util/nm-setting.c
6668                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6669                         EAP method need secrets
6670
6671 2007-10-24  Dan Williams  <dcbw@redhat.com>
6672
6673         * src/backends/NetworkManagerRedHat.c
6674                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6675
6676 2007-10-23  Dan Williams  <dcbw@redhat.com>
6677
6678         * libnm-util/nm-setting.c
6679           libnm-util/nm-setting.c
6680                 - (nm_setting_compare): implement
6681                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6682                    compare_one_hash_gvalue): compare the contents of a setting
6683
6684         * libnm-util/nm-connection.c
6685                 - (nm_connection_compare): implement
6686
6687 2007-10-23  Dan Williams  <dcbw@redhat.com>
6688
6689         * src/nm-activation-request.c
6690                 - (get_secrets_cb): handle getting a setting back that is more than
6691                         just secrets (ie, user changed auth or EAP method or something)
6692
6693 2007-10-23  Dan Williams  <dcbw@redhat.com>
6694
6695         * libnm-util/nm-setting.c
6696           libnm-util/nm-setting.h
6697                 - (nm_setting_verify): new function; verify one setting
6698                 - (nm_settings_verify_all): rename from nm_settings_verify()
6699                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6700                         all_settings
6701
6702         * libnm-util/nm-connection.c
6703                 - (nm_connection_replace_settings, nm_connection_verify,
6704                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6705
6706 2007-10-23  Dan Williams  <dcbw@redhat.com>
6707
6708         * src/nm-device-802-11-wireless.c
6709                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6710                         desired behavior
6711
6712 2007-10-23  Dan Williams  <dcbw@redhat.com>
6713
6714         * src/supplicant-manager/nm-supplicant-settings-verify.c
6715                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6716                         nm-settings.c
6717
6718 2007-10-23  Dan Williams  <dcbw@redhat.com>
6719
6720         * src/nm-device-802-11-wireless.c
6721                 - (real_act_stage2_config): after the first association failure,
6722                         if the connection still needs secrets ask the user for them
6723                         explicitly.  After the fourth association failure due to bad
6724                         secrets, fail the connection entirely.  Handles the GetSecrets
6725                         loop that NM gets into when the provided secrets don't match up
6726                         with the connection details.
6727
6728 2007-10-23  Dan Williams  <dcbw@redhat.com>
6729
6730         * src/supplicant-manager/nm-supplicant-config.c
6731                 - (nm_supplicant_config_add_setting_wireless_security): only add
6732                         WPA-specific options when WPA is in use
6733
6734 2007-10-23  Dan Williams  <dcbw@redhat.com>
6735
6736         * src/supplicant-manager/nm-supplicant-config.c
6737                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6738                         secret doesn't need to be unhexified
6739
6740 2007-10-23  Dan Williams  <dcbw@redhat.com>
6741
6742         * libnm-util/nm-setting.c
6743                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6744                         before trying to do something with it
6745
6746 2007-10-23  Dan Williams  <dcbw@redhat.com>
6747
6748         * src/nm-device-802-11-wireless.c
6749                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6750
6751 2007-10-23  Dan Williams  <dcbw@redhat.com>
6752
6753         * src/nm-device-802-11-wireless.c
6754                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6755                         non-SSID-broadcasting APs
6756
6757 2007-10-23  Dan Williams  <dcbw@redhat.com>
6758
6759         * src/NetworkManagerAP.c
6760                 - (match_cipher, security_compatible): remove
6761                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6762                         libnm-util instead
6763
6764 2007-10-23  Dan Williams  <dcbw@redhat.com>
6765
6766         * libnm-util/nm-utils.c
6767           libnm-util/nm-utils.h
6768                 - (nm_utils_ap_security_compatible): common function for checking
6769                         whether a specific AP is compatible with an NMConnection
6770
6771 2007-10-23  Dan Williams  <dcbw@redhat.com>
6772
6773         * libnm-util/nm-setting.c
6774                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6775                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6776                    need_secrets_password, setting_wireless_security_verify): fix
6777                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6778                         secrets logic for each supported EAP method
6779
6780 2007-10-23  Dan Williams  <dcbw@redhat.com>
6781
6782         * src/supplicant-manager/nm-supplicant-config.c
6783                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6784                         config option name, should be "private_key2_passwd"
6785
6786 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6787
6788         Implement support for static IP addresses, additional/overridden DNS and
6789         DNS domain search lists.
6790
6791         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6792         (ip4_addresses_to_gvalue): Implement.
6793         (convert_array_to_byte_array): Implement.
6794         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6795         NM_S_TYPE_IP4_ADDRESSES.
6796         (nm_setting_hash): Ditto.
6797         (default_setting_clear_secrets): Add a default case for the switch: IP address
6798         shouldn't be secret, ever.
6799         (setting_ip4_config_verify): Update, requires addresses in case of manual
6800         configurations.
6801         (setting_ip4_config_destroy): Free stuff.
6802
6803         * src/nm-device.c (merge_ip4_config): Implement.
6804         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6805
6806 2007-10-22  Dan Williams  <dcbw@redhat.com>
6807
6808         * libnm-util/nm-setting.c
6809                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6810                         pairwise cipher options for Dynamic WEP
6811
6812 2007-10-21  Dan Williams  <dcbw@redhat.com>
6813
6814         * src/NetworkManagerAP.c
6815           src/NetworkManagerAP.h
6816                 - Rename 'articifical' -> 'fake' since that's what they are until
6817                         noticed in scans
6818                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6819                         from the attributes in an NMConnection object
6820                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6821                         WPA Enterprise
6822                 - (nm_ap_match_in_list): find a matching AP in a scan list
6823
6824         * src/nm-device-802-11-wireless.c
6825                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6826                         AP when searching the scan list; match on frequency and mode too
6827                 - (nm_device_802_11_wireless_get_frequency): implement
6828                 - (merge_scanned_ap): replace duplicate matching logic with
6829                         nm_ap_match_in_list()
6830                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6831                         the user is trying to connect to a hidden network that is not yet
6832                         known from the scan list
6833                 - (activation_success_handler): now that the card knows the AP's BSSID,
6834                         there may already be a scanned AP in the scan list that is what
6835                         we really wanted to connect to, but didn't know at the time.  Use
6836                         that instead of the 'fake' AP created at activation start and get
6837                         rid of the 'fake' AP 
6838                 - (cull_scan_list): don't remove fake APs
6839
6840 2007-10-21  Dan Williams  <dcbw@redhat.com>
6841
6842         * src/nm-activation-request.h
6843           src/nm-activation-request.c
6844                 - (nm_act_request_set_specific_object): new function; allow setting the
6845                         specific object if one isn't set yet
6846
6847 2007-10-20  Dan Williams  <dcbw@redhat.com>
6848
6849         * src/supplicant-manager/nm-supplicant-config.h
6850           src/supplicant-manager/nm-supplicant-config.c
6851                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6852                         table to store blobs
6853                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6854                         blob hash table
6855                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6856                 - (nm_supplicant_config_add_setting_wireless_security): handle
6857                         options that use certificates (ie, blobs)
6858
6859         * src/nm-device-802-11-wireless.c
6860                 - (build_supplicant_config): pass a UID (just use the connection path)
6861                         to the supplicant config as now required
6862
6863         * src/supplicant-manager/nm-supplicant-interface.c
6864                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6865                         there are any blobs to send to wpa_supplicant, send those first
6866                         before sending the network configuration
6867
6868 2007-10-19  Dan Williams  <dcbw@redhat.com>
6869
6870         Split the GetSecrets() call off to a separate D-Bus interface so that it
6871         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6872         should be able to call GetSecrets().
6873
6874         * include/NetworkManager.h
6875                 - Define the connection secrets D-Bus interface
6876
6877         * src/vpn-manager/nm-vpn-connection.c
6878                 - (clear_need_auth): get the right proxy object for the connection
6879                         secrets interface
6880                 - (get_connection_secrets): use the connection secrets proxy; send
6881                         empty hints in get secrets request
6882
6883         * src/nm-activation-request.c
6884                 - (nm_act_request_request_connection_secrets): use the connection
6885                         secrets proxy; send empty hints in get secrets request
6886
6887         * src/nm-manager.c
6888           src/nm-manager.h
6889                 - (connection_get_settings_cb): set the connection secrets proxy on
6890                         the connection object too
6891                 - (internal_new_connection_cb): create the connection secrets proxy
6892
6893         * introspection/nm-settings-connection.xml
6894                 - Define Connection.Secrets interface and move GetSecrets there
6895                 - Add a 'hints' argument to GetSecrets
6896
6897         * libnm-glib/nm-settings.c
6898           libnm-glib/nm-settings.h
6899                 - (impl_connection_settings_get_secrets): add 'hints' argument
6900
6901 2007-10-19  Dan Williams  <dcbw@redhat.com>
6902
6903         * src/nm-device.c
6904                 - (constructor): add message about what path a device is exported as
6905                         to help in debugging rh #339011
6906
6907 2007-10-17  Dan Williams  <dcbw@redhat.com>
6908
6909         * libnm-util/nm-utils.h
6910           libnm-util/nm-utils.c
6911                 - (nm_utils_security_valid): common function to help find the intersection
6912                         of capabilities of devices and (optionally) access points
6913
6914 2007-10-17  Dan Williams  <dcbw@redhat.com>
6915
6916         * src/nm-device-802-11-wireless.c
6917                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6918                         don't get erroneously cleared
6919
6920 2007-10-17  Dan Williams  <dcbw@redhat.com>
6921
6922         * src/nm-manager.h
6923           src/nm-manager.c
6924           src/nm-hal-manager.c
6925                 - (device_removed, finalize, nm_manager_remove_device,
6926                    nm_manager_sleep): add a 'deactivate' argument to 
6927                    nm_manager_remove_device() to fully deactivate devices when necessary
6928                    (ie, always except when waking up)
6929
6930 2007-10-16  Dan Williams  <dcbw@redhat.com>
6931
6932         * libnm-util/nm-setting.c
6933                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6934                         also isn't valid phase2 autheap method
6935
6936 2007-10-16  Dan Williams  <dcbw@redhat.com>
6937
6938         * libnm-glib/nm-client.c
6939                 - (update_wireless_status): consolidate updates of wireless status
6940                 - (constructor): use update_wireless_status()
6941                 - (manager_running): set wireless status off when NM goes away; requery
6942                         the wireless status when NM comes back
6943
6944 2007-10-16  Dan Williams  <dcbw@redhat.com>
6945
6946         * libnm-glib/nm-client.c
6947                 - (nm_client_activate_device): actually use the fixed-up specific
6948                         object path
6949
6950 2007-10-16  Dan Williams  <dcbw@redhat.com>
6951
6952         * src/nm-hal-manager.c
6953                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6954                         killswitch error messages once
6955
6956 2007-10-16  Dan Williams  <dcbw@redhat.com>
6957
6958         * src/nm-manager.c
6959                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6960                         if it's disabled in hardware; don't touch network devices while
6961                         NM is asleep
6962
6963 2007-10-16  Dan Williams  <dcbw@redhat.com>
6964
6965         * libnm-util/nm-client.c
6966                 - (nm_client_activate_device): convert NULL specific_object to "/",
6967                         which is used in place of NULL
6968
6969         * src/nm-manager.c
6970                 - (impl_manager_activate_device): convert "/" specific_object back into
6971                         NULL
6972
6973 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6974
6975         Implement a generic NMSetting creator from setting name.
6976         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6977         add a virtual function 'populate_fn'.
6978
6979         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6980         (register_default_creators): Register setting creators instead of functions
6981         that create and then populate.
6982         (parse_one_setting): Use the common setting creator and then setting specific
6983         poplulation function.
6984
6985         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6986         they all looked exactly the same.
6987         Add a 'populate_fn' virtual function to NMSetting.
6988         Use default virtual functions in case they are not overriden.
6989         (nm_setting_populate_from_hash): Implement.
6990
6991         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6992         name, use a defined string.
6993         (real_act_stage4_get_ip4_config): Ditto.
6994
6995 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6996
6997         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6998         HAL is int, not uint.
6999
7000 2007-10-15  Tambet Ingo  <tambet@gmail.com>
7001
7002         Implement killswitch polling through HAL.
7003
7004         * src/nm-manager.c: Add wireless hardware status property. Add 
7005         'properties-changed' signal for changes in wireless and wireless hardware
7006         state changes.
7007
7008         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7009         and update NMManager's wireless hardware state when it has changed.
7010         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7011         already does that.
7012
7013         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7014         values of wireless state and wireless hardware state. Listen for the
7015         'properties-changed' signals, update the cached values and emit notify.
7016
7017         * include/NetworkManager.h: Fix a typo in a comment.
7018
7019 2007-10-14  Dan Williams  <dcbw@redhat.com>
7020
7021         * libnm-util/nm-setting.c
7022                 - (setting_wireless_security_need_secrets): handle LEAP secrets
7023
7024 2007-10-13  Dan Williams  <dcbw@redhat.com>
7025
7026         * libnm-util/nm-setting.h
7027           libnm-util/nm-setting.c
7028           src/supplicant-manager/nm-supplicant-config.c
7029                 - Make the 'proto' field of the 802-11-wireless-security field a
7030                         string list
7031
7032 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7033
7034         Rework the "properties-changed" signal listening implementation.
7035         Add a generic implementation to NMObject class that listens for
7036         the signal and calls property setters of the target NMObject.
7037
7038         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7039
7040         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7041         code to the end of file so that all the static functions are available
7042         without extra declarations.
7043         Remove the "properties-changed" signal handling and use the framework from
7044         NMObject.
7045         Implement property setters for properties that change with 
7046         "properties-changed" signal.
7047
7048         * libnm-glib/nm-access-point.c: Ditto.
7049
7050 2007-10-12  Tambet Ingo  <tambet@gmail.com>
7051
7052         Rework the "properties-changed" signal implementation.
7053         In classes that need to use it, just emit "GObject::notify" and the new
7054         framework takes care of the rest to make the signal available on dbus.
7055         The framework queues the notifications and tries to send as many together
7056         in one signal as possible.
7057
7058         * src/nm-properties-changed-signal.c:
7059         * src/nm-properties-changed-signal.h: Implement.
7060
7061         * src/Makefile.am: Add new files to build.
7062
7063         * src/NetworkManagerAP.c: Use the general framework for properties-changed
7064         signal.
7065
7066         * src/nm-device-802-11-wireless.c: Ditto.
7067
7068 2007-10-10  Dan Williams  <dcbw@redhat.com>
7069
7070         * src/nm-manager.c
7071                 - (wait_for_connection_expired): ensure info is valid
7072                 - (connection_added_default_handler): Should only remove pending
7073                         connection info when the manager has the connection that it's
7074                         waiting for.  Fixes segfault in wait_for_connection_info().  
7075
7076 2007-10-10  Dan Williams  <dcbw@redhat.com>
7077
7078         * libnm-util/nm-setting.c
7079           libnm-util/nm-setting.h
7080                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7081                         can use if they choose.  Should be filled in by the settings service
7082                         on-the-fly with the currently logged in user's username
7083
7084 2007-10-10  Dan Williams  <dcbw@redhat.com>
7085
7086         * src/nm-device-802-11-wireless.c
7087                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7088                         as such, because even if the manager fills in the SSID, NM still
7089                         has to indicate to wpa_supplicant that the AP isn't broadcasting
7090                         its SSID
7091
7092 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7093
7094         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7095         code that used NM's own version of dbus signal handling and custom dictionary
7096         marshalling/unmarshalling. With this change, all that obsolete code can disappear
7097         and we get to maintain over 2000 lines less code.
7098
7099         * libnm-util/dbus-dict-helpers.c:
7100         * libnm-util/dbus-dict-helpers.h: Remove.
7101
7102         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7103
7104         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7105
7106         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7107         handlers.
7108
7109         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7110
7111         * configure.in: Remove test/libnm-util/Makefile creation.
7112
7113         * test/Makefile.am: Remove libnm-util from SUBDIRS.
7114
7115         * test/libnm-util/: Remove the whole directory.
7116
7117 2007-10-10  Tambet Ingo  <tambet@gmail.com>
7118
7119         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
7120         device_state_changed_idle_id variable or it would contain some random value and the
7121         schedule_change_check calls would not do anything.
7122
7123 2007-10-09  Dan Williams  <dcbw@redhat.com>
7124
7125         * src/nm-device-802-11-wireless.c
7126                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7127                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7128                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
7129                         merging of non-SSID-broadcasting APs
7130
7131 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7132
7133         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7134         "guint8 *" since it's usually used with GByteArray->data.
7135         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7136
7137 2007-10-09  Tambet Ingo  <tambet@gmail.com>
7138
7139         * src/NetworkManagerUtils.c
7140         (nm_utils_is_empty_ssid):
7141         (nm_utils_escape_ssid):
7142         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
7143         lot of places, so they belong to libnm-utils instead.
7144
7145         Now with 100% less compiler warnings:
7146
7147         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7148         (nm_dbus_unescape_object_path): Ditto.
7149         (nm_utils_ssid_to_utf8): Ditto.
7150         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7151         (nm_utils_escape_ssid): Ditto.
7152         (nm_utils_same_ssid): Ditto.
7153
7154         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7155         (add_one_connection_element): Remove an unused variable.
7156         (impl_manager_get_active_connections): Ditto.
7157
7158         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7159         variable.
7160
7161         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7162         from the previous commit.
7163
7164         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7165         (real_act_stage1_prepare): Ditto.
7166         (activation_success_handler): Ditto.
7167         (get_property): Ditto.
7168
7169         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7170         variable.
7171
7172         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7173         it's always set.
7174
7175         * src/supplicant-manager/nm-supplicant-config.c 
7176         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7177         to expected "char *".
7178         (nm_supplicant_config_add_setting_wireless): Ditto.
7179         (nm_supplicant_config_remove_option): Remove, not used.
7180
7181         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7182         not double.
7183         (test_wireless_enabled): Ifdef out unused function.
7184         (device_deactivate): Ditto.
7185         (device_state_changed): Ditto.
7186         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7187         (nm_utils_escape_ssid): Ditto.
7188
7189         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7190         (nm_utils_is_empty_ssid): Ditto.
7191
7192         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7193         unused variable.
7194
7195         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7196         (setting_vpn_properties_update_secrets): Ditto.
7197         (int_to_gvalue): Ifdef out for now, not used.
7198         (byte_to_gvalue): Ditto.
7199
7200         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7201         Unused, remove.
7202
7203 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7204
7205         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7206         about dbus manager, not named manager.
7207         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7208
7209         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7210         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7211         However, the same signal is emitted when we destroy it and there's 
7212         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7213
7214         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7215         releasing the DBusGConnection, since proxy needs a conneciton.
7216         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7217
7218 2007-10-08  Dan Williams  <dcbw@redhat.com>
7219
7220         * src/NetworkManager.c
7221                 - (main): error on unknown command-line options
7222
7223 2007-10-08  Dan Williams  <dcbw@redhat.com>
7224
7225         Reimplement the invalid connection list.  Don't try to re-activate a
7226         connection that just failed or was canceled.
7227
7228         * src/nm-device.c
7229                 - (connection_secrets_failed_cb): fail device activation, don't just
7230                         deactivate the device.  Listeners have to know about the failure.
7231
7232         * src/NetworkManagerPolicy.c
7233                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7234                         the connection list given to a device's get_best_connection()
7235                         method
7236                 - (device_state_changed): tag failed connections as invalid; clear the
7237                         tag from successful connections
7238
7239 2007-10-08  Dan Williams  <dcbw@redhat.com>
7240
7241         Fix problems with interrupted activation.  Previously, choosing an AP
7242         from the menu, then choosing another one before the first connection was
7243         successful wouldn't deactivate the device before starting the new connection
7244         on that same device.
7245
7246         * src/NetworkManagerPolicy.c
7247                 - (deactivate_old_device, device_state_changed, state_changed,
7248                    nm_policy_new): wrong place to deactivate old devices
7249
7250         * src/nm-manager.c
7251                 - (pending_connection_info_destroy, finalize,
7252                    wait_for_connection_expired): decouple destruction of the pending
7253                         connection info from the manager device
7254                 - (connection_added_default_handler): deactivate any active or
7255                         activating device before starting a new activation
7256                 - (impl_manager_activate_device): deactivate any active or activating
7257                         device before starting a new activation; be sure not to leak
7258                         pending connection info if a new activation request arrives but
7259                         there's already a pending one in-process
7260
7261 2007-10-08  Dan Williams  <dcbw@redhat.com>
7262
7263         * src/NetworkManagerAP.h
7264           src/NetworkManagerAP.c
7265                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7266                         should handle default SSIDs and whether or not to autoconnect
7267                         to them
7268
7269 2007-10-08  Dan Williams  <dcbw@redhat.com>
7270
7271         * src/NetworkManagerPolicy.c
7272                 - (nm_policy_device_change_check): print out connection name where
7273                         possible
7274
7275 2007-10-08  Dan Williams  <dcbw@redhat.com>
7276
7277         * src/nm-device-802-11-wireless.c
7278           src/nm-device-802-11-wireless.h
7279                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7280                         'hidden-ap-found' signal (for internal use only) that allows the
7281                         NMManager to fill in the AP's SSID if a connection has that AP's
7282                         BSSID in its seen-bssids list
7283
7284         * src/nm-manager.c
7285                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7286                         wireless device's hidden-ap-found signal and fill in the APs SSID
7287                         if possible
7288
7289 2007-10-07  Dan Williams  <dcbw@redhat.com>
7290
7291         * src/nm-manager.c
7292           src/nm-manager.h
7293                 - Add a 'connections-added' signal to batch together updates of large
7294                         numbers of connections, like when reading from a settings service
7295                         the first time.  Otherwise, the policy would just activate the first
7296                         suitable connection it saw rather than waiting for the full list
7297                         to arrive.
7298                 - (nm_manager_class_init): register new signal
7299                 - (get_type_for_proxy, connection_get_settings_cb,
7300                    get_connection_for_proxy): centralize places where a proxy's setting
7301                         service is determined
7302                 - (free_get_settings_info): if the call being freed is the last call
7303                         in a pending call group, fire off the connections-added signal
7304                 - (internal_new_connection_cb): add call to a pending call group if
7305                         requested
7306                 - (list_connections_cb): always create a call group here, because this
7307                         call results in a batch of new connections
7308                 - (initial_get_connections): start getting system connections first
7309                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7310                         removed signal when destroying connections
7311
7312         * src/NetworkManagerPolicy.c
7313                 - (nm_policy_new, connections_added): handle connections-added signal
7314                         from the manager
7315
7316 2007-10-06  Dan Williams  <dcbw@redhat.com>
7317
7318         * src/nm-device-802-11-wireless.c
7319                 - (constructor): fix leaked socket
7320
7321 2007-10-06  Dan Williams  <dcbw@redhat.com>
7322
7323         * src/NetworkManagerPolicy.c
7324                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7325                         connection in the list returned by nm_manager_get_connections() is
7326                         reffed, but they weren't getting unreffed before returning
7327
7328 2007-10-06  Dan Williams  <dcbw@redhat.com>
7329
7330         * src/nm-manager.c
7331                 - (connections_to_slist): sort connections first on autoconnect, then
7332                         on timestamp
7333
7334 2007-10-06  Dan Williams  <dcbw@redhat.com>
7335
7336         * libnm-util/nm-connection.c
7337                 - (gvalue_to_string): handle UINT64
7338
7339 2007-10-06  Dan Williams  <dcbw@redhat.com>
7340
7341         * src/NetworkManagerPolicy.c
7342                 - (connection_updated, nm_policy_new): recheck state when a connection
7343                         gets updated
7344
7345 2007-10-06  Dan Williams  <dcbw@redhat.com>
7346
7347         * src/nm-manager.c
7348           src/nm-manager.h
7349                 - (nm_manager_get_connection_dbus_path): make static
7350                 - (nm_manager_update_connections): remove; unused
7351                 - Add a connection-updated signal
7352                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7353                         handle connection object updates
7354
7355 2007-10-06  Dan Williams  <dcbw@redhat.com>
7356
7357         * src/NetworkManagerPolicy.c
7358                 - (connection_removed): deactivate removed connections
7359
7360 2007-10-06  Dan Williams  <dcbw@redhat.com>
7361
7362         * libnm-util/nm-connection.c
7363           libnm-util/nm-connection.h
7364                 - (nm_connection_replace_settings): new function
7365
7366 2007-10-06  Dan Williams  <dcbw@redhat.com>
7367
7368         * libnm-glib/nm-device-802-11-wireless.c
7369                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7370                         on error when getting the active access point over D-Bus from NM
7371
7372 2007-10-05  Dan Williams  <dcbw@redhat.com>
7373
7374         * libnm-util/nm-setting.c
7375                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7376                         to the NMSettingWireless table; it's now a string array not an array
7377                         of byte arrays
7378
7379 2007-10-05  Dan Williams  <dcbw@redhat.com>
7380
7381         * libnm-glib/nm-device-802-11-wireless.c
7382                 - Cache properties and update cached properties on D-Bus signals from NM
7383
7384 2007-10-05  Dan Williams  <dcbw@redhat.com>
7385
7386         * src/nm-device-802-11-wireless.c
7387                 - (set_current_ap): consolidate current_ap handling code into one place
7388                         to ensure that PropertiesChanged signals are emitted in all cases
7389                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7390                    nm_device_802_11_wireless_dispose): use set_current_ap()
7391
7392 2007-10-05  Dan Williams  <dcbw@redhat.com>
7393
7394         * libnm-glib/nm-access-point.c
7395           libnm-glib/nm-access-point.h
7396                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7397                         because the value is cached internally now.  Callers should not
7398                         free the internal value.
7399                 - Make signal name defines private
7400
7401         * test/nm-tool.c
7402           libnm-glib/libnm-glib-test.c
7403                 - Don't free value returned from nm_access_point_get_hw_address()
7404
7405 2007-10-04  Dan Williams  <dcbw@redhat.com>
7406
7407         * introspection/nm-device-802-11-wireless.xml
7408           src/nm-device-802-11-wireless.h
7409           src/nm-device-802-11-wireless.c
7410                 - Add a PropertiesChanged signal for wireless device
7411                 - Store currently associated access point
7412                 - (periodic_update): generalize; update rate here too and emit the
7413                         correct PropertiesChanged signal when stuff changes
7414                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7415                    real_activation_cancel_handler): clear current_ap when device is
7416                         deactivated
7417                 - (link_to_specific_ap, get_ap_blacklisted,
7418                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7419                         code
7420                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7421                         outside this file
7422                 - (real_set_hw_address): emit property changed signal if the card's
7423                         MAC address changes
7424                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7425                         the card is supposed to be connecting to
7426                 - (activation_success_handler): send out property updates on successful
7427                         activation
7428                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7429                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7430                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7431                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7432                         is now boxed; add PropertiesChanged signal
7433
7434 2007-10-04  Dan Williams  <dcbw@redhat.com>
7435
7436         * libnm-util/nm-connection.c
7437           libnm-util/nm-connection.h
7438                 - (nm_connection_verify): new function
7439
7440 2007-10-04  Dan Williams  <dcbw@redhat.com>
7441
7442         * libnm-util/nm-setting.c
7443                 - (nm_settings_verify): use #defines when possible rather than strings
7444                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7445                 - (setting_vpn_verify): tighter validity check on 'service_type'
7446
7447 2007-10-04  Dan Williams  <dcbw@redhat.com>
7448
7449         * libnm-glib/nm-settings.c
7450                 - (nm_connection_settings_class_init): provide correct type for argument
7451                         to the Updated signal so that dbus-glib knows how to marshal it
7452
7453 2007-10-03  Dan Williams  <dcbw@redhat.com>
7454
7455         * src/nm-device-802-3-ethernet.c
7456                 - (real_get_best_connection): don't create automatic connections
7457                         internally; clients should provide a setting that applies to
7458                         the device with 'autoconnect: True'.  Problem was that these
7459                         internally auto-created connections don't have a proxy or service
7460                         name becuase they weren't created by a settings daemon, and therefore
7461                         clients have no idea what to do with them.
7462
7463 2007-10-03  Dan Williams  <dcbw@redhat.com>
7464
7465         * src/nm-device-802-11-wireless.c
7466           src/nm-device-802-11-wireless.h
7467           introspection/nm-device-802-11-wireless.xml
7468                 - GetActiveNetworks -> GetAccessPoints
7469                 - ActiveNetwork -> ActiveAccessPoint
7470                 - NetworkAdded -> AccessPointAdded
7471                 - NetowrkRemoved -> AccessPointRemoved
7472
7473         * libnm-glib/nm-device-802-11-wireless.c
7474           libnm-glib/nm-device-802-11-wireless.h
7475                 - network-added signal -> access-point-added
7476                 - network-removed signal -> access-point-removed
7477                 - nm_device_802_11_wireless_get_active_network() ->
7478                         nm_device_802_11_wireless_get_active_access_point()
7479                 - nm_device_802_11_wireless_get_network_by_path() ->
7480                         nm_device_802_11_wireless_get_access_point_by_path()
7481                 - nm_device_802_11_wireless_get_networks() ->
7482                         nm_device_802_11_wireless_get_access_points()
7483
7484         * libnm-glib/libnm-glib-test.c
7485           test/nm-tool.c
7486           src/NetworkManagerPolicy.c
7487                 - Fixups for Network -> AccessPoint
7488
7489 2007-10-03  Dan Williams  <dcbw@redhat.com>
7490
7491         Add a GetActiveConnections() method on the Manager object.
7492
7493         * src/nm-manager.c
7494           src/nm-manager.h
7495           introspection/nm-manager.xml
7496                 - (connection_get_settings_cb): keep connection type around too
7497                 - (impl_manager_get_active_connections, add_one_connection_element):
7498                         implement; returns all active connections and what devices they
7499                         apply to
7500
7501         * libnm-glib/nm-client.c
7502           libnm-glib/nm-client.h
7503           introspection/nm-manager-client.xml
7504                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7505                         by the caller; free here to avoid memory leak
7506                 - (nm_client_get_active_connections): implement; return the list of
7507                         active connections
7508                 - (nm_client_free_active_connection_element): implement; free an element
7509                         of the GSList returned by nm_client_get_active_connections()
7510
7511 2007-10-03  Dan Williams  <dcbw@redhat.com>
7512
7513         * src/nm-device-802-11-wireless.c
7514                 - (nm_device_802_11_wireless_update_bssid): remove
7515                 - (get_active_ap): new function; find the AP in the scan list which
7516                         matches the current BSSID and SSID of the wireless device
7517                 - (nm_device_802_11_periodic_update): get current AP using
7518                         get_active_ap() and print AP roam messages
7519
7520 2007-10-01  Dan Williams  <dcbw@redhat.com>
7521
7522         * libnm-util/nm-setting.h
7523                 - Add a 'timestamp' option to NMSettingConnection
7524                 - Add a UINT64 type
7525
7526         * libnm-util/nm-setting.c
7527                 - (uint64_to_gvalue): new function
7528                 - (nm_setting_populate_from_hash, nm_setting_hash,
7529                    default_setting_clear_secrets): handle UINT64 type
7530                 - con_table: add 'timestamp' member
7531
7532 2007-10-01  Dan Williams  <dcbw@redhat.com>
7533
7534         * src/nm-manager.c
7535                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7536                         value when the connection can be activated immediately
7537
7538 2007-10-01  Dan Williams  <dcbw@redhat.com>
7539
7540         * libnm-glib/nm-device.c
7541                 - (nm_device_class_init): actually tell glib about the carrier-changed
7542                         signal
7543
7544 2007-10-01  Dan Williams  <dcbw@redhat.com>
7545
7546         * configure.in
7547           src/marshallers/Makefile.am
7548           src/marshallers/nm-marshal.list
7549           src/marshallers/nm-marshal-main.c
7550                 - Consolidate glib marshallers into one place
7551
7552         * src/dhcp-manager/Makefile.am
7553           src/dhcp-manager/nm-dhcp-manager.c
7554           src/supplicant-manager/Makefile.am
7555           src/supplicant-manager/nm-supplicant-manager.c
7556           src/supplicant-manager/nm-supplicant-interface.c
7557           src/ppp-manager/Makefile.am
7558           src/ppp-manager/nm-ppp-manager.c
7559           src/vpn-manager/Makefile.am
7560           src/vpn-manager/nm-vpn-connection.c
7561           src/Makefile.am
7562                 - Use consolidated marshallers
7563
7564         * src/dhcp-manager/nm-dhcp-marshal.list
7565           src/dhcp-manager/nm-dhcp-marshal-main.c
7566           src/supplicant-manager/nm-supplicant-marshal-main.c
7567           src/supplicant-manager/nm-supplicant-marshal.list
7568           src/nm-marshal-main.c
7569           src/nm-marshal.list
7570           src/ppp-manager/nm-ppp-marshal-main.c
7571           src/ppp-manager/nm-ppp-marshal.list
7572           src/vpn-manager/nm-vpn-marshal-main.c
7573           src/vpn-manager/nm-vpn-marshal.list
7574                 - Remove
7575
7576 2007-10-01  Dan Williams  <dcbw@redhat.com>
7577
7578         * include/NetworkManagerVPN.h
7579                 - define VPN connection state change reason codes
7580
7581         * src/vpn-manager/Makefile.am
7582           src/vpn-manager/nm-vpn-marshal.list
7583           src/vpn-manager/nm-vpn-marshal-main.c
7584                 - Add marshallers for StateChanged signal
7585
7586         * introspection/nm-vpn-connection.xml
7587                 - New Banner property
7588                 - StateChanged signal now includes a 'reason' argument
7589
7590         * src/vpn-manager/nm-vpn-connection.c
7591           src/vpn-manager/nm-vpn-connection.h
7592                 - Add a "Banner" property that contains the returned VPN server login
7593                         banner (if any); valid only in the ACTIVATED state
7594                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7595                         a 'reason' argument and emits that reason along with the
7596                         state-changed signal
7597                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7598                 - (nm_vpn_connection_ip4_config_get): save banner for later
7599                 - (nm_vpn_connection_get_banner, get_property,
7600                    nm_vpn_connection_class_init): implement Banner property
7601
7602         * src/vpn-manager/nm-vpn-service.c
7603                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7604                         connection list because elements may get added/removed from it
7605                         while iterating over the list
7606                 - (connection_state_changed): signal now includes the 'reason' argument
7607
7608         * libnm-glib/nm-vpn-connection.c
7609           libnm-glib/nm-vpn-connection.h
7610                 - (nm_vpn_connection_get_banner): new function
7611                 - (state_changed_proxy): handle reason argument
7612
7613 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7614
7615         * src/nm-manager.c:
7616         * src/nm-manager.h:
7617         Implement device activation through NMManager.
7618         Implement "pending device activation" here - If the connection isn't found,
7619         we try to wait for up to 5 seconds for the connection to be provided.
7620         Add NMConnectionType argument to "connection-added" and "connection-removed"
7621         signals.
7622         (nm_manager_get): Remove. Finally.
7623
7624         * src/nm-activation-request.c: 
7625         * src/nm-activation-request.h: 
7626         Remove all the deferred activation code.
7627
7628         * src/nm-device.c: Remove all the deferred activation code. Once the device
7629         activation is started, it's started. Update the activation virtual function
7630         signature.
7631
7632         * src/nm-device-interface.c:
7633         * src/nm-device-interface.h:
7634         Device activation now takes only NMActRequest argument.
7635         Don't expose device activation directly on dbus, it's supposed to go through
7636         NMManager now.
7637
7638         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7639         a bit more compact.
7640         Use the new device activation methods through NMManager.
7641
7642         * introspection/nm-manager-client.xml: 
7643         * introspection/nm-manager.xml: 
7644         * libnm-glib/nm-client.c:
7645         * libnm-glib/nm-client.h:
7646         Add device activation method.
7647         
7648         * libnm-glib/nm-device.c: 
7649         * libnm-glib/nm-device.h: 
7650         * introspection/nm-device.xml: 
7651         Remove device activation method. It's done through NMManager now.
7652
7653         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7654         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7655
7656 2007-09-28  Dan Williams  <dcbw@redhat.com>
7657
7658         * libnm-glib/nm-vpn-connection.c
7659                 - (nm_vpn_connection_get_state): try to update state if the current
7660                         state is UNKNOWN
7661
7662 2007-09-27  Dan Williams  <dcbw@redhat.com>
7663
7664         Patch from Bill Nottingham
7665
7666         * src/supplicant-manager/nm-supplicant-config.c
7667                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7668                         data to the supplicant
7669
7670 2007-09-27  Dan Williams  <dcbw@redhat.com>
7671
7672         * src/NetworkManagerSystem.c
7673                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7674                         and all address manipulation here should be happening on the
7675                         _VPN_ device, not the active device
7676
7677 2007-09-26  Dan Williams  <dcbw@redhat.com>
7678
7679         * src/nm-manager.c
7680           src/nm-manager.h
7681           src/nm-activation-request.c
7682           src/nm-activation-request.h
7683                 - Move the GetSecrets stuff out of the NMManager instance because it
7684                         doesn't really need to be there and complicates things
7685
7686         * src/nm-device.c
7687                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7688                         connection-secrets-failed signal and deactivate the device if
7689                         the GetSecrets call fails
7690
7691         * src/nm-device-802-11-wireless.c
7692                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7693                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7694                         secrets and give correct hints about whether new secrets should be
7695                         asked for by the client or not
7696
7697 2007-09-26  Dan Williams  <dcbw@redhat.com>
7698
7699         * src/vpn-manager/nm-vpn-connection.c
7700                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7701                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7702                         to the secrets-updated signal of the NMConnection since updating
7703                         the secrets is done within the scope of the NMVPNConnection object
7704                         already
7705                 - (get_connection_secrets): fix an uninialized variable usage error
7706
7707 2007-09-26  Dan Williams  <dcbw@redhat.com>
7708
7709         * libnm-util/nm-setting.c
7710                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7711                         actually get updated when the user enters them
7712
7713 2007-09-26  Dan Williams  <dcbw@redhat.com>
7714
7715         * libnm-glib/nm-vpn-plugin.c
7716                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7717
7718 2007-09-26  Dan Williams  <dcbw@redhat.com>
7719
7720         * include/NetworkManagerVPN.h
7721                 - Add a NEED_AUTH state
7722
7723         * src/vpn-manager/nm-vpn-connection.c
7724                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7725                         the connection needs secrets, and if so, then ask the settings
7726                         service to fill in the secrets.  Then start the connection.
7727
7728 2007-09-26  Dan Williams  <dcbw@redhat.com>
7729
7730         * src/vpn-manager/nm-vpn-manager.c
7731                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7732
7733 2007-09-26  Dan Williams  <dcbw@redhat.com>
7734
7735         * introspection/nm-vpn-plugin.xml
7736           libnm-glib/nm-vpn-plugin.c
7737           libnm-glib/nm-vpn-plugin.h
7738                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7739                         the name of the NMSetting in an NMConnection that may require
7740                         secrets specific to that VPN plugin
7741
7742 2007-09-26  Dan Williams  <dcbw@redhat.com>
7743
7744         * src/nm-manager.c
7745           src/nm-manager.h
7746                 - (nm_manager_get_connection_secrets): make static, unused outside
7747                         the file
7748                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7749
7750 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7751
7752         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7753         method.
7754         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7755         unreference the connection.
7756
7757         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7758         passing properties hash and routes string list, pass NMConnection (in hashed form).
7759
7760         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7761         as GSList, no need to copy stuff around anymore.
7762         (nm_vpn_connection_activate): Update the plugin activation method.
7763
7764         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7765         routes argument to GSList.
7766
7767 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7768
7769         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7770         state and try to get the secrets.
7771
7772         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7773         connections from NMManager and let the device to choose the best from the list.
7774         Since the connection list is sorted by system ones first and user ones later,
7775         the devices still prefer system connections like they did before.
7776         (deactivate_old_device): Implement. When a device starts activation, we have a
7777         policy (for now at least) to deactivate any other device that might be either
7778         active or still activating.
7779
7780         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7781         It's set on construction, there will be no other way to access it.
7782
7783         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7784         device events and drive the device, not the other way around.
7785
7786         * src/nm-device-802-3-ethernet.c: Ditto.
7787
7788         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7789         sent along, pass it on to virtual functions.
7790
7791         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7792         for now, but should really be public instead of nm_device_get_iface() since iface
7793         is a property of the DeviceInterface, not Device.
7794         (impl_device_activate): Don't touch NMManager!
7795
7796 2007-09-26  Jürg Billeter  <j@bitron.ch>
7797
7798         * initscript/paldo/NetworkManager.in:
7799         * initscript/paldo/NetworkManagerDispatcher.in:
7800         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7801         (nm_system_flush_loopback_routes): update paldo backend
7802
7803 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7804
7805         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7806         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7807         which means none of the devices get brought down properly, which in turn leaves
7808         DHCP client running.
7809
7810         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7811         (supplicant_connection_timeout_cb): Ditto.
7812
7813 2007-09-25  Dan Williams  <dcbw@redhat.com>
7814
7815         * src/nm-device.c
7816                 - (device_activation_go): small hack to work around race when
7817                         activating deferred connections; should solve this in a better way
7818
7819 2007-09-25  Dan Williams  <dcbw@redhat.com>
7820
7821         * introspection/nm-device.xml
7822           libnm-glib/nm-device.c
7823           libnm-glib/nm-device.h
7824                 - Add 'Carrier' property to exported NMDevice objects
7825
7826         * src/nm-device-interface.h
7827           src/nm-device-interface.c
7828           src/nm-device.c
7829                 - Add a 'carrier' property to internal NMDevice objects
7830
7831 2007-09-25  Dan Williams  <dcbw@redhat.com>
7832
7833         * src/nm-device-802-11-wireless.c
7834                 - (ap_auth_enforced): also return the encryption status of the AP so
7835                         that callers can differentiate easily between unencrypted APs
7836                         and encrypted ones, in addition to whether the AP has an
7837                         authenticator
7838                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7839                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7840                         previously would request secrets from unencrypted APs at times
7841
7842 2007-09-25  Dan Williams  <dcbw@redhat.com>
7843
7844         * src/nm-manager.c
7845                 - (nm_manager_update_state): new function; updates state and emits
7846                         appropriate signals ensuring a state-change signal for the same state
7847                         never gets emitted twice in a row.
7848                 - (manager_device_state_changed): handle more device state to get a
7849                         better picture of the overall NM state
7850
7851 2007-09-25  Dan Williams  <dcbw@redhat.com>
7852
7853         * libnm-glib/nm-settings.c
7854           libnm-glib/nm-settings.h
7855                 - (new_error -> nm_settings_new_error): make public so that subclasses
7856                         can use the same error domain.  Also pass a valid error code to
7857                         g_error_new_literal() so that libdbus doesn't assert when converting
7858                         the GError into a DBusError
7859                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7860                    impl_connection_settings_get_settings,
7861                    impl_connection_settings_get_secrets): use new error creator
7862                         function
7863
7864 2007-09-25  Dan Williams  <dcbw@redhat.com>
7865
7866         * src/NetworkManager.c
7867                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7868
7869 2007-09-25  Dan Williams  <dcbw@redhat.com>
7870
7871         * src/supplicant-manager/nm-supplicant-manager.c
7872                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7873                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7874                    nm_supplicant_manager_startup): when the supplicant isn't running,
7875                         try to start it periodically via system bus activation.  Fixes
7876                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7877                         for the supplicant to come back
7878
7879 2007-09-25  Dan Williams  <dcbw@redhat.com>
7880
7881         Ensure that old activation requests are forgotten about; previously
7882         hitting Cancel in the password dialog would deactivate whatever device
7883         that password was requested for, even if that wasn't the currently
7884         activating connection.
7885
7886         * src/nm-manager.c
7887           src/nm-manager.h
7888                 - (nm_manager_get_connection_secrets): track the pending call
7889                         object so it can be canceled later if needed
7890                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7891                         GetSecrets call for a particular connection
7892
7893         * src/nm-activation-request.c
7894                 - (dispose): cancel any outstanding GetSecrets calls on the
7895                         connection
7896
7897 2007-09-25  Dan Williams  <dcbw@redhat.com>
7898
7899         * src/NetworkManagerPolicy.c
7900                 - (nm_policy_device_change_check): handle devices that have a
7901                         deferred activation.  These devices are not really active _yet_,
7902                         but need to be treated as such here.  Don't interrupt them
7903                         automatically.
7904
7905         * src/nm-device-interface.c
7906                 - (impl_device_activate): handle devices that have a deferred activation
7907                         like activating or active devices.  When multiple active devices
7908                         get committed, the device shouldn't be deactivated until the
7909                         connection details are available to avoid DoS and such.  Currently,
7910                         any active, activating, or deferred activation device is deactivated
7911                         here before starting the new activation request.
7912
7913 2007-09-25  Dan Williams  <dcbw@redhat.com>
7914
7915         Properly re-query secrets from the settings daemon when stuff fails.
7916
7917         * src/nm-device-802-11-wireless.c
7918                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7919                         between Shared Key and Open System auth modes
7920                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7921                    real_act_stage4_ip_config_timeout): clear existing secrets and
7922                         request new ones when something fails due to a suspected wrong key
7923                 - (real_act_stage2_config): fix for new request_new argument to
7924                         nm_manager_get_connection_secrets()
7925
7926         * src/nm-manager.c
7927           src/nm-manager.h
7928                 - (nm_manager_get_connection_secrets): return error status; pass
7929                         new request_new argument on to the settings daemon
7930
7931         * introspection/nm-settings-connection.xml
7932                 - New 'request_new' argument to the GetSecrets call that hints to the
7933                         settings daemon to ask the user for completely new secrets
7934
7935         * libnm-glib/nm-settings.c
7936           libnm-glib/nm-settings.h
7937                 - (impl_connection_settings_get_secrets): handle new 'request_new'
7938                         argument
7939
7940 2007-09-25  Dan Williams  <dcbw@redhat.com>
7941
7942         * libnm-util/nm-connection.c
7943           libnm-util/nm-connection.h
7944                 - (nm_connection_clear_secrets): new function; clear secrets out of
7945                         each NMSetting in an NMConnection
7946
7947         * libnm-util/nm-setting.h
7948           libnm-util/nm-setting.c
7949                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
7950                         secrets out of an NMSetting
7951                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
7952                    nm_setting_wired_new, nm_setting_wireless_new,
7953                    nm_setting_wireless_security_new, nm_setting_ppp_new,
7954                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7955                         to default handler default_setting_clear_secrets()
7956
7957 2007-09-25  Dan Williams  <dcbw@redhat.com>
7958
7959         * src/nm-activation-request.c
7960           src/nm-activation-request.h
7961                 - (nm_act_request_is_deferred): new function
7962
7963 2007-09-24  Dan Williams  <dcbw@redhat.com>
7964
7965         * src/nm-device-802-11-wireless.c
7966                 - (activation_success_handler): update signal strength immediately
7967                         after activation
7968
7969 2007-09-24  Dan Williams  <dcbw@redhat.com>
7970
7971         * libnm-util/nm-setting.c
7972                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7973
7974 2007-09-24  Dan Williams  <dcbw@redhat.com>
7975
7976         * src/NetworkManagerPolicy.c
7977                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7978                         device by deactivating it because it doesn't have a "best connection".
7979                         Since autoconnect=False connections aren't automatically chosen,
7980                         NM would interrupt activation of such a connection because it
7981                         would never be "best" due to autoconnect=False.
7982
7983 2007-09-24  Dan Williams  <dcbw@redhat.com>
7984
7985         * src/nm-manager.c
7986                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7987                         actually has some time to enter a key before the GetSecrets call
7988                         times out
7989
7990 2007-09-24  Dan Williams  <dcbw@redhat.com>
7991
7992         * introspection/nm-manager.xml
7993           src/nm-manager.c
7994                 - (impl_manager_legacy_state): fix 'state' method call return value
7995
7996 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
7997
7998         * test/Makefile.am: Install nm-tool
7999
8000 2007-09-24  Dan Williams  <dcbw@redhat.com>
8001
8002         Patch from Ross Burton <ross@burtonini.com>
8003
8004         * test/nm-tool.c
8005           callouts/nm-dhcp-client-action.c
8006           src/nm-netlink.c
8007           src/vpn-manager/nm-vpn-connection.c
8008           libnm-glib/libnm-glib-test.c
8009                 - warning fixes
8010
8011 2007-09-24  Dan Williams  <dcbw@redhat.com>
8012
8013         * libnm-util/nm-utils.h
8014           libnm-util/nm-utils.c
8015                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8016                         remove, unused
8017
8018 2007-09-23  Dan Williams  <dcbw@redhat.com>
8019
8020         * vpn-daemons/vpnc/properties/nm-vpnc.c
8021                 - Update for new VPN properties API bits; instead of passing around
8022                         a lot of random things, everything goes into the NMConnection
8023                         object.
8024
8025 2007-09-23  Dan Williams  <dcbw@redhat.com>
8026
8027         * libnm-util/nm-setting.c
8028                 - Correctly dispose of settings objects if creating them from a hash
8029                         table fails
8030
8031 2007-09-23  Dan Williams  <dcbw@redhat.com>
8032
8033         * libnm-util/nm-setting.c
8034                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8035                         the hash table in a standard manner.  Clients of libnm-util should
8036                         only call g_hash_table_remove_all(), never destroy the hash table
8037                         and recreate it.
8038
8039 2007-09-22  Dan Williams  <dcbw@redhat.com>
8040
8041         * src/nm-device-802-11-wireless.c
8042                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
8043                         real reason to do it so often, and reduces wakeups for clients.
8044
8045 2007-09-21  Dan Williams  <dcbw@redhat.com>
8046
8047         * src/nm-device-802-11-wireless.c
8048                 - (build_supplicant_config): wpa_supplicant requires the option
8049                         key_mgmt=NONE for unencrypted networks
8050                 - (real_act_stage2_config): clarify log message on activation
8051
8052 2007-09-21  Dan Williams  <dcbw@redhat.com>
8053
8054         * test/nm-supplicant-test.c
8055           test/Makefile.am
8056                 - Remove supplicant test binary; no longer applicable
8057
8058 2007-09-21  Dan Williams  <dcbw@redhat.com>
8059
8060         * src/supplicant-manager/nm-supplicant-manager.c
8061                 - (nm_supplicant_manager_init): poke the supplicant at startup to
8062                         activate it on the system bus
8063
8064 2007-09-20  Dan Williams  <dcbw@redhat.com>
8065
8066         * initscript/RedHat/NetworkManager.in
8067                 - dhcdbd is no longer used, so don't try to start it from the initscripts
8068
8069 2007-09-20  Dan Williams  <dcbw@redhat.com>
8070
8071         * src/nm-device.c
8072                 - (nm_device_is_activating): work around a race between auto-activation
8073                         and the user activating the same device that is being auto-activated
8074
8075 2007-09-20  Dan Williams  <dcbw@redhat.com>
8076
8077         * src/nm-device-interface.c
8078                 - (impl_device_activate): until multiple active device support lands,
8079                         ensure only one device can be active at a time
8080
8081 2007-09-20  Dan Williams  <dcbw@redhat.com>
8082
8083         * src/supplicant-manager/nm-supplicant-config.c
8084           src/supplicant-manager/nm-supplicant-config.h
8085                 - (nm_supplicant_config_add_option): hide secrets from system logs
8086
8087 2007-09-20  Dan Williams  <dcbw@redhat.com>
8088
8089         * src/NetworkManagerPolicy.c
8090                 - (nm_policy_device_change_check): re-enable the wireless device change
8091                         checking code; insted of checking for SSIDs, check for the same
8092                         connection instead
8093
8094 2007-09-20  Dan Williams  <dcbw@redhat.com>
8095
8096         * src/nm-device-802-11-wireless.c
8097                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8098                         composite link state when determining when to start the disconnection
8099                         timer; that link state is already based on the supplicant interface's
8100                         status which is exactly what's already being examined, plus the link
8101                         state is a conglomeration of various things that we don't want here
8102
8103 2007-09-20  Dan Williams  <dcbw@redhat.com>
8104
8105         * libnm-glib/nm-access-point.c
8106                 - (handle_property_changed): strength is a UCHAR
8107
8108 2007-09-20  Dan Williams  <dcbw@redhat.com>
8109
8110         * src/supplicant-manager/nm-supplicant-config.c
8111                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8112                         string list keywords too since that's what wpa_supplicant wants
8113
8114 2007-09-20  Dan Williams  <dcbw@redhat.com>
8115
8116         * libnm-util/nm-setting.c
8117                 - (convert_strv_to_slist): dupe the values in the list because since
8118                         the list is a boxed value, it'll get destroyed when it's container
8119                         (like a hash table or whatever) gets destroyed
8120
8121 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8122
8123         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8124         GSList.
8125
8126         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8127
8128         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8129         just use (g_object_set_data_full).
8130
8131         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8132         that NMSettingVPN->routes is a GSList, convert it to char **.
8133         (nm_vpn_connection_ip4_config_get): Free routes when done.
8134         (nm_vpn_connection_activate): Ditto.
8135
8136         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8137         (real_act_stage2_config): Use defined setting names.
8138
8139 2007-09-20  Dan Williams  <dcbw@redhat.com>
8140
8141         * src/nm-device-802-11-wireless.c
8142           src/nm-manager.c
8143           src/nm-manager.h
8144                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8145                         so that the device can be deactivated if secrets are wrong
8146
8147 2007-09-20  Dan Williams  <dcbw@redhat.com>
8148
8149         * introspection/nm-settings-connection.xml
8150           libnm-glib/nm-settings.c
8151           libnm-glib/nm-settings.h
8152                 - Make GetSecrets asynchronous on the server side
8153
8154 2007-09-20  Dan Williams  <dcbw@redhat.com>
8155
8156         * src/nm-manager.h
8157           src/nm-device.c
8158                 - (nm_device_activate): actually check if a given connection
8159                         exists before assuming it doesn't
8160
8161 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8162
8163         * libnm-util/nm-connection.c (register_default_creators): Use defined
8164         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8165
8166         * libnm-util/nm-setting.c: Define property name strings, use them.
8167         Implement NMSettingVPN and NMSettingVPNProperties settings.
8168         Implement NM_S_TYPE_GVALUE_HASH.
8169         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8170         (setting_connection_verify): Rename 'devtype' property to 'type'.
8171
8172         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8173         properties.
8174
8175         * src/vpn-manager/nm-vpn-service.c: Ditto.
8176
8177         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8178
8179         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8180         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8181
8182         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8183         names. NMSettingConnection->devtype got renamed to 'type'.
8184
8185         * src/nm-device-802-3-ethernet.c (find_best_connection):
8186         (real_get_best_connection): Ditto.
8187
8188         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8189
8190         * libnm-glib/nm-vpn-manager.[ch]: Update.
8191
8192 2007-09-19  Dan Williams  <dcbw@redhat.com>
8193
8194         * src/NetworkManagerAP.c
8195           src/NetworkManagerAP.h
8196           introspection/nm-access-point.xml
8197                 - Change strength-changed signal into a properties-changed signal
8198                         for all properties, not just strength.  Export that signal over dbus
8199                         so listeners don't have to poll NM for changes.
8200                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8201                         get exported over D-Bus, so break up the logic and let other bits
8202                         decided when to export the AP
8203                 - (nm_ap_new_from_ap): remove, unused
8204
8205         * src/nm-device-802-11-wireless.c
8206                 - (merge_scanned_ap): only export APs that are actually on the device
8207                         list, not every AP created internally
8208
8209         * libnm-glib/nm-access-point.c
8210           libnm-glib/nm-access-point.h
8211                 - Cache properties internally and only hit DBus when needed.  Get
8212                         property updates from NM signals
8213
8214 2007-09-16  Dan Williams  <dcbw@redhat.com>
8215
8216         * libnm-util/nm-connection.c
8217           libnm-util/nm-connection.h
8218                 - (nm_connection_for_each_setting_value): new function; iterate over
8219                         each setting's value and call a user-provided function with details
8220                         about that value
8221
8222         * libnm-util/nm-setting.c
8223           libnm-util/nm-setting.h
8224                 - (nm_setting_enumerate_values): new function; enumerate the values
8225                         of a specific NMSetting subclass for a user-provided function with
8226                         details about that value
8227                 - Change wep_tx_keyidx to a uint32
8228                 - Create settings value tables for each setting defining their type,
8229                         key name, offset into the NMSetting subclass' structure, and whether
8230                         they are required and/or a secret
8231                 - (nm_setting_populate_from_hash): generic function to populate an
8232                         NMSetting from a GHash table, make all settings use it
8233                 - (nm_setting_hash): generic function to derive a GHashTable from
8234                         an NMSetting object, make all settings use it
8235
8236 2007-09-14  Dan Williams  <dcbw@redhat.com>
8237
8238         Remove unused stuff in libnm-util
8239
8240         * configure.in
8241           libnm-util/Makefile.am
8242           libnm-util/cipher-private.h
8243           libnm-util/cipher-wep-ascii.c
8244           libnm-util/cipher-wep-ascii.h
8245           libnm-util/cipher-wep-hex.c
8246           libnm-util/cipher-wep-hex.h
8247           libnm-util/cipher-wep-passphrase.c
8248           libnm-util/cipher-wep-passphrase.h
8249           libnm-util/cipher-wpa-psk-hex.c
8250           libnm-util/cipher-wpa-psk-hex.h
8251           libnm-util/cipher-wpa-psk-passphrase.c
8252           libnm-util/cipher-wpa-psk-passphrase.h
8253           libnm-util/cipher.c
8254           libnm-util/cipher.h
8255           libnm-util/dbus-helpers.c
8256           libnm-util/dbus-helpers.h
8257           libnm-util/gnome-keyring-md5.c
8258           libnm-util/gnome-keyring-md5.h
8259           libnm-util/sha1.c
8260           libnm-util/sha1.h
8261           src/nm-device-802-11-wireless.c
8262           test/libnm-util/Makefile.am
8263           test/libnm-util/test-ciphers.c
8264           test/libnm-util/test-dbus-helpers.c
8265           test/libnm-util/test-inputs.h
8266                 - Removed
8267
8268 2007-09-14  Dan Williams  <dcbw@redhat.com>
8269
8270         * libnm-util/dbus-method-dispatcher.c
8271           libnm-util/dbus-method-dispatcher.h
8272                 - Remove, unused
8273
8274 2007-09-14  Dan Williams  <dcbw@redhat.com>
8275
8276         Implement deferred activation support in the device class.
8277
8278         * src/nm-device-interface.c
8279           src/nm-device-interface.h
8280                 - (nm_device_interface_activate): take more arguments to support
8281                         deferred activation; callers must pass one of (connection) OR
8282                         (service_name, connection_path)
8283                 - (impl_device_activate): connection validation is punted to the device
8284                         to be able to handle deferred activation.  Yes, this means errors
8285                         don't get returned from the Activate() dbus call, and yes, that
8286                         should be fixed somehow later.
8287
8288         * src/nm-device.c
8289           src/nm-device.h
8290                 - (clear_act_request): clear additional deferred activation stuff too
8291                 - (deferred_activation_timeout_cb): new function; clean up when
8292                         deferred activation times out.
8293                 - (deferred_activation_start_cb): new function; when the connection
8294                         finally becomes available, start device activation
8295                 - (nm_device_activate): attach to the right signals of the activation
8296                         request if we need to defer activation until the connection is valid
8297
8298         * src/NetworkManagerPolicy.c
8299                 - (nm_policy_device_change_check): update for additional arguments
8300                         required for nm_device_interface_activate().  Pass NULL for these
8301                         though because this function already knows exactly which
8302                         NMConnection to use
8303
8304 2007-09-14  Dan Williams  <dcbw@redhat.com>
8305
8306         Implement deferred activation handling in the NMActRequest class.  When a
8307         client wants to activate a device but must create the NMConnection details
8308         on the fly, there likely hasn't been enough time yet for NM to receive the
8309         new connection signal and grab all the connection details.  So the
8310         activation is deferred (and bounded by a timer) for a while, and if the
8311         connection appears within the window, it is activated.
8312
8313         * src/nm-activation-request.c
8314           src/nm-activation-request.h
8315                 - (nm_act_request_class_init): two new signals to support deferred
8316                         activation, to allow the listener to handle both timeout and success
8317                 - (nm_act_request_new_deferred): new function, starts the deferred
8318                         activation timeout handler and listens to the NMManager for
8319                         new-connection signals to notice when the connection comes in
8320
8321 2007-09-14  Dan Williams  <dcbw@redhat.com>
8322
8323         * src/nm-manager.h
8324           src/nm-manager.c
8325                 - (nm_manager_get_connection_service_name,
8326                    nm_manager_get_connection_dbus_path): get details about a connection
8327                         known internally by the NMManager
8328                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8329                         because NMConnection is now a GObject subclass
8330                 - Use constant for the gobject data tag used on NMConnection objects for
8331                         storing the associated DBusGProxy
8332
8333 2007-09-14  Dan Williams  <dcbw@redhat.com>
8334
8335         * utils/Makefile.am
8336           utils/nm-utils.c
8337           utils/nm-utils.h
8338           src/supplicant-manager/Makefile.am
8339           src/dhcp-manager/Makefile.am
8340           src/backends/Makefile.am
8341           src/named-manager/Makefile.am
8342           src/ppp-manager/Makefile.am
8343           src/vpn-manager/Makefile.am
8344           test/libnm-util/Makefile.am
8345           test/test-common/Makefile.am
8346                 - Remove utils/; it was unused
8347
8348 2007-09-13  Dan Williams  <dcbw@redhat.com>
8349
8350         * libnm-glib/nm-vpn-manager.h
8351           libnm-glib/nm-vpn-manager.c
8352                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8353
8354 2007-09-13  Dan Williams  <dcbw@redhat.com>
8355
8356         * src/nm-device-802-3-ethernet.c
8357                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8358                         netlink monitor carrier signals on dispose, not bring down.  The
8359                         carrier signals should be handled over the entire lifetime of the
8360                         device anyway, not created/destroyed on up or down.
8361
8362 2007-09-13  Dan Williams  <dcbw@redhat.com>
8363
8364         * libnm-glib/nm-device.c
8365           libnm-glib/nm-device.h
8366                 - (nm_device_activate): take a connection object path rather than an
8367                         NMConnection because NMConnection isn't exported over D-Bus and
8368                         therefore it dbus-glib can't automatically get an object path from it
8369
8370 2007-09-13  Dan Williams  <dcbw@redhat.com>
8371
8372         * libnm-util/nm-setting.c
8373                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8374
8375 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8376
8377         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8378
8379 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8380
8381         * src/vpn-manager/nm-vpn-connection.[ch]: 
8382         * src/vpn-manager/nm-vpn-manager.[ch]:
8383         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8384         dbus-glib, GObjects, signals etc.
8385
8386         * libnm-glib/nm-vpn-manager.[ch]: 
8387         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8388         so much, rewrite these too.
8389
8390         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8391         the new introspection files.
8392
8393         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8394
8395         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8396         the header with the same name from libnm-utils.
8397
8398         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8399
8400         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8401
8402         * introspection/nm-vpn-plugin.xml: Implement.
8403
8404         * introspection/nm-vpn-connection.xml: Implement.
8405
8406         * introspection/nm-vpn-manager.xml: Implement.
8407
8408         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8409         the named manager argument, it can just as easily get it as the caller.
8410         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8411
8412         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8413
8414         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8415
8416         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8417         libnm-utils.
8418
8419         * libnm-util/nm-connection.c: Ditto.
8420
8421         * src/NetworkManagerMain.h: Remove, it's finally empty.
8422
8423         * configure.in: Remove utils/ from build.
8424
8425         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8426         of hard-coded strings.
8427
8428         * utils/: Move it over to libnm-util.
8429
8430         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8431
8432         * dispatcher-daemon/Makefile.am: Ditto.
8433
8434         * src/Makefile.am: Ditto.
8435
8436 2007-09-12  Dan Williams  <dcbw@redhat.com>
8437
8438         Wireless connections can be made with config data from the applet now.
8439         
8440         Yay.
8441
8442         * src/supplicant-manager/nm-supplicant-config.h
8443           src/supplicant-manager/nm-supplicant-config.c
8444                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8445                 - (nm_supplicant_config_add_setting_wireless,
8446                    nm_supplicant_config_add_setting_wireless_security): new functions;
8447                         add key/value pairs from the settings objects to the supplicant
8448                         config
8449
8450         * src/nm-device-802-11-wireless.c
8451                 - (cull_scan_list): fix check to not prune currently associated AP
8452                 - (build_supplicant_config, real_act_stage2_config): call the functions
8453                         of the NMSupplicantConfig that parse settings objects rather than
8454                         doing it manually here
8455
8456 2007-09-12  Dan Williams  <dcbw@redhat.com>
8457
8458         * src/supplicant-manager/nm-supplicant-interface.c
8459           src/supplicant-manager/nm-supplicant-marshal.list
8460                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8461                         "connection-error" signal arguments should be STRING not CHAR
8462
8463 2007-09-12  Dan Williams  <dcbw@redhat.com>
8464
8465         * src/NetworkManagerUtils.c
8466           src/NetworkManagerUtils.h
8467                 - (nm_utils_hexstr2bin): new function
8468
8469 2007-09-11  Dan Williams  <dcbw@redhat.com>
8470
8471         * src/nm-manager.c
8472                 - (connection_get_settings_cb): emit connection-added signal
8473                 - (connection_removed_cb): uncomment bits for system settings service,
8474                         send connection-removed when appropriate
8475                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8476                         the stack by trying to g_object_set_data() on something that's
8477                         not a GObject; handle case where settings service returns
8478                         empty settings hash table
8479
8480 2007-09-11  Dan Williams  <dcbw@redhat.com>
8481
8482         * src/NetworkManagerPolicy.c
8483                 - (connection_added, connection_removed): trigger device change checks
8484                         on connection changes
8485
8486 2007-09-11  Dan Williams  <dcbw@redhat.com>
8487
8488         * src/nm-activation-request.c
8489                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8490
8491 2007-09-11  Dan Williams  <dcbw@redhat.com>
8492
8493         * src/nm-device-802-11-wireless.c
8494                 - (real_connection_secrets_updated): fix erroneous check
8495
8496 2007-09-11  Dan Williams  <dcbw@redhat.com>
8497
8498         * introspection/nm-device.xml
8499           libnm-glib/nm-device.c
8500           libnm-glib/nm-device.c
8501                 - Fix Activate call argument borkage; Activate takes 3 arguments
8502
8503 2007-09-11  Dan Williams  <dcbw@redhat.com>
8504
8505         * libnm-glib/nm-access-point.c
8506           libnm-glib/nm-access-point.c
8507                 - (nm_access_point_get_frequency): now returns guint32 to match
8508                         property change on 2007-09-10
8509
8510 2007-09-11  Dan Williams  <dcbw@redhat.com>
8511
8512         * src/nm-device-802-11-wireless.c
8513                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8514                         somewhere defines 'index' and I missed this one when I fixed the
8515                         shadow declaration errors earlier
8516
8517 2007-09-11  Dan Williams  <dcbw@redhat.com>
8518
8519         * libnm-util/nm-connection.c
8520                 - (nm_connection_update_secrets, need_secrets_check): move
8521                         802-11-wireless-security need_secrets checks to the setting object
8522                         itself, where it belongs
8523
8524         * libnm-util/nm-setting.c
8525           libnm-util/nm-setting.h
8526                 - (nm_setting_need_secrets): new function
8527                 - (setting_wireless_security_verify,
8528                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8529                 - (setting_wireless_security_need_secrets): mostly copy code over
8530                         from nm-connection.c
8531
8532 2007-09-11  Dan Williams  <dcbw@redhat.com>
8533
8534         * libnm-util/nm-setting.c
8535           libnm-util/nm-setting.h
8536                 - (nm_setting_update_secrets): new function; add a virtual function that
8537                         subclasses can implement to update their secrets
8538                 - (setting_wireless_security_update_secrets): implement that function
8539                         for the 802-11-wireless-security subclass
8540
8541         * libnm-util/nm-connection.c
8542           libnm-util/nm-connection.h
8543                 - (nm_connection_update_secrets): update secrets for a Setting and
8544                         emit a signal on success
8545
8546         * src/nm-manager.c
8547           src/nm-manager.h
8548           src/nm-marshal.list
8549                 - (connection_get_settings_cb): enable system settings bits
8550                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8551                         to request secrets from the settings dbus service and to
8552                         push those secrets to the NMConnection itself
8553
8554         * src/nm-activation-request.c
8555           src/nm-activation-request.h
8556                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8557                         currently being activated, and proxy that signal to other listeners.
8558                         Goes through the activation request because the activation request
8559                         is the thing that manages the lifetime of the NMConnection that's
8560                         being activated.
8561
8562         * src/nm-device-802-11-wireless.c
8563                 - (real_connection_secrets_updated): implement the connection secrets
8564                         updated notification and restart activation when secrets are
8565                         received
8566                 - (real_act_stage2_config): request secrets from the settings dbus
8567                         service if secrets are needed
8568
8569         * src/nm-device.c
8570           src/nm-device.h
8571                 - (clear_act_request, nm_device_activation_cancel,
8572                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8573                         where the activation request is cleared
8574                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8575                         updated secrets signal of activation request and add a function
8576                         that subclasses can override to handle it easily
8577
8578 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8579
8580         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8581         removal of NetworkManagerAPList.
8582
8583 2007-09-10  Dan Williams  <dcbw@redhat.com>
8584
8585         * src/NetworkManagerAP.c
8586           src/NetworkManagerAP.h
8587           introspection/nm-access-point.xml
8588                 - Change 'freq' property to a guint32 instead of a double since we
8589                         weren't using the floating point bits anyway
8590
8591 2007-09-10  Dan Williams  <dcbw@redhat.com>
8592
8593         * NetworkManagerAP.c
8594           NetworkManagerAP.h
8595           NetworkManagerPolicy.c
8596           NetworkManagerSystem.c
8597           NetworkManagerUtils.c
8598           NetworkManagerUtils.h
8599           nm-device-802-11-wireless.c
8600           nm-device-802-3-ethernet.c
8601           nm-hal-manager.c
8602           nm-manager.c
8603           vpn-manager/nm-dbus-vpn.c
8604                 - Warning fixes; casts and removal of unused variables
8605
8606 2007-09-10  Dan Williams  <dcbw@redhat.com>
8607
8608         * include/NetworkManager.h
8609                 - Kill NMNetworkType; AP types don't matter any more
8610
8611         * src/NetworkManagerAPList.c
8612           src/NetworkManagerAPList.h
8613           src/Makefile.am
8614                 - Kill; NMAccessPointList has outlived it's usefulness
8615
8616         * src/NetworkManagerAP.c
8617           src/NetworkManagerAP.h
8618                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8619                         functions; check if an NMConnection object is compatible with the
8620                         settings of this AP
8621                 - (freq_to_channel, channel_to_freq): utility functions for
8622                         channel <-> frequency conversion
8623
8624         * src/nm-device.c
8625           src/nm-device.h
8626                 - (nm_device_get_best_connection): pass the specific object around
8627                          (which might be the object path of a specific AP to connect to).
8628                          The get_best_connection() call should populate this on return
8629                          if needed (wireless does).
8630
8631         * src/nm-device-802-3-ethernet.c
8632                 - (real_get_best_connection): handle specific_object argument
8633
8634         * src/NetworkManager.c
8635           src/NetworkManagerMain.h
8636                 - Remove unused includes
8637
8638         * src/nm-device-802-11-wireless.c
8639           src/nm-device-802-11-wireless.h
8640                 - Convert the ap_list into a GSList from an NMAccessPointList
8641                 - No need for caching the 'activation_ap' since this is now determined
8642                         from the specific_object of the activation request, which is
8643                         populated from the get_best_connection() call or from a user request
8644                 - (nm_device_802_11_wireless_update_bssid): fix warning
8645                 - (get_wireless_capabilities): fix error message format arguments
8646                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8647                 - (find_best_connection, real_get_best_connection): implement
8648                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8649                         move here from NetworkManagerAPList
8650                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8651                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8652                         already verified earlier
8653                 - (real_act_stage2_config): use nm_connection_need_secrets()
8654
8655         * src/NetworkManagerPolicy.c
8656                 - (nm_policy_auto_get_best_device): handle specific objects
8657                 - (create_connection): remove; automatic connection creation functionality
8658                         is handled by the Connection objects
8659                 - (nm_policy_device_change_check): handle specific_object
8660
8661         * libnm-util/nm-connection.c
8662                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8663
8664 2007-09-10  Dan Williams  <dcbw@redhat.com>
8665
8666         * src/nm-manager.c
8667                 - (query_connections): fix uninitialized variable problem that caused
8668                         segfault
8669                 - (nm_manager_add_device): take devices down on startup so that we can
8670                         be assured that nm_device_is_up() won't short-circuit the init
8671                         process.  Hack until the is_up check gets split into two pieces
8672                         that aren't behaviorally confusing.
8673
8674 2007-09-09  Dan Williams  <dcbw@redhat.com>
8675
8676         * introspection/nm-device.xml
8677                 - The 'Activate' method now takes 3 arguments, a service name for the
8678                 settings service (user or system), the object path of the connection
8679                 to activate, and the specific object to activate, if any
8680
8681         * src/nm-device-interface.c
8682                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8683                 Add error bits
8684                 - (impl_device_activate): adapt to new Activate arguments; validate
8685                 the service name and get the Connection object from the NMManager
8686                 before starting to activate the device with the specified connection
8687
8688         * src/nm-device-802-3-ethernet.c
8689                 - (real_get_best_connection): find the best connection, or create a
8690                 default one if no existing connections can be used
8691
8692         * src/NetworkManagerPolicy.c
8693                 - (nm_policy_auto_get_best_device): Get the device's best connection
8694                 and only pick the device if it has one
8695                 - (nm_policy_device_change_check): disable wireless bits for now until
8696                 wireless get_best_connection() can be implemented (replacing "best_ap");
8697                 don't create a default connection here as the device subclass will do
8698                 that if needed
8699
8700         * src/nm-manager.h
8701           src/nm-manager.c
8702                 - (nm_manager_get): make NMManager a singleton and expose the getter
8703                 internally
8704                 - Rework internal NMManager connection handling to use the same
8705                 routines for both the system and user settings services.  Most calls
8706                 take a new NMConnectionType argument specifying either system or user
8707                 connections
8708                 - (nm_manager_get_connection_by_object_path): new function; get a
8709                 connection keyed on its object path
8710
8711         * src/NetworkManager.c
8712                 - (main): use nm_manager_get()
8713
8714 2007-09-09  Dan Williams  <dcbw@redhat.com>
8715
8716         * src/nm-device.h
8717           src/nm-device.c
8718                 - (nm_device_get_best_connection): new function; get best connection
8719                         for the device at that time
8720
8721 2007-09-09  Dan Williams  <dcbw@redhat.com>
8722
8723         * src/nm-device-interface.h
8724                 - Add NMDeviceInterfaceError with an UnknownConnection error
8725
8726 2007-09-09  Dan Williams  <dcbw@redhat.com>
8727
8728         Stupid mistake on my part; object path and interface for settings service
8729         and connection objects can be the same, only the service name must be
8730         different for the system and user settings services.
8731
8732         * include/NetworkManager.h
8733           src/nm-manager.c
8734           introspection/nm-settings-connection.xml
8735           introspection/nm-settings.xml
8736           libnm-glib/nm-settings.c
8737                 - (nm_connection_settings_init, query_user_connections,
8738                    new_connection_cb): Unify NetworkManagerSettings and Connection
8739                    interface name and object path
8740
8741 2007-09-06  Dan Williams  <dcbw@redhat.com>
8742
8743         * libnm-glib/nm-object.c
8744                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8745                    nm_object_get_int_property, nm_object_get_uint_property,
8746                    nm_object_get_boolean_property, nm_object_get_byte_property,
8747                    nm_object_get_double_property, nm_object_get_byte_array_property):
8748                         clear GValues after copying their contents, fixes memory leaks
8749                         after every property access because dbus-glib copies the values
8750                         from the DBusMessage into the GValue already.
8751
8752 2007-09-06  Dan Williams  <dcbw@redhat.com>
8753
8754         * introspection/nm-access-point.xml
8755                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8756                         them to be.  There's some magic property name parsing going on in
8757                         dbus-glib that breaks up property names based on studly-caps and
8758                         puts - between words.
8759
8760         * libnm-glib/nm-access-point.c
8761                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8762                         Fix property names
8763
8764 2007-09-06  Dan Williams  <dcbw@redhat.com>
8765
8766         * src/nm-manager.c
8767                 - (nm_manager_user_connections_destroy): clear the user connections hash
8768                         table, don't destroy it
8769                 - (finalize): only destroy the hash table on NMManager finalization
8770
8771 2007-09-02  Dan Williams  <dcbw@redhat.com>
8772
8773         * include/NetworkManager.h
8774           libnm-glib/nm-settings.c
8775                 - defines for the user settings daemon D-Bus bits
8776
8777         * src/NetworkManager.c
8778                 - Remove stuff that referred to the old NetworkManagerInfo service
8779
8780         * src/vpn-manager/nm-dbus-vpn.h
8781                 - Move old NMI defines to the only place they are used still
8782
8783         * libnm-util/nm-connection.c
8784           libnm-util/nm-connection.h
8785           src/nm-activation-request.c
8786                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8787
8788         * src/nm-manager.c
8789           src/nm-manager.h
8790                 - Get connections and their settings from the user settings daemon
8791                         at the appropriate times
8792
8793 2007-09-02  Dan Williams  <dcbw@redhat.com>
8794
8795         * libnm-util/nm-setting.c
8796                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8797                 - (setting_wireless_hash): set the right value on the item
8798
8799 2007-09-02  Dan Williams  <dcbw@redhat.com>
8800
8801         * test/Makefile.am
8802           test/nminfotest.c
8803                 - Remove, no longer useful
8804
8805 2007-08-30  Dan Williams  <dcbw@redhat.com>
8806
8807         * src/Makefile.am
8808           src/NetworkManagerDbus.c
8809           src/NetworkManagerDbus.h
8810           src/vpn-manager/nm-dbus-vpn.c
8811                 - Remove, no longer necessary.  Move last bits to the only place its
8812                 used, in nm-dbus-vpn.c
8813
8814         * src/NetworkManagerAPList.c
8815           src/nm-device.c
8816           src/NetworkManager.c
8817           src/nm-device-802-11-wireless.c
8818           src/vpn-manager/nm-vpn-manager.c
8819           src/vpn-manager/nm-vpn-service.c
8820           src/NetworkManagerPolicy.c
8821           src/nm-manager.c
8822                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8823                 that was message_is_error()
8824
8825 2007-08-30  Dan Williams  <dcbw@redhat.com>
8826
8827         * libnm-util/sha1.c
8828                 - Include config.h to get defines for endiannes (gnome.org #420216)
8829
8830 2007-08-30  Dan Williams  <dcbw@redhat.com>
8831
8832         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8833
8834         * src/ppp-manager/Makefile.am
8835                 - use -fPIC (gnome.org #471825)
8836
8837 2007-08-29  Dan Williams  <dcbw@redhat.com>
8838
8839         * include/NetworkManager.h
8840                 - Keep NMConnection object path in sync
8841
8842         * libnm-glib/nm-settings.c
8843           libnm-glib/nm-settings.h
8844                 - Break D-Bus object registration out of the init function, because
8845                 every object that's exported over D-Bus needs to use the _same_
8846                 DBusConnection.  Otherwise, each object would get a different object
8847                 path tree and wouldn't be callable.
8848
8849 2007-08-29  Dan Williams  <dcbw@redhat.com>
8850
8851         * libnm-util/nm-setting.h
8852           libnm-util/nm-setting.c
8853           libnm-util/nm-connection.c
8854           src/NetworkManagerPolicy.c
8855                 - 'info' settings object should be 'connection' says the spec
8856                 at NetworkManagerConfigurationSpecification
8857
8858 2007-08-29  Dan Williams  <dcbw@redhat.com>
8859
8860         * libnm-glib/nm-settings.c
8861           libnm-glib/nm-settings.h
8862                 - make the dbus path a property of the object, and autogenerate it.
8863                 It can't be composed of the 'id' field becuase that's not available
8864                 yet during the GObject creation in nm_connection_settings_init()
8865
8866 2007-08-29  Dan Williams  <dcbw@redhat.com>
8867
8868         * introspection/nm-settings-connection.xml
8869           introspection/nm-settings.xml
8870                 - Service name -> NetworkManagerUserSettings because two services
8871                 can't share part of the same path.  I'm not really sure how we'll use
8872                 the same code with the system-settings daemon...
8873
8874 2007-08-28  Dan Williams  <dcbw@redhat.com>
8875
8876         * src/nm-device-interface.c
8877           src/nm-device-interface.h
8878                 - Kill one more bit of NMData
8879
8880 2007-08-28  Dan Williams  <dcbw@redhat.com>
8881
8882         * src/NetworkManagerSystem.h
8883           src/nm-device.c
8884           src/nm-device.h
8885           src/nm-hal-manager.c
8886           src/NetworkManager.c
8887           src/nm-device-802-11-wireless.c
8888           src/nm-hal-manager.h
8889           src/nm-device-802-3-ethernet.c
8890           src/vpn-manager/nm-vpn-service.h
8891           src/vpn-manager/nm-vpn-manager.c
8892           src/vpn-manager/nm-vpn-manager.h
8893           src/vpn-manager/nm-vpn-service.c
8894           src/nm-device-802-11-wireless.h
8895           src/NetworkManagerMain.h
8896           src/nm-device-802-3-ethernet.h
8897           src/backends/NetworkManagerGentoo.c
8898           src/backends/NetworkManagerPaldo.c
8899           src/backends/NetworkManagerFrugalware.c
8900           src/backends/NetworkManagerRedHat.c
8901           src/backends/NetworkManagerSlackware.c
8902           src/backends/NetworkManagerGeneric.c
8903           src/backends/NetworkManagerArch.c
8904           src/backends/NetworkManagerSuSE.c
8905           src/backends/NetworkManagerGeneric.h
8906           src/backends/NetworkManagerDebian.c
8907                 - Kill NMData
8908
8909 2007-08-28  Dan Williams  <dcbw@redhat.com>
8910
8911         * src/NetworkManagerMain.h
8912           src/nm-device-802-11-wireless.c
8913           src/NetworkManager.c
8914                 - Remove invalid AP list from NMData; need to rework this somewhat, but
8915                 for now we should set the 'invalid' property on individual APs, and when
8916                 we need to invalidate a whole ESS, set the 'invalid' on every member of
8917                 that ESS
8918
8919 2007-08-28  Dan Williams  <dcbw@redhat.com>
8920
8921         * src/NetworkManagerAP.c
8922           src/NetworkManagerAP.h
8923                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8924                         'autoconnect' property instead
8925
8926         * src/NetworkManager.c
8927           src/NetworkManagerMain.h
8928           src/NetworkManagerPolicy.c
8929           src/NetworkManagerPolicy.h
8930                 - Remove the 'allowed_ap_list', which should be replaced by 
8931                         NMConnection/NMSettings instead, since _those_ are the allowed
8932                         things that NM can connect to
8933
8934         * src/nm-device-802-11-wireless.c
8935                 - Remove both allowed_ap_list usage and 'fallback' checking
8936
8937 2007-08-28  Dan Williams  <dcbw@redhat.com>
8938
8939         * src/nm-device.c
8940           src/named-manager/nm-named-manager.c
8941           src/named-manager/nm-named-manager.h
8942           src/NetworkManager.c
8943           src/vpn-manager/nm-vpn-manager.c
8944           src/NetworkManagerMain.h
8945           src/NetworkManagerSystem.c
8946                 - Remove the named-manager object from NMData structure in preparation
8947                 for NMData's timely death.  Make the NMNamedManager the singleton that
8948                 it really is
8949
8950 2007-08-28  Dan Williams  <dcbw@redhat.com>
8951
8952         Remove NMAPSecurity objects, they are replaced with flags on the APs for
8953         each AP's capabilities, and by NMConnection/NMSettings objects for user
8954         defined connections.
8955
8956         * include/NetworkManager.h
8957                 - Redefine 802.11 security properties.  There are now device capabilities
8958                         and AP flags and AP security flags.  It was way to unclear before.
8959
8960         * src/Makefile.am
8961           src/nm-ap-security-leap.h
8962           src/nm-ap-security-leap.c
8963           src/nm-ap-security-wpa-eap.c
8964           src/nm-ap-security-wpa-eap.h
8965           src/nm-ap-security-private.h
8966           src/nm-ap-security-wpa-psk.c
8967           src/nm-ap-security-wpa-psk.h
8968           src/nm-ap-security-wep.c
8969           src/nm-ap-security-wep.h
8970           src/nm-ap-security.c
8971           src/nm-ap-security.h
8972                 - Removed, to be replaced with NMConnection/NMSettings objects
8973
8974         * src/nm-dbus-nmi.c
8975           src/nm-dbus-nmi.h
8976                 - Removed, to be replaced by code that talks to the new info daemon
8977                         interface and gets NMConnection/NMSettings objects
8978
8979         * src/backends/NetworkManagerSuSE.c
8980                 - Remove usage of NMAPSecurity; should be replaced by a system-level
8981                         info-daemon that does the same thing but talks the new info-daemon
8982                         D-Bus interface
8983
8984         * src/NetworkManagerAP.h
8985           src/NetworkManagerAP.c
8986           src/NetworkManagerAPList.c
8987           libnm-glib/libnm-glib-test.c
8988                 - Remove usage of NMAPSecurity objects and adjust to new flags for
8989                         WPA/RSN
8990
8991         * libnm-glib/nm-access-point.c
8992           libnm-glib/nm-access-point.h
8993           introspection/nm-access-point.xml
8994           test/nm-tool.c
8995                 - Adjust to new flags for AP security
8996
8997         * utils/nm-utils.c
8998           utils/nm-utils.h
8999           src/vpn-manager/nm-dbus-vpn.c
9000                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9001                         stuff which is the only place it's used
9002
9003         * src/nm-device-interface.c
9004           src/nm-device-interface.h
9005           introspection/nm-device.xml
9006           src/nm-activation-request.c
9007           src/nm-activation-request.h
9008           src/nm-device.c
9009                 - Add a new 'specific_object' argument that hints to NM what actual
9010                         AP or other device-specific thing the connection should apply to.
9011                         NMConnection objects can apply to more than one actual device/AP.
9012
9013         * libnm-util/nm-connection.c
9014         * libnm-util/nm-connection.h
9015                 - Add 'have_secrets" call stubs
9016
9017         * libnm-util/cipher.h
9018                 - Move NM_AUTH_TYPE_* defines here for now
9019
9020         * src/nm-device-802-11-wireless.c
9021                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9022                         NMSettings objects
9023
9024         * src/NetworkManagerDbus.c
9025         * src/NetworkManagerPolicy.c
9026                 - Remove usage of update_allowed_networks, should be pushing data in
9027                         a different manner
9028
9029 2007-08-27  Tambet Ingo  <tambet@gmail.com>
9030
9031         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
9032         dbus-glib frees it when the call is done.
9033
9034 2007-08-26  Dan Williams  <dcbw@redhat.com>
9035
9036         * introspection/nm-device.xml
9037                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9038
9039 2007-08-26  Dan Williams  <dcbw@redhat.com>
9040
9041         * src/nm-device-802-3-ethernet.c
9042                 - (constructor): move connection of interface-connected/disconnected
9043                         signals here from real_bring_up().  Should be listening to netlink
9044                         for carrier events no matter what the initial state of the device
9045                         is.
9046
9047 2007-08-26  Dan Williams  <dcbw@redhat.com>
9048
9049         * src/nm-netlink-monitor.c
9050                 - (nm_netlink_monitor_class_init): fix marshalling types for
9051                         interface-connected/interface-disconnected
9052                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9053                         check
9054
9055 2007-08-26  Dan Williams  <dcbw@redhat.com>
9056
9057         Convert to using interface indexes as the primary method of identifying
9058         devices inside NetworkManager.  Indexes are (?) stable, but devices can
9059         be renamed at any time.  Device object paths now refer to the device
9060         index rather than the name, and you can map those two manually if you like
9061         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
9062         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9063         to use interface indexes rather than names.
9064
9065 2007-08-26  Dan Williams  <dcbw@redhat.com>
9066
9067         * src/nm-netlink-monitor.h
9068                 - Remove one last bit of wireless-event signal
9069
9070 2007-08-26  Dan Williams  <dcbw@redhat.com>
9071
9072         * src/nm-netlink-monitor.c
9073                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9074                         don't need the 'wireless-event' signal anymore since that's all
9075                         handled by wpa_supplicant
9076
9077 2007-08-25  Dan Williams  <dcbw@redhat.com>
9078
9079         It's 2007. Remove support for drivers that don't support wireless scanning.
9080
9081         * test/nm-tool.c
9082           include/NetworkManager.h
9083           src/NetworkManagerUtils.c
9084           src/NetworkManagerPolicy.c
9085           src/nm-device-802-11-wireless.c
9086                 - Remove special handling for non-scanning devices and mark them
9087                         as unsupported/unhandled
9088
9089 2007-08-20  Dan Williams  <dcbw@redhat.com>
9090
9091         * src/nm-device-802-11-wireless.c
9092           src/nm-device-802-3-ethernet.c
9093                 - (real_is_up): move device-specific tests before generic IFF_UP test,
9094                         because when the card is pulled or the module removed, the device
9095                         is already !IFF_UP and then device-specific cleanup (removing
9096                         the supplicant interface, periodic checks, etc) never gets done
9097
9098 2007-08-20  Dan Williams  <dcbw@redhat.com>
9099
9100         * src/nm-manager.c
9101                 - (nm_manager_remove_device): bring device down before disconnecting
9102                         signal handlers, so that the 'state' signal will get broadcast when
9103                         the device enters the DOWN state
9104                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9105                         of states that cause the NMManager to recheck its state
9106
9107 2007-08-20  Dan Williams  <dcbw@redhat.com>
9108
9109         * src/supplicant-manager/nm-supplicant-interface.c
9110                 - (interface_disconnect_done): don't try to dispose of the net proxy
9111                         when it may already have been disposed of
9112
9113 2007-08-20  Dan Williams  <dcbw@redhat.com>
9114
9115         * src/nm-device-802-11-wireless.c
9116                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9117                         the SSID isn't available; this can happen when the card is pulled
9118                         or the module unloaded, during the post-removal deactivation
9119                         paths, when the ioctl returns ENODEV
9120
9121 2007-08-20  Dan Williams  <dcbw@redhat.com>
9122
9123         * src/nm-device-802-11-wireless.c
9124                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9125                         frequency, and mode match.  Applets are now responsible for grouping
9126                         access points
9127
9128 2007-08-20  Dan Williams  <dcbw@redhat.com>
9129
9130         * src/NetworkManagerAP.c
9131         * src/NetworkManagerAP.h
9132                 - (nm_ap_print_self): new function
9133
9134         * src/NetworkManagerAPList.c
9135                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9136                         to do it all here
9137         
9138 2007-08-17  Dan Williams  <dcbw@redhat.com>
9139
9140         * src/nm-device-802-3-ethernet.c
9141                 - (real_bring_down): don't try to dispose of stuff that might not
9142                         exist
9143
9144 2007-08-17  Dan Williams  <dcbw@redhat.com>
9145
9146         * src/NetworkManagerAP.c
9147                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9148                         applet.  This ensures that the case between the seen-bssids and
9149                         the bssids reported by the driver match.
9150
9151 2007-08-17  Dan Williams  <dcbw@redhat.com>
9152
9153         * src/nm-device-802-11-wireless.c
9154                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9155                         we dispose of the interface proxy in NM
9156
9157 2007-08-16  Dan Williams  <dcbw@redhat.com>
9158
9159         * libnm-glib/nm-client.c
9160                 - (nm_client_init): create VPN connections hash table with key free
9161                         function
9162                 - (proxy_vpn_connection_added): VPN connections hash table key should
9163                         be a duplicated value, not the same memory address as the VPN
9164                         connection name.  This is because the VPN connection name could
9165                         potentially be freed and set to something else during the lifetime
9166                         of the NMVPNConnection object.
9167
9168 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9169
9170         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9171         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9172         with the file descriptors. Send a child setup function to change the pppd
9173         progress group.
9174
9175 2007-08-15  Dan Williams  <dcbw@redhat.com>
9176
9177         * src/supplicant-manager/nm-supplicant-interface.c
9178                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9179                         an interface
9180                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9181                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9182                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9183                         the interface internally
9184
9185 2007-08-15  Dan Williams  <dcbw@redhat.com>
9186
9187         * src/nm-device-802-11-wireless.c
9188                 - (real_bring_down): move most of this function into device_cleanup()
9189                         so that it can be called from elsewhere
9190                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9191                         and stuff on dispose.  These would normally get cleaned up when
9192                         the device is marked down and deactivated, but when the device is
9193                         hot-unplugged, it's already down and real_down() never gets run
9194
9195 2007-08-15  Dan Williams  <dcbw@redhat.com>
9196
9197         * src/nm-dbus-nmi.c
9198                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9199                         caused a reference leak on device for which NM requested a key
9200
9201 2007-08-15  Dan Williams  <dcbw@redhat.com>
9202
9203         * libnm-glib/nm-client.c
9204                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9205
9206 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9207
9208         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9209         nothing is using it at the moment, but it'll be all useful and stuff later on.
9210
9211         * libnm-util/nm-setting.h: Define NMSettingPPP.
9212
9213         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9214
9215         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9216
9217         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9218
9219         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9220
9221         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9222
9223 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9224
9225         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9226
9227         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9228         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9229         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9230         name and different arguments and it won't compile anymore. To fix this, we now have
9231         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9232         that is new API + compatibility API and used by the daemon. The other, 
9233         nm-manager-client.xml is only the new API without compatibility bits and is used
9234         by libnm-glib to make it compile.
9235
9236         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9237
9238         * src/nm-manager.c (impl_manager_legacy_sleep)
9239         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9240         interface functions for 0.6 branch.
9241
9242 2007-08-14  Dan Williams  <dcbw@redhat.com>
9243
9244         * src/NetworkManagerAP.c
9245                 - (nm_ap_new_from_properties): fix mistaken check of return value
9246                         from memcmp (should expect 0)
9247
9248 2007-08-14  Dan Williams  <dcbw@redhat.com>
9249
9250         (force-commit to fix wrong comment and partial commit of r2685; this
9251          commit actually applies to r2685)
9252
9253         * src/NetworkManagerUtils.c
9254                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9255                         ignores trailing nulls in the SSID to work around mismatches in
9256                         expectations between WEXT and what the info-daemon passes back.  The
9257                         info-daemon would pass back the correct length, but due to the
9258                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9259                         the device would always have an SSID + 1 depending on what versions
9260                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9261                         visible by just quitting the applet and relaunching, which caused
9262                         NM to reassociated to the same network over again when reloading
9263                         the save networks.
9264
9265         * src/NetworkManagerPolicy.c
9266           src/NetworkManagerUtils.h
9267           src/nm-device-802-11-wireless.c
9268                 - Update for new parameter to nm_utils_same_ssid()
9269
9270 2007-08-14  Dan Williams  <dcbw@redhat.com>
9271
9272         * src/NetworkManagerAP.c
9273                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9274                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9275                         setting the BSSID to all 0s.  That confused the heck out of NM,
9276                         plus it's useless and probably out-of-spec.
9277
9278 2007-08-14  Dan Williams  <dcbw@redhat.com>
9279
9280         * callouts/Makefile.am
9281           src/dhcp-manager/nm-dhcp-manager.c
9282           src/dhcp-manager/nm-dhcp-manager.h
9283           src/dhcp-manager/Makefile.am
9284                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9285
9286 2007-08-14  Dan Williams  <dcbw@redhat.com>
9287
9288         * src/dhcp-manager/nm-dhcp-manager.c
9289                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9290                         it's really needed, get rid of unused xtra_args parameter
9291
9292 2007-08-14  Dan Williams  <dcbw@redhat.com>
9293
9294         * include/NetworkManagerVPN.h
9295           src/vpn-manager/nm-dbus-vpn.c
9296           src/vpn-manager/nm-dbus-vpn.h
9297           src/vpn-manager/nm-vpn-act-request.c
9298           src/vpn-manager/nm-vpn-act-request.h
9299           src/vpn-manager/nm-vpn-service.c
9300           src/vpn-manager/nm-vpn-service.h
9301           libnm-glib/nm-vpn-connection.c
9302           libnm-glib/nm-vpn-connection.h
9303           libnm-glib/nm-client.h
9304                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9305                         NMVPNServiceState to clarify what they apply to
9306                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9307                         NMVPNActStage -> NMVPNConnectionState for the same reason
9308
9309         * libnm-glib/nm-client.c
9310                 - Constant + type renames from above
9311                 - Properly handle NameOwnerChanged/manager_running signals
9312                         for NM service; only emit when state really changes
9313                 - Use hash tables correctly so that the key (which was previously owned
9314                         by the D-Bus message) now has the same lifetime as the value, since
9315                         the key is now taken from the the NMVPNConnection itself.  This
9316                         really fixes the double-VPN names in the applet
9317
9318 2007-08-13  Dan Williams  <dcbw@redhat.com>
9319
9320         Patch from Michael Biebl <biebl@debian.org>
9321
9322         * po/POTFILES.in
9323           po/POTFILES.skip
9324                 - Update for vpn-properties move
9325
9326 2007-08-13  Dan Williams  <dcbw@redhat.com>
9327
9328         * libnm-glib/nm-client.c
9329                 - Convert internal VPN connection tracking from a list to a hash table
9330                         to easily avoid duplicates
9331                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9332                         must be freed by the caller, like nm_client_get_devices()
9333                 - (nm_client_remove_vpn_connection): don't let the removal signal
9334                         leak through for NMVPNConnection objects that aren't actually
9335                         tracked.
9336                 - (manager_running): throw away VPN connection list when NM goes away,
9337                         like with the device list
9338
9339 2007-08-13  Dan Williams  <dcbw@redhat.com>
9340
9341         * src/dhcp-manager/nm-dhcp-manager.c
9342                 - Stop any dhclient instance that might be already running for a
9343                         particular interface before starting an NM spawned dhclient.  Fixes
9344                         dhclient processes left over if NM crashes, stuff like that.
9345
9346 2007-08-13  Dan Williams  <dcbw@redhat.com>
9347
9348         * src/NetworkManagerAP.c
9349                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9350                         when the AP wasn't broadcasting it's SSID
9351
9352 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9353
9354         * include/NetworkManager.h: added DBus path for connection settings.
9355
9356         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9357         nm_connection_settings_signal_updated,
9358         nm_connection_settings_signal_removed): new functions to wrap the
9359         objects' signals.
9360         (nm_connection_settings_init): register GObject with DBus.
9361         (nm_connection_settings_get_dbus_object_path): new function.
9362
9363         * libnm-glib/Makefile.am: added libnmutil to link flags.
9364
9365 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9366
9367         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9368
9369         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9370         libnm_glib directory got merged with libnm-glib/.
9371
9372         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9373
9374         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9375         Rename the library from libnm-glib to libnm_glib to maintain the library API
9376         compatibility with 0.6 branch.
9377
9378         * Makefile.am: Remove gnome/ SUBDIR.
9379
9380         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9381
9382         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9383
9384         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9385
9386         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9387         anymore.
9388         Remove checks for wpa_supplicant binary, it's used over dbus.
9389         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9390
9391         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9392         Link the binaries with libnm_glib.la.
9393
9394 2007-08-12  Dan Williams  <dcbw@redhat.com>
9395
9396         * src/NetworkManagerPolicy.c
9397                 - (nm_policy_device_change_check): fix policy to deactivate old device
9398                         before activating new one, at least until the multiple active
9399                         device support lands
9400
9401 2007-08-12  Dan Williams  <dcbw@redhat.com>
9402
9403         * src/NetworkManagerPolicy.c
9404                 - (nm_policy_new): hook up to connection-added / connection-removed
9405                         signals instead of connections-changed
9406
9407 2007-08-12  Dan Williams  <dcbw@redhat.com>
9408
9409         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9410         Robert Frank <rfrank@redhat.com>
9411
9412         * src/dhcp-manager/nm-dhcp-manager.c
9413           src/dhcp-manager/nm-dhcp-manager.c
9414           src/nm-device.c
9415                 - Spawn and communicate with dhclient directly, through means of a
9416                 custom dhclient callout script.  Process callout D-Bus signals
9417                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9418                 sent via gobject signals rather than being driven by the dhcp manager
9419                 directly.
9420
9421 2007-08-12  Dan Williams  <dcbw@redhat.com>
9422
9423         * callouts/nm-dhcp-client-action.c
9424                 - (build_message): ignore non-DHCP-related environment variables
9425
9426 2007-08-12  Dan Williams  <dcbw@redhat.com>
9427
9428         * Makefile.am
9429           configure.in
9430           callouts/Makefile.am
9431           callouts/nm-dhcp-client-action.c
9432           callouts/nm-dhcp-client.conf
9433                 - Add dhclient-executed callout that takes the place of dhclient-script
9434                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9435                 NM then listens for
9436
9437 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9438
9439         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9440
9441         * libnm-glib/nm-client.h:
9442         * libnm-glib/nm-object.h:
9443         * libnm-glib/nm-vpn-connection.h:
9444         * libnm-glib/nm-settings.h:
9445         * libnm-glib/nm-device.h:
9446         * libnm-glib/nm-ip4-config.h:
9447         * libnm-glib/nm-access-point.h:
9448         * libnm-glib/nm-device-802-3-ethernet.h:
9449         * libnm-util/nm-setting.h: 
9450         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9451
9452         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9453
9454         * libnm-glib/nm-access-point.c: Strength has type char.
9455
9456         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9457         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9458
9459         * introspection/nm-access-point.xml: Strength property is char, not int.
9460
9461         * src/NetworkManagerAP.c (set_property): Set strength from char.
9462         (get_property): Handle hidden APs (with empty SSID).
9463         Get strength value from char.
9464         (nm_ap_class_init): Strength property has char type.
9465
9466 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9467
9468         * introspection/Makefile.am:
9469         * introspection/nm-settings.xml:
9470         * introspection/nm-settings-connection.xml: added Settings interfaces.
9471
9472         * libnm-glib/nm-settings.[ch]:
9473         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9474         containing the DBus implementation.
9475
9476 2007-07-26  Dan Williams  <dcbw@redhat.com>
9477
9478         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9479
9480         * src/NetworkManagerSystem.c
9481                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9482                         same subnet (#437396)
9483
9484 2007-07-26  Dan Williams  <dcbw@redhat.com>
9485
9486         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9487
9488         * gnome/vpn-properties/nm-vpn-properties.c
9489                 - Fix translatable strings (#445865)
9490
9491 2007-07-26  Dan Williams  <dcbw@redhat.com>
9492
9493         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9494
9495         * configure.in
9496                 - Remove useless junk (#412530)
9497
9498 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9499
9500         Patch from Robert Buchholz <rbu@gentoo.org>:
9501
9502         * configure.in:
9503         * Makefile.am:
9504         * introspection/Makefile.am:
9505         Make make distcheck work again.
9506
9507 2007-06-27  Dan Williams  <dcbw@redhat.com>
9508
9509         * Make SSIDs GByteArrays everywhere
9510         * Rename "essid" -> "ssid" everywhere that's appropriate
9511         * Refcount activation_ap member of the 802.11 wireless device class
9512
9513 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9514
9515         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9516
9517 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9518
9519         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9520         that we got a new AP when we just update existing AP properties.
9521
9522 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9523
9524         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9525
9526         * nm-utils.[ch]: Remove.
9527
9528         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9529         objects for easy property access and dbus connection handling.
9530
9531         * libnm-glib/nm-client.c: Derive from NMObject.
9532
9533         * libnm-glib/nm-device.c: Ditto.
9534
9535         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9536
9537         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9538
9539         * libnm-glib/nm-ip4-config.c: Ditto.
9540
9541         * libnm-glib/nm-access-point.c: Ditto.
9542
9543         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9544         comparision. Currently used by the device activation code to determine if the new
9545         activation is the same as the old one.
9546
9547         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9548         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9549         able to ask password for the AP.
9550
9551         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9552         up if the device is already connected, tear down it's connection (if it isn't the
9553         same as new one) and start the activation.
9554
9555         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9556
9557         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9558         the issue where all APs are always listed as encrypted.
9559
9560         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9561         their own registered paths.
9562
9563         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9564         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9565
9566 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9567
9568         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9569         (0 & 0 == 0, doh)
9570
9571         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9572         because the handling code will cause the next state change and signal listeners
9573         get the signals in wrong order.
9574
9575         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9576         correctly in case of pending activation.
9577
9578         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9579         Convert the essid byte array to string correctly, including the terminating NULL.
9580
9581         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9582         mode with correct types.
9583
9584         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9585         constructed info to dbus call instead of the activation request.
9586
9587 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9588
9589         Patch from Christian Persch <chpe@gnome.org>
9590
9591         * libnm-glib/Makefile.am:
9592         * dispatcher-daemon/Makefile.am:
9593         Use the correct variables, the correct paths, and correct ordering. (446315)
9594
9595 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9596
9597         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9598         argument. The activation request is easy to retrieve.
9599
9600         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9601         just to be a convenient location for devices to store random stuff.
9602
9603 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9604
9605         Patch from Alex Smith <alex@alex-smith.me.uk>
9606
9607         * src/backends/NetworkManagerFrugalware.c:
9608         Update the FrugalWare backend to fix a few segfaults. (#392642)
9609
9610 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9611
9612         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9613
9614         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9615         setting.
9616         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9617
9618 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9619
9620         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9621         automagically.
9622         Implement NMSettingIP4Config.
9623         Finish NMSettingWired by adding all known members.
9624         (setting_wired_verify): Implement.
9625         Finish NMSettingWireless by adding all known members.
9626         (setting_wireless_verify): Implement.
9627
9628         * libnm-util/nm-connection.c: Register "ipv4" setting.
9629         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9630         dump function, we can introspect the GHashTable which is used for sending connections
9631         over dbus.
9632
9633         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9634         Take GByteArray for essid, it's really not a string.
9635
9636         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9637         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9638         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9639         means overriding the values we got from DHCP.
9640         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9641         (nm_device_deactivate_quickly): Ditto.
9642
9643         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9644         for debugging.
9645
9646 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9647
9648         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9649         NMConnection.
9650
9651         * libnm-glib/nm-device-802-11-wireless.c:
9652         (nm_device_802_3_ethernet_activate): Remove.
9653
9654         * libnm-glib/nm-device-802-3-ethernet.c
9655         (nm_device_802_3_ethernet_activate): Remove.
9656
9657         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9658
9659         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9660         NMConnection.
9661
9662         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9663         activation has started.
9664         Implement the new activation using NMConnection.
9665
9666         * src/nm-activation-request.c: Store a generic connection object instead
9667         of a wireless-specific AP.
9668
9669         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9670         on device type, create a device specific connection object suitable for
9671         device activation.
9672
9673         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9674         specific check to validate the connection and on success start the
9675         activation.
9676
9677         * src/nm-device-interface.h: Add a activate virtual function to the
9678         interface definition.
9679
9680         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9681         (impl_device_activate): Implement.
9682
9683         * introspection/nm-device.xml: Add a generic device activation interface
9684         that accepts an abstract NMConnection structure that has device-specific
9685         information in it.
9686
9687         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9688         activation interface.
9689
9690         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9691         activation interface.
9692
9693         * libnm-util/nm-connection.c: 
9694         * libnm-util/nm-connection.h: 
9695         * libnm-util/nm-setting.c:
9696         * libnm-util/nm-setting.h: Add.
9697
9698         * libnm-util/Makefile.am: Build the added files.
9699
9700         * src/nm-dbus-manager.c
9701         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9702         DbusConnection argument from 'name-owner-changed' signal. The manager
9703         is already passed as a first argument to the signal and the connection
9704         is easy enough to get from it.
9705
9706         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9707         Update the signature of the function.
9708
9709         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9710         Ditto.
9711
9712         * src/NetworkManager.c: Ditto.
9713
9714         * src/named-manager/nm-named-manager.c
9715         (nm_named_manager_name_owner_changed): Ditto.
9716
9717         * src/supplicant-manager/nm-supplicant-manager.c
9718         (nm_supplicant_manager_name_owner_changed): Ditto.
9719
9720         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9721
9722         * src/dhcp-manager/nm-dhcp-manager.c
9723         (nm_dhcp_manager_name_owner_changed): Ditto.
9724
9725         * src/nm-hal-manager.c: Add a list of device detectors and creators
9726         to make it easier to add new devices. Each device type has it's own
9727         entry in the table so adding new device types is only a matter of
9728         implementing a couple of functions, one for device detection and the
9729         other for device creation.
9730
9731 2007-04-25  Dan Williams  <dcbw@redhat.com>
9732
9733         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9734                 (gnome.org #432401)
9735
9736 2007-03-30  Dan Williams  <dcbw@redhat.com>
9737
9738         * src/NetworkManagerSystem.c
9739                 - (nm_system_device_set_ip4_route): clean up and fix argument
9740                         to nm_dev_sock_open()
9741
9742 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9743
9744         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9745         data to correct types instead of always using string.
9746
9747         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9748         _not_ have NM_802_11_CAP_PROTO_NONE.
9749         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9750         is not set.
9751
9752 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9753
9754         * libnm-glib/Makefile.am: Fix the build issue.
9755
9756 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9757
9758         * libnm-glib/nm-vpn-connection.h: 
9759         * libnm-glib/nm-vpn-connection.c: Implement.
9760
9761         * libnm-glib/nm-client.c: Add VPN support.
9762
9763         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9764         handler for VPN.
9765
9766         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9767         on DBUS again.
9768
9769 2007-03-26  Dan Williams  <dcbw@redhat.com>
9770
9771         * src/NetworkManagerAPList.c
9772         * src/nm-device-802-11-wireless.c
9773         * src/NetworkManagerAP.c:
9774                 - Store last seen as glong instead of GTimeVal.
9775                 - Fix the upper bound of capabilities, it's a bitfield.
9776
9777 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9778
9779         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9780
9781         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9782         "manager-running" signal that notifies the appearance/disappearance of NM.
9783         (nm_client_sleep): Implement.
9784
9785         * libnm-glib/nm-device.c:
9786         * libnm-glib/nm-device-802-11-wireless.c: 
9787         * libnm-glib/nm-device-802-3-ethernet.c: 
9788
9789         Don't inherit from DBusGProxy, add a proxy to private
9790         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9791         for anything but their own dbus interface. DBusGProxy objects support only one
9792         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9793         interface. The nice side effect of this change is that we do not create a new
9794         DBusGProxy object for each property access.
9795
9796 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9797
9798         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9799         with zeroes before passing them to functions - the functions never do that and
9800         reading the values back may produce wrong values.
9801         (real_bring_up): Store the signal handler id ...
9802         (real_bring_down): ... So that it can be removed here.
9803         Disconnect the supplicant interface here as well.
9804         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9805         from the access point instead of old $device/Networks/$essid.
9806
9807         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9808         device state is connected (instead of just having link/carrier).
9809
9810         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9811         already easily accessible through the device.
9812
9813         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9814         store it within the object.
9815         (nm_ap_get_dbus_path): Export it to public as well.
9816
9817         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9818         of the singleton.
9819
9820 2007-03-12  Dan Williams  <dcbw@redhat.com>
9821
9822         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9823         for non-carrier-detect capable devices, and useless for carrier-detect
9824         devices since we get notifications from netlink about carrier status anyway.
9825
9826         * src/nm-device-802-3-ethernet.c
9827                 - remove 'link_source_id' member from private data
9828                 - (probe_link): remove and collapse into real_update_link()
9829                 - (nm_device_802_3_periodic_update): remove
9830                 - (real_is_up): check for sup_iface rather than link_source_id
9831                 - (real_bring_up): return gboolean for success/fail; require that
9832                         sup_iface be valid for device bringup to succeed
9833                 - (real_bring_down): zero out link signal ids
9834
9835         * src/nm-device.c
9836                 - (nm_device_activate_stage2_device_config): fail activation if device
9837                         bringup fails
9838                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9839                         fails
9840                 - (nm_device_bring_up): return success/fail
9841
9842         * src/nm-device.h
9843                 - bring_up now returns success/fail
9844
9845         * src/nm-device-802-11-wireless.c
9846                 - (real_bring_up): return success from bringup
9847
9848 2007-03-07  Dan Williams  <dcbw@redhat.com>
9849
9850         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9851         * src/nm-ap-security-wpa-psk.c
9852                 - (real_write_supplicant_config): work with PSKs that may contain
9853                         zeros in the binary format rather than treating it as a string
9854
9855 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9856
9857         * libnm-glib/nm-device-802-11-wireless.c
9858         (nm_device_802_11_wireless_get_capabilities): Implement.
9859
9860         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9861
9862         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9863
9864         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9865         reply only if it's not NULL. Not sure why this started happening right now.
9866
9867         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9868         code paths for when devices get removed on shutdown or when a device is just
9869         removed.
9870         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9871         gets freed so any signal from a device (disconnected for instance) would invoke
9872         NMState update which would crash.
9873         (nm_manager_remove_device): Bring the device down when it gets removed.
9874
9875         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9876         the unused dev_type.
9877
9878         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9879         reference to the added device, NMManager will own it (if it wants).
9880
9881         * test/nm-tool.c: Rewrite using libnm-glib.
9882
9883         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9884         We get signalled when it changes.
9885
9886         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9887         when it changes.
9888
9889         * libnm-glib/nm-device.c: Cache the device state property.
9890
9891         * libnm-glib/nm-access-point.c: Cache the strength property.
9892
9893         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9894         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9895         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9896         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9897         the device is down, activating, or activated (in case of A/B/G cards).
9898         Remove some old dead ifdef'ed out code that used to configure wireless devices,
9899         it's all done through supplicant now.
9900
9901         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9902         counting issues with pending calls which caused leaks and crashes when
9903         interface was removed (now that the interface actually gets removed).
9904
9905         * src/nm-call-store.c: Make a copy of data before running a foreach
9906         with user callback on it - The most common usage pattern is to cancel
9907         (and thus remove) all pending calls with foreach which would modify
9908         the hash table we're iterating over.
9909
9910         * src/nm-manager.c: When a device is added, make sure it is "up". When
9911         it's removed or disabled due to disabling wireless or networking, bring
9912         it down.
9913
9914         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9915
9916         * src/nm-device-802-11-wireless.c: 
9917         * src/nm-device-802-3-ethernet.c: 
9918         * src/nm-device.c:
9919                 - Remove "init" virtual function, all gobjects have a place for that
9920                   already (constructor).
9921                 - Replace "start" virtual function with "bring_up", devices can be
9922                   brought up and down more than just on startup now.
9923                 - Add "is_up" virtual function.
9924                 - Implement one way to bring a device down instead of previous 4 different
9925                   ways, each of witch did something different.
9926
9927         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9928         all it needs is the device interface.
9929
9930         Get rid of NMData.dev_list (3 members to go).
9931         Get rif of NMData in a lot of places.
9932
9933         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9934
9935 2007-02-23  Dan Williams  <dcbw@redhat.com>
9936
9937         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9938
9939         * src/NetworkManagerAP.c
9940                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9941                         OR-ing rather than AND-ing
9942
9943 2007-02-20  Tambet Ingo  <tambet@ximian.com>
9944
9945         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9946         "network-removed" signals.
9947
9948         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9949
9950         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9951         when receiving the signal from dbus.
9952
9953         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9954         property.
9955
9956         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9957         deactivation of the previously activated device working again.
9958
9959         * src/nm-activation-request.c: Remove NMActStage property and it's getter
9960         and setter.
9961
9962         * src/nm-device.c (nm_device_is_activated): Remove.
9963         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9964
9965         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9966         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9967         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9968         NM_DBUS_SIGNAL_STATE_CHANGE signal.
9969         Remove NMNetworkStatus and NMActStage enums.
9970
9971 2007-02-19  Tambet Ingo  <tambet@ximian.com>
9972
9973         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9974         Handle device state changes and disconnect VPN if it's device deactivates.
9975
9976         * src/nm-dbus-nm.c: 
9977         * src/nm-dbus-nm.h: 
9978         * src/nm-dbus-device.c: 
9979         * src/nm-dbus-device.c: 
9980         * src/nm-dbus-net.c: 
9981         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9982
9983         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9984
9985         * src/nm-device.c (nm_device_get_by_udi):
9986         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9987         implemented in the correct location (NMManager).
9988         Rip out all the test_device stuff.
9989
9990         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9991         failure handlers, it's all done by NMDevice already.
9992
9993         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9994         Remove the iochannel hack to route the unix signals to the main thread since
9995         we're not threaded anymore.
9996
9997         * src/NetworkManagerAP.c: Implement HWAddress property.
9998
9999         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10000         automatically with dbus-glib.
10001
10002         * src/nm-netlink-monitor.c: 
10003         * src/nm-netlink-monitor.h:
10004                 - Move it low in the class hierarchy, don't reference any NM types.
10005                 - Remove private data from the header.
10006                 - Use type safe checks in public API methods.
10007                 - Make it a singleton so we don't have to pass the single reference around.
10008
10009 2007-02-16  Tambet Ingo  <tambet@ximian.com>
10010
10011         * introspection/nm-ip4-config.xml: Implement.
10012
10013         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10014
10015         * libnm-glib/nm-ip4-config.c:
10016         * libnm-glib/nm-ip4-config.c: Implement.
10017
10018         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10019         securities. APs reference security.
10020
10021         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10022         be exported over DBUS.
10023
10024         * src/nm-device-802-3-ethernet.c: Ditto.
10025
10026         * src/NetworkManagerAP.c:
10027         * src/NetworkManagerAP.h:
10028                 - Convert to GObject, export over DBUS.
10029
10030         * src/nm-ip4-config.h:
10031         * src/nm-ip4-config.h:
10032                 - Convert to GObject, export over DBUS.
10033
10034 2007-02-12  Dan Williams  <dcbw@redhat.com>
10035
10036         Patch from Helmut Schaa <hschaa@suse.de>
10037
10038         * vpn-daemons/pptp/configure.in
10039           vpn-daemons/pptp/Makefile.am
10040           vpn-daemons/openvpn/configure.in
10041           vpn-daemons/openvpn/Makefile.am
10042           vpn-daemons/vpnc/configure.in
10043           vpn-daemons/vpnc/Makefile.am
10044                 - Add --without-gnome switch which disables building gnome bits
10045
10046 2007-02-12  Tambet Ingo  <tambet@ximian.com>
10047
10048         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10049
10050         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10051
10052         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10053         'HwAddress'.
10054
10055         * introspection/nm-device.xml: Remove 'UseDhcp' property.
10056
10057         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10058
10059         Totally break NetworkManager. Please use 0.6 branch until futher notice.
10060
10061         * src/:
10062                 - Remove old low-level dbus interface implementations and replace them
10063                   with dbus-glib one.
10064
10065         * configure.in:
10066                 - Require dbus-glib >= 0.72.
10067                 - Plug in new sources to build.
10068
10069         * libnm-glib/:
10070                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10071                   to make it more convenient to use from GObject based programs.
10072
10073         * introspection/:
10074                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10075
10076 2007-02-09  Tambet Ingo  <tambet@ximian.com>
10077
10078         * src/nm-device-802-11-wireless.c:
10079                 - Add "network-added" and "network-removed" signals.
10080                 - Use gobject boilerplate macros to define the GObject.
10081                 - Implement wireless device activation.
10082                 - Remove activation_failure_handler and activation_success_handler
10083                   and instead listen on state-changed signals and run the same code
10084                   from there.
10085
10086         * src/nm-device.c:
10087                 - Implment NMDeviceInterface::deactivate.
10088                 - Remove activation_failure_handler and activation_success_handler
10089                   virtual methods. Each device which is interested in these events
10090                   can just listen on it's state changed signals.
10091
10092         * src/NetworkManagerPolicy.c:
10093                 - Move a bit more NMData usage to NMManager.
10094                 - Remove activation scheduling bits.
10095                 - Add listeners for wireless device's "network-added" and
10096                   "network-removed" signals.
10097                 - Listen device changed signals and deactivate currently activated
10098                   device when another device start activating (for now).
10099                 - Remove (nm_policy_schedule_device_change_check): There's never a need
10100                   for calling this, the policy code knows exactly when this should happen,
10101                   by listening on events from NMManager and NMDevices.
10102
10103         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10104         Implement.
10105
10106         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10107         method on the specific device instead of going to through policy code
10108         and determining the device type by passed in AP's existance.
10109
10110         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10111         abstract NMDevice deactivation.
10112
10113 2007-02-08  Tambet Ingo  <tambet@ximian.com>
10114
10115         * src/NetworkManager.c:
10116                 - Set up all the shiny new managers.
10117
10118         * src/NetworkManagerPolicy.c:
10119                 - Add the beginnings of new NMPolicy code. Instead of requireing all
10120                   classes to call into policy code, make the policy code kind of like
10121                   a supervisor that monitors what's going on and drives the whole NM.
10122
10123         * src/nm-hal-manager.c: 
10124         * src/nm-hal-manager.h:
10125                 - Collect all libhal code scattered around NM to this one class.
10126                 - Listen libhal and NMManager events and add/remove devices to
10127                   NMManager.
10128
10129         * src/nm-manager.c:
10130         * src/nm-manager.h:
10131                 - Implment a replacement for NMData. NMData is now officially
10132                 deprecated.
10133
10134 2007-02-05  Tambet Ingo  <tambet@ximian.com>
10135
10136         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
10137         * src/supplicant-manager/nm-supplicant-interface.h
10138         * src/supplicant-manager/nm-supplicant-interface.c
10139         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10140         argument to boolean from enum.
10141
10142         Make NMDevice abstract class, remove almost all references to it's
10143         subclasses (the last place gets removed with new policy manager). Add
10144         NMDeviceInterface (which NMDevice implements) so that when we have
10145         NMDevice exported over DBUS, there's a common NMDevice interface which
10146         all instances have, plus there's a device specific interface for each
10147         specific type.
10148         Remove functions (nm_device_is_802_3_ethernet) and
10149         (nm_device_is_802_11_wireless). There are already standard GObject macros
10150         for type safe checks.
10151         Use the updated supplican manager API.
10152
10153         * src/nm-device-interface.h: 
10154         * src/nm-device-interface.c: 
10155         * src/nm-call-store.h: 
10156         * src/nm-call-store.c: Implement.
10157
10158         * src/supplicant-manager/nm-supplicant-interface.c:
10159         * src/supplicant-manager/nm-supplicant-interface.h:
10160         * src/supplicant-manager/nm-supplicant-manager.c:
10161         * src/supplicant-manager/nm-supplicant-manager.h:
10162                 - Remove all private data type references from public header files.
10163                 - Remove all references to other NM classes, this class is just a
10164                   proxy between wpa_supplicant and NM so it doesn't have to know
10165                   any internals.
10166                 - Convert to dbus-glib bindings.
10167                 - Type safe checks for public methods' arguments.
10168                 - Store pending DBUS call ids to NMCallStore.
10169
10170         * src/supplicant-manager/nm-supplicant-config.c:
10171                 - Store config values in a GHashTable instead of GSList.
10172
10173         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10174
10175         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10176         singleton now.
10177
10178         * src/nm-device.c: Use the new DHCP manager API.
10179
10180         * src/nm-activation-request.c:
10181         * src/nm-activation-request.h:
10182                 - Remove all dhcp related properties and methods.
10183
10184         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10185
10186         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10187
10188         * src/dhcp-manager/nm-dhcp-manager.c:
10189         * src/dhcp-manager/nm-dhcp-manager.h:
10190                 - Convert it to GObject since we need to signal state changes.
10191                 - Remove all references to other NM classes, this class is one
10192                   of the lowest classes in our hierarchy.
10193                 - One less class to use NMActRequest.
10194                 - Make it singleton, one less user of NMData.
10195                 - Remove a couple of sleep() calls.
10196                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10197                   One less class to use the NM's custom tailored signal handlig.
10198
10199         * Makefile.am: Generate marshallers, add them to build.
10200
10201 2007-02-02  Dan Williams  <dcbw@redhat.com>
10202
10203         * configure.in
10204           gnome/Makefile.am
10205           nm-applet.desktop
10206           Makefile.am
10207                 - Remove last bits referencing gnome applet
10208
10209 2007-02-02  Dan Williams  <dcbw@redhat.com>
10210
10211         * src/vpn-manager/nm-vpn-service.c
10212                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10213                         and NBNS server addresses
10214
10215 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10216
10217         * src/nm-dbus-manager.c:
10218         * src/nm-dbus-manager.h:
10219                 - Convert all internal DBUS code to use dbus-glib bindings.
10220                 - Remove GObject properties, we don't need them here.
10221                 - Don't explicitly set things to NULL after freeing, glib is
10222                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10223                 - Make public API argument checks type safe.
10224                 - Remove unnecessary (and wrong) cast to GObject for the first
10225                   argument to g_signal_* calls - The first argument is a gpointer.
10226                 - Export DBusGConnection to other cool classes that (are going to)
10227                   use dbus-glib.
10228
10229 2007-01-26  Dan Williams  <dcbw@redhat.com>
10230
10231         * libnm-util/dbus-dict-helpers.c
10232           libnm-util/dbus-dict-helpers.h
10233                 - Coordinate style with wpa_supplicant version to minimize diff
10234                 - Add uint32 array support
10235                 - (nmu_dbus_dict_append_uint32_array): new function
10236                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10237                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10238                         version; allow adding string array elements individually
10239
10240         * test/libnm-util/test-dbus-dict-helpers.c
10241                 - Test uint32 arrays
10242
10243 2007-01-27  Jürg Billeter  <j@bitron.ch>
10244
10245         * src/backends/NetworkManagerPaldo.c
10246                 - (nm_system_update_dns): clear nscd hosts cache
10247
10248 2007-01-04  Dan Williams  <dcbw@redhat.com>
10249
10250         Threading removal related cleanups:
10251
10252         - Use the glib default main context.  Remove the device main context
10253                 member from NMDevice, and the main_context member from NMData.  Change
10254                 all the idle and timeout scheduler functions to use plain
10255                 g_idle_add() and g_timeout_add().
10256
10257         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10258                 takes an argument; fix that up too.
10259
10260         - Remove all locking, which is useless since we no longer use threads.  For
10261                 example, nm_get_device_by_iface_locked() has been removed.  The global
10262                 device list lock, the AP List lock, and all static locks in
10263                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10264                 in NetworkManagerUtils.c have also been removed.
10265
10266         - Other cleanups in spacing and code style
10267
10268 2007-01-01  Dan Williams  <dcbw@redhat.com>
10269
10270         Found by Bill Moss:
10271
10272         * src/supplicant-manager/nm-supplicant-interface.c
10273                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10274                         the supplicant interface wasn't already disconnected.  Always
10275                         call removeNetwork and disconnect unless the supplicant interface
10276                         is in the DISCONNECTED or INACTIVE state.
10277
10278 2006-12-28  Dan Williams  <dcbw@redhat.com>
10279
10280         Use a single thread for everything.  With the move to wpa_supplicant
10281         and communication over D-Bus, there's no reason for multiple threads.
10282         Almost all of the blocking code has been removed, with one exception in
10283         the DHCP manager and a few in the VPN manager.  This commit removes the
10284         per-device worker thread and fixes activation cancellation in the absence
10285         of threads.  Further removal of thread-related code would be removing
10286         any locking code (like the device list lock) and simplification of logic
10287         around areas of code or data structures that are currently locked.
10288
10289         * autoip.c
10290           dhcp-manager/nm-dhcp-manager.c 
10291           nm-device-802-11-wireless.c
10292           nm-device-802-3-ethernet.c
10293           nm-device.c
10294           nm-device.h
10295                 - Remove usage of multiple threads
10296
10297 2006-12-19  Dan Williams  <dcbw@redhat.com>
10298
10299         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10300         plus a few other patches from wpa_supplicant bugzilla.
10301
10302         * src/Makefile.am
10303           src/NetworkManagerPolicy.c
10304           src/NetworkManagerUtils.c
10305           src/NetworkManagerUtils.h
10306           src/nm-ap-security-leap.c
10307           src/nm-ap-security-wep.c
10308           src/nm-ap-security-wpa-eap.c
10309           src/nm-ap-security-wpa-psk.c
10310           src/nm-ap-security.c
10311           src/nm-ap-security.h
10312           src/nm-device-802-11-wireless.c
10313           src/nm-device-802-11-wireless.h
10314           src/supplicant-manager/nm-supplicant-config.c
10315           src/supplicant-manager/nm-supplicant-config.h
10316           src/supplicant-manager/nm-supplicant-interface.c
10317           src/supplicant-manager/nm-supplicant-interface.h
10318           src/supplicant-manager/nm-supplicant-marshal.list
10319           src/supplicant-manager/nm-supplicant-settings-verify.c
10320           src/supplicant-manager/nm-supplicant-settings-verify.h
10321                 - Move all connection management and association handling to
10322                         wpa_supplicant over dbus, rather than spawning a private copy
10323
10324 2006-12-19  Dan Williams  <dcbw@redhat.com>
10325
10326         * src/NetworkManagerPolicy.c
10327                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10328                         better locking of the device change check handler ID.  Incorrect
10329                         locking was causing lost device change requests
10330
10331 2006-12-18  Dan Williams  <dcbw@redhat.com>
10332
10333         * libnm-util/dbus-dict-helpers.c
10334                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10335                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10336                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10337
10338 2006-12-18  Dan Williams  <dcbw@redhat.com>
10339
10340         * gnome/libnm_glib/libnm_glib.c
10341                 - Change dbus_connection_close() -> dbus_connection_unref()
10342
10343 2006-12-11  Dan Williams  <dcbw@redhat.com>
10344
10345         * src/supplicant-manager/nm-supplicant-interface.c
10346                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10347                         wpa_supplicant interface state
10348                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10349                         state before transitioning to READY state
10350
10351 2006-12-04  Dan Williams  <dcbw@redhat.com>
10352
10353         * src/nm-device-802-11-wireless.c
10354                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10355                         odd length of ESSID returned from ieee80211 stack-based drivers
10356
10357 2006-12-04  Dan Williams  <dcbw@redhat.com>
10358
10359         * src/nm-device-802-11-wireless.c
10360                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10361                         IE handling blocks that cause mis-parsing of the IE
10362
10363 2006-12-04  Dan Williams  <dcbw@redhat.com>
10364
10365         * src/nm-device-802-11-wireless.c
10366                 - (init_supplicant_interface): new function; pull supplicant interface
10367                         setup code out into standalone function since it must be called from
10368                         two different places
10369                 - (real_init): sup_mgr is now in private object data; get and track
10370                         the supplicant manager object over the NMDevice subclass' lifetime
10371                         and register a signal handler for its state signals; only try to
10372                         initialize the supplicant interface if the supplicant manager is in
10373                         the IDLE state (and therefore is ready for requests)
10374                 - (request_wireless_scan): reschedule the scan request if (a) there is
10375                         no supplicant interface yet (meaning wpa_supplicant isn't running
10376                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10377                         for requests yet
10378                 - (supplicant_iface_connection_state_cb): new function; stub for
10379                         handling supplicant interface connection state signals
10380                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10381                         comes and goes
10382                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10383                         supplicant manager object that's being tracked starting with this
10384                         commit
10385
10386 2006-12-04  Dan Williams  <dcbw@redhat.com>
10387
10388         * src/supplicant-manager/nm-supplicant-interface.c
10389                 - (nm_supplicant_interface_set_property): track signal handler ID
10390                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10391
10392 2006-12-04  Dan Williams  <dcbw@redhat.com>
10393
10394         * src/supplicant-manager/nm-supplicant-interface.[ch]
10395                 - (nm_supplicant_interface_get_state): new function
10396
10397 2006-12-04  Dan Williams  <dcbw@redhat.com>
10398
10399         * src/supplicant-manager/nm-supplicant-interface.c
10400                 - (bssid_properties_cb): don't treat DBus errors as valid
10401                         scanned AP messages
10402
10403 2006-12-04  Dan Williams  <dcbw@redhat.com>
10404
10405         * src/supplicant-manager/nm-supplicant-interface.[ch]
10406                 - (nm_supplicant_interface_get_connection_state): new function
10407                 - define new supplicant connection states
10408                 - send a signal when the supplicant connection state changes
10409
10410 2006-12-03  Dan Williams  <dcbw@redhat.com>
10411
10412         * src/supplicant-manager/Makefile.am
10413           src/supplicant-manager/nm-supplicant-connection.h
10414           src/supplicant-manager/nm-supplicant-connection.c
10415           src/supplicant-manager/nm-supplicant-config.h
10416           src/supplicant-manager/nm-supplicant-config.c
10417           src/supplicant-manager/nm-supplicant-types.h
10418           src/supplicant-manager/nm-supplicant-interface.h
10419           src/supplicant-manager/nm-supplicant-interface.c
10420                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10421
10422 2006-12-03  Dan Williams  <dcbw@redhat.com>
10423
10424         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10425
10426         * po/POTFILES.in
10427           po/POTFILES.skip
10428                 - Move VPN-related translatables to .skip
10429
10430         * vpn-daemons/pptp/po/POTFILES.in
10431                 - Update with new translatables
10432
10433 2006-12-02  Dan Williams  <dcbw@redhat.com>
10434
10435         Patch from Christian Persch <chpe@gnome.org>
10436
10437         * gnome/applet/Makefile.am
10438           gnome/applet/applet-dbus-devices.c
10439           gnome/applet/applet-notifications.c
10440           gnome/applet/applet.c
10441           gnome/applet/applet.h
10442           gnome/applet/main.c
10443                 - Be a GtkStatusIcon on GTK+ >= 2.10
10444
10445 2006-12-02  Dan Williams  <dcbw@redhat.com>
10446
10447         * gnome/applet/applet.c
10448                 - (nma_update_info): fix two unecessary allocations
10449
10450 2006-12-02  Dan Williams  <dcbw@redhat.com>
10451
10452         Patch from Michael Biebl <biebl@teco.edu>
10453         * configure.in
10454           man/NetworkManager.1.in
10455           man/NetworkManagerDispatcher.1.in
10456           man/NetworkManager.8.in
10457           man/NetworkManagerDispatcher.8.in
10458                 - Add .SH NAME stanzas
10459                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10460
10461 2006-12-02  Dan Williams  <dcbw@redhat.com>
10462
10463         Patch from Christian Persch <chpe@gnome.org>
10464
10465         * configure.in
10466                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10467
10468 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10469
10470         Patch by Timo Hoenig <thoenig@suse.de>:
10471         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10472         DBUS-1.0.
10473
10474         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10475         we can't use the one from the main source directory.
10476
10477 2006-11-27  Dan Williams  <dcbw@redhat.com>
10478
10479         Patch from Christian Persch <chpe@gnome.org>
10480
10481         * gnome/applet/applet-dbus-devices.c
10482                 - (hal_info_product_cb): fix memleak; free duped string.
10483                         Gnome.org #379908
10484
10485 2006-11-27  Dan Williams  <dcbw@redhat.com>
10486
10487         Patch from Christian Persch <chpe@gnome.org>
10488
10489         * gnome/applet/menu-items.c
10490                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10491                         as gtk_progress_set_percentage is deprecated.  Should
10492                         work as far back as GTK+ 2.4.  Gnome.org #379780
10493
10494 2006-11-26  Dan Williams  <dcbw@redhat.com>
10495
10496         Scan using wpa_supplicant over DBus.
10497
10498         * src/nm-device-802-11-wireless.c
10499                 - remove wireless extensions netlink event handler bits
10500                         (wireless_event_helper, nm_device_802_11_wireless_event)
10501                 - remove wireless extensions scan event handler bits
10502                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10503                         hex2byte, hex2num, request_and_convert_scan_results,
10504                         free_process_scan_cb_data, scan_results_timeout,
10505                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10506                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10507                         and request scans from the supplicant interface rather than directly
10508                 - Move functionality of convert_scan_results() to cull_scan_list() and
10509                         supplicant_iface_scanned_ap_cb()
10510                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10511                         at the scan interval when the current scan has finished
10512                 - (supplicant_iface_state_cb): start scanning when the supplicant
10513                         interface enters the READY state, and stop scanning when it
10514                         enters the DOWN state
10515                 - (cull_scan_list): weed out old access points from the scan list
10516                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10517                         point into an NMAccessPoint and merge it into the device's scan list
10518
10519         * src/supplicant-manager/nm-supplicant-interface.c
10520           src/supplicant-manager/nm-supplicant-interface.h
10521                 - Add a new signal "scan-result" which is issued when the supplicant
10522                         notifies NM that a scan has completed
10523                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10524                         point found in the scan.  Called once for each access point that
10525                         the supplicant interface object receives from the supplicant as a
10526                         result of the "scanResults" method call
10527                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10528                         for the initial scan results
10529                 - (scan_request_cb): new function; send listeners the result
10530                         (success, error) of a wireless scan request
10531                 - (nm_supplicant_interface_request_scan): new function; ask the
10532                         supplicant to perform an immediate wireless scan
10533
10534 2006-11-25  Dan Williams  <dcbw@redhat.com>
10535
10536         * src/supplicant-manager/Makefile.am
10537                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10538                         add HAL cflags/includes and named-manager includes directory
10539
10540         * src/supplicant-manager/nm-supplicant-interface.h
10541                 - New state STARTING to handle transition from INIT to READY where
10542                         the addInterface pending call is still outstanding
10543
10544         * src/supplicant-manager/nm-supplicant-interface.c
10545                 - track pending calls differently since we may have more than one
10546                         going on at any given time
10547                 - request scan results from wpa_supplicant; but don't do it more often
10548                         than every 4 seconds.  Drivers that do background scanning
10549                         (like the 'ipw' drivers) send a continuous stream of scan completion
10550                         notifications, so we don't want to hammer the supplicant or dbus
10551                         with requests for all scan results every time we get a completion
10552                         notification.
10553
10554 2006-11-25  Dan Williams  <dcbw@redhat.com>
10555
10556         * src/supplicant-manager/nm-supplicant-types.h
10557                 - new file; move all supplicant manager object typedefs here for
10558                         #include sanity
10559
10560         * src/supplicant-manager/nm-supplicant-interface.c
10561           src/supplicant-manager/nm-supplicant-interface.h
10562                 - new file; an object that interfaces an NMDevice object to the
10563                         supplicant and handles signals from the supplicant.  This object
10564                         does all necessary DBus communication with wpa_supplicant.
10565
10566         * src/supplicant-manager/nm-supplicant-manager.c
10567           src/supplicant-manager/nm-supplicant-manager.h
10568                 - Actually do something.  Track the state of the wpa_supplicant service
10569                         and deal with its comings & goings.  Handle life events of
10570                         supplicant interfaces too.
10571                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10572
10573         * src/supplicant-manager/nm-supplicant-connection.h
10574                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10575
10576         * src/supplicant-manager/Makefile.am
10577                 - Add new files to build, and add libnm-util to includes
10578
10579         * src/nm-marshal.list
10580                 - New marshaler type: VOID:UINT,UINT
10581
10582         * src/nm-device-802-3-ethernet.c
10583                 - (real_init): grab a supplicant interface
10584                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10585                 - (supplicant_iface_state_cb): new function, stub for handling
10586                         supplicant interface state changes
10587
10588         * src/nm-device-802-11-wireless.c
10589                 - (real_init): grab a supplicant interface
10590                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10591                 - (supplicant_iface_state_cb): new function, stub for handling
10592                         supplicant interface state changes
10593
10594         * src/NetworkManager.c
10595                 - (main): create and keep the supplicant manager around for the lifetime
10596                         of NetworkManager
10597
10598         * src/Makefile.am
10599                 - Link to the supplicant manager sub-library and use the supplicant
10600                         manager includes
10601
10602 2006-11-25  Dan Williams  <dcbw@redhat.com>
10603
10604         Rework DBus manager signal handling to be more flexible.  Previously,
10605         only one signal handler could be registered for a particular interface.
10606         The DBus manager now reference counts DBus bus matches and allows multiple
10607         clients to register signal handlers for the same interface and sender.
10608
10609         * src/NetworkManager.c
10610                 - (main): track NMI signal handler ID and remove it when we quit
10611
10612         * src/NetworkManagerMain.h
10613                 - Keep track of NMI signal handler ID
10614
10615         * src/nm-dbus-manager.c
10616           src/nm-dbus-manager.h
10617                 - rework signal handling; each signal handler references one signal
10618                         match, but a signal match may be referenced by one or more
10619                         signal handlers.  Matches are refcounted and are destroyed when the
10620                         last signal handler that references the match is removed.  This is
10621                         necessary because two signal handlers may end up requiring the same
10622                         dbus bus match, so the match must live until the last signal handler
10623                         is destroyed (for example, with the wpa_supplicant network interface
10624                         dbus interface).
10625
10626         * src/dhcp-manager/nm-dhcp-manager.c
10627                 - (nm_dhcp_manager_new): track DHCP signal handler id
10628                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10629
10630         * src/vpn-manager/nm-vpn-service.c
10631                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10632                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10633
10634 2006-11-25  Dan Williams  <dcbw@redhat.com>
10635
10636         Suggested by Helmut Schaa <hschaa@suse.de>
10637
10638         * src/vpn-daemons/nm-vpn-service.c
10639                 - (supplicant_child_setup): new function
10640                 - (supplicant_exec): make child process use a new process group id
10641
10642         * src/nm-device-802-11-wireless.c
10643                 - (nm_vpn_service_child_setup): new function
10644                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10645                         process group id
10646
10647 2006-11-19  Dan Williams  <dcbw@redhat.com>
10648
10649         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10650         * gnome/vpn-properties/nm-vpn-properties.c
10651                 - clean up after renamed VPN connection
10652
10653 2006-11-19  Dan Williams  <dcbw@redhat.com>
10654
10655         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10656         * gnome/applet/applet-dbus-vpn.c
10657                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10658
10659         * gnome/vpn-properties/nm-vpn-properties.c
10660                 - (init_app): sort VPN connections
10661
10662 2006-11-09  Dan Williams  <dcbw@redhat.com>
10663
10664         * src/NetworkManagerAPList.c
10665                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10666                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10667                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10668                 broke hidden SSID matching.  Found by Bill Moss.
10669
10670 2006-10-25  Dan Williams  <dcbw@redhat.com>
10671
10672         * src/nm-dbus-nm.c
10673                 - (nm_dbus_nm_set_active_device): return an empty success message on
10674                         success, rather than falling through to the error case.
10675
10676 2006-10-25  Dan Williams  <dcbw@redhat.com>
10677
10678         * src/NetworkManagerUtils.c
10679                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10680                         "SCAN" command
10681
10682 2006-10-24  Dan Williams  <dcbw@redhat.com>
10683
10684         Reduce the number of times the Gnome applet wakes up, especially when
10685         it's doing absolutely nothing and is hidden.  Initial patch by
10686         Chris Aillon.
10687
10688         * gnome/applet/applet-dbus.c
10689                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10690                         kill the redraw timeout.  When NM starts up, start the redraw
10691                         timeout.  Also, if we get kicked off the bus for some reason,
10692                         start the reconnection timeout if one's not already running.
10693                 - (nma_dbus_init): better handling of error conditions, don't leak
10694                         a half-initialized dbus connection
10695                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10696                         the applet's data, just call nm_dbus_init_helper()
10697                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10698                         timeout that calls nma_dbus_connection_watcher()
10699                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10700                         reconnection timeout, and don't start the reconnection timeout
10701                         unconditionally anymore
10702
10703         * gnome/applet/applet-dbus.h
10704                 - Expose nma_start_dbus_connection_watch()
10705
10706         * gnome/applet/applet.c
10707                 - (nma_update_state): no longer static, called from applet-dbus.c for
10708                         immediate UI updates on certain events
10709                 - (nma_set_running): new function; take over setting applet->running,
10710                         when not running (ie, NM is not active), don't activate the redraw
10711                         timeout because we're not showing the applet anyway.  When we are
10712                         running (ie, NM is active), and only when we're running, start the
10713                         redraw timeout.
10714                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10715                         kill any reconnection timeout
10716                 - (nma_get_instance): move one-off dbus initialization code here since
10717                         nm_dbus_init_helper() gets called more than once, possibly by the
10718                         reconnection timeout function too.  And, when we start up, if we
10719                         can't get a connection to the bus, start the reconnection timeout.
10720                         But don't start the redraw timeout yet, only do that when we get
10721                         NM's state and find out if it's running or not.
10722
10723         * gnome/applet/applet.h
10724                 - Add the reconnection GSource ID
10725                 - Add prototypes for nma_set_running() and the no-longer-static
10726                         nma_update_state()
10727
10728 2006-10-24  Dan Williams  <dcbw@redhat.com>
10729
10730         * src/vpn-daemons/nm-dbus-vpnc.c
10731                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10732                         pending call tracker
10733                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10734                         pending call tracker; register one-vpn-connection update pending
10735                         call in pending call tracker
10736                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10737                         update pending call in pending call tracker
10738                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10739                         update pending call in pending call tracker; don't block waiting
10740                         for call to return
10741
10742 2006-10-19  Robert Love  <rml@novell.com>
10743
10744         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10745           refresh the cache.
10746
10747 2006-10-14  Dan Williams  <dcbw@redhat.com>
10748
10749         * src/dhcp-manager/nm-dhcp-manager.c
10750                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10751                 the dbus connection and the device object path rather than
10752                 constructing it inside both functions.  Saves a bit of memory
10753                 and clarifies a failure path.
10754                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10755                 and allocate device path here rather than each of the two
10756                 functions above.
10757
10758 2006-10-13  Dan Williams  <dcbw@redhat.com>
10759
10760         * src/NetworkManager.c
10761                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10762                 this somehow droppout in the refactor
10763
10764 2006-10-13  Dan Williams  <dcbw@redhat.com>
10765
10766         * Huge DBus refactor:
10767                 - Create a "DBus Manager" object which manages the connection and
10768                 sends signals on NameOwnerChanged and connection/disconnection events,
10769                 handles reconnection to the bus if NM gets kicked off, and abstracts
10770                 signal handling
10771                 - Remove DBusConnection members from places where they are no
10772                 longer needed due to the refactor, like the dbus-connection
10773                 property of the named manager, and from NMData
10774                 - Reformats a bunch of the code to gnome style
10775                 (8-space tabs, braces on same line as statement, 80-col width).
10776                 Consider it open season to reformat any bits to gnome style.
10777                 style that aren't already.
10778
10779 2006-10-13  Dan Williams  <dcbw@redhat.com>
10780
10781         * src/supplicant-manager/Makefile.am
10782                 - Add new files
10783
10784         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10785                 - Make it a minimal GObject
10786
10787         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10788                 - Verify settings destined for wpa_supplicant
10789
10790         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10791                 - Minimal GObject to track wpa_supplicant controlled device
10792                 connections
10793
10794 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10795
10796         * gnome/applet/applet.c: (nma_update_info),
10797         (nma_act_stage_to_pixbuf), (nma_update_state):
10798         Mark missing strings for translation. Fixes bug #343306.
10799
10800 2006-10-01  Dan Williams  <dcbw@redhat.com>
10801
10802         * src/vpn-manager/nm-vpn-manager.c
10803                 - (nm_vpn_manager_load_services): split and clean up
10804                 for readability and correctness.  Restrict VPN service
10805                 files to ending in ".name", as was meant from the
10806                 beginning (but not coded in).  Better error reporting.
10807
10808 2006-10-01  Dan Williams  <dcbw@redhat.com>
10809
10810         * utils/nm-utils.h
10811                 - Clean up formatting of debug/info/warning log messages
10812
10813 2006-09-27  Robert Love  <rml@novell.com>
10814
10815         Patch by Tambet Ingo <tambet@ximian.com>:
10816         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10817           actually work.
10818
10819 2006-09-07  Dan Williams <dcbw@redhat.com>
10820
10821         * test/Makefile.am
10822           test/libnm-util/Makefile.am
10823           test/nm-supplicant-test.c
10824                 - Add test program emulating the way NM drives wpa_supplicant
10825                 to help debug supplicant issues
10826
10827 2006-08-24  Dan Williams <dcbw@redhat.com>
10828
10829         * configure.in
10830           src/Makefile.am
10831           src/supplicant-manager/Makefile.am
10832           src/supplicant-manager/nm-supplicant-manager.c
10833           src/supplicant-manager/nm-supplicant-manager.h
10834                 - Add skeleton bits of the wpa_supplicant manager
10835
10836 2006-08-24  Dan Williams <dcbw@redhat.com>
10837
10838         Patch from Ed Catmur:
10839         * src/NetworkManagerUtils.c
10840                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10841                 if netmask is 0 (Gnome #352634)
10842
10843 2006-08-17  Robert Love  <rml@novell.com>
10844
10845         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10846           package is now DBUS-enabled and listens for the NM signals.
10847
10848 2006-08-14  Dan Williams  <dcbw@redhat.com>
10849
10850         * Patch from Christian Persch <chpe gnome org>
10851         * configure.in
10852           po/LINGUAS
10853           vpn-daemons/openvpn/po/LINGUAS
10854           vpn-daemons/openvpn/configure.in
10855           vpn-daemons/pptp/po/LINGUAS
10856           vpn-daemons/pptp/configure.in
10857           vpn-daemons/vpnc/po/LINGUAS
10858           vpn-daemons/vpnc/configure.in
10859                 - Convert to LINGUAS method so translators don't have to modify
10860                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10861                 0.35 or higher
10862
10863 2006-08-14  Dan Williams  <dcbw@redhat.com>
10864
10865         Patch from Alex Smith <alex.extreme2@gmail.com>
10866         * configure.in
10867           src/backends/Makefile.am
10868           src/backends/NetworkManagerFrugalware.c
10869                 - Add support for Frugalware
10870
10871 2006-08-13  Dan Williams  <dcbw@redhat.com>
10872
10873         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10874         * src/nm-device-802-11-wireless.c
10875                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10876                 Gnome #346875
10877
10878 2006-08-13  Dan Williams  <dcbw@redhat.com>
10879
10880         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10881         * src/nm-ap-security.c
10882           src/nm-ap-security.h
10883                 - Add authentication_required bits for subclasses to specify whether
10884                 or not real authentication is required for connections, i.e. whether
10885                 the AP rejects us when an encryption key is wrong or not.
10886
10887         * src/nm-ap-security-wep.c
10888           src/nm-ap-security-wpa-eap.c
10889           src/nm-ap-security-wpa-psk.c
10890           src/nm-ap-security-leap.c
10891                 - Implement authentication_required appropriately for each method
10892
10893         * src/nm-device-802-11-wireless.c
10894                 - Be smarter about when to request a key; for example, using a wrong key
10895                 in WEP shared key mode previously just timed out and did not request
10896                 a new key
10897
10898 2006-08-13  Dan Williams  <dcbw@redhat.com>
10899
10900         * gnome/libnm_glib/libnm_glib.c
10901                 - dbus_connection_disconnect() -> dbus_connection_close() for
10902                 dbus >= 0.90
10903
10904 2006-08-07  Dan Williams  <dcbw@redhat.com>
10905
10906         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10907         * src/NetworkManagerSystem.c
10908                 - Respect specified MTU.  Gnome #344967
10909
10910 2006-08-07  Dan Williams  <dcbw@redhat.com>
10911
10912         * src/vpn-manager/nm-vpn-service.c
10913                 - Simplify print_vpn_config() arguments
10914
10915         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10916         * src/vpn-manager/Makefile.am
10917           src/vpn-manager/nm-vpn-service.c
10918                 - Add new API for passing VPN config options as a dict. Gnome #344967
10919
10920 2006-08-06  Dan Williams  <dcbw@redhat.com>
10921
10922         * gnome/applet/applet-dbus-devices.c
10923           gnome/applet/applet-dbus-vpn.c
10924           gnome/applet/applet-dbus.c
10925           gnome/applet/applet-dbus.h
10926           src/nm-dbus-nmi.c
10927           utils/nm-utils.c
10928           utils/nm-utils.h
10929                 - Make pending call tracking code generic,
10930                 so we can use it in NM as well as the applet
10931
10932 2006-08-06  Dan Williams  <dcbw@redhat.com>
10933
10934         * src/nm-activation-request.c
10935                 - Refcount pending call objects
10936
10937 2006-08-06  Dan Williams  <dcbw@redhat.com>
10938
10939         Patch from Christan Chiesa <christanc@gmail.com>
10940         * configure.in
10941                 - Tell sha1.c to use bigendian mode on PPC
10942
10943 2006-08-04  Robert Love  <rml@novell.com>
10944
10945         Glib Memory Slices!
10946         * configure.in: Require glib 2.10 or later.
10947         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10948           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10949           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10950           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10951           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
10952           Memory Slices are the greatest thing since bread slices.
10953         * src/NetworkManagerAP.c: Also, fix memory leak.
10954
10955 2006-08-01  Robert Love  <rml@novell.com>
10956
10957         * gnome/applet/main.c: Shutdown all VPN connections on logout.
10958
10959 2006-07-31  Robert Love  <rml@novell.com>
10960
10961         * src/backends/interface_parser.c: Declarations must begin the block.
10962
10963 2006-07-24  Dan Williams  <dcbw@redhat.com>
10964
10965         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10966         * src/backends/Makefile.am
10967           src/backends/NetworkManagerArch.c
10968           src/backends/NetworkManagerDebian.c
10969           src/backends/NetworkManagerGeneric.c
10970           src/backends/NetworkManagerGeneric.h
10971           src/backends/NetworkManagerGentoo.c
10972           src/backends/NetworkManagerPaldo.c
10973           src/backends/NetworkManagerRedHat.c
10974           src/backends/NetworkManagerSlackware.c
10975           src/backends/NetworkManagerSuSE.c
10976                 - Genericize common backend functions
10977
10978 2006-07-18  Robert Love  <rml@novell.com>
10979
10980         * configure.in: Add "--with-notify" option to allow disabling of
10981           libnotify support.
10982
10983 2006-07-13  Dan Williams  <dcbw@redhat.com>
10984
10985         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10986         * gnome/applet/applet.glade
10987           gnome/applet/Makefile.am
10988           gnome/applet/nm-gconf-wso.c
10989           gnome/applet/nm-gconf-wso-leap.c
10990           gnome/applet/nm-gconf-wso-leap.h
10991           gnome/applet/wireless-security-manager.c
10992           gnome/applet/wso-leap.c
10993           gnome/applet/wso-leap.h
10994           include/NetworkManager.h
10995           libnm-util/dbus-helpers.c
10996           libnm-util/dbus-helpers.h
10997           src/Makefile.am
10998           src/NetworkManagerAP.c
10999           src/nm-ap-security.c
11000           src/nm-ap-security-leap.c
11001           src/nm-ap-security-leap.h
11002                 - Add LEAP authentication support
11003
11004 2006-07-13  Dan Williams  <dcbw@redhat.com>
11005
11006         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11007         * configure.in
11008           src/backends/NetworkManagerArch.c
11009           src/backends/NetworkManagerDebian.c
11010           src/backends/NetworkManagerGentoo.c
11011           src/backends/NetworkManagerPaldo.c
11012           src/backends/NetworkManagerRedHat.c
11013           src/backends/NetworkManagerSlackware.c
11014           src/backends/NetworkManagerSuSE.c
11015                 - Convert hardcoding of 'ip' path to configure-time
11016                         detected one
11017
11018 2006-07-12  Leonid Kanter <leon@asplinux.ru>
11019
11020         * configure.in: added ru to ALL_LINGUAS
11021
11022 2006-07-10  Dan Williams  <dcbw@redhat.com>
11023
11024         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11025         * src/nm-device.c
11026                 - (real_act_stage3_ip_config_start): don't infinite loop when
11027                         dhcdbd isn't running (Gnome #346845)
11028
11029 2006-07-09  Dan Williams  <dcbw@redhat.com>
11030
11031         * gnome/applet/applet.c
11032                 - (nma_destroy): don't pass NULL to notify_notification_close
11033                         (RH #197917)
11034
11035 2006-07-09  Dan Williams  <dcbw@redhat.com>
11036
11037         * gnome/applet/applet.c
11038                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11039
11040 2006-07-04  Tor Krill  <tor@krill.nu>
11041
11042         Patch from Valentine Sinitsyn <e_val@inbox.ru>
11043         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11044         (nm_system_restart_mdns_responder), (ArchReadConfig),
11045         (nm_system_device_get_system_config):
11046                 - Explicitly check for DHCP configuration
11047                 - Check if daemons are running before starting them
11048
11049 2006-06-25  Dan Williams  <dcbw@redhat.com>
11050
11051         * libnm-util/dbus-dict-helpers.[ch]
11052           test/libnm-util/test-dbus-dict-helpers.c
11053                 - Add string array support
11054
11055 2006-06-24  Dan Williams  <dcbw@redhat.com>
11056
11057         * src/dhcp-manager/nm-dhcp-manager.c
11058                 - (nm_dhcp_manager_process_signal): clean up spacing
11059
11060 2006-06-21  Dan Williams  <dcbw@redhat.com>
11061
11062         * src/nm-dbus-device.c
11063                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11064                         through dbus
11065
11066 2006-06-21  Raivis Dejus  <orvils@gmail.com>
11067
11068         * configure.in: Added 'lv' to ALL_LINGUAS
11069
11070 2006-06-19  Dan Williams  <dcbw@redhat.com>
11071
11072         * src/NetworkManagerAP.c
11073                 - Clarify usage of user_created
11074
11075         * src/nm-ap-security-wep.c
11076           src/nm-ap-security-wpa-eap.c
11077           src/nm-ap-security-wpa-psk.c
11078           src/nm-ap-security.c
11079           src/nm-ap-security.h
11080                 - s/user_created/adhoc, because we really do mean adhoc
11081
11082         Patch from Bernard Blackham <bernard@blackham.com.au>
11083         * src/nm-device-802-11-wireless.c         
11084                 - (supplicant_send_network_config): instead of user_created,
11085                         use adhoc, and do AP_SCAN 2 for adhoc networks
11086
11087 2006-06-18  Robert Love  <rml@novell.com>
11088
11089         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11090           we have a value to set.  Gconf generates a warning if `val' is NULL.
11091         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11092           unless we actually received a valid private key file passphrase or
11093           password.  Otherwise, we don't know to later ask the applet to pull
11094           the key from the keyring.
11095
11096 2006-06-17  Dan Williams  <dcbw@redhat.com>
11097
11098         * libnm-util/dbus-dict-helpers.[ch]
11099           test/libnm-util/test-dbus-dict-helpers.c
11100                 - Fixes for zero-length byte arrays
11101                 - Replace return values of 0 with FALSE for clarity
11102                 - Test zero-length byte arrays
11103
11104 2006-06-17  Dan Williams  <dcbw@redhat.com>
11105
11106         * libnm-util/dbus-dict-helpers.[ch]
11107           test/libnm-util/test-dbus-dict-helpers.c
11108                 - Add helpers for byte arrays
11109                 - Rework bits of the testcase
11110
11111 2006-06-16  Dan Williams  <dcbw@redhat.com>
11112
11113         * libnm-util/Makefile.am
11114         * libnm-util/dbus-dict-helpers.[ch]
11115                 - Add some helpers to take the pain out of using dict types in
11116                         dbus.
11117
11118         * test/libnm-util/Makefile.am
11119         * test/libnm-util/test-dbus-dict-helpers.c
11120                 - Test cases for the dict helper functions
11121
11122 2006-06-15  Robert Love  <rml@novell.com>
11123
11124         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11125           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
11126           if there is no key to pass.
11127         * libnm-util/dbus-helpers.c: Given the above, we can trust always
11128           receiving a non-NULL key.
11129
11130 2006-06-14  Robert Love  <rml@novell.com>
11131
11132         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11133           copy the strings.
11134
11135
11136 2006-06-14  Dan Williams  <dcbw@redhat.com>
11137
11138         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
11139         * src/nm-device-802-11-wireless.c
11140                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11141                         or ones where the driver is unknown
11142                 - (supplicant_exec): don't wait for supplicant startup here
11143                 - (supplicant_interface_init): finer grained polling for supplicant
11144                         startup
11145
11146 2006-06-13  Robert Love  <rml@novell.com>
11147
11148         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11149           if it is currently set to TRUE.  Otherwise, we will reset the value
11150           when we connect normally.
11151         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11152           the old BSSID is valid, too.  The recently added ESSID check may not be
11153           sufficient (we can remove it?).  What we really want to catch is the
11154           case of going from all-zeros to the BSSID of some other network, which
11155           happens on failure.
11156
11157 2006-06-09  Dan Williams  <dcbw@redhat.com>
11158
11159         * src/NetworkManagerSystem.[ch]
11160                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11161                         it was unused and pointless
11162                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11163                         fix for set_up_down_with_iface change
11164
11165         * src/vpn-manager/nm-vpn-connection.c
11166                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11167
11168         * src/backends/NetworkManagerPaldo.c
11169           src/backends/NetworkManagerRedHat.c
11170           src/backends/NetworkManagerSuSE.c
11171           src/backends/NetworkManagerArch.c
11172           src/backends/NetworkManagerDebian.c
11173           src/backends/NetworkManagerGentoo.c
11174                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11175                         appropriate
11176                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11177                         where appropriate
11178
11179 2006-06-09  Dan Williams  <dcbw@redhat.com>
11180
11181         Patch from Peter Jones:
11182         * src/nm-device-802-11-wireless.c
11183                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11184                         SSID hasn't changed from what we expect before automatically
11185                         updating the saved BSSID from a new AP
11186
11187 2006-06-08  Robert Love  <rml@novell.com>
11188
11189         Add 'fallback' support.  NetworkManager will attempt to brute-force
11190         connect to networks marked as fallback if there are no better wireless
11191         connections available.  This is useful as a method of last resort, to
11192         work around driver problems, and for use with hidden networks.
11193         * gnome/applet/applet-dbus-devices.c,
11194           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11195         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11196           pass it on via DBUS.
11197         * gnome/applet/applet.c: No fallback by default.
11198         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11199           Update other-network-dialog to add UI checkbox toggling fallback.
11200         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11201           propery from AP object.  Add "fallback" property to AP object.
11202         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11203         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11204         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11205           separate function.  Add get_best_fallback_ap() for returning an AP
11206           on which to attempt fallback.
11207         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11208         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11209
11210 2006-06-07  Robert Love  <rml@novell.com>
11211
11212         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11213           checked that the return type was GCONF_VALUE_STRING, not the correct
11214           GCONF_VALUE_BOOL, and thus it never worked.
11215         * src/NetworkManagerAPList.c: Before concluding that two networks are
11216           identical based on their BSSID, make sure that the BSSID in question
11217           is actually valid.  Specifically, an empty or all zero BSSID does not
11218           cut it.
11219         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11220           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11221           similar invariant clean up.
11222
11223 2006-06-02  Robert Love  <rml@novell.com>
11224
11225         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11226
11227 2006-05-28  Dan Williams  <dcbw@redhat.com>
11228
11229         * gnome/applet/applet.glade
11230           gnome/vpn-properties/nm-vpn-properties.glade
11231                 - Set window icons on dialogs  (Gnome.org #333420)
11232
11233 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11234
11235         * gnome/vpn-properties/nm-vpn-properties.glade:
11236         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11237         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11238         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11239                 - Make the VPN properties pages prettier and more HIG
11240                   compliant. Gnome Bug #336913.
11241
11242 2006-05-28  Dan Williams  <dcbw@redhat.com>
11243
11244         Patch from Christian Persch <chpe@gnome.org>
11245         * gnome/vpn-properties/nm-vpn-properties.c
11246         * gnome/vpn-properties/nm-vpn-properties.glade
11247                 - HIG-ification love  (Gnome.org #336846)
11248
11249 2006-05-28  Dan Williams  <dcbw@redhat.com>
11250
11251         Patch from Christian Persch <chpe@gnome.org>
11252         * configure.in
11253           gnome/vpn-properties/nm-vpn-properties.c
11254                 - (main): Fix option parsing.  Gnome.org #336847
11255
11256 2006-05-28  Dan Williams  <dcbw@redhat.com>
11257
11258         * gnome/vpn-properties/nm-vpn-properties.c
11259                 - (find_vpn_ui_by_service_name): protect against NULL service names
11260                 - (update_edit_del_sensitivity): protect against NULL service names
11261                         Gnome.org #341306
11262
11263 2006-05-28  Dan Williams  <dcbw@redhat.com>
11264
11265         Patch from Chris Fuller <crf@grandecom.net>:
11266         * src/nm-device-802-11-wireless.c
11267                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11268                         don't dispose of wireless-specific stuff unless it is actually
11269                         initialized.  Gnome.org #341263
11270
11271 2006-05-28  Dan Williams  <dcbw@redhat.com>
11272
11273         * src/NetworkManagerPolicy.c
11274                 - (nm_policy_device_change_check): don't switch devices if the "best"
11275                         AP is essentially the same as the current activation request, but
11276                         the current activation request isn't done activating yet.  Fixes
11277                         multiple requests for keyring password on startup for Gnome applet.
11278                         Gnome.org #341297
11279
11280 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11281
11282         * src/NetworkManager.c: use GOptions instead of getopt
11283         * configure.in: bump glib required version to >= 2.6 for GOption
11284           support
11285
11286 2006-05-25  Robert Love  <rml@novell.com>
11287
11288         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11289           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11290           instead of dumping ifdef's throughout the code.
11291         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11292           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11293           use nm_ioctl_info() in lieu.
11294
11295 2006-05-25  Robert Love  <rml@novell.com>
11296
11297         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11298         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11299           not using gcrypt.  Otherwise, we get a linker error.
11300
11301 2006-05-25  Robert Love  <rml@novell.com>
11302
11303         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11304         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11305           configure flag to disable building of the GNOME-based applet.
11306
11307 2006-05-25  Robert Love  <rml@novell.com>
11308
11309         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11310           parameter from link, because it shadows a global variable with some
11311           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11312           should never have exported to the entire system a common four letter
11313           word.  But we here at NetworkManager are team players.  Fixes
11314           GNOME bug #336532.
11315
11316 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11317
11318         * configure.in: Added mk.po, Macedonian translation.
11319
11320 2006-05-24  Robert Love  <rml@novell.com>
11321
11322         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11323           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11324           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11325
11326 2006-05-24  Robert Love  <rml@novell.com>
11327
11328         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11329           libnm-util/Makefile.am, src/Makefile.am,
11330           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11331           vpn-daemons/openvpn/properties/Makefile.am,
11332           vpn-daemons/pptp/auth-dialog/Makefile.am,
11333           vpn-daemons/pptp/properties/Makefile.am,
11334           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11335           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11336           user passed for --datadir, if anything, when setting the GNOME locale
11337           directory.  It should be a function of the specified datadir and not
11338           the prefix.
11339
11340 2006-05-24  Robert Love  <rml@novell.com>
11341
11342         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11343           src/NetworkManager.c: Take care to call bindtextdomain with the
11344           location of msgid files.
11345         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11346           files.
11347
11348 2006-05-22  Robert Love  <rml@novell.com>
11349
11350         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11351           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11352           99% of the time there is a real problem with wireless, and a
11353           seemingly successful connection via Zeroconf just confuses the user.
11354           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11355
11356 2006-05-22  Robert Love  <rml@novell.com>
11357
11358         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11359           autofs on interface up if NIS is configured.  On interface down, do
11360           nothing.
11361
11362 2006-05-22  Robert Love  <rml@novell.com>
11363
11364         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11365           to avoid calling g_object_unref() on stale pointers on error in
11366           nma_icons_free().  This happens because we short-circuit loaded the
11367           icons on the first failure but then free all icons.  Normally we have
11368           no issue because the icons were zero'ed out malloc, but we have stale
11369           pointer data after nma_icon_theme_changed().
11370         * gnome/applet/main.c: Return error code if nma_new() failed.
11371
11372 2060-05-21  Dan Williams  <dcbw@redhat.com>
11373
11374         * initscript/NetworkManager.in
11375                 - Ensure both dhcdbd and named are started before NM
11376
11377 2006-05-21  Dan Williams  <dcbw@redhat.com>
11378
11379         * configure.in
11380                 - Bump version to 0.7 to signify we are in 0.7 development
11381
11382 2006-05-21  Dan Williams  <dcbw@redhat.com>
11383
11384         Patch from Adam Schreiber <sadam@clemson.edu>
11385         * gnome/vpn-properties/nm-vpn-properties.c
11386                 - (main): correct Gnome program name  (gnome.org #342498)
11387
11388 2006-05-21  Dan Williams  <dcbw@redhat.com>
11389
11390         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11391
11392         * src/NetworkManagerDbus.[ch]
11393                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11394                         clarify that function's argument should be an escaped dbus object
11395                         path, and look for path segment end before returning a match
11396         * src/nm-dbus-nm.c:
11397                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11398
11399 2006-05-17  Robert Love  <rml@novell.com>
11400
11401         Functionality to differentiate Ad-Hoc networks from infrastructure
11402         networks in the applet, by displaying a special icon:
11403         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11404         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11405         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11406           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11407           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11408           networks, encrypted or not.
11409         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11410           accessor functions to get and set the mode of a given network,
11411           wireless_network_get_mode() and wireless_network_set_mode().
11412
11413 2006-05-17  Robert Love  <rml@novell.com>
11414
11415         Functionality to automatically add BSSIDs to the allowed-MAC list as
11416         one roams from access point to access point on a given network:
11417         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11418           helper function to compare two ether_addr structures and return TRUE
11419           if they contain the same MAC address.
11420         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11421           prototype.
11422         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11423           stored with the current AP.  If the BSSID has indeed changed, we
11424           send it out to the applet, allowing the allowed-MAC list to grow
11425           automatically in response to roaming.
11426
11427 2006-05-16  Robert Love  <rml@novell.com>
11428
11429         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11430           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11431
11432 2006-05-13  Dan Williams  <dcbw@redhat.com>
11433
11434         * src/nm-device-802-3-ethernet.c
11435                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11436                         carrier detect (Debian bug #366373)
11437
11438 2006-05-11  Dan Williams  <dcbw@redhat.com>
11439
11440         Patch from Michael Biebl <biebl@teco.edu>
11441         * src/backends/NetworkManagerDebian.c
11442                 - Debian backend fixups
11443
11444 2006-05-10  Robert Love  <rml@novell.com>
11445
11446         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11447
11448 2006-05-09  Robert Love  <rml@novell.com>
11449
11450         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11451           private certificate passphrase, if any, in the GNOME Keyring.
11452         * libnm-utils/dbus-helpers.c: Update.
11453
11454 2006-05-05  Dan Williams  <dcbw@redhat.com>
11455
11456         * src/nm-device-802-11-wireless.c
11457                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11458                         nm_device_802_11_wireless_disable_encryption() since that's all
11459                         we use it for anymore; we don't ever set WEP keys ourselves.
11460                 - (real_deactivate_quickly): reset SSID and encryption keys
11461                 - (real_deactivate): move SSID and encryption key reset to
11462                         real_deactivate_quickly(), which gets run before us anyway
11463
11464 2006-05-05  Robert Love  <rml@novell.com>
11465
11466         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11467           root has a wacky default of its own (or, more common, a user has a
11468           bad umask and uses su/sudo to restart NetworkManager).  Anything
11469           other than 0022 does not do what we want with, for example,
11470           resolv.conf.  This problem is amplified by our judicious use of
11471           fopen(), which uses mode 0666 -- implying that the only way to get
11472           the permissions we want is with a umask of 0022.
11473
11474 2006-05-05  Dan Williams  <dcbw@redhat.com>
11475
11476         * gnome/libnm_glib/libnm_glib.c
11477                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11478                         to reconnect; instead wait a bit more with each reconnect attempt
11479                         up to a max of one minute.
11480
11481 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11482
11483         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11484           the WirelessNetwork structure using the proper function instead of
11485           just casting it directly to (const char *) (gnome.org #336991)
11486
11487 2006-05-03  Robert Love  <rml@novell.com>
11488
11489         * src/backends/NetworkManagerSuSE.c: Respect the variable
11490           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11491           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11492           to dynamically update /etc/resolv.conf.
11493
11494 2006-05-02  Peter Jones  <pjones@redhat.com>
11495
11496         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11497
11498 2006-05-02  Robert Love  <rml@novell.com>
11499
11500         Patch by Timo Hoenig;
11501         * tests/nm-online.c: Print pretty status indicator as timeout winds
11502           down.  Also fix possible race between DBUS startup and failure
11503           return.
11504
11505 2006-05-01  Robert Love  <rml@novell.com>
11506
11507         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11508           empty, too.
11509
11510 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11511
11512         * src/nm-device.c (discover_device_type): Actually use the hal
11513         device type instead of ioctl poking
11514
11515 2006-04-26  Robert Love  <rml@novell.com>
11516
11517         * tests/nm-online.c: New file.  Simple utility that returns exit status
11518           noting whether the connection is offline or online.  If offline on
11519           start, it waits 30 seconds (or a command-line given value) for an
11520           online signal.  If it times out, it again returns offline.  This is
11521           useful for scripts that want to wait for network connections.
11522
11523 2006-04-25  Robert Love  <rml@novell.com>
11524
11525         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11526           key mode (the authentication algorithm), e.g. open or shared, when we
11527           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11528           only shared was broken.  If the user specified a shared key, set it
11529           explicitly, otherwise let wpa_supplicant go with the default.
11530
11531 2006-04-24  Dan Williams  <dcbw@redhat.com>
11532
11533         * src/nm-device-802-11-wireless.c
11534                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11535
11536 2006-04-24  Dan Williams  <dcbw@redhat.com>
11537
11538         Commit the async scanning patch
11539
11540         * src/nm-device-802-11-wireless.c
11541                 - get rid of scan_mutex
11542                 - (wireless_event_helper): act on wireless scan events
11543                 - (real_start): schedule a pending scan
11544                 - (link_to_specific_ap): fake the link to the AP during a scan
11545                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11546                         strength during scans
11547                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11548                         nm_device_set_bitrate): unused with new scanning code, disable
11549                 - (nm_device_wireless_schedule_scan): removed
11550                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11551                 - (request_and_convert_scan_results): new function; retrieve scan
11552                         results from the driver and schedule the processing function
11553                 - (scan_results_timeout): timeout triggered when card doesn't send
11554                         a scan results wireless event during a certain interval
11555                 - (schedule_scan_results_timeout): new function; schedule the scan
11556                         results timeout
11557                 - (cancel_scan_results_timeout): new function; cancel the scan
11558                         results timeout
11559                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11560                         to do the scanning.  Otherwise, just request a scan but don't
11561                         grab results here; instead schedule a timeout for scan results and
11562                         let netlink notify us of scan completion events
11563                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11564                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11565                 - (supplicant_status_cb): ignore disconnect events while scanning
11566                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11567                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11568                         timeouts
11569                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11570
11571 2006-04-24  Dan Williams  <dcbw@redhat.com>
11572
11573         * gnome/applet/applet-dbus.c
11574                 - Disable the pending call debug stuff, seems under control now
11575
11576 2006-04-20  Robert Love  <rml@novell.com>
11577
11578         Fix bug where hidden ESSID's would not show up in the applet, even
11579         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11580         because nm_policy_device_list_update_from_allowed_list() would merge
11581         the data, putting a name to the hidden networks, but never notify NMI
11582         of the changes.  Simple fix is to invoke the function
11583         nm_dbus_signal_wireless_network_change() if we make a mapping.
11584         * src/NetworkManagerAPList.c: Call the function
11585           nm_dbus_signal_wireless_network_change() if we made a successful
11586           BSSID to ESSID mapping, notifying the applet of the "new" network.
11587         * src/NetworkManagerAPList.h: Update the prototypes for both
11588           nm_ap_list_copy_essids_by_address() and
11589           nm_ap_list_copy_one_essid_by_address().
11590
11591 2006-04-20  Robert Love  <rml@novell.com>
11592
11593         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11594           not set.  Just return zero.
11595
11596 2006-04-20  Robert Love  <rml@novell.com>
11597
11598         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11599           only one copy of nm-vpn-properties is running at a time via the 'ol
11600           X selection trick.  This prevents the user from opening two "VPN
11601           Connections" windows from within the applet, which leads to mass
11602           hysteria.
11603         * clipboard.c: New file, implementing simple X selection logic.
11604         * clipboard.h: New file.
11605         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11606
11607 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11608
11609         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11610         * configure.in
11611           initscript/Gentoo/Makefile.am
11612           initscript/Gentoo/NetworkManagerDispatcher.in
11613                 - New script
11614         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11615           Gentopia
11616
11617 2006-04-16  Dan Williams  <dcbw@redhat.com>
11618
11619         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11620         * configure.in
11621           initscript/Slackware/Makefile.am
11622           initscript/Slackware/rc.networkmanager-dispatcher.in
11623           initscript/Slackware/rc.networkmanager.in
11624                 - Update slackware initscripts
11625
11626 2006-04-10  Robert Love  <rml@novell.com>
11627
11628         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11629           the "delete_event" signal on the druid's parent window and handle it
11630           our way, lest using the WM to close the druid results in a series of
11631           bloody and ultimately lethal errors.
11632
11633 2006-04-10  Robert Love  <rml@novell.com>
11634
11635         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11636           'Back' too or else the 'Forward' option is initially disabled despite
11637           valid input.
11638
11639 2006-04-06  Robert Love  <rml@novell.com>
11640
11641         Fix bad but simple bug where an active modem connection did not update
11642         NM's connection state, breaking any app that did online/offline:
11643         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11644           represented whether a dial up connection is active, or not.
11645         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11646           to modem activation and deactivation.
11647         * src/NetworkManagerDbus.c: When asked our state, do not return
11648           disconnected if the modem is active.
11649
11650 2006-04-04  Robert Love  <rml@novell.com>
11651
11652         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11653           applet.  It just confuses the crap out of people and does not make a
11654           lot of sense, as the daemon still runs.
11655
11656 2006-04-02  Tor Krill  <tor@krill.nu>
11657
11658         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11659           in start of service.
11660         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11661           get Archlinux backend up to date.
11662
11663 2006-03-29  Robert Love  <rml@novell.com>
11664
11665         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11666         to add support for per-route MSS and improve support for per-interface
11667         MTU:
11668         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11669           optionally take an MSS parameter and set it for the given route.
11670           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11671           NMIP4Config's stored MSS, if any.
11672         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11673           the interface's MTU and the route's MSS, respectively.  Add functions
11674           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11675           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11676           MSS.
11677         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11678           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11679           nm_ip4_config_set_mss.
11680         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11681           VPN daemon.
11682         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11683           Change the retval of nm_system_get_mtu to guint32.
11684         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11685           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11686           servers can specify MTU's, we should set it here if the MTU was not
11687           provided.
11688
11689 2006-03-27  Jürg Billeter  <j@bitron.ch>
11690
11691         * configure.in:
11692         * initscript/Makefile.am:
11693         * initscript/paldo/Makefile.am:
11694         * initscript/paldo/NetworkManager.in:
11695         * initscript/paldo/NetworkManagerDispatcher.in:
11696         * src/backends/Makefile.am:
11697         * src/backends/NetworkManagerPaldo.c:
11698                 - Add paldo support
11699
11700 2006-03-27  Dan Williams  <dcbw@redhat.com>
11701
11702         Patch from Christian Persch <chpe@gnome.org>
11703         * gnome/applet/applet.glade
11704                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11705
11706 2006-03-27  Dan Williams  <dcbw@redhat.com>
11707
11708         Patch from Diffe <diffie@blazebox.homeip.net>
11709         * src/backends/NetworkManagerSlackware.c
11710                 - Don't restart howl, since it's been replaced by Avahi
11711                         in most distributions
11712
11713 2006-03-27  Dan Williams  <dcbw@redhat.com>
11714
11715         Patch from Tor Krill <bugzilla@krill.nu>
11716         * configure.in
11717           initscript/Makefile.am
11718           src/backends/Makefile.am
11719           src/backends/NetworkManagerArch.c
11720           initscript/Arch/Makefile.am
11721           initscript/Arch/networkmanager-dispatcher.in
11722           initscript/Arch/networkmanager.in
11723                 - Add Arch Linux support, fixes gnome.org #335147
11724
11725 2006-03-27  Dan Williams  <dcbw@redhat.com>
11726
11727         Patch from Diffe <diffie@blazebox.homeip.net>
11728      * initscript/Slackware/rc.networkmanager
11729         - update, fixed gnome.org #333368
11730
11731 2006-03-27  Robert Love  <rml@novell.com>
11732
11733         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11734           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11735
11736 2006-03-27  Robert Love  <rml@novell.com>
11737
11738         Patch by Jürg Billeter <j@bitron.ch>:
11739         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11740           systems.
11741         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11742           as we prefer glibc over kernel headers, if possible.
11743
11744 2006-03-27  Robert Love  <rml@novell.com>
11745
11746         Patch by Jon Escombe <list@dresco.co.uk>:
11747         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11748         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11749           fail, don't bail out.  We don't expect all of the various WPA-EAP
11750           values to be present.
11751         * src/nm-ap-security.c: We need to match all capabilities for each
11752           encryption type, not any one of them.
11753
11754 2006-03-27  Robert Love  <rml@novell.com>
11755
11756         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11757           restart, not reload, ypbind.  Unfortunately there is no superior
11758           solution.
11759
11760 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11761
11762         * gnome/applet/applet-notifications.c:
11763         When displaying a notification, make sure to get rid of the
11764         previous notification so as to not have competing bubbles,
11765         and stop leaking the old one.
11766
11767         * gnome/applet/applet.c:
11768         * gnome/applet/applet.h:
11769         Add a new 'notification' member to the applet, and zero it out
11770         and free it appropriately.
11771
11772 2006-03-23  Robert Love  <rml@novell.com>
11773
11774         Patch by j <j@bootlab.org>:
11775         * gnome/applet/applet.glade: Don't set the invisible_char property,
11776           which simply overrides the GTK default.  By and by, this behavior
11777           ought to be fixed in Glade.
11778
11779 2006-03-22  Robert Love  <rml@novell.com>
11780
11781         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11782
11783 2006-03-22  Robert Love  <rml@novell.com>
11784
11785         Bug fix by Timo Hoenig <thoenig@suse.de>:
11786         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11787           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11788           and the applet going AWOL.
11789
11790 2006-03-22  Robert Love  <rml@novell.com>
11791
11792         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11793           preprocessor define and use it instead of open-coded the DHCP
11794           timeout, which is currently 25 seconds, everywhere.
11795
11796 2006-03-22  Robert Love  <rml@novell.com>
11797
11798         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11799         key exchange via WPA, ostensibly providing good security without
11800         requiring hardware that supports full WPA.  Also, add UI elements to
11801         allow the user to select the pairwise & group cipher for WPA Enterprise
11802         networks, too:
11803         * gnome/applet/applet.glade: Update glade file.
11804         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11805           key type, too, to and from gconf.
11806         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11807           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11808           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11809           the capabilities match.
11810         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11811           prototype.
11812         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11813           serialize from UI to DBUS.
11814         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11815           one element.
11816         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11817           nmu_security_serialize_wpa_eap_with_cipher(), and
11818           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11819           serialize/deserialize the key type via DBUS as the new third DBUS
11820           parameter.
11821         * libnm-util/dbus-helpers.h: Update prototypes.
11822         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11823           too.  If the key type is WEP104, do Dynamic WEP, which means
11824           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11825           pairwise and group ciphers (fixes a FIXME).
11826
11827 2006-03-21  Robert Love  <rml@novell.com>
11828
11829         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11830           nm_system_get_mtu(), which returns a user-provided or system-mandated
11831           MTU value for a given device, if any, or zero if no such value
11832           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11833           if we have a provided value.
11834         * src/nm-device.c: Set the MTU of devices.
11835         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11836         * src/backends/NetworkManagerDebian.c,
11837           src/backends/NetworkManagerGentoo.c,
11838           src/backends/NetworkManagerRedHat.c,
11839           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11840
11841 2006-03-21  Robert Love  <rml@novell.com>
11842
11843         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11844           configuration file.
11845
11846 2006-03-17  Robert Love  <rml@novell.com>
11847
11848         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11849           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11850           it, in case it is not running in the first place.  We just want its
11851           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11852
11853 2006-03-15  Robert Love  <rml@novell.com>
11854
11855         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11856           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11857           label "WEP 40/128-bit" is inconsistent because the physical key size
11858           is 40 or 104-bits, to which a 24-bit initialisation vector is
11859           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11860           to read "40/104" or "64/128".  I do not care much which, but most
11861           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11862           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11863           WEP passphrase support only handles 128-bit keys, and any future
11864           64-bit passphrase support will require a new option (no way to auto-
11865           detect the target key size), explicitly label our passphrase support
11866           "WEP 128-bit Passphrase".
11867
11868 2006-03-15  Robert Love  <rml@novell.com>
11869
11870         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11871           the system init scripts (or some other mechanism) starting it (or a
11872           compatible DBUS service) before NetworkManager runs.  This means that
11873           distributions might need to update their init scripts.  This fixes
11874           possible races and is quite a bit cleaner.
11875         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11876           starting the NetworkManager daemon.
11877
11878
11879 2006-03-14  Robert Love  <rml@novell.com>
11880
11881         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11882           before adding anything.
11883
11884 2006-03-13  Robert Love  <rml@novell.com>
11885
11886         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11887           widgets, too, if they exist, in case the user hit the back button.
11888           Fixes a bug where the details page contains the widgets of multiple
11889           VPN modules (Novell bug #157048).
11890
11891 2006-03-13  Robert Love  <rml@novell.com>
11892
11893         Patch by Timo Hoenig <thoenig@suse.de>:
11894         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11895           daemon survive DBUS restarts, too.
11896
11897 2006-03-10  Robert Love  <rml@novell.com>
11898
11899         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11900           passphrase or key.
11901         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11902           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11903           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11904           in response to "toggled" signal on new toggle.
11905
11906 2006-03-10  Robert Love  <rml@novell.com>
11907
11908         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11909           serialization if strings are NULL, lest DBUS get angry.
11910
11911 2006-03-10  Robert Love  <rml@novell.com>
11912
11913         * src/nm-ap-security-wpa-eap.c: Don't log the password.
11914
11915 2006-03-09  Robert Love  <rml@novell.com>
11916
11917         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11918           configurations.
11919
11920 2006-03-09  Dan Williams  <dcbw@redhat.com>
11921
11922         Track pending call requests in the applet, and report how many are
11923         outstanding, and how long each completed one takes.
11924         
11925         * gnome/applet/applet-dbus-devices.c
11926           gnome/applet/applet-dbus-vpn.c
11927                 - Track pending calls
11928
11929         * gnome/applet/applet-dbus.[ch]
11930                 - Remove some unused enums
11931                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11932                         new functions to track dbus pending calls and spit out some
11933                         statistics about them
11934
11935 2006-03-09  Robert Love  <rml@novell.com>
11936
11937         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11938           nm_ap_set_timestamp() take the second and micro-second parameters as
11939           direct arguments, which avoids both a dynamic memory allocation and a
11940           structure-to-structure copy!  Add a new interface, the aptly named
11941           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11942           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11943           the return from nm_ap_get_timestamp().  New users should use the new
11944           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11945           the extreme benefit to performance.
11946         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11947           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11948
11949 2006-03-08  Robert Love  <rml@novell.com>
11950
11951         * gnome/applet/applet.glade: Hide the password entry text with
11952           asterisks.
11953
11954 2006-03-08  Robert Love  <rml@novell.com>
11955
11956         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11957           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11958           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11959           a second argument, NMData.
11960         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11961         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11962           config files as trusted.
11963
11964 2006-03-06  Robert Love  <rml@novell.com>
11965
11966         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11967         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11968           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
11969           Rivera, detect if the applet was auto-started.  If so, ask the user
11970           if he or she would like to stop automatically running the applet on
11971           login.  If so, disable autostart.
11972
11973 2006-03-06  Robert Love  <rml@novell.com>
11974
11975         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
11976           directory in CFLAGS so developers can actually use NetworkManager.h.
11977
11978 2006-03-06  Robert Love  <rml@novell.com>
11979
11980         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11981           open-coded integer constants.  Add state_to_string() to map a given
11982           state to a textual description, and provide that when notifying of
11983           state change.
11984         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11985           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
11986           this header directly, but it is currently not installed on most
11987           systems.
11988
11989 2006-03-05  Dan Williams  <dcbw@redhat.com>
11990
11991         Process netlink messages in device subclasses rather than in
11992         NetworkManager.c.  Also add support for recognizing Wireless Events.
11993         
11994         * configure.in
11995                 - Find GLIB_GENMARSHAL
11996
11997         * src/Makefile.am
11998                 - Since we're marshalling custom types for wireless event signals,
11999                         we get to create our own marshallers using GLIB_GENMARSHAL
12000
12001         * src/NetworkManager.c
12002                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12003                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12004                         cut down somewhat.  We no longer process signals here.
12005                 - (nm_data_new): create the netlink monitor here, and remove a
12006                         useless call to nm_policy_schedule_device_change_check()
12007                 - (nm_data_free): get rid of the netlink monitor here
12008                 - (nm_device_link_activated, nm_device_link_deactivated): removed
12009                 - (main): don't create the netlink monitor here, let nm_data_new
12010                         do that.  Call nm_policy_schedule_device_change_check() right
12011                         before we jump to the mainloop to figure out which device
12012                         to use first
12013
12014         * src/NetworkManagerSystem.[ch]
12015                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12016                         convert back and forth from interface names to interface
12017                         indexes
12018
12019         * src/nm-device-802-11-wireless.c
12020                 - (real_init): connect to wireless-event signals from the netlink
12021                         monitor object
12022                 - (nm_device_802_11_wireless_event): new function, schedule handler
12023                         for wireless event signals from the netlink monitor object.  We
12024                         want the handler to run in the device's context
12025                 - (wireless_event_helper): handle wireless-event signals from netlink
12026                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12027                         signal handler
12028
12029         * src/nm-device-802-11-wireless.h
12030                 - remove unused prototype for nm_device_802_11_wireless_new
12031
12032         * src/nm-device-802-3-ethernet.c
12033                 - (real_init): new function; set up signal handlers for link events
12034                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12035                         handler for netlink link activated events on device's main loop
12036                 - (link_activated_helper): when we get a link activated event, set
12037                         the device's link to be active
12038                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12039                         handler for netlink link deactivated events on device's main loop
12040                 - (link_deactivated_helper): when we get a link deactivated event, set
12041                         the device's link to be inactive
12042                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12043                         dispose
12044
12045         * src/nm-device-802-3-ethernet.h
12046                 - remove unused prototype for nm_device_802_3_ethernet_new
12047
12048         * src/nm-device.[ch]
12049                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12050                         but locks the device list
12051                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12052
12053         * src/nm-netlink-monitor.[ch]
12054                 - (nm_netlink_monitor_class_install_signals): New signal
12055                         "wireless-event"
12056                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12057                         at the device list
12058                 - (nm_netlink_monitor_event_handler): expand for wireless events too
12059
12060         * src/nm-marshal-main.c
12061                 - Include generated nm-marshal.c and nm-marshal.h
12062
12063         * src/nm-marshal.list
12064                 - List of custom marshal functions
12065
12066 2006-03-05  Dan Williams  <dcbw@redhat.com>
12067
12068         * gnome/applet/applet-notifications.h
12069                 - Protect prototype of nma_send_event_notification() because it
12070                         includes libnotify-specific types
12071                 - Include libnotify/libnotify.h too, since we technically need it
12072
12073         * gnome/applet/applet.c
12074                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12075                 - (nma_show_vpn_login_banner_dialog): add some error checking
12076
12077 2006-03-04  Dan Williams  <dcbw@redhat.com>
12078
12079         Clean up activation cancellation.  Should be a lot faster now.  Observed
12080         an issue with wireless devices between stage 2 and 3 of activation, where
12081         activation would be cancelled, but the device thread wouldn't notice until
12082         the supplicant association timed out.  Reorganize activation such that
12083         a cancellation handler gets immediately scheduled in the device's thread,
12084         and devices have a chance to perform any custom cleanup too.
12085
12086         * src/nm-device.[ch]
12087                 - (activation_cancel_handler): new device-type-specific function
12088                         for cleaning up device-type-specific stuff on cancellation
12089                 - (cancel_activation): removed
12090                 - (nm_device_activation_cancel): subsume functionality of
12091                         real_cancel_activation, but instead of doing anything, punt
12092                         operation to a handler that's run in device-thread context
12093                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12094                         a warning message
12095                 - (activation_handle_cancel_helper): cancellation handler run in
12096                         device-thread context, calls device-type-specific cancelation,
12097                         then tears down the activation request
12098                 - (real_activation_cancel_handler): generic cancellation handler,
12099                         deals with cancelling any in-process DHCP request
12100                 - (nm_device_activate_stage1_device_prepare,
12101                    nm_device_activate_stage2_device_config,
12102                    nm_device_activate_stage3_ip_config_start,
12103                    nm_device_activate_stage4_ip_config_get,
12104                    nm_device_activate_stage4_ip_config_timeout,
12105                    nm_device_activate_stage5_ip_commit): don't call
12106                         nm_device_schedule_activation_handle_cancel() any more, since
12107                         cancellation will have been already scheduled for us by
12108                         nm_device_activation_cancel().  Just exit the function and
12109                         assume that the cancel handler will be called next.
12110
12111         * src/nm-device-802-3-ethernet.c
12112                 - (real_act_stage2_config): remove; didn't do anything anyway
12113
12114         * src/nm-device-802-11-wireless.c
12115                 - (supplicant_status_cb): ensure we don't do anything if the activation
12116                         got cancelled
12117                 - (real_activation_cancel_handler): implement; cancel user key request
12118                         on activation cancellation
12119
12120 2006-03-04  Dan Williams  <dcbw@redhat.com>
12121
12122         * src/nm-device-802-11-wireless.c
12123                 - (supplicant_send_network_config): assume that drivers that don't
12124                         support WPA pretty much suck, and can't handle NM scanning
12125                         along with wpa_supplicant.
12126
12127 2006-03-03  Robert Love  <rml@novell.com>
12128
12129         * configure.in: Bump version to 0.6.0.
12130         * NEWS: Update.
12131
12132 2006-03-03  Robert Love  <rml@novell.com>
12133
12134         * configure.in: Require DBUS 0.60 or later.
12135
12136 2006-03-03  Dan Williams  <dcbw@redhat.com>
12137
12138         Fix a crash if an "Other wireless network" was chosen, failed, then
12139         chosen again from the applet's menu.  If the other network wasn't
12140         noticed in a scan, it wouldn't have any capabilities, but would still
12141         be listed because the user forced the network.  To fix this, we set
12142         sensible capabilities on the forced network, which will get overwritten
12143         with the correct ones if the network shows up later in a scan.
12144         
12145         * src/nm-ap-security.h
12146                 - Add a new "get_default_capabilities_func" member to the
12147                         NMAPSecurity class
12148
12149         * src/nm-ap-security.c
12150                 - (nm_ap_security_get_default_capabilities): new function
12151
12152         * src/nm-ap-security.c
12153           src/nm-ap-security-wep.c
12154           src/nm-ap-security-wpa-psk.c
12155           src/nm-ap-security-wpa-eap.c
12156                 - Implement get_default_capabilities_func() for all, which
12157                         uses the information contained in a specific NMAPSecurity
12158                         object to determine default AP capabilites necessary
12159                         to support that object
12160
12161         As a secondary measure, we now prune artificial access points that fail
12162         to be activated right away.  The thing failed, and we have no scan data for
12163         it, so it's pretty much useless since security information is only saved
12164         in the applets when a connection is successful.
12165
12166         * src/NetworkManagerAPList.c
12167                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12168                         not artificial.  If we see it, it's no longer a figment of the
12169                         user's imagination :)
12170
12171         * src/NetworkManagerPolicy.c
12172                 - (nm_policy_activation_failed): send along the failed AP if we
12173                         have it
12174
12175         * src/nm-device-802-11-wireless.c
12176                 - (real_activation_failure_handler): remove artificial APs from
12177                         the device list, because activation failed
12178
12179 2006-03-02  Robert Love  <rml@novell.com>
12180
12181         Add support for retrieving both the per-device speed and the
12182         per-network maximum supported rate.  Then change the getProperties
12183         DBUS API for both networks and devices to report this informaiton.
12184         Finally, display the information via both nm-applet and nm-tool:
12185         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12186           and set it.
12187         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12188           Information' dialog.
12189         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12190         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12191           network_device_get_speed() and network_device_set_speed() for
12192           retrieving and setting, respectively, a network device's current
12193           speed.
12194         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12195         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12196           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12197           not matter (yet) what the units are, because we only feed it its own
12198           output.  Implement SIOCGIRATE and set the per-network maximum
12199           supported rate during scanning.
12200         * src/nm-device-802-11-wireless.h: Export the function
12201           nm_device_802_11_wireless_get_bitrate().
12202         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12203           function nm_device_802_3_ethernet_get_speed() for returning an
12204           802.3's current speed, in Mb/s.
12205         * test/nm-tool.c: Display the per-device current speed, if available,
12206           and the per-network maximum rate.
12207
12208 2006-03-02  Dan Williams  <dcbw@redhat.com>
12209
12210         * src/nm-device-802-11-wireless.c
12211                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12212                         card when it gets initialized.  Since devices don't get added to
12213                         the scan list until they are initialized, this function wasn't
12214                         setting the intitial scan interval correctly, and was leaving
12215                         it at 0.  This caused cards to get many scan requests in a short
12216                         amount of time when they were initialized
12217
12218 2006-03-02  Robert Love  <rml@novell.com>
12219
12220         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12221           active device.  But do not do what we used to do and override the
12222           state, which caused the dreaded icon race of '05.
12223
12224 2006-03-02  Robert Love  <rml@novell.com>
12225
12226         Commit Dan's update of my previous commit:
12227         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12228           set_mode() function itself does the check.  But do only set the
12229           frequency if in Ad-Hoc mode.
12230
12231 2006-03-02  Robert Love  <rml@novell.com>
12232
12233         Patch by Brian Magnuson <magnuson@rcn.com>:
12234         * src/nm-device-802-11-wireless.c: During scanning, only set the
12235           wireless mode to infrastructure if it is not currently in
12236           infrastructure mode.  For some driver, setting the mode is a costly
12237           operation, apparently.
12238
12239 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12240
12241         * Makefile.am: use the correct dir for autostart mechanism.
12242
12243 2006-02-28  Dan Williams  <dcbw@redhat.com>
12244
12245         Patch from Brian Magnuson <magnuson@rcn.com>
12246         * gnome/applet/applet.c
12247                 - (nma_show_vpn_failure_dialog): fix errors left over from
12248                         libnotify support changes
12249
12250 2006-02-28  Dan Williams  <dcbw@redhat.com>
12251
12252         * src/vpn-manager/nm-vpn-act-request.[ch]
12253                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12254                         just one value
12255                 - (nm_vpn_act_request_is_failed): new function; return whether or
12256                         not the vpn activation request has failed
12257
12258         * src/vpn-manager/nm-vpn-manager.c 
12259                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12260                         daemon to kill the connection when the activation request fails.
12261                         Fixes issue where NM would get confused if the VPN activation
12262                         request timed out, and would not allow further VPN connections
12263                         on that service.
12264
12265 2006-02-28  Dan Williams  <dcbw@redhat.com>
12266
12267         * gnome/applet/applet.c
12268                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12269                         overlapping connection requests, disable all VPN menu items
12270                         but the active VPN connection
12271
12272 2006-02-28  Dan Williams  <dcbw@redhat.com>
12273
12274         * src/vpn-manager/nm-vpn-connection.c
12275                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12276                         called g_object_unref() on the connection's parent device
12277                         when it should have been ref-ed instead.  Fixes crash with
12278                         repeated vpn connect requests
12279
12280 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12281
12282         * gnome/applet/applet.glade:
12283         Mark a few strings non-translatable, since they shouldn't be.
12284
12285 2006-02-28  Dan Williams  <dcbw@redhat.com>
12286
12287         * src/vpn-manager/nm-vpn-service.c
12288                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12289                         already running, don't blindly ask it to connect, but wait until
12290                         it's in the STOPPED state first.  Fixes an assertion when user
12291                         starts a second vpn connection without stopping the first.
12292                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12293                         dbus service exists before continuing with the connection
12294                         process, and reduce latency while waiting for it to become
12295                         available
12296                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12297                         waiting for the vpn service daemon to become available
12298                 - General log message cleanups; show progress via "Stage x of 4"
12299                         rather than not telling anyone how many stages there are
12300
12301 2006-02-28  Robert Love  <rml@novell.com>
12302
12303         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12304         * src/backends/NetworkManagerSuSE.c: Implement the interface
12305           nm_system_should_modify_resolv_conf() for SUSE.
12306         * src/backends/NetworkManagerDebian.c,
12307           src/backends/NetworkManagerGentoo.c,
12308           src/backends/NetworkManagerRedHat.c,
12309           src/backends/NetworkManagerSlackware.c: Add stub.
12310         * src/named-manager/Makefile.am: Grab includes from src.
12311         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12312           automatic updating of resolv.conf.  This is useful for testing,
12313           broken static configurations, and administrator lock-down.
12314
12315 2006-02-28  Dan Williams  <dcbw@redhat.com>
12316
12317         * src/nm-device-802-11-wireless.c
12318                 - Move all the wpa_supplicant-related management stuff into its
12319                         own struct, just for oranization's sake
12320                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12321                         to a GIOChannel/GSource
12322                 - (supplicant_log_stdout): new function; grab output from the
12323                         wpa_supplicant stdout pipe and write it to our logs.
12324
12325 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12326
12327         * src/nm-device-802-11-wireless.c:
12328         Err, fix thinko in my previous commit.
12329
12330 2006-02-28  Robert Love  <rml@novell.com>
12331
12332         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12333
12334 2006-02-28  Robert Love  <rml@novell.com>
12335
12336         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12337           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12338           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12339           deserializers are responsible for freeing the returned DBUS strings.
12340
12341 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12342
12343         * src/nm-device-802-11-wireless.c:
12344         The scan list is being pruned prematurely.  We should prune after
12345         the device has gone MIA for three scans, not one.  Split out the
12346         interval to realtime seconds function to better serve this.
12347
12348 2006-02-27  Robert Love  <rml@novell.com>
12349
12350         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12351           Open the pid file O_TRUNC, so if it already exists we truncate it to
12352           zero length.  Also, be more verbose about warnings generated during
12353           writing out the pid file.  Finally, always write out the pid file if
12354           in daemon mode.  Use "--pid-file" to override the default.
12355
12356 2006-02-27  Robert Love  <rml@novell.com>
12357
12358         Patch by R. Vinay <rvinay@novell.com>:
12359         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12360           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12361           Novell bug #153628).
12362           
12363 2006-02-27  Robert Love  <rml@novell.com>
12364
12365         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12366           entry so user can hit <ENTER> after entering passphrase (Novell bug
12367           #153738).
12368
12369 2006-02-27  Dan Williams  <dcbw@redhat.com>
12370
12371         * gnome/applet/*
12372                 - Mass search/replace of:
12373                         nmwa -> nma
12374                         NMWirelessApplet -> NMApplet
12375                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12376                    (it ain't just for wireless anymore, ma!)
12377                 - Fix duplicate function name printing when using nm_warning
12378                 - wireless-applet.glade -> applet.glade
12379
12380 2006-02-27  Dan Williams  <dcbw@redhat.com>
12381
12382         * dispatcher-daemon/NetworkManagerDispatcher.c
12383                 - Accept --pid-file with a path to a pidfile, write it out on
12384                         startup, and delete it on shutdown
12385
12386         * src/NetworkManager.c
12387                 - Accept --pid-file with a path to a pidfile, write it out on
12388                         startup, and delete it on shutdown
12389                 - Move nm_print_usage() lower
12390
12391         * initscripts/RedHat/NetworkManager.in
12392                 - Use new --pid-file option
12393                 - Fix service stopping to wait a bit for NM to quit
12394
12395         * initscripts/RedHat/NetworkManagerDispatcher.in
12396                 - Use new --pid-file option
12397
12398 2006-02-26  Dan Williams  <dcbw@redhat.com>
12399
12400         * src/Makefile.am
12401                 - make and install nm-crash-logger
12402
12403         * src/nm-logging.[ch]
12404                 - New files; consolidate logging and crash handling
12405
12406         * src/nm-crash-logger.c
12407           src/gdb-cmd
12408                 - Standalong crashlogger for NM, grab a backtrace
12409                         using GDB
12410
12411         * src/NetworkManager.[ch]
12412                 - Remove signal handling and put it into nm-logging.c
12413
12414 2006-02-26  Dan Williams  <dcbw@redhat.com>
12415
12416         * configure.in
12417           gnome/applet/Makefile.am
12418                 - Conditionalize all the notify stuff
12419
12420         Merge most of Chris Aillon's notification patch:
12421         
12422         * gnome/applet/applet-notifications.[ch]
12423                 - New files; show a notification
12424         
12425         * gnome/applet/applet-dbus-devices.[ch]
12426                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12427                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12428                         new functions, do the right thing when a device change occurs
12429
12430         * gnome/applet/applet-dbus.c
12431                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12432                         signals, so we can handle them specially
12433
12434         * gnome/applet/applet.[ch]
12435                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12436                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12437                 - (nmwa_notify_state): remove
12438                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12439                         notification work is now done when the appropriate dbus signals
12440                         are received.
12441                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12442                         defer execution of the notification/dialog stuff.  That was an
12443                         artifact of the previous multi-threaded nature of the applet
12444                         and is now pointless.
12445                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12446                         no longer needed.  Function folded into applet-notifications.c
12447
12448         * src/NetworkManagerPolicy.c
12449                 - (nm_policy_activation_finish): send the AP along with the device
12450                         status change signal, if the connection is wireless.  Should
12451                         fix the race where applet would show a connection to "unknown"
12452
12453 2006-02-25  Robert Love  <rml@novell.com>
12454
12455         Add WPA Enterprise support:
12456         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12457           nm-gconf-wso-wpa-eap.h.
12458         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12459           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12460           serialization and deserialization.
12461         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12462           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12463           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12464         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12465           settings related to WPA Enterprise.
12466         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12467           instantiate WPA Enterprise wireless-security-option.
12468         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12469           Implement WPA Enterprise wireless-security-option object.
12470         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12471           defines.  Cleanup.
12472         * libnm-util/cipher-wpa-psk-hex.c,
12473           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12474         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12475           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12476           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12477           including the cipher to DBUS method, and
12478           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12479           to output.
12480         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12481           nm-ap-security-wpa-eap.h
12482         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12483           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12484         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12485           files.  Implement NMAPSecurityWPA_EAP object.
12486         * src/nm-ap-security-wpa-psk.c: Cleanup.
12487         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12488           an NMAPSecurityWPA_EAP object via the method
12489           nm_ap_security_wpa_eap_new_deserialize().
12490         * src/nm-dbus-nm.c: Cleanup.
12491         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12492           WPA Enterprise support.
12493
12494 2006-02-24  Robert Love  <rml@novell.com>
12495
12496         Patch from Timo Hoenig <thoenig@suse.de>:
12497         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12498
12499 2006-02-24  Robert Love  <rml@novell.com>
12500
12501         Patch from Dan Winship <danw@novell.com>:
12502         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12503           area to transparent.
12504
12505 2006-02-21  Dan Williams  <dcbw@redhat.com>
12506
12507         * gnome/applet/applet.[ch]
12508           gnome/applet/applet-dbus.c
12509                 - Implement notification support for VPN messages too
12510
12511 2006-02-21  Dan Williams  <dcbw@redhat.com>
12512
12513         * gnome/applet/applet-dbus-info.c
12514                 - Clean up warning messages to not double-print the function
12515
12516 2006-02-21  Dan Williams  <dcbw@redhat.com>
12517
12518         * gnome/applet/applet-compat.c
12519                 - (convert_one_entry): accept entries without a key_type and
12520                         convert them to unencrypted networks
12521
12522 2006-02-21  Dan Williams  <dcbw@redhat.com>
12523
12524         * gnome/libnm_glib/libnm_glib.c
12525                 - Use __func__ everywhere we can
12526                 - Code cleanups
12527                 - Use dbus pending calls rather than blocking
12528                 - Reduce busywaits for our thread to start and stop
12529                         (gnome.org #330562)
12530                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12531                         stomp on others using the default shared dbus connection.
12532                         Fixes #rh177546# and gnome.org #326572
12533
12534 2006-02-21  Dan Williams  <dcbw@redhat.com>
12535
12536         Patch from Rodney Dawes <dobey@novell.com>
12537         * configure.in
12538           gnome/applet/Makefile.am
12539           gnome/applet/applet.c
12540                 - Add libnotify support if '--enable-notify=yes' is passed
12541                   at configure time
12542
12543 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12544
12545         * configure.in (ALL_LINGUAS): ko added. (Korean)
12546
12547 2006-02-15  Robert Love  <rml@novell.com>
12548
12549         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12550           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12551           and WPA_SUPPLICANT_CONTROL_SOCKET.
12552         
12553 2006-02-15  Robert Love  <rml@novell.com>
12554
12555         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12556           information about what connection stage we are at, provide the total
12557           number of stages, e.g. "Stage 2 of 5", so users know how far along
12558           they are if they experience problems.
12559
12560 2006-02-15  Robert Love  <rml@novell.com>
12561
12562         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12563           define to $sysconfdir.
12564         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12565           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12566           type of VPN and then editing another results in a mangled dialog
12567           box containing the widgets from both VPNs (fixes Novell #150854).
12568           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12569
12570 2006-02-14  Robert Love  <rml@novell.com>
12571
12572         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12573           syslog's file descriptor.
12574
12575 2006-02-14  Robert Love  <rml@novell.com>
12576
12577         Fix bug around since the change to "deal with APs changing settings on
12578         us," checked in on the fifth of February in the year of the dog, 
12579         wherein connecting to non-broadcast encrypted networks always fails
12580         because nm_ap_get_encrypted() always returns FALSE, even when the user
12581         provided a key, because the newly-created fake AP does not have any
12582         capabilities set, which is a sypmtom of security settings not matching
12583         capabilities (Novell bug #150784):
12584         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12585           nm_ap_add_capabilities_from_security(), which sets the given AP's
12586           capabilities off the given security settings.  Also improve our
12587           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12588           NM_AUTH_CIPHER_AUTO.
12589         * src/nm-device-802-11-wireless.c: Call the function
12590           nm_ap_add_capabilities_from_security() to ensure that capabilities
12591           match newly updated security settings.
12592
12593 2006-02-14  Robert Love  <rml@novell.com>
12594
12595         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12596           error as a string, not an integer, if possible; do not print the
12597           function name twice; always give the interface, if possible; misc.
12598           cleanup.
12599
12600 2006-02-12  Dan Williams  <dcbw@redhat.com>
12601
12602         Patch from Tom Parker <palfrey@tevp.net>
12603         * src/NetworkManagerSystem.h
12604                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12605                         no longer used
12606
12607         * src/backends/NetworkManagerDebian.c
12608                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12609                         unused variables
12610
12611 2006-02-12  Dan Williams  <dcbw@redhat.com>
12612
12613         * vpn-daemons/openvpn/intltool-extract.in
12614           vpn-daemons/openvpn/intltool-merge.in
12615           vpn-daemons/openvpn/intltool-update.in
12616           vpn-daemons/pptp/intltool-extract.in
12617           vpn-daemons/pptp/intltool-merge.in
12618           vpn-daemons/pptp/intltool-update.in
12619                 - Remove from CVS, they should get created by intltoolize,
12620                         shouldn't they?
12621
12622 2006-02-12  Dan Williams  <dcbw@redhat.com>
12623
12624         * vpn-daemons/pptp/src/pppd/patchlevel.h
12625         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12626                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12627                         Makefile-defined VERSION
12628
12629 2006-02-09  Dan Williams  <dcbw@redhat.com>
12630
12631         Patch from: Vinay A R <rvinay@novell.com>
12632         * src/vpn-manager/nm-vpn-act-request.[ch]
12633                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12634                         IPSec VPNs require them for std gateway.
12635                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12636                         and 'user_routes_count'
12637                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12638                         defined routes  from NMVPNActRequest object, returns the string
12639                         array of routes.
12640
12641         * src/vpn-manager/nm-vpn-manager.[ch]
12642                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12643                         for 'user_routes' and 'user_routes_count'
12644         
12645         * src/vpn-manager/nm-dbus-vpn.c
12646                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12647                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12648         
12649         * src/vpn-manager/nm-vpn-service.c
12650                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12651                         the vpn daemon
12652
12653         Modifications by Dan:
12654         * src/vpn-manager/nm-vpn-service.c
12655                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12656                         arrays into dbus
12657
12658         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12659         * vpn-daemons/pptp/src/nm-pptp-service.c
12660         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12661                 - Grab user routes from dbus message
12662                 - Free all string arrays we got from dbus
12663
12664 2006-02-07  Robert Love  <rml@novell.com>
12665
12666         Patch by Stefan Seyfried <seife@suse.de>:
12667         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12668
12669 2006-02-06  Robert Love  <rml@novell.com>
12670
12671         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12672
12673 2006-02-06  Robert Love  <rml@novell.com>
12674
12675         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12676           test ">=" is never false.  If no newline is found, we loop forever.
12677           We can just check for ">" because the following if() will see the
12678           zero-th argument if the while() gets that far.
12679
12680 2006-02-05  Dan Williams  <dcbw@redhat.com>
12681
12682         Refine handling of non-broadcast networks.
12683
12684         * src/NetworkManagerAPList.c
12685                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12686                         property from scanned AP to the AP from the device list
12687
12688         * src/nm-device-802-11-wireless.c
12689                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12690                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12691                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12692                         networks since those don't have APs.
12693                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12694                         AP as non-SSID-broadcasting
12695                 - (process_scan_results): don't handle non-SSID-broadcasting here
12696
12697 2006-02-05  Dan Williams  <dcbw@redhat.com>
12698
12699         * src/nm-device-802-11-wireless.c
12700                 - (get_supplicant_timeout): new function; return
12701                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12702                         14 channels.  These are likely a/b/g cards, like Atheros, and
12703                         slow as hell to scan.
12704                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12705                         get_supplicant_timeout()
12706
12707 2006-02-05  Dan Williams  <dcbw@redhat.com>
12708
12709         * src/dhcp-manager/nm-dhcp-manager.c
12710                 - Loose a commit race with Robert; make sure size check
12711                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12712
12713 2006-02-05  Robert Love  <rml@novell.com>
12714
12715         Patch by Christoph Brill <chrisbrill@gmx.net>:
12716         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12717           with DHCP_SERVICE_NAME.
12718
12719 2006-02-05  Dan Williams  <dcbw@redhat.com>
12720
12721         Remove anything having to do with device_setup_func from the
12722         AP security objects, since it's no longer used.
12723
12724         * src/nm-ap-security.h
12725                 - Kill device_setup_func and nm_ap_security_device_setup()
12726
12727         * src/nm-ap-security-wep.c
12728           src/nm-ap-security-wpa-psk.c
12729                 - (real_device_setup): remove
12730
12731         * src/nm-ap-security.c
12732                 - (real_device_setup): remove
12733                 - (nm_ap_security_device_setup): remove
12734
12735         * src/nm-device-802-11-wireless.[ch]
12736                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12737                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12738                         and done by wpa_supplicant now anyway
12739
12740 2006-02-05  Dan Williams  <dcbw@redhat.com>
12741
12742         * src/nm-device-802-11-wireless.c
12743                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12744                         settings on us.  Previously NM would loop asking for the
12745                         key but getting the same one back.  Now, if the NMI-supplied
12746                         cipher doesn't overlap with the scanned AP capabilities,
12747                         we request a completely new key from the user.
12748
12749 2006-02-05  Dan Williams  <dcbw@redhat.com>
12750
12751         * src/NetworkManagerUtils.c
12752                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12753                         Handle newline killing better
12754
12755 2006-02-05  Dan Williams  <dcbw@redhat.com>
12756
12757         * gnome/applet/nm-gconf-wso.c
12758                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12759                         of unencrypted access point security info.
12760
12761 2006-02-03  Robert Love  <rml@novell.com>
12762
12763         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12764           user's encryption key, so we print the err_msg_cmd not the command,
12765           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12766           sense.
12767
12768 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12769
12770         * initscript/RedHat/NetworkManagerDispatcher.in:
12771         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12772         Patch from Dan Walsh <dwalsh@redhat.com>
12773
12774 2006-02-03  Robert Love  <rml@novell.com>
12775
12776         * dispatcher-daemon/NetworkManagerDispatcher.c,
12777           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12778           but use the sysconfdir.
12779
12780 2006-02-03  Robert Love  <rml@novell.com>
12781
12782         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12783           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12784           'char *'.
12785         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12786           nm_ip4_config_get_hostname() and
12787           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12788         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12789           leak g_strdup() result.
12790
12791 2006-02-03  Robert Love  <rml@novell.com>
12792
12793         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12794           broadcast == TRUE.  Also, copy broadcast and artificial properties
12795           from source network to destination in nm_ap_copy().
12796         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12797           since we now default new networks to non-hidden.
12798
12799 2006-02-03  Dan Williams  <dcbw@redhat.com>
12800
12801         * gnome/applet/main.c
12802                 - (main): change the NEVER->ALWAYS so we start at the
12803                         beginning of the session, if being session-managed
12804
12805 2006-02-03  Dan Williams  <dcbw@redhat.com>
12806
12807         * gnome/applet/main.c
12808                 - (main): in a variation on Robert's patch, change
12809                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12810                         he wants.
12811
12812 2006-02-02  Robert Love  <rml@novell.com>
12813
12814         * src/Makefile.am: If we aren't going to create the run directory at,
12815           uh, run-time, create it during install.  Then users just doing
12816           'make install' are cool, too.  While we are here, create the
12817           dispatcher.d directory, too.
12818         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12819           the exact run directory.
12820         * Makefile.am: Install nm-applet.desktop.
12821
12822 2006-02-02  Robert Love  <rml@novell.com>
12823
12824         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12825           structure, which denotes whether or not the AP is hidden.  This is a
12826           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12827           can show up in the scan list.  Add nm_ap_get_broadcast() and
12828           nm_ap_set_broadcast() accessor interfaces.
12829         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12830           nm_ap_set_broadcast().
12831         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12832           "getProperties" method, which denotes whether or not the given
12833           network is hidden.
12834         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12835           an artificial network.  Set broadcast to TRUE when scanning returns
12836           an ESSID and FALSE when not.
12837         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12838           from "getProperties" method on a network.  Possible TODO is to
12839           somehow display this.
12840         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12841
12842 2006-02-02  Dan Williams  <dcbw@redhat.com>
12843
12844         * src/nm-device-802-11-wireless.c
12845                 - (supplicant_interface_init): don't try to create
12846                         /var/run/NetworkManager, since that should be done by
12847                         the distro package.  Causes problems for stuff like SELinux
12848
12849 2006-02-02  Robert Love  <rml@novell.com>
12850
12851         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12852         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12853           Check for and handle empty string for iface.
12854
12855 2006-02-01  Robert Love  <rml@novell.com>
12856
12857         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12858           manpage.
12859
12860 2006-01-31  Dan Williams  <dcbw@redhat.com>
12861
12862         * nm-applet.desktop
12863                 - Add --sm-disable to Exec arguments, presuming that when
12864                         using autostart, we don't want session management
12865
12866 2006-01-31  Robert Love  <rml@novell.com>
12867
12868         * src/NetworkManagerAP.c: Add two new manufacturer default network
12869           names: linksys-a and linksys-g.  These are found (at least) on the
12870           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12871           own ESSID.
12872
12873 2006-01-31  Robert Love  <rml@novell.com>
12874
12875         * src/NetworkManagerAP.c: Optimize the function
12876           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12877           machine code.  This is the first in a series of code tweaks aiming to
12878           generate better machine code and make NetworkManager all the better.
12879           Just kidding.  Who has time to go through the assembly generated for
12880           every function?  I certainly don't.  I have a wife, a kid, a job,
12881           a mortgage, a mistress.  But this function was so bad, I was called
12882           to arms.  Like the book.
12883
12884 2006-01-31  Robert Love  <rml@novell.com>
12885
12886         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12887           AP is not broadcasting, to scan with probe request frames.  Required
12888           for non-broadcast networks.
12889
12890 2006-01-31  Robert Love  <rml@novell.com>
12891
12892         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12893           preprocessor define (still 20s).  Fix message text in nm_info()
12894           s/too too/took too/.
12895
12896 2006-01-30  Dan Williams  <dcbw@redhat.com>
12897
12898         * src/nm-device-802-11-wireless.c
12899                 - (supplicant_monitor_start): increase connect/auth timeout to
12900                         20 seconds from 10 seconds
12901
12902 2006-01-30  Dan Williams  <dcbw@redhat.com>
12903
12904         * src/Makefile.am
12905                 - Define LOCALSTATEDIR
12906
12907         * src/nm-device-802-11-wireless.c
12908                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12909                         socket where we want it to
12910
12911         * src/wpa_ctrl.[ch]
12912                 - (wpa_ctrl_open): accept location to put local control socket
12913
12914 2006-01-30  Robert Love  <rml@novell.com>
12915
12916         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12917           get_ip4_string() for "domain_name".
12918
12919 2006-01-30  Robert Love  <rml@novell.com>
12920
12921         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12922           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12923           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12924           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12925           support for "Automatic" pairwise and group cipher configuration by
12926           letting wpa_supplicant handle the details.  Add UI elements, new
12927           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
12928           charm.  Note this does more than add a nice feature, it fixes a bug.
12929           Apparently, some people have AP's where the pairwise cipher does not
12930           match the group cipher.  Insane, but true.
12931
12932 2006-01-30  Dan Williams  <dcbw@redhat.com>
12933
12934         * gnome/applet/applet-dbus-devices.c
12935                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12936                         functions, grab device driver name from NetworkManager
12937                 - (nmwa_dbus_device_properties_cb): call functions to get driver
12938
12939         * gnome/applet/applet.c
12940                 - (nmwa_update_info): show driver name in Connection Information
12941                         dialog
12942
12943         * gnome/applet/nm-device.[ch]
12944                 - (network_device_get_driver, network_device_set_driver): add
12945                         accessors for driver name
12946
12947         * gnome/applet/wireless-applet.glade
12948                 - Add line for driver name to Connection Information dialog
12949
12950         * src/nm-dbus-device.c
12951                 - (nm_dbus_device_get_driver): new function to return driver name
12952                 - (nm_dbus_device_methods): hook up driver name function to dbus
12953
12954         * test/nm-tool.c
12955                 - (get_driver_name): new function
12956                 - (detail_device): grab and show driver name
12957
12958 2006-01-30  Robert Love  <rml@novell.com>
12959
12960         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12961           does not parse the markup if it is not part of the format.
12962
12963 2006-01-30  Robert Love  <rml@novell.com>
12964
12965         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12966           FALSE, we have no security options for this dialog, so we throw up
12967           an error dialog instead of a broken passphrase dialog.  Fixes
12968           Novell #138404.
12969         * gnome/applet/wireless-security-manager.c,
12970           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12971           does not add any security options, not even NONE, print a warning
12972           and return FALSE.  This let's functions constructing a dialog bail
12973           out if the device's capabilities and the network's requirements have
12974           zero overlap.
12975
12976 2006-01-27  Robert Love  <rml@novell.com>
12977
12978         * configure.in: Require wpa_supplicant.  Detect location of binary and
12979           use it.  Override with "--with-wpa_supplicant=foo".
12980         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12981           path to wpa_supplicant but use the auto-detected or user-provided
12982           value from configure.
12983
12984 2006-01-27  Robert Love  <rml@novell.com>
12985
12986         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12987           but the DHCP server did not return a hostname, try to look up our
12988           name via DNS and set the system hostname to that.
12989
12990 2006-01-27  Dan Williams  <dcbw@redhat.com>
12991
12992         * src/backends/NetworkManagerRedHat.c
12993                 - Add NM_CONTROLLED system network script support for RH/Fedora
12994
12995 2006-01-27  Dan Williams  <dcbw@redhat.com>
12996
12997         * src/backends/NetworkManagerGentoo.c
12998                 - (nm_system_device_get_disabled): add missing function.
12999                         Gnome BZ #328780
13000
13001 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
13002
13003         * configure.in: Added vi in ALL_LINGUAS line.
13004         
13005 2006-01-26  Robert Love  <rml@novell.com>
13006
13007         * src/Makefile.am, src/kernel-types.h: Now that two different source
13008           files are feeling the crack-addled leakage of kernel types such as
13009           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13010           types in user-space -- define a header and include it as needed.
13011         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13012         * src/nm-device-802-3-ethernet.h: Remove defines.
13013         * src/wpa.c: Remove defines and include kernel-types.h.
13014
13015 2006-01-26  Robert Love  <rml@novell.com>
13016
13017         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
13018           work.
13019
13020 2006-01-26  Robert Love  <rml@novell.com>
13021
13022         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13023         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13024           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13025           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13026           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13027           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13028           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13029           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13030           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13031           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13032           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13033           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13034           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13035           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13036           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13037           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13038           Kill unused variables, labels, and static functions.  Don't pass
13039           string literals as the format string for printf-like functions.
13040
13041 2006-01-25  Dan Williams  <dcbw@redhat.com>
13042
13043         * gnome/applet/wireless-applet.glade
13044                 - Remove WPA2 Checkbox
13045
13046         * gnome/applet/wireless-security-manager.c
13047                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13048                         This means the Wireless Security menu now has two WPA options,
13049                         one for "WPA Personal" and one for "WPA2 Personal"
13050
13051         * gnome/applet/wso-wpa-psk.[ch]
13052                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13053                         'wpa2' argument to determine WPA version to use
13054                 - (append_dbus_params_func): pass stored WPA version to cipher
13055                         rather than using the (removed) checkbox
13056
13057 2006-01-24  Robert Love  <rml@novell.com>
13058
13059         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13060           before we g_strdup(), not the ultimate string.
13061
13062 2006-01-23  Dan Williams  <dcbw@redhat.com>
13063
13064         * src/NetworkManagerAP.[ch]
13065                 - (nm_ap_new_from_ap): copy original essid too
13066                 - (nm_ap_unref): free original essid
13067                 - (nm_ap_get_orig_essid): new function
13068                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13069                         but keep original essid around too
13070
13071         * src/nm-device-802-11-wireless.c
13072                 - (supplicant_send_network_config): send wpa_supplicant the
13073                         _original_ essid, and not as a string, but in hex.  Should
13074                         allow us to connect to more APs that use wierd character
13075                         encodings for their essids
13076
13077         * utils/nm-utils.[ch]
13078                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13079                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
13080                         use the current locale as a hint for what encoding the essid
13081                         might be in.  Obviously not 100% accurate, but the idea here is
13082                         that if a user's locale is ex. ja_JP, they are more likely than
13083                         not to be in Japan, where access points will likely be in some
13084                         Japanese encoding.
13085
13086 2006-01-23  Dan Williams  <dcbw@redhat.com>
13087
13088         * libnm-util/cipher-private.h
13089           libnm-util/cipher.c
13090           libnm-util/cipher.h
13091                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13092
13093 2006-01-23  Robert Love  <rml@novell.com>
13094
13095         Patch by Timo Hoenig <thoenig@suse.de>:
13096         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13097           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13098           by DHCP and pass it to the backends, allowing distribution-specific
13099           behavior with respect to the DHCP-supplied hostname (if nothing else,
13100           some distributions might not want to set the hostname).
13101         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13102           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13103           Also update our NIS behavior.
13104         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13105           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13106           Add stub functions.
13107
13108 2006-01-23  Robert Love  <rml@novell.com>
13109
13110         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13111           gnome-session does autostart.  TODO: We need to install this to
13112           $prefix/share/autostart/.
13113
13114 2006-01-22  Dan Williams  <dcbw@redhat.com>
13115
13116         * src/NetworkManagerAP.[ch]
13117           src/nm-dbus-nmi.c
13118           src/nm-device-802-11-wireless.c         
13119                 - Make nm_ap_get_essid return "const char *"
13120
13121 2006-01-22  Dan Williams  <dcbw@redhat.com>
13122
13123         * src/NetworkManagerAP.[ch]
13124                 - (nm_ap_get_matched, nm_ap_set_matched): remove
13125
13126         * src/NetworkManagerAPList.[ch]
13127                 - (nm_ap_list_diff): removed
13128                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13129                         deal with access points changing essids on us
13130
13131         * src/nm-device-802-11-wireless.c
13132                 - (add_new_ap_to_device_list): move AP dbus signal logic to
13133                         src/NetworkManagerAPList.c
13134                 - (real_can_interrupt_activation): new function; allow interruption
13135                         of device activation if we are waiting for a network key
13136
13137         * src/NetworkManagerPolicy.c
13138                 - (nm_policy_device_change_check): allow interruption of currently
13139                         activating devices if the device allows it.  Previous behavior
13140                         would refuse to activate a just-plugged wired device if a
13141                         wireless device was waiting for a key.
13142
13143         * src/nm-device.[ch]
13144                 - (nm_device_can_interrupt_activation): new function; ask devices
13145                         whether their activation can be interrupted
13146
13147 2006-01-20  Robert Love  <rml@novell.com>
13148
13149         * Makefile.am, configure.in: Add new man subdirectory.
13150         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13151           man/Makefile.am: Add man pages for NetworkManager and its
13152           crime-solving bumbling buddy, NetworkManagerDispatcher.
13153         * man/.cvsignore: Add.
13154         * initscript/Debian/NetworkManager,
13155           initscript/Gentoo/NetworkManager.in,
13156           initscript/RedHat/NetworkManager.in,
13157           initscript/RedHat/NetworkManagerDispatcher.in,
13158           initscript/SUSE/networkmanager-dispatcher.in,
13159           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13160
13161 2006-01-20  Robert Love  <rml@novell.com>
13162
13163         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13164           instead of queuing.  This prevents the running of multiple NM
13165           daemons concurrently, which does not work whatsoever and results in
13166           neither daemon working correctly.  Also, we don't handle queuing and
13167           name-owner-changes, anyhow.
13168
13169 2006-01-20  Robert Love  <rml@novell.com>
13170
13171         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13172         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13173           to sbin, not bin.
13174
13175 2006-01-19  Robert Love  <rml@novell.com>
13176
13177         * configure.in: Require hal 0.5.0 or later.
13178
13179 2006-01-18  Robert Love  <rml@novell.com>
13180
13181         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13182           Allow backends to flag a device (in whatever distro-dependent way
13183           they so desire) as disabled.  NM will ignore any such device.
13184         * src/backends/NetworkManagerDebian.c,
13185           src/backends/NetworkManagerRedHat.c,
13186           src/backends/NetworkManagerSlackware.c: Add stub function
13187           nm_system_device_get_disabled() that always returns FALSE (enabled).
13188         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13189           SUSE-specific configuration structure.  Fill it in from the
13190           NM_CONTROLLED variable in the system networking scripts.  If this var
13191           exists and is "no", we ignore the device.
13192
13193 2006-01-17  Robert Love  <rml@novell.com>
13194
13195         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13196           identical for NM.  For a full discussion, see the thread at
13197           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13198
13199 2006-01-17  Dan Williams  <dcbw@redhat.com>
13200
13201         * src/nm-device.c
13202                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13203                         function.  Fixes crash when wired DHCP fails.
13204
13205 2006-01-16  Robert Love  <rml@novell.com>
13206
13207         * src/Makefile.am: Don't install NMLoadModules
13208         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13209           from src/ to test/ as no one uses it anymore.  Note that I would be
13210           fine with removing it altogether.
13211
13212 2006-01-16  Robert Love  <rml@novell.com>
13213
13214         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13215           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13216           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13217           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13218           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13219           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13220           declarations, ever.
13221         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13222           NM_STATE_DISCONNECTED is zero).
13223
13224 2006-01-16  Robert Love  <rml@novell.com>
13225
13226         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13227           uninitialized parameter and buffer overflow.  Novell #143496.
13228
13229 2006-01-16  Dan Williams  <dcbw@redhat.com>
13230
13231         Apply the PtP Address bits of a patch from Tim Niemueller
13232
13233         * src/nm-ip4-config.[ch]
13234                 - Add ip4_ptp_address member to object
13235                 - (nm_ip4_config_copy): copy ptp address too
13236                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13237                         new functions
13238                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13239                         rather than local tunnel ip address
13240
13241         * src/vpn-manager/nm-vpn-service.c
13242                 - (print_vpn_config): update for PtP address
13243                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13244                         DBusMessageIters in preparation for getting routes from the VPN
13245                         service daemons too
13246
13247         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13248                 - (send_config_info): update for PtP address, clean up code
13249                 - (main): update for PtP address, clean up code, fix typo
13250
13251         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13252                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13253
13254         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13255                 - (pptp_ip_up): update for PtP address
13256
13257         * vpn-daemons/pptp/src/nm-pptp-service.c
13258                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13259
13260         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13261                 - (print_vpn_config): update for PtP address
13262                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13263
13264 2006-01-16  Dan Williams  <dcbw@redhat.com>
13265
13266         * gnome/applet/applet.c
13267                 - (nmwa_add_networks_helper): don't indicate an active network
13268                         if NM is disconnected or asleep
13269
13270 2006-01-16  Dan Williams  <dcbw@redhat.com>
13271
13272         * src/NetworkManagerPolicy.c
13273                 - (nm_policy_device_change_check): switch devices if we lose the link
13274                         on an ethernet device. 
13275
13276 2006-01-16  Dan Williams  <dcbw@redhat.com>
13277
13278         * gnome/applet/wso-wpa-psk-hex.[ch]
13279                 - Renamed -> wso-wpa-psk.[ch]
13280
13281         * gnome/applet/wso-wpa-psk.[ch]
13282                 - New files
13283
13284         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13285                 - Removed, rolled into wso-wpa-psk.[ch]
13286
13287         * gnome/applet/Makefile.am
13288                 - Updated for above changes
13289
13290         * gnome/applet/wireless-applet.glade
13291                 - Consolidate WPA-PSK options into one notebook
13292                         widget, and make dialogs invisible by default
13293                         to fix screen oddities
13294
13295         * gnome/applet/wireless-security-manager.c
13296                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13297                         than both the old hex & passphrase ones
13298
13299 2006-01-16  Dan Williams  <dcbw@redhat.com>
13300
13301         * gnome/applet/other-network-dialog.c
13302                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13303
13304 2006-01-16  Dan Williams  <dcbw@redhat.com>
13305
13306         * gnome/applet/applet.c
13307                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13308                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13309                         prevention to realize window before trying to get server
13310                         time
13311
13312         * gnome/applet/other-network-dialog.c
13313                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13314                         prevention to realize window before trying to get server
13315                         time
13316
13317         * gnome/applet/passphrase-dialog.c
13318                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13319                         prevention to realize window before trying to get server
13320                         time
13321
13322 2006-01-16  Robert Love  <rml@novell.com>
13323
13324         Patch from Timo Hoenig  <thoenig@suse.de:
13325         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13326           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13327           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13328           libnm-util/dbus-helpers.h: add checks whether headers are used
13329           within a C++ build.
13330
13331 2006-01-16  Dan Williams  <dcbw@redhat.com>
13332
13333         * gnome/applet/wireless-security-option.c
13334                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13335
13336 2006-01-16  Dan Williams  <dcbw@redhat.com>
13337
13338         * libnm-util/cipher-wpa-psk-passphrase.c
13339                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13340                         be 8 - 63 characters inclusive
13341
13342 2006-01-16  Dan Williams  <dcbw@redhat.com>
13343
13344         * src/nm-dbus-nm.c
13345                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13346
13347 2006-01-13  Robert Love  <rml@novell.com>
13348
13349         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13350         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13351           modules that do not use an interface.
13352
13353 2006-01-13  Dan Williams  <dcbw@redhat.com>
13354
13355         * src/nm-device.c
13356           src/nm-device.h
13357                 - Allow subclasses to implement deactivate_quickly()
13358                 - (nm_device_deactivate_quickly): call subclass
13359                         deactivate_quickly() methods
13360                 - (nm_device_set_active_link): small cleanups, and don't
13361                         deactivate the device right away because we risk a deadlock
13362                         when called from device thread, waiting for the device
13363                         thread to cancel activation
13364
13365         * src/nm-device-802-11-wireless.c
13366                 - (real_deactivate_quickly): new function
13367                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13368                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13369                         so that we kill the supplicant when we sleep too
13370                 - (supplicant_interface_init): work around naive naming attempts of
13371                         wpa_ctrl when naming sockets
13372
13373 2006-01-13  Dan Williams  <dcbw@redhat.com>
13374
13375         * src/nm-device-802-11-wireless.c
13376                 - (supplicant_cleanup): delete old device control sockets too
13377                 - (supplicant_get_device_socket_path): new function to consolidate
13378                         locations that need a path to a device's control socket
13379
13380 2006-01-12  Robert Love  <rml@novell.com>
13381
13382         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13383           description so that the description is unique for each
13384           pair (device,provider).  Fixes Novell #142773.
13385
13386 2006-01-12  Dan Williams  <dcbw@redhat.com>
13387
13388         * src/nm-device-802-11-wireless.c
13389                 - (supplicant_exec): ensure GError is correctly initialized
13390                         Reported by Diego González (gnome.org #326708)
13391
13392 2006-01-11  Robert Love  <rml@novell.com>
13393
13394         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13395           define if_mii(), open code the same results, and do so without any
13396           type punning.
13397
13398 2006-01-11  Robert Love  <rml@novell.com>
13399
13400         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13401           that wso_foo_new() returned non-NULL.  Instead, only append the new
13402           wso to wsm->options if the wso is non-NULL.  The crux is that we
13403           assume that the relevant key types are implied by WEP and WPA as
13404           appropriate.  To be sure, they should be, but we should not expect
13405           drivers to not be oozing piles of wolf fecal matter.
13406
13407 2006-01-11  Robert Love  <rml@novell.com>
13408
13409         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13410         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13411           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13412           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13413           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13414           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13415           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13416         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13417           comparing values within DBL_EPSILON.  Also fix shadowed variable
13418           usage.
13419
13420 2006-01-11  Dan Williams  <dcbw@redhat.com>
13421
13422         Add options for WPA2 and WPA1+CCMP (AES).
13423
13424         * gnome/applet/wireless-applet.glade
13425                 - Add UI bits for WPA+CCMP
13426
13427         * gnome/applet/other-network-dialog.c
13428                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13429                         and don't allow creation of WPA2 Ad-Hoc networks since
13430                         wpa_supplicant doesn't support them
13431
13432         * gnome/applet/wireless-security-manager.c
13433                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13434                         on to the specific wireless security option being created
13435
13436         * gnome/applet/wireless-security-option.[ch]
13437                 - (wso_wpa_create_key_type_model): new utility function to create
13438                         the model required for WPA Key Type combo box
13439
13440         * gnome/applet/wso-private.h
13441           gnome/applet/wireless-security-option.h
13442                 - Move private function prototypes into wso-private.h
13443
13444         * gnome/applet/wso-wpa-psk-hex.[ch]
13445           gnome/applet/wso-wpa-psk-passphrase.[ch]
13446                 - (append_dbus_params_func): get WPA version from checkbox and pass
13447                         it to the dbus serialization helper
13448                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13449                         key type combo changes
13450                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13451                         model and options
13452
13453         * libnm-util/cipher-wpa-psk-hex.c
13454           libnm-util/cipher-wpa-psk-passphrase.c
13455                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13456                         new function; allow the cipher to be changed after object creation
13457
13458         * src/nm-ap-security-wpa-psk.c
13459                 - (set_description): Do WPA2 descriptions too
13460
13461         * src/nm-ap-security.c
13462                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13463
13464 2006-01-11  Robert Love  <rml@novell.com>
13465
13466         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13467           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13468           from the ifreq structure in lieu of an open coded solution.  Removes
13469           a life-threatening type-punning.
13470         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13471           types, ever, whatsoever, baby.
13472
13473 2006-01-11  Robert Love  <rml@novell.com>
13474
13475         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13476           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13477           assignments to applet->nm_state into a new nmwa_set_state() function
13478           for both cleanliness and to help debugging.
13479
13480 2006-01-10  Robert Love  <rml@novell.com>
13481
13482         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13483           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13484           seconds, exclusive.  That is, we want to sleep x seconds such that
13485           1 < x < 2.
13486
13487 2006-01-10  Robert Love  <rml@novell.com>
13488
13489         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13490           the attr fields according to the example in the email available at
13491           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13492           Conversely, we do have to free 'name', so we do so, fixing a leak.
13493
13494 2006-01-10  Robert Love  <rml@novell.com>
13495
13496         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13497           sure that we close the socket!
13498
13499 2006-01-10  Robert Love  <rml@novell.com>
13500
13501         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13502           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13503           src/nm-device.c: Fix a FIXME!  Reimplement the function
13504           nm_device_update_hw_address() in device subclass variants,
13505           nm_device_802_3_ethernet_set_address() and
13506           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13507           This fixes the existing bug where MAC addresses are all zeros.
13508
13509 2006-01-10  Robert Love  <rml@novell.com>
13510
13511         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13512           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13513           option to give users ability to globally disconnect and put NM to
13514           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13515           clean disconnect.
13516
13517 2006-01-09  Robert Love  <rml@novell.com>
13518
13519         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13520           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13521           User-space does not supply these types, so we have to define them
13522           ourselves.  The relevant kernel maintainer refused to accept a patch
13523           switching these headers to the proper C99 types.
13524
13525 2006-01-09  Dan Williams  <dcbw@redhat.com>
13526
13527         Apply Robert's 'tray icon redo' patch with fixes
13528         * gnome/applet/applet.c
13529           gnome/applet/applet.h
13530                 - Instead of using a menu bar + menu item, simulate menu
13531                         behavior using a popup menu.  Highlight the area around
13532                         the icon more like a menu too, by playing with the
13533                         applet's size requisition
13534
13535 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13536         * libnm-util/dbus-helpers.c
13537           libnm-util/dbus-helpers.h
13538                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13539                         to 'exception_namespace' (:namespace is a keyword in
13540                         C++)
13541
13542 2006-01-09  Dan Williams  <dcbw@redhat.com>
13543
13544         * src/NetworkManagerPolicy.c
13545                 - (nm_policy_device_change_check): don't autoswitch away from
13546                         Ad-Hoc networks, since there's really no concept of
13547                         "link"
13548
13549         * src/nm-dbus-nm.c
13550                 - (nm_dbus_nm_create_wireless_network): mark created networks
13551                         as Ad-Hoc networks
13552
13553         * src/nm-device-802-11-wireless.c
13554                 - (real_activation_success_handler): add user-created Ad-Hoc
13555                         networks to the device's scan list
13556
13557 2006-01-08  Dan Williams  <dcbw@redhat.com>
13558
13559         We now require a patch for wpa_supplicant to support Ad-Hoc
13560         networks:
13561           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13562
13563         * src/nm-device-802-11-wireless.c
13564                 - (supplicant_send_network_config): turn off wpa_supplicant's
13565                         scanning.  Fixes Ad-Hoc networks.
13566
13567 2006-01-08  Dan Williams  <dcbw@redhat.com>
13568
13569         * src/nm-ap-security.c
13570           src/nm-ap-security.h
13571                 - Add a user_created argument to the write_supplicant_config
13572                         functions
13573
13574         * src/nm-ap-security-wep.c
13575           src/nm-ap-security-wpa-psk.c
13576           src/nm-device-802-11-wireless.c
13577                 - Make Ad-Hoc mode somewhat work, at least write the
13578                         correct options to wpa_supplicant
13579
13580 2006-01-08  Dan Williams  <dcbw@redhat.com>
13581
13582         * src/nm-device-802-11-wireless.c
13583                 - Remove unused code from the old device activation path
13584
13585 2006-01-08  Dan Williams  <dcbw@redhat.com>
13586
13587         * libnm-util/dbus-helpers.c
13588                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13589                         dbus when key == NULL
13590
13591 2006-01-08  Dan Williams  <dcbw@redhat.com>
13592
13593         * gnome/applet/nm-gconf-wso-wpa-psk.c
13594                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13595                         correct arguments to nmu_security_deserialize_wpa_psk()
13596
13597         * src/nm-ap-security-wpa-psk.c
13598                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13599                         arguments to nmu_security_deserialize_wpa_psk()
13600
13601 2006-01-08  Dan Williams  <dcbw@redhat.com>
13602
13603         * gnome/applet/wso-wpa-psk-hex.c
13604           gnome/applet/wso-wpa-psk-passphrase.c
13605                 - Hook up the append_dbus_params_func() function
13606
13607 2006-01-08  Dan Williams  <dcbw@redhat.com>
13608
13609         * src/nm-device-802-11-wireless.c
13610                 - (get_wireless_capabilities): correctly detect driver WPA
13611                         capabilities
13612
13613 2006-01-08  Dan Williams  <dcbw@redhat.com>
13614
13615         * gnome/applet/Makefile.am
13616           gnome/applet/wso-wpa-psk-hex.c
13617           gnome/applet/wso-wpa-psk-hex.h
13618                 - New files, implement WPA-PSK Hex key input
13619
13620         * gnome/applet/wireless-applet.glade
13621                 - Change existing wpa-psk stuff to wpa-psk-hex
13622                 - Add new widgets for wpa-psk-passphrase
13623
13624         * gnome/applet/wireless-security-manager.c
13625                 - (wsm_set_capabilities): enable WPA options
13626
13627         * gnome/applet/wso-wpa-psk-passphrase.c
13628                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13629                         for WPA-PSK passphrase
13630
13631 2006-01-08  Dan Williams  <dcbw@redhat.com>
13632
13633         * include/NetworkManager.h
13634                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13635                         applet/info-daemons
13636
13637         * gnome/applet/passphrase-dialog.c
13638                 - Use the constant.  Fixes a bug where the arguments to
13639                         dbus_message_new_error() were incorrect
13640
13641         * src/nm-dbus-nmi.c
13642                 - Use the constant
13643
13644 2006-01-07  Dan Williams  <dcbw@redhat.com>
13645
13646         * src/nm-device-802-11-wireless.c
13647                 - Add a link timeout so we allow the supplicant time to
13648                         reassociate if it can, before we deactivate the card
13649                 - Fix up link status and link updating so things work better
13650
13651 2006-01-07  Dan Williams  <dcbw@redhat.com>
13652
13653         * src/nm-device-802-11-wireless.c
13654                 - Switch over to using wpa_supplicant
13655                 - Add a timeout of 10s for association of the supplicant
13656                 - Start the monitor callback of the supplicant
13657
13658 2006-01-07  Dan Williams  <dcbw@redhat.com>
13659
13660         * src/NetworkManagerUtils.c
13661                 - (nm_utils_supplicant_request,
13662                   nm_utils_supplicant_request_with_check):
13663                         pass correct buffer length to wpa_ctrl_request()
13664
13665 2006-01-07  Dan Williams  <dcbw@redhat.com>
13666
13667         * src/nm-device-private.h
13668           src/nm-device.c
13669                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13670                         this function available to subclasses
13671
13672 2006-01-06  Robert Love  <rml@novell.com>
13673
13674         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13675           user plugging in a network cable signals their preference for to
13676           switch, unless the user explicitly selected a wireless network and
13677           therefore signaled their preference for said wireless network over
13678           wired.  In other words, do exactly what makes sense.
13679
13680 2006-01-06  Robert Love  <rml@novell.com>
13681
13682         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13683           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13684           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13685           showing up in my greps.
13686
13687 2006-01-06  Robert Love  <rml@novell.com>
13688
13689         * gnome/applet/applet-dbus-devices.c,
13690           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13691           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13692           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13693           New Network' both failed in the non-encrypted case because we were
13694           not appending the security options to the DBUS message.  And
13695           'Connect to Other' was also failing in the encrypted case because
13696           we were not incrementing to the next DBUS parameter.  All fixed.
13697           Thanks to dcdw for some debugging help.
13698
13699 2006-01-06  Robert Love  <rml@novell.com>
13700
13701         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13702           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13703           hangup code and add per-device hangup.  Tie last commit into the
13704           GNOME applet.  TODO:  Save, understand, and respond to the state of
13705           each dialup device.
13706
13707 2006-01-06  Robert Love  <rml@novell.com>
13708
13709         Patch by Timo Hoenig <thoenig@suse.de>:
13710         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13711           hangup specific dialup devices.
13712         * src/backends/NetworkManagerDebian.c,
13713           src/backends/NetworkManagerGentoo.c,
13714           src/backends/NetworkManagerRedHat.c,
13715           src/backends/NetworkManagerSlackware.c: Add stub backend.
13716         * src/backends/NetworkManagerRedHat.c,
13717           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13718           hangup specific dialup devices.
13719
13720 2006-01-04  Robert Love  <rml@novell.com>
13721
13722         * gnome/applet/applet-dbus-devices.c,
13723           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13724           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13725           connections.
13726
13727 2006-01-04  Dan Williams  <dcbw@redhat.com>
13728
13729         First dump of wpa_supplicant-related code.  It's not hooked up to
13730         anything yet though.  Thanks to Kay Sievers for
13731         wpa_supplicant_wrapper.c, which formed the basis for this work,
13732         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13733
13734         * src/Makefile.am
13735           src/wpa_ctrl.[ch]
13736                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13737
13738         * src/NetworkManagerUtils.[ch]
13739                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13740                         Add convenience functions for talking to wpa_supplicant
13741
13742         * src/nm-ap-security.[ch]
13743           src/nm-ap-security-wep.c
13744           src/nm-ap-security-wpa-psk.[ch]
13745                 - Update and implement real_write_supplicant_config functions
13746                         in all security types
13747                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13748                         nm-ap-security-wpa-psk.c
13749
13750         * src/nm-device-802-11-wireless.c
13751                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13752                    wpa_supplicant_start, wpa_supplicant_interface_init,
13753                    wpa_supplicant_send_network_config): add functions to talk to
13754                         wpa_supplicant and write network config to it
13755
13756 2006-01-04  Robert Love  <rml@novell.com>
13757
13758         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13759           values so that distribution-backends can differentiate between the
13760           various types (modem, ISDN, et cetera) of dialup device that they
13761           support.
13762         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13763           needed.
13764
13765 2006-01-03  Dan Williams  <dcbw@redhat.com>
13766
13767         * src/NetworkManagerPolicy.c
13768           src/nm-device.[ch]
13769           src/nm-device-802-11-wireless.c
13770                 - Move wireless-specific activation failure and success code
13771                         into wireless device class
13772
13773 2006-01-03  Robert Love  <rml@novell.com>
13774
13775         Patch by Preggna S:
13776         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13777           IPsec does not require that a VPN client be bound to an interface,
13778           due to the use of the in-kernel IPSec bits.  So make the tunnel
13779           device optional.
13780
13781 2006-01-03  Dan Williams  <dcbw@redhat.com>
13782
13783         * src/NetworkManagerAP.c
13784                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13785                         the WPA IE specifies that WEP is supported
13786
13787         * src/nm-device-802-11-wireless.c
13788                 - (process_scan_results): don't mark an AP as supporting WEP
13789                         if there's already other encryption capability info
13790
13791 2006-01-03  Dan Williams  <dcbw@redhat.com>
13792
13793         * src/dhcp-manager/nm-dhcp-manager.c
13794                 - Recognize activation cancellation when waiting for DHCP
13795                         configuration from dhcdbd
13796                 - Ignore non-dhcdbd messages
13797
13798         * src/nm-device.c
13799                 - (real_act_stage3_ip_config_start): return to correct behavior
13800                         of letting the dhcp-manager notify us of failure or
13801                         success rather than incorrectly doing that ourselves
13802                 - (nm_device_activate_stage4_ip_config_get): deal with
13803                         activation cancellation a bit earlier
13804
13805 2006-01-03  Dan Williams  <dcbw@redhat.com>
13806
13807         * src/nm-device-802-11-wireless.c
13808           src/nm-device.[ch]
13809                 - Add hooks to subclasses for stage3_ip_config_start and
13810                         stage4_ip_config_timeout
13811
13812         * src/nm-device-802-3-ethernet.c
13813                 - (real_get_generic_capabilities): make devices NM-supported
13814                         by default
13815
13816 2006-01-03  Robert Love  <rml@novell.com>
13817
13818         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13819           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13820           latter cannot differentiate between error and the address -1; misc.
13821           clean up.
13822
13823 2006-01-03  Dan Williams  <dcbw@redhat.com>
13824
13825         * src/NetworkManager.c
13826                 - Move link-checking/probing into the device subclasses
13827                         themselves
13828
13829         * src/nm-device.[ch]
13830           src/nm-device-802-11-wireless.c
13831           src/nm-device-802-3-ethernet.c
13832                 - Do periodic link checking in device subclasses rather
13833                         than being triggered from NetworkManager.c
13834                 - discover_wireless_capabilities -> get_wireless_capabilities
13835                 - discover_generic_capabilities -> get_generic_capabilities
13836                 - Device subclass activation routines now return a value of type
13837                         NMActStageReturn to indicate what step to perform next
13838                 - Devices now override stage4_get_ip4_config if they choose
13839
13840 2006-01-01  Dan Williams  <dcbw@redhat.com>
13841
13842         * src/nm-device-802-11-wireless.c
13843                 - (real_init): don't chain up to parent init because we don't
13844                         need to do that anymore
13845
13846         * src/nm-device.c
13847                 - (discover_device_type): fix arguments to ioctl() to correctly
13848                         pass interface name
13849                 - (nm_device_new): consolidate generic device initialization into
13850                         nm_device_new()
13851                 - (real_init): remove, consolidated to nm_device_new()
13852                 - (nm_device_deactivate, real_deactivate): consolidate
13853
13854 2006-01-01  Dan Williams  <dcbw@redhat.com>
13855
13856         * src/nm-activation-request.c
13857                 - Change dhcp_state member of the NMActRequest structure
13858                         from guint8 to guint32
13859
13860         * src/dhcp-manager/nm-dhcp-manager.[ch]
13861                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13862                         than guint8 to match the dbus argument.  Turns out we were
13863                         overwriting memory since we were passing in only a guint8
13864
13865 2005-12-31  Dan Williams  <dcbw@redhat.com>
13866
13867         * refactor NMDevice into a GObject-based framework with separate
13868                 objects for wired and wireless.  The following files are no
13869                 longer used but should stick around for a bit so we don't
13870                 loose code through the cracks:
13871                         NetworkManagerDevice.c
13872                         NetworkManagerDevice.h
13873                         NetworkManagerWireless.c
13874                         NetworkManagerWireless.h
13875
13876         The intent here is to allow each device type to manage its own
13877         connection & activation life-cycle, ie to allow wireless devices
13878         to interface with wpa_supplicant, etc.  There's a fair bit of
13879         encapsulation breakage right now that should gradually get pulled
13880         back into each device, along with things like periodic property
13881         updates and link probing.
13882
13883 2005-12-29  Dan Williams  <dcbw@redhat.com>
13884
13885         * include/NetworkManager.h
13886                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13887                         between networks that don't have any encryption at all
13888
13889 2005-12-29  Dan Williams  <dcbw@redhat.com>
13890
13891         * test/test-common.c
13892           test/test-common.h
13893           test/Makefile.am
13894                 - Move to a test-common subdirectory
13895
13896         * test/libnm-util/test-ciphers.c
13897                 - Move test data to test-inputs.h
13898                 - Test WPA ciphers too
13899
13900         * test/libnm-util/test-dbus-helpers.c
13901                 - Test serialization/deserialization of ciphers
13902
13903 2005-12-29  Dan Williams  <dcbw@redhat.com>
13904
13905         * gnome/applet/applet-dbus-devices.c
13906                 - Replace 'enc' parameter with 'capabilities' for wireless networks
13907                         in dbus calls to NM
13908                 - Set capabilities on WirelessNetwork objects
13909                 - Receive and save type-specific device capabilities too
13910
13911         * gnome/applet/applet-dbus-info.c
13912           gnome/applet/applet-dbus.c
13913                 - Passphrase dialog no longer a singleton; new instance gets created
13914                         on each request.  Updates to deal with that.
13915
13916         * gnome/applet/applet.c
13917                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13918                         than single 'encrypted' flag
13919                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13920                         menu items
13921                 - Passphrase dialog updates per above
13922
13923         * gnome/applet/menu-items.c
13924                 - (network_menu_item_update): use AP capabilities to determine
13925                         encryption
13926
13927         * gnome/applet/nm-device.[ch]
13928                 - Add accessors for type-specific device capabilities
13929
13930         * gnome/applet/other-network-dialog.c
13931                 - Rework to respect device capabilities.  i.e., if the device doesn't
13932                         support WPA, remove that option from the security dropdown
13933
13934         * gnome/applet/passphrase-dialog.c
13935                 - Massive rework so that a new instance is created each time
13936                         it's used, to support wireless network capabilities
13937
13938         * gnome/applet/wireless-network.[ch]
13939                 - Add accessors and members for wireless network capabilities
13940
13941         * gnome/applet/wireless-security-manager.[ch]
13942                 - (wsm_set_capabilities): called after creation to set which
13943                         security options get shown to the user
13944
13945 2005-12-29  Dan Williams  <dcbw@redhat.com>
13946
13947         * libnm-util/cipher-wpa-psk-passphrase.c
13948                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13949                         like other ciphers
13950
13951 2005-12-23  Dan Williams  <dcbw@redhat.com>
13952
13953         * gnome/applet/applet-dbus-info.c
13954                 - (nmi_dbus_get_key_for_network): if there's no entry in
13955                         GConf for a network, assume we want a new key
13956                 - (nmi_save_network_info): serialize wireless security info
13957                         into GConf so its saved
13958
13959         * src/nm-dbus-nm.c
13960                 - Fix warning as we may not be passed security info when
13961                         connecting to a wireless network
13962
13963 2005-12-23  Dan Williams  <dcbw@redhat.com>
13964
13965         * gnome/applet/applet-compat.c
13966                 - Fix bugs in GConf entry conversion
13967
13968         * gnome/applet/applet-dbus-info.c
13969                 - (nmi_dbus_get_network_properties): handle case of the BSSID
13970                         list being zero-length
13971
13972         * libnm-util/cipher-*
13973           libnm-util/dbus-helpers.c
13974                 - All ciphers must now return hashed keys as UTF-8 valid
13975                         hexadecimal strings, ie "8f3dae4023".  They are pushed
13976                         through dbus as strings too.
13977                 - Consolidate various functions that do bin->hex and hex->bin
13978                         conversion into cipher.c
13979
13980         * src/nm-ap-security-wep.c
13981           src/nm-ap-security-wpa-psk.c
13982                 - Handle NULL keys since we may not know keys right away
13983
13984         * src/nm-dbus-nmi.c
13985                 - (nm_dbus_get_network_data_cb): actually advance to the start
13986                         of the wireless security info before we try to deserialize it
13987
13988         * libnm-util/test-ciphers.c
13989                 - Update cipher tests for the change to UTF-8 hexadecimal strings
13990
13991 2005-12-22  Dan Williams  <dcbw@redhat.com>
13992
13993         * gnome/applet/applet-compat.[ch]
13994                 - Convert old-format GConf and keyring entries
13995                         when the applet starts up.
13996
13997         * gnome/applet/applet.c
13998                 - (nmwa_get_instance): Call the conversion function
13999                         on startup before dbus is initialized
14000
14001 2005-12-22  Dan Williams  <dcbw@redhat.com>
14002
14003         * gnome/applet/applet-dbus-info.c
14004                 - Remove nmi_dbus_create_error_message() in favor of
14005                         nmu_create_dbus_error_message()
14006                 - (nmi_dbus_get_network_properties): Error message cleanups
14007                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14008                         gconf key rather than 'addresses', since they really are BSSIDs
14009                 - (nmi_dbus_get_network_properties): Dispose of the security
14010                         object when we're done with it
14011
14012 2005-12-21  Dan Williams  <dcbw@redhat.com>
14013
14014         * Consolidate the info-daemon's "updateNetworkInfo" and
14015                 "addNetworkAddress" calls into just "updateNetworkInfo"
14016
14017 2005-12-21  Dan Williams  <dcbw@redhat.com>
14018
14019         * Make connection after key retrieval work again
14020
14021 2005-12-21  Dan Williams  <dcbw@redhat.com>
14022
14023         * gnome/applet/nm-gconf-wso*
14024                 - Make the serialize functions return gboolean
14025                         rather than int
14026
14027         * gnome/applet/nm-gconf-wso.c
14028                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14029                         parent class handling so we don't segfault
14030
14031         * src/NetworkManagerAP.[ch]
14032                 - (nm_ap_get_capabilities): new function, return capabilities
14033                         now that something can use them
14034                 - (nm_ap_set_encrypted): assume that an access point supports
14035                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
14036                         we even tell whether it just supports WEP40?
14037
14038         * src/NetworkManagerDevice.c
14039                 - (ap_need_key): resurrect and update for the New World Order
14040                 - (nm_device_wireless_get_activation_ap): if we're not given
14041                         security info to use, create some based on access point
14042                         capabilities
14043
14044         * src/nm-ap-security-wep.c
14045                 - (nm_ap_security_wep_new_from_ap): create a new object
14046                         based on a certain access point's capabilities
14047
14048         * src/nm-ap-security.c
14049                 - (nm_ap_security_new_from_ap): delegate creation of a new
14050                         object based on access point capabilities to a subclass
14051                 - (nm_ap_security_copy_properties): don't segfault if we
14052                         don't have a key yet
14053
14054         * src/nm-dbus-nm.c
14055                 - (nm_dbus_nm_set_active_device): provide more informative
14056                         output when errors occur.  Also construct security info
14057                         for a given access point if we weren't given any
14058
14059 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
14060
14061         * configure.in: Added Lithuanian to ALL_LINGUAS.
14062
14063 2005-12-21  Dan Williams  <dcbw@redhat.com>
14064
14065         * test/libnm-util
14066                 - Add some testcases for WEP ciphers
14067
14068 2005-12-17  Dan Williams  <dcbw@redhat.com>
14069
14070         * Fix bugs
14071
14072 2005-12-17  Dan Williams  <dcbw@redhat.com>
14073
14074         * include/NetworkManager.h
14075                 - Finally kill NMEncKeyType
14076
14077         * gnome/applet/applet-dbus-info.c
14078                 - (nmi_save_network_info): convert to NMGConfWSO
14079
14080         * gnome/applet/nm-gconf-wso-*.c
14081                 - Implement gconf serialization functions
14082
14083         * src/NetworkManagerPolicy.c
14084                 - (nm_policy_activation_finish): fix up meaning of
14085                         automatic/user_requested
14086
14087 2005-12-17  Dan Williams  <dcbw@redhat.com>
14088
14089         * gnome/applet/*
14090                 - More applet cleanups
14091                 - Use the dbus-method-dispatcher
14092
14093         * libnm-util/dbus-method-dispatcher.[ch]
14094                 - Generalize the implementation from NM in
14095                         NetworkManagerUtils.c
14096
14097 2005-12-16  Dan Williams  <dcbw@redhat.com>
14098
14099         * gnome/applet/*
14100                 - Fix up the passphrase dialog to use all the
14101                         WirelessSecurityOption stuff (untested)
14102
14103 2005-12-16  Dan Williams  <dcbw@redhat.com>
14104
14105         * Move nm_gconf_get_*_helper() functions to separate files,
14106                 gconf-helpers.c & gconf-helpers.h
14107
14108         * New NMGConfWSO objects for managing the gconf side of things.
14109                 Eventually these should be merged with the
14110                 WirelessSecurityOption objects and a common base (that can
14111                 serialize/deserialize from dbus & gconf) should be
14112                 refactored out, but for now they are separate.
14113
14114 2005-12-16  Robert Love  <rml@novell.com>
14115
14116         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14117           binaries unless they exist (nm_spawn_process() emits a warning if
14118           asked to spawn a non-existant process).
14119
14120 2005-12-16  Dan Williams  <dcbw@redhat.com>
14121
14122         * gnome/applet/applet-dbus-info.c
14123                 - Clean up lots of gconf-related code
14124
14125 2005-12-16  Robert Love  <rml@novell.com>
14126
14127         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14128
14129 2005-12-16  Dan Williams  <dcbw@redhat.com>
14130
14131         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14132
14133         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14134                 bits still to be done)
14135
14136 2005-12-16  Dan Williams  <dcbw@redhat.com>
14137
14138         * Finally move info-daemon related stuff out of
14139                 NetworkManagerDbus.c to nm-dbus-nmi.c
14140
14141 2005-12-16  Dan Williams  <dcbw@redhat.com>
14142
14143         * Kill auth_method for access points, since that's now done
14144                 by NMAPSecurity objects
14145
14146         * Add a copy-constructor of sorts to NMAPSecurity
14147                 (how do you do this properly in glib???)
14148
14149 2005-12-15  Dan Williams  <dcbw@redhat.com>
14150
14151         * Exorcise encryption key hashing on APs
14152         * Use libnm-util's serialization/deserialization in both the
14153                 applet and NM
14154         * Random other stuff
14155
14156 2005-12-15  Robert Love  <rml@novell.com>
14157
14158         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14159           is being added to the icon naming spec, so let's use that (Tango CVS
14160           has the icon).  Because it is new, however, we fall back to the
14161           current "gnome-lockscreen" if the new icon is not around, thus
14162           behavior is the same.
14163         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14164           factory junk.
14165
14166 2005-12-15  Robert Love  <rml@novell.com>
14167
14168         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14169           well, help to give.  Couple other misc. bits.
14170
14171 2005-12-15  Dan Williams  <dcbw@redhat.com>
14172
14173         * libnm-util/dbus-helpers.[ch]
14174                 - Make this the one-stop-shop for serializing/deserializing
14175                         AP & connection security settings over dbus.  Both NM
14176                         and applets should use this to ensure consistent dbus
14177                         API going forwared.
14178
14179 2005-12-15  Robert Love  <rml@novell.com>
14180
14181         Patch by Timo Hoenig  <thoenig@suse.de>:
14182         * src/NetworkManagerDbus.c
14183                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14184                         if HAL jumps off the system bus.  Otherwise libdbus
14185                         (dbus_connection_dispatch) will try to run the filter
14186                         function of our libhal context which is already freed.
14187
14188 2005-12-15  Alexander Shopov  <ash@contact.bg>
14189
14190         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14191
14192 2005-12-14  Dan Williams  <dcbw@redhat.com>
14193
14194         * include/NetworkManager.h
14195           src/NetworkManagerWireless.c
14196                 - Rearrange 802.11 wireless-specific capabilities again
14197
14198         * src/Makefile.am
14199                 - Forgot to add wpa.c/wpa.h to the makefiles
14200
14201         * src/NetworkManagerAP.[ch]
14202                 - Implement access point capabilities and parse the
14203                         WPA/RSN IEs into the capability bitfield
14204                 - Switch the "encrypted" attribute to utilize the bitfield
14205                         and capabilities rather than being independent
14206
14207         * src/NetworkManagerDevice.c
14208                 - (nm_device_wireless_get_activation_ap): break it horribly
14209                         until we can push NMAPSecurity objects into access point
14210                         objects and through the activation chain
14211                 - Stuff WPA & RSN IEs into AP capabilities
14212
14213         * src/nm-dbus-nm.c
14214                 - Take a shot at actually making setActiveDevice work
14215
14216         * src/wpa.[ch]
14217                 - Make the API a bit saner
14218
14219 2005-12-14  Dan Williams  <dcbw@redhat.com>
14220
14221         * include/NetworkManager.h
14222                 - Add 802.11-specific capability for 802.1x key
14223                         management
14224
14225         * src/wpa.[ch]
14226                 - Pull in WPA IE and RSN IE parsing code from
14227                         wpa_supplicant so we can determine access point
14228                         capabilities
14229                 - Move WPA-related constants here from NetworkManagerAP.h
14230                         and NetworkManagerDevice.c
14231
14232         * src/NetworkManagerDevice.c
14233           src/NetworkManagerAP.[ch]
14234                 - Use WPA-related constants from wpa.h
14235
14236 2005-12-14  Dan Williams  <dcbw@redhat.com>
14237
14238         * include/NetworkManager.h
14239                 - Update and split 802.11 wireless-specific capabilities from
14240                         generic device capabilities
14241
14242         * src/NetworkManagerDevice.c
14243           src/NetworkManagerDevicePrivate.h
14244                 - (nm_device_wireless_discover_capabilities): Move 802.11
14245                         wireless-specific capability checks to
14246                         NetworkManagerWireless.c
14247                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14248                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14249
14250         * src/NetworkManagerWireless.[ch]
14251                 - (nm_802_11_wireless_discover_capabilities): Check extended
14252                         802.11 wireless-specific capabilities of the driver
14253
14254 2005-12-14  Robert Love  <rml@novell.com>
14255
14256         Patch from Stefan Scheler <sscheler@suse.de>:
14257         * src/NetworkManagerDevice.c: call backend code to activate and
14258           deactivate NIS.
14259         * src/NetworkManagerSystem.h: add new NIS interfaces.
14260         * src/backends/NetworkManagerDebian.c,
14261           src/backends/NetworkManagerGentoo.c,
14262           src/backends/NetworkManagerRedHat.c,
14263           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14264           support.
14265         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14266
14267 2005-12-14  Dan Williams  <dcbw@redhat.com>
14268
14269         * src/nm-ap-security*.[ch]
14270                 - Add AP security abstractions to NetworkManager
14271
14272         * src/nm-dbus-device.c
14273                 - Begin to parse new format dbus messages from the applet
14274                         and construct an AP security object from the message
14275
14276         * libnm-util/dbus-helpers.c
14277                 - Use message iters so we can append the key as a fixed
14278                         array of bytes, which actually works rather than
14279                         using dbus_message_append_args() as we were before
14280
14281 2005-12-14  Dan Williams  <dcbw@redhat.com>
14282
14283         * src/NetworkManagerDbus.c
14284           gnome/applet/applet-dbus.c
14285                 - Fix up dbus service replacement options.  The applet
14286                         should allow replacement, NM itself should not.
14287
14288 2005-12-13  Robert Love  <rml@novell.com>
14289
14290         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14291           Instead, fail silently if config is NULL by not asserting and not
14292           returning FALSE.  Also, make sure we always fclose() the file.
14293
14294 2005-12-13  Robert Love  <rml@novell.com>
14295
14296         Patch by Stefan Scheler <sscheler@suse.de>:
14297         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14298            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14299            via DHCP.  Still need the backends to commit the NIS domain name and
14300            and servers to yp.conf as needed.
14301
14302 2005-12-13  Robert Love  <rml@novell.com>
14303
14304         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14305           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14306
14307 2005-12-13  Robert Love  <rml@novell.com>
14308
14309         * src/named-manager/nm-named-manager.c: Don't unref the config until
14310           after we call rewrite_resolv_conf(), because get_last_default_domain()
14311           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14312           `config != NULL' failed" assertion failures and "Could not commit DNS
14313           changes" warnings.
14314
14315 2005-12-12  Dan Williams  <dcbw@redhat.com>
14316
14317         * libnm-util/dbus-helpers.[ch]
14318           libnm-util/Makefile.am
14319                 - new helper calls to consolidate locations where
14320                         NM's setDevice method is called
14321
14322         * gnome/applet/applet-dbus-devices.c
14323           gnome/applet/wireless-security-option.c
14324           gnome/applet/wso-*
14325                 - Implement dbus message param append function for
14326                         all wireless security options
14327
14328 2005-12-12  Robert Love  <rml@novell.com>
14329
14330         * libnm-util/cipher-wep-passphrase.c,
14331           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14332           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14333           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14334           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14335           When handling keys, we don't care what the sign is.  The compiler
14336           guarantees us that we get our 8-bits, which is all we care about.
14337         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14338
14339 2005-12-12  Dan Williams  <dcbw@redhat.com>
14340
14341         * gnome/applet/applet-dbus-devices.[ch]
14342           gnome/applet/applet.c
14343           gnome/applet/other-network-dialog.c
14344           gnome/applet/wireless-security-manager.[ch]
14345           gnome/applet/wireless-security-option.[ch]
14346           gnome/applet/wso-*
14347                 - Push the wireless security options further into the applet
14348
14349 2005-12-12  Robert Love  <rml@novell.com>
14350
14351         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14352           return any name servers.  That is perfectly valid.  (Novell #134369).
14353
14354 2005-12-11  Dan Williams  <dcbw@redhat.com>
14355
14356         * gnome/applet/wso-*
14357           gnome/applet/wireless-security-option.*
14358           gnome/applet/Makefile.am
14359                 - split each security option out so we can eventually
14360                         have each one build up their own dbus message
14361                         arguments to send to NM
14362
14363 2005-12-11  Dan Williams  <dcbw@redhat.com>
14364
14365         * Make validation of the key work correctly
14366
14367 2005-12-11  Dan Williams  <dcbw@redhat.com>
14368
14369         * Hook more bits of the Other Network Dialog up to the
14370                 wireless security manager stuff, and restructure
14371                 bits of the dialog so there's less code.
14372
14373 2005-12-10  Dan Williams  <dcbw@redhat.com>
14374
14375         * gnome/applet/Makefile.am
14376                 - Add libnm-util to includes
14377                 - Add libnm-util to link list
14378                 - Add wireless-security-common.* to compile list
14379
14380         * gnome/applet/other-network-dialog.c
14381                 - Convert to using the WirelessSecurityManager code and
14382                         widgets
14383
14384         * gnome/applet/passphrase-dialog.c
14385                 - Comment out references to stuff in the glade file that
14386                         cause runtime errors until it can be fixed up
14387                         to use the WirelessSecurityManager code
14388
14389         * gnome/applet/wireless-applet.glade
14390                 - Rename some widgets
14391                 - Add widgets for the WirelessSecurityManager code
14392                 - Remove passphrase-related stuff since that's now
14393                         handled by the WirelessSecurityManager code
14394
14395 2005-12-10  Dan Williams  <dcbw@redhat.com>
14396
14397         * gnome/applet/applet-dbus-devices.c
14398                 - Print out error message details for dbus pending call callbacks
14399                 - Move nmwa_dbus_update_devices() up
14400
14401         * gnome/applet/applet-dbus-vpn.c
14402                 - Print out error message details for dbus pending call callbacks
14403
14404 2005-12-10  Dan Williams  <dcbw@redhat.com>
14405
14406         * libnm-util/*
14407                 - More fixups
14408                 - Remove cipher-manager.* because we don't need it
14409                 - Forgot to add gnome-keyring-md5 files to compile list
14410
14411 2005-12-09  Dan Williams  <dcbw@redhat.com>
14412
14413         * libnm-util/*
14414           configure.in
14415           Makefile.am
14416                 - Add a utility library for clients of NetworkManager.  It's
14417                         only targetted at applets for the moment, and contains
14418                         a generalized 802.11 cipher framework for different
14419                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14420
14421 2005-12-09  Robert Love  <rml@novell.com>
14422
14423         * src/NetworkManagerDevice.c: handle error better in
14424           nm_device_set_mode().
14425
14426 2005-12-08  Robert Love  <rml@novell.com>
14427
14428         * include/NetworkManager.h: add WPA capabilities constants
14429         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14430           or WPA2 and add the capabilities bits as appropriate.
14431
14432 2005-12-08  Robert Love  <rml@novell.com>
14433
14434         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14435           NetworkManagerDispatcher.
14436         * configure.in, initscript/SUSE/.cvsignore,
14437           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14438           initscript.
14439
14440 2005-12-08  Robert Love  <rml@novell.com>
14441
14442         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14443
14444 2005-12-08  Robert Love  <rml@novell.com>
14445
14446         * src/NetworkManagerDevice.c: We want to fall back on and default to
14447           IW_MODE_AUTO, not -1, which is more in line with our previous
14448           behavior.  Otherwise, we try to set the wireless mode to -1 in
14449           nm_device_set_mode().
14450
14451 2005-12-07  Robert Love  <rml@novell.com>
14452
14453         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14454           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14455           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14456           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14457           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14458           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14459           zero.
14460
14461 2005-12-07  Robert Love  <rml@novell.com>
14462
14463         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14464           supplied IP is invalid, fall back to DHCP.
14465
14466 2005-12-07  Dan Williams  <dcbw@redhat.com>
14467
14468         * Convert NETWORK_MODE_* constants to IW_MODE_*
14469         * Make all the get_mode/set_mode functions take and return 'int'
14470         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14471
14472 2005-12-07  Robert Love  <rml@novell.com>
14473
14474         * src/NetworkManagerDevice.c: strncpy() buffer check.
14475         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14476
14477 2005-12-06  Dan Williams  <dcbw@redhat.com>
14478
14479         * gnome/applet/applet-dbus.c
14480                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14481
14482         * gnome/applet/applet-dbus-vpn.c
14483                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14484                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14485                         to TRUE here if stage was ACTIVATED
14486
14487 2005-12-06  Dan Williams  <dcbw@redhat.com>
14488
14489         * Change nm_device_is_* functions to better names:
14490                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14491                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14492
14493 2005-12-06  Dan Williams  <dcbw@redhat.com>
14494
14495         * Change naming of NMDeviceType to something more sensible:
14496                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14497                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14498                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14499
14500 2005-12-06  Dan Williams  <dcbw@redhat.com>
14501
14502         * Move NetworkManager.h -> include/NetworkManager.h
14503         * Split out VPN stuff into include/NetworkManagerVPN.h
14504         * Fix up makefiles to include new location
14505         * Fix up sources to include NetworkManagerVPN.h
14506
14507 2005-12-06  Dan Williams  <dcbw@redhat.com>
14508
14509         Various changes in the applet to move VPN connection "state" -> "stage",
14510         which it actually is.  I'd like to change the signal as well when we
14511         break compat in the near future.
14512
14513 2005-12-06  Dan Williams  <dcbw@redhat.com>
14514
14515         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14516         * initscript/Slackware/rc.networkmanager
14517                 - Cosmetic fix
14518
14519         * src/backends/NetworkManagerSlackware.c
14520                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14521                         interfaces
14522
14523 2005-12-05  Robert Love  <rml@novell.com>
14524
14525         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14526           to free, particularly here as it just barfs.
14527
14528 2005-12-05  Dan Williams  <dcbw@redhat.com>
14529
14530         * gnome/applet/applet-dbus.c
14531                 - Work with dbus 0.6 too
14532
14533 2005-12-03  Dan Williams  <dcbw@redhat.com>
14534
14535         * src/NetworkManagerUtils.[ch]
14536           src/nm-ip4-config.c
14537                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14538                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14539
14540 2005-12-01  Robert Love  <rml@novell.com>
14541
14542         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14543           need a NULL for the '...' parameter, too, to fill the so-called
14544           sentinel.
14545
14546 2005-12-01  Robert Love  <rml@novell.com>
14547
14548         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14549           interface is already gone, so don't call rtnl_link_change() to down
14550           it (which will segfault, anyhow).
14551
14552 2005-11-22  Robert Love  <rml@novell.com>
14553
14554         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14555           gateway is not set, just print a little note.  Configurations without
14556           gateways are valid.
14557
14558 2005-11-22  Robert Love  <rml@novell.com>
14559
14560         * README: update
14561
14562 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14563
14564         * configure.in: Added Finnish translation to ALL_LINGUAS
14565
14566 2005-11-14  Robert Love  <rml@novell.com>
14567
14568         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14569           Niemueller <tim@niemueller.de>.
14570
14571 2005-11-08  Dan Williams  <dcbw@redhat.com>
14572
14573         Patch from Bill Moss <bmoss@clemson.edu>
14574         * src/NetworkManagerDevice.c
14575                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14576                         of nm_policy_schedule_activation_finish() to prevent a
14577                         race condition that causes the link to be dropped
14578
14579 2005-11-08  Dan Williams  <dcbw@redhat.com>
14580
14581         Patch from Bill Moss <bmoss@clemson.edu>
14582         * src/NetworkManagerAPList.c
14583           src/NetworkManagerDevice.c
14584           src/NetworkManagerDbus.c
14585                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14586                         we get more readable ether/mac addresses
14587
14588 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14589
14590         * gnome/applet/main.c: Don't set the restart command.  This fixes
14591         the issue where the restart command was getting copies of all its
14592         arguments for each time the applet was restarted.
14593
14594 2005-11-02  Robert Love  <rml@novell.com>
14595
14596         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14597           if the widget state differs from our saved state.  This ensures we
14598           do not enter an endless loop of death and destruction.  Also, this
14599           guarantees us that we enforce the widget state.
14600
14601 2005-11-02  Robert Love  <rml@novell.com>
14602
14603         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14604         * gnome/applet/applet-dbus-devices.c: invoke the new function
14605           nmwa_enable_wireless_set_active() to ensure that the state of the
14606           'Enable Wireless' checkbox matches the daemon's state.  This is a
14607           concern because the daemon remembers the state.
14608
14609 2005-11-02  Robert Love  <rml@novell.com>
14610
14611         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14612           Enabled", as checkboxes should be actions/commands not positive
14613           statements, otherwise they are confusing in the unselected case.  See
14614           examples in GNOME HIG, Chapter 6.
14615
14616 2005-11-02  Robert Love  <rml@novell.com>
14617
14618         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14619           show a list of wireless networks or the wireless devices or the
14620           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14621           a bad bug: If wireless is disabled and the user picks a wireless
14622           network, NM will switch to the network, only to immediately switch
14623           back, as wireless is disabled.  This also reassures people that NM
14624           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14625
14626 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14627
14628         * gnome/applet/applet.c:
14629         * gnome/applet/applet.h:
14630         Partial backout of Dan's timeout animation patch.
14631         Timeout IDs cannot legally be 0, so revert the code in place to handle
14632         a timeout ID of 0 to denote the timeout isn't running.
14633
14634 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14635
14636         * src/NetworkManagerPolicy.c:
14637         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14638
14639 2005-10-28  Robert Love  <rml@novell.com>
14640
14641         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14642           "Import Saved Configuration..." to make it clear that importing is
14643           not the next step, but an option.  As an aside, a nice TODO would be
14644           to move Importing out of the vpn-specific dialog and into the main
14645           property editor, as Importing goes with Adding, but that will require
14646           some rearchitecting of the VPN stuff I suspect.
14647
14648 2005-10-27  Dan Williams  <dcbw@redhat.com>
14649
14650         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14651         we should replace most of the distro-specific backend code
14652         with libnl stuff.
14653
14654         Get it here:  http://people.suug.ch/~tgr/libnl/
14655
14656         * configure.in
14657           src/Makefile.am
14658                 - Add checks for libnl pkgconfig file
14659                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14660
14661         * src/NetworkManagerSystem.c
14662           src/nm-ip4-config.[ch]
14663                 - Use libnl rather than ioctl() for most things
14664                 - Remove unused functions
14665
14666 2005-10-27  Robert Love  <rml@novell.com>
14667
14668         * src/backends/NetworkManagerSuSE.c: fix warning message text
14669
14670 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14671
14672         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14673
14674 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14675
14676         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14677         project page <http://www.gnome.org/projects/NetworkManager/>
14678
14679 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14680
14681         * gnome/applet.c: Also use translator credits if we don't have
14682         the new GtkAboutDialog (older versions of GTK+)
14683
14684 2005-10-26  Robert Love  <rml@novell.com>
14685
14686         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14687           failure; correct usage text for "--no-daemon"
14688
14689 2005-10-25  Dan Williams  <dcbw@redhat.com>
14690
14691         * src/NetworkManagerDevice.c
14692                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14693                         no scan results
14694                 - (free_process_scan_cb_data): unref the device when freeing results
14695                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14696                         so we don't unref the device underneath ourselves
14697
14698 2005-10-25  Dan Williams  <dcbw@redhat.com>
14699
14700         * Back out 2005-10-24 commit from Tor Krill.  Patch
14701                 causes nameservers never to be removed from named.
14702
14703 2005-10-24  Dan Williams  <dcbw@redhat.com>
14704
14705         Clean up wireless scanning and wireless link probing.
14706
14707         * src/NetworkManagerDevice.c
14708                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14709                         just see if there's an activation request on the device, and check the
14710                         current link against the activation request access point's ESSID.
14711                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14712                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14713                         don't call process_scan_results() on zero-length data
14714                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14715                         15 seconds (from 10)
14716
14717 2005-10-24  Dan Williams  <dcbw@redhat.com>
14718
14719         Cleanup some applet stuff:
14720
14721         - Animation timeouts.  If NM died while the applet was animating,
14722                 the applet would not hide itself.  This is now fixed.
14723
14724         - Remove some dead code
14725
14726         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14727                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14728
14729         - Track animation timeout using a gboolean rather than the timeout's
14730                 ID, since timeout IDs can legally be 0.
14731
14732 2005-10-24  Dan Williams  <dcbw@redhat.com>
14733
14734         * src/backends/interface_parser.c
14735                 - Add void to function declarations that need it
14736                         to match patch from Engin AYDOGAN
14737
14738         * src/backends/interface_parser.h
14739                 - Remove unused prototype for ifparser_interfaces()
14740
14741         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14742         * src/backends/interface_parser.h:
14743                 - Compile fixes for gcc 4.0.2 (add void)
14744
14745 2005-10-24  Dan Williams  <dcbw@redhat.com>
14746
14747         Patch from Tor Krill <tor@krill.nu>
14748         * src/named-manager/nm-named-manager.c
14749                 - Write more than just the first nameserver to /etc/resolv.conf
14750                 - Write out valid /etc/resolv.conf on exit
14751
14752 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14753
14754         * gnome/applet/applet-dbus-vpn.c:
14755         Get rid of spurious newlines in debug console output
14756
14757 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14758
14759         * src/backends/NetworkManagerGentoo.c:
14760         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14761
14762 2005-10-20  Robert Love  <rml@novell.com>
14763
14764         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14765           direct comparison of floating point values, which is never correct.
14766           Also some misc. cleanup.
14767
14768 2005-10-19  Robert Love  <rml@novell.com>
14769
14770         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14771
14772 2005-10-19  Robert Love  <rml@novell.com>
14773
14774         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14775           sensitivity of the buttons.  Specificaly, do the right thing if
14776           there are no entries.
14777
14778 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14779
14780         * configure.in: Update check for adequate wireless-tools
14781         with an AC_TRY_COMPILE for the new symbols we use.
14782
14783 2005-10-19  Dan Williams  <dcbw@redhat.com>
14784
14785         * src/NetworkManagerDevice.c
14786                 - (process_scan_results): don't drop the last (or only)
14787                         access point we see
14788
14789 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14790
14791         * src/backends/NetworkManagerSlackware.c:
14792         Patch from Nico <lordllucifer@gmail.com>
14793                 - Update the Slackware backend.
14794
14795 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14796
14797         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14798         if we've got GLib 2.8.0
14799
14800 2005-10-18  Robert Love  <rml@novell.com>
14801
14802         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14803           function nm_schedule_state_change_signal_broadcast() when we
14804           deactivate a device, too.
14805
14806 2005-10-18  Robert Love  <rml@novell.com>
14807
14808         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14809           be used uninitialized.
14810
14811 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14812
14813         * test/libnm_glib_test.c: Test unregistering, too.
14814
14815 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14816
14817         * configure.in: Bump to 0.5.0
14818
14819 2005-10-17  Dan Williams  <dcbw@redhat.com>
14820
14821         * NetworkManager.h
14822                 - Remove WPA-related constants so they aren't part of the
14823                         upcoming release.
14824
14825 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14826
14827         * gnome/applet/applet.c:
14828         * gnome/applet/applet.h:
14829         Desensitize the 'Connection Information' menu item when there is
14830         no active connection.
14831
14832 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14833
14834         * gnome/libnm_glib/libnm_glib.c:
14835         Make libnm_glib_unregister_callback () actually unregister the callback
14836
14837 2005-10-17  Robert Love  <rml@novell.com>
14838
14839         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14840           two seconds -- tries is updated every 1/10 of a second, not every
14841           second..
14842
14843 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14844
14845         * gnome/applet/applet-dbus-info.c:
14846         Let D-BUS know that we haven't handled a message when we haven't.
14847
14848 2005-10-17  Robert Love  <rml@novell.com>
14849
14850         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14851           in order to remain 64-bit clean.
14852
14853 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14854
14855         * gnome/applet/applet-dbus-info.c:
14856         Find network encryption keys asynchronously
14857
14858 2005-10-17  Robert Love  <rml@novell.com>
14859
14860         * src/backends/NetworkManagerDebian.c,
14861           src/backends/NetworkManagerRedHat,
14862           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14863           comment delimiter.
14864
14865 2005-10-17  Robert Love  <rml@novell.com>
14866
14867         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14868           "/etc"
14869
14870 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14871
14872         * src/NetworkManagerDevice.c: (process_scan_results)
14873         Fix logic that checks to see whether we have an ESSID.
14874
14875 2005-10-15  Dan Williams  <dcbw@redhat.com>
14876
14877         Move scanning code into NetworkManager rather than use iwlib's
14878         iw_scan() function, so that we can figure out AP capabilities.
14879
14880         * NetworkManager.h
14881                 - Add AP capability bits
14882
14883         * src/NetworkManagerAP.[ch]
14884                 - Add capability field to NMAccessPoint structure
14885                 - Add WPA & RSN Information Element fields and accessor
14886                         functions to NMAccessPoint
14887
14888         * src/NetworkManagerDevice.c
14889                 - Remove usage of iw_scan
14890                 - Add scanning code to NetworkManager rather than use
14891                         iw_scan() from iwlib
14892
14893         * src/NetworkManagerUtils.[ch]
14894                 - (nm_dispose_scan_results): remove, unused
14895
14896 2005-10-14  Christopher Aillon  <caillon@redhat.com>
14897
14898         * gnome/libnm_glib/libnm_glib.c:
14899         * gnome/libnm_glib/libnm_glib.h:
14900         Use guint instead of gint for callback IDs.
14901
14902 2005-10-12  Christopher Aillon  <caillon@redhat.com>
14903
14904         * gnome/applet/applet.c:
14905         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
14906         every 1000ms.  It will unconditionally call nmwa_update_state which
14907         kills the existing animation timeout and registers a new one with a
14908         callback to draw a new frame every 100ms.  There are 11 connecting
14909         icon frames, so the last 2 frames kept getting dropped.  Only reset
14910         the animation timeout if we aren't animating.
14911
14912 2005-10-11  Dan Williams  <dcbw@redhat.com>
14913
14914         * gnome/applet/applet-dbus-devices.c
14915                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14916                         We want to grab the product & vendor from net.physical_dev
14917                         rather than info.parent.
14918
14919 2005-10-11  Dan Williams  <dcbw@redhat.com>
14920
14921         * src/NetworkManagerDevice.c
14922                 - Use the driver's WE version for scanning rather than
14923                         the WE version NM was compiled with.  Fixes random
14924                         crashes in iw_scan () in iwlib.
14925
14926 2005-10-10  Dan Williams  <dcbw@redhat.com>
14927
14928         * Remove nm_system_load_device_modules() from backend files
14929                 and from NetworkManager.c
14930
14931 2005-10-10  Dan Williams  <dcbw@redhat.com>
14932
14933         * src/NetworkManagerPolicy.c
14934                 - Fix some bugs introduced by the capabilities patch
14935
14936 2005-10-10  Dan Williams  <dcbw@redhat.com>
14937
14938         * gnome/applet/applet-dbus-info.c
14939                 - (nmi_dbus_get_network_key): hide the menu when putting up
14940                         the keyring dialog.  (not sure if the code is right...)
14941
14942 2005-10-09  Dan Williams  <dcbw@redhat.com>
14943
14944         Patch from Bill Moss <bmoss@clemson.edu>
14945         * src/NetworkManagerDevice.c
14946                 - (nm_device_set_user_key_for_network): don't try to set auth
14947                         mode on the AP from the allowed list if it's NULL
14948
14949 2005-10-09  Dan Williams  <dcbw@redhat.com>
14950
14951         * Replace the "driver support level" stuff with capabilities.  The
14952                 capability field is a bitfield that is more flexible than the
14953                 old driver support level thing.  It's mostly so we can easily
14954                 figure out what supports WPA and what doesn't, but should be
14955                 quite useful later.
14956
14957 2005-10-09  Dan Williams  <dcbw@redhat.com>
14958
14959         * test/nmtest.c
14960                 - Removed
14961
14962         * test/nm-tool.c
14963           test/Makefile.am
14964                 - Added new "nm-tool" tool that gives quite a bit more
14965                         information
14966
14967 2005-10-07  Robert Love  <rml@novell.com>
14968
14969         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14970           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14971           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14972           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14973           appropriate
14974
14975 2005-10-07  Robert Love  <rml@novell.com>
14976
14977         * configure.in: Change our compile flags for the betterment of mankind.
14978           Add "-Wstrict-prototypes" because we comply anyhow and missing a
14979           prototype is very bad on 64-bit platforms as types default to int but
14980           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14981           "-Wmissing-declarations" to warn if we define an exported function
14982           but fail to put it in a header.
14983
14984 2005-10-07  Robert Love  <rml@novell.com>
14985
14986         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14987           by the name nm_update_device_wireless_timeouts() and once tried,
14988           without success, to steal my pet turtle.
14989
14990 2005-10-07  Robert Love  <rml@novell.com>
14991
14992         * Cleanup prototypes: put some functions in header files and mark
14993           others as 'static' -- feel free to invert
14994         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14995           nm_vpn_manager_vpn_connection_list_copy()
14996         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14997           nm_vpn_service_get_dbus_connection()
14998         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14999           nm_vpn_manager_vpn_connection_list_copy()
15000         * src/vpn-manager/nm-vpn-service.c: make
15001           nm_vpn_service_act_request_failed() and
15002           nm_vpn_service_stage2_daemon_wait() static
15003         * src/vpn-manager/nm-vpn-service.h: add prototype for
15004           nm_vpn_service_get_dbus_connection()
15005
15006 2005-10-06  Christopher Aillon  <caillon@redhat.com>
15007
15008         * gnome/applet/applet.c:
15009         * gnome/applet/applet.h:
15010         * gnome/applet/icons/Makefile.am:
15011         Convey information about the current connection stage in the
15012         icons themselves instead of creating a separate progress bar.
15013
15014 2005-10-04  Robert Love  <rml@novell.com>
15015
15016         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15017           convert an ether_addr structure's MAC into a string, because the
15018           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15019           versus 07:3B:04, while the former will not.
15020
15021 2005-10-04  Robert Love  <rml@novell.com>
15022
15023         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15024           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15025           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15026           default route in the 'Connection Information' dialog, send primary
15027           and secondary name servers in in "getProperties" DBUS method, add
15028           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
15029           secondary domain name servers are crucial pieces of information
15030           that a user might need in debugging a network problem.
15031
15032 2005-10-04  Robert Love  <rml@novell.com>
15033
15034         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15035           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15036           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15037           default route in the 'Connection Information' dialog, send default
15038           route in "getProperties" DBUS method, add network_device_set_route(),
15039           and network_device_get_route().  The Gateway is a crucial piece of
15040           connection-related information that a user might need in debugging a
15041           network problem.
15042
15043 2005-10-03  Robert Love  <rml@novell.com>
15044
15045         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15046           NULL.
15047
15048 2005-10-02  Dan Williams  <dcbw@redhat.com>
15049
15050         * Shorten time taken to sleep by fastpathing bits of device deactivation
15051                 necessary for sleep.
15052
15053         * Fix issue where deactivating a device might deactivate the active
15054                 VPN connection, even if the VPN was not using the device.
15055
15056 2005-10-02  Dan Williams  <dcbw@redhat.com>
15057
15058         * gnome/applet/applet.c
15059                 - Adjust signal strength -> icon mapping values slightly
15060                         (so that 51% signal doesn't show a 75% icon) by adding
15061                         5% to the values. ex: > 5% now shows 25% icon, > 30%
15062                         shows 50% icon, etc.
15063
15064 2005-09-29  Robert Love  <rml@novell.com>
15065
15066         * src/NetworkManager.c: removed unused variable.
15067
15068 2005-09-28  Dan Williams  <dcbw@redhat.com>
15069
15070         Support for named + DBus, using Red Hat DBus patches for named.  You
15071         can find those patches here, with "dbus" in the patch's filename:
15072
15073                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15074
15075         Don't forget the named dbus service file either.
15076
15077         Instead of writing a config file and spawing a named process, NM will
15078         use an already-running dbus-enabled named if it finds one.  NM will
15079         update named's forwarder configuration on the fly using dbus.
15080
15081         If there is no dbus-enabled named running, NM will automatically fall
15082         back to writing the most-recent DNS server information to /etc/resolv.conf
15083         and calling nm_system_update_dns() to kick the system's resolver.
15084
15085         Accordingly, all named-related configure-time options have been removed.
15086
15087 2005-09-26  Robert Love  <rml@novell.com>
15088
15089         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15090           ISDN support!
15091         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15092           bug in error path if "ASKPASSWORD" is "no".
15093
15094 2005-09-26  Robert Love  <rml@novell.com>
15095
15096         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15097           comment in /etc/resolv.conf -- ';' is not.
15098
15099 2005-09-19  Dan Williams  <dcbw@redhat.com>
15100
15101         * src/backends/NetworkManagerRedHat.c:
15102         * src/backends/NetworkManagerDebian.c:
15103         * src/backends/NetworkManagerSlackware.c:
15104         * src/backends/NetworkManagerGentoo.c:
15105         * src/backends/NetworkManagerSUSE.c:
15106         Fix invocations of "/sbin/ip address" to use short form instead
15107
15108 2005-09-19  Christopher Aillon  <caillon@redhat.com>
15109
15110         * src/nm-dbus-device.c: Don't assert when getting
15111         addresses of a not yet connected interface.
15112
15113         * gnome/applet/applet.c: Free icons if loading fails.
15114         Use translator-credits so translators can make themselves known.
15115
15116 2005-09-15  Christopher Aillon  <caillon@redhat.com>
15117
15118         * src/NetworkManagerAP.c:
15119         * src/NetworkManagerAP.h:
15120         * src/NetworkManagerDevice.c:
15121         Set a blacklist for certain common manufacturer default ESSIDs:
15122         APs with these ESSIDs are extremely likely to be completely
15123         different networks: connecting to one should not make NM
15124         auto-connect to every other AP with the same default ESSID.
15125
15126 2005-09-12  Christopher Aillon  <caillon@redhat.com>
15127
15128         * gnome/applet/wireless-applet.glade:
15129         The passphrase entry should also activate the default
15130
15131         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15132
15133         * gnome/applet/applet-dbus-devices.c:
15134         * gnome/applet/applet.c:
15135         * gnome/applet/nm-device.c:
15136         * gnome/applet/nm-device.h:
15137         * src/NetworkManagerUtils.c:
15138         * src/NetworkManagerUtils.h:
15139         * src/nm-dbus-device.c:
15140         I've got a fever, and the only cure for it is less ioctl.
15141         Make NM push IP data rather than make the applet open a socket
15142         to the device.
15143
15144 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15145
15146         * gnome/applet/applet.c:
15147         * gnome/applet/applet-dbus-devices.c:
15148         * gnome/applet/applet-dbus-info.c:
15149         * gnome/applet/passphrase-dialog.c:
15150         * gnome/libnm_glib/libnm_glib.c:
15151         * gnome/vpn-properties/nm-vpn-properties.c:
15152         * src/autoip.c:
15153         * src/backends/NetworkManagerRedHat.c:
15154         * src/named-manager/nm-named-manager.c:
15155         * src/NetworkManagerAPList.c:
15156         * src/NetworkManager.c:
15157         * src/NetworkManagerDbus.c:
15158         * src/NetworkManagerDevice.c:
15159         * src/NetworkManagerPolicy.c:
15160         * src/NetworkManagerSystem.c:
15161         * src/nm-dbus-device.c:
15162         * src/nm-dbus-nm.c:
15163         * src/vpn-manager/nm-vpn-manager.c:
15164         * src/vpn-manager/nm-vpn-service.c:
15165         * test/libnm_glib_test.c:
15166         * test/nminfotest.c:
15167         * test/nmtestdevices.c:
15168         Fix a bunch of 'unused variable' compiler warnings
15169
15170         * NetworkManager.h:
15171         * gnome/applet/applet-dbus-info.c:
15172         * gnome/applet/applet-dbus-info.h:
15173         * gnome/applet/applet.c:
15174         * gnome/applet/applet.h:
15175         * src/NetworkManager.c:
15176         * src/NetworkManagerDbus.c:
15177         * src/NetworkManagerDbus.h:
15178         * src/NetworkManagerDevice.c:
15179         * src/NetworkManagerDevice.h:
15180         * src/NetworkManagerMain.h:
15181         * src/NetworkManagerWireless.c:
15182         * src/NetworkManagerWireless.h:
15183         * src/nm-dbus-nm.c:
15184         Make NetworkManager be smart about how frequently to scan
15185         based on its current state.  Remove the UI for choosing when
15186         to scan.  Scanning still may disabled completely by the user
15187         via the "Wireless Enabled" menu item.
15188
15189 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15190
15191         * gnome/applet/applet.c:
15192         Also overlay the vpn connecting icons onto the wired icon,
15193         when appropriate.
15194
15195         * gnome/vpn-properties/nm-vpn-properties.glade:
15196         Clean up a few strings to use better grammar and proper casing.
15197
15198 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15199
15200         * gnome/applet/vpn-connection.c:
15201         * gnome/applet/vpn-connection.h:
15202         Add nmwa_vpn_connection_is_activating ()
15203
15204         * gnome/applet/applet.c:
15205         * gnome/applet/applet.h:
15206         * gnome/applet/icons/nm-vpn-connecting*.png:
15207         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15208         the user know something's happening between clicking the VPN item and it
15209         actually being connected.
15210
15211 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15212
15213         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15214         failure case as well.
15215
15216 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15217
15218         * gnome/panel/eggtrayicon.[ch]:
15219         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15220
15221 2005-09-07  Dan Williams  <dcbw@redhat.com>
15222
15223         Patch from Bill Moss <bmoss@clemson.edu>
15224         * src/applet-dbus.c
15225                 - (nmwa_dbus_filter): strip whitespace from beginning
15226                         and end of VPN login banner
15227
15228 2005-09-07  Dan Williams  <dcbw@redhat.com>
15229
15230         * The great VPN Manager rewrite of 2005
15231
15232 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15233
15234         * gnome/applet/menu-items.c:
15235         * gnome/applet/nm-device.c:
15236         * gnome/applet/wireless-network.c:
15237         * gnome/libnm_glib/libnm_glib.c:
15238         * src/NetworkManagerDbusUtils.c:
15239         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15240         g_malloc0 doesn't return NULL
15241
15242 2005-09-06  Dan Williams  <dcbw@redhat.com>
15243
15244         Patch from Tomislav Vujec <tvujec@redhat.com>
15245         * src/NetworkManagerDevice.c
15246                 - (nm_get_device_by_udi): don't return a device when we
15247                         actually didn't find what we were looking for
15248
15249 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15250
15251         * gnome/applet/applet-dbus-devices.c:
15252         * gnome/applet/applet-dbus-devices.h:
15253         * gnome/applet/applet-dbus.c:
15254         * src/NetworkManagerDbus.c:
15255         * src/NetworkManagerDbus.h:
15256         * src/NetworkManagerDevice.c:
15257         * src/nm-dbus-device.c:
15258         Make NM push updates about active device strength when it changes,
15259         rather than having the applet poll every 2s.
15260
15261 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15262
15263         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15264         network_device_set_strength
15265
15266 2005-09-04  Dan Williams  <dcbw@redhat.com>
15267
15268         Patch from Bill Nottingham <notting@redhat.com>
15269         * src/NetworkManagerDevice.c
15270                 - (nm_device_activation_cancel): reset the quit_activation flag
15271
15272 2005-09-04  Dan Williams  <dcbw@redhat.com>
15273
15274         * src/nm-activation-request.c
15275                 - (nm_act_request_unref): actually free the structure,
15276                         which we didn't seem to be doing before
15277
15278 2005-09-04  Dan Williams  <dcbw@redhat.com>
15279
15280         Patch from John Palmieri <johnp@redhat.com>
15281         * gnome/applet/applet-dbus-devices.c
15282                 - Fix up unreffing of DBusMessage objects
15283
15284 2005-09-04  Dan Williams  <dcbw@redhat.com>
15285
15286         Patch from John Palmieri <johnp@redhat.com>
15287         * gnome/applet/nm-device.c
15288                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15289
15290 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15291
15292         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15293
15294 2005-09-02  Bill Nottingham  <notting@redhat.com>
15295
15296         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15297
15298 2005-09-01  Dan Williams  <dcbw@redhat.com>
15299
15300         * src/NetworkManager.c
15301                 - (nm_remove_device_from_list): rename to nm_remove_device
15302                 - (nm_hal_device_removed): call nm_remove_device()
15303
15304         * src/NetworkManagerDevice.c
15305                 - Change the NMWirelessScanCB member 'reschedule' which
15306                         wasn't used to 'force' to indicate that we need to
15307                         force a scan when adding a device
15308
15309         * src/nm-dbus-nm.c
15310                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15311                         from the device list
15312                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15313
15314 2005-09-01  Robert Love  <rml@novell.com>
15315
15316         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15317           and the check "!iface" in the error case is probably never true.
15318
15319 2005-09-01  Dan Williams  <dcbw@redhat.com>
15320
15321         Patch from Bill Nottingham <notting@redhat.com>
15322         * src/backends/NetworkManagerRedHat.c
15323                 - Add initial dialup support to Red Hat/Fedora backend
15324
15325 2005-09-01  Dan Williams  <dcbw@redhat.com>
15326
15327         * gnome/applet/applet-dbus-devices.c
15328                 - Sort both wireless networks and devices again, which got
15329                         broken when removing threading
15330
15331 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15332
15333         * gnome/applet/applet.c:
15334         Only show the "Stop/Start All Wireless Devices" menuitem
15335         if we actually have wireless devices.
15336
15337         * gnome/applet/applet-dbus-info.c:
15338         * gnome/applet/applet.c:
15339         * gnome/applet/other-network-dialog.c:
15340         * gnome/applet/vpn-password-dialog.c:
15341         Drop the gtk_dialog_run () calls in favor of connecting to
15342         "response" signals, needed now that the applet is not threaded.
15343
15344 2005-08-31  Dan Williams  <dcbw@redhat.com>
15345
15346         Patch from Bill Moss <bmoss@clemson.edu>
15347         * src/NetworkManagerDevice.c
15348                 - (nm_device_wireless_scan): fix scan timeout values
15349
15350 2005-08-30  Dan Williams  <dcbw@redhat.com>
15351
15352         * gnome/applet/wireless-applet.glade
15353                 - HIG-ify the Other Wireless Networks dialog a bit more
15354                 - Fix some potential segfaults in the info dialog
15355
15356 2005-08-30  Dan Williams  <dcbw@redhat.com>
15357
15358         * gnome/applet/applet-dbus-devices.c
15359                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15360
15361 2005-08-30  Dan Williams  <dcbw@redhat.com>
15362
15363         * gnome/applet/applet-dbus.[ch]
15364                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15365                         they weren't being used anyway
15366
15367 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15368
15369         * test/nmtestdevices.c: (print_usage), (main):
15370         Check the number of arguments, and fix a typo
15371
15372 2005-08-29  Dan Williams  <dcbw@redhat.com>
15373
15374         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15375         * gnome/applet/applet.c
15376                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15377
15378 2005-08-29  Dan Williams  <dcbw@redhat.com>
15379
15380         * gnome/applet/*
15381                 - Don't use threads any more.  Anything that blocks
15382                         (like gtk_dialog_run()) will  have to get fixed up which
15383                         should happen quickly.  We really only had threads to make
15384                         the animation smooth, and when everything got converted over
15385                         to DBus Pending Calls, the need for threads kind of went away
15386
15387 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15388
15389         * gnome/applet/applet.c: Draw VPN connections as radio items
15390         since we don't yet support multiple VPNs.
15391         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15392         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15393
15394 2005-08-29  Dan Williams  <dcbw@redhat.com>
15395
15396         Patch from j@bootlab.org
15397         - Make --without-named work
15398         - Make --with-dhcdbd work correctly
15399
15400 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15401
15402         * configure.in: Added "ca" to ALL_LINGUAS.
15403
15404 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15405
15406         * Fix up VPN state handling between the applet and NetworkManager,
15407                 so that the applet doesn't show a VPN as connected when one
15408                 really is not
15409                         - The applet no longer has a pointer to the active VPN's
15410                                 name, but tracks each VPNs state individually
15411                         - NM no longer has a "getActiveVPNConnection" method
15412                         - NM no longer broadcasts the "VPNConnectionChange" signal
15413                         - NM now broadcasts a "VPNConnectionStateChange" signal
15414                                 whenever the state of a VPN changes
15415
15416 2005-08-26  Dan Williams <dcbw@redhat.com>
15417
15418         * gnome/applet/applet-dbus-devices.c
15419           gnome/applet/applet-dbus-vpn.c
15420                 - Remove calls to dbus_pending_call_ref() because we already
15421                         "own" the pending call
15422                 - Remove calls to dbus_pending_call_get_completed() because
15423                         when we are in the callback, the pending call is completed
15424                         by definition
15425
15426 2005-08-22  Dan Williams <dcbw@redhat.com>
15427
15428         Patch by Bill Moss <bmoss@clemson.edu>
15429         * src/dhcp-manager/nm-dhcp-manager.c
15430                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15431                         some time to send out a RELEASE if they like
15432
15433 2005-08-22  Dan Williams <dcbw@redhat.com>
15434
15435         Noticed by Bill Moss <bmoss@clemson.edu>
15436         * src/NetworkManagerDbus.c
15437                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15438                         instead of just cancelling its activation
15439
15440         * src/NetworkManagerDevice.c
15441                 - (nm_device_deactivate): some small cleanups
15442                 - (nm_device_set_user_key_for_network): deactivate the device
15443                         instead of just cancelling its activation
15444
15445 2005-08-22  Dan Williams <dcbw@redhat.com>
15446
15447         Noticed by Bill Moss <bmoss@clemson.edu>
15448         * src/NetworkManagerDevice.c
15449                 - (nm_device_wireless_scan): fix scan timeout, we were
15450                         waiting way too long for scans to complete
15451
15452 2005-08-22  Dan Williams <dcbw@redhat.com>
15453
15454         Patch from j@bootlab.org:
15455         * src/backends/NetworkManagerDebian.c
15456                 - Make the Debian backend work for static IP again
15457
15458 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15459
15460         * gnome/applet/other-network-dialog.c:
15461         The "Create New Network" and "Connect to Other Network"
15462         dialogs share alot of code, but shouldn't share a window
15463         title.  Give them different ones.
15464
15465         * gnome/applet/wireless-applet.glade:
15466         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15467         Some more minor UI tweaks.
15468
15469 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15470
15471         * gnome/applet/other-network-dialog.c:
15472         * gnome/applet/wireless-applet.glade:
15473         Also need mnemonic widgets, and underline enabled.
15474
15475 2005-08-19  Dan Williams <dcbw@redhat.com>
15476
15477         * vpn-daemons/vpnc/nm-vpnc-service.c
15478                 - (vpnc_watch_cb): remove no-longer-relevant comment
15479                 - (write_config_option): new function, helper to write
15480                         config options to vpnc's stdin
15481                 - (nm_vpnc_config_write): use the new helper, make the
15482                         code shorter
15483
15484 2005-08-19  Christopher Aillon <caillon@redhat.com>
15485
15486         * gnome/applet/passphrase-dialog.c:
15487         * gnome/applet/wireless-applet.glade:
15488         Make the passphrase dialog response based, and treat
15489         responses other than OK (such as Esc, [X]) as a cancel.
15490
15491 2005-08-18  Christopher Aillon <caillon@redhat.com>
15492
15493         * initscript/Gentoo/NetworkManager:
15494         * initscript/RedHat/NetworkManager:
15495         * initscript/RedHat/NetworkManagerDispatcher:
15496         * initscript/SUSE/networkmanager:
15497         CVS remove these in place of .in replacements
15498
15499         * configure.in:
15500         * initscript/Gentoo/NetworkManager.in:
15501         * initscript/RedHat/NetworkManager.in:
15502         * initscript/RedHat/NetworkManagerDispatcher.in:
15503         * initscript/SUSE/networkmanager.in:
15504         These scripts now are generated so they work still when
15505         NM is built using a bindir other than /usr/bin
15506
15507 2005-08-18  Dan Williams <dcbw@redhat.com>
15508
15509         * gnome/applet/main.c
15510                 - Revert previous change for --no-session since
15511                         --sm-disable does the same thing
15512
15513 2005-08-18  Dan Williams <dcbw@redhat.com>
15514
15515         * gnome/applet/applet-dbus-info.c
15516                 - (nmi_dbus_create_error_message): new function
15517                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15518                         functions.  Also don't check for both device _and_ network before
15519                         asking for a user's key, because we may not have gotten all our
15520                         networks back from NM quite yet (due to the dbus pending calls
15521                         coming in later).  Fixes a hang in NM/nm-applet.
15522
15523         * src/NetworkManagerDbus.c
15524                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15525                         slightly more sane manner, even though we are still broken for
15526                         certain other error conditions.
15527                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15528                         to the info-daemon too
15529
15530         * src/NetworkManagerDevice.c
15531                 - Fix some debug messages to be info messages instead
15532
15533 2005-08-18  Dan Williams <dcbw@redhat.com>
15534
15535         * gnome/applet/main.c
15536                 - Add new "--no-session" parameter that disables applet
15537                         session management, ie for testing
15538
15539 2005-08-18  Christopher Aillon <caillon@redhat.com>
15540
15541         * gnome/applet/other-network-dialog.c:
15542         * gnome/applet/wireless-applet.glade: More mnemonics
15543
15544 2005-08-17  Robert Love  <rml@novell.com>
15545
15546         * initscript/SUSE/networkmanager: update
15547
15548 2005-08-17  Dan Williams  <dcbw@redhat.com>
15549
15550         * Tag NM_0_4_1_RELEASE
15551
15552 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15553
15554         * gnome/applet/applet.c: More translatable string cleanup
15555
15556
15557 2005-08-17  Dan Williams  <dcbw@redhat.com>
15558
15559         * gnome/applet/applet-dbus-info.c
15560                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15561                         from the dbus message, which tells us to unconditionally
15562                         ask the user for a new key.  Otherwise, we pull the key from
15563                         the keyring and return it.  If we fail to get the key from the
15564                         keyring, we ask the user for a new key.
15565                 - (nmi_dbus_get_network_key): new function to grab the key for
15566                         an essid from the keyring.
15567                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15568                         Also, don't return any key in the dbus message.
15569
15570         * src/NetworkManagerDbus.[ch]
15571                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15572                         indicate that we unconditionally want a new key.  This function
15573                         is now also used to get keys from the info-daemon which are
15574                         pre-stored, not just for asking the user for a new key.  The
15575                         "new_key" parameter indicates whether or not we wish to ask the
15576                         user for a new key.
15577                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15578                         info-daemon in the return message, so use NULL instead.  The
15579                         key will be filled in at connect time by calling
15580                         nm_dbus_get_user_key_for_network()
15581
15582         * src/NetworkManagerDevice.c
15583                 - (nm_device_wireless_configure): update for "new_key" param to
15584                         nm_dbus_get_user_key_for_network().  We initially set new_key
15585                         to FALSE to see if we have a stored key in the info-daemon, but
15586                         if the connection is unsuccessful at this stage we request a
15587                         new one
15588
15589 2005-08-17  Dan Williams  <dcbw@redhat.com>
15590
15591         * gnome/applet/icons/nm-no-connection.png
15592           gnome/applet/icons/nm-device-wired.png
15593                 - Use Diana's new RJ45 connector icons
15594
15595 2005-08-17  Dan Williams  <dcbw@redhat.com>
15596
15597         * src/NetworkManagerPolicy.c
15598                 - (nm_policy_device_change_check): clarify switching rules if
15599                         both new and old devices are valid; mainly, don't switch
15600                         away from user-requested wireless connection back to a wired
15601                         one
15602
15603 2005-08-17  Dan Williams  <dcbw@redhat.com>
15604
15605         * gnome/applet/Makefile.am
15606                 - Relocate the applet to /usr/bin since it is no longer
15607                         executed by anything, but directly by the user
15608
15609 2005-08-17  Dan Williams  <dcbw@redhat.com>
15610
15611         Patch from Bill Moss <bmoss@clemson.edu>
15612
15613         * gnome/applet/applet-dbus-info.[ch]
15614                 - (nmi_save_network_info): save timestamp for network if it
15615                         was a change requested by the user
15616                 - (nmi_dbus_update_network_info): get user_requested from dbus
15617                         message and pass to nmi_save_network_info()
15618
15619         * gnome/applet/applet.c
15620                 - (nmwa_update_network_timestamp): remove
15621                 - (nmwa_menu_item_activate): don't set timestamp on networks
15622                         here, only after a successful connect in nmi_save_network_info()
15623
15624         * src/NetworkManagerDbus.[ch]
15625                 - (nm_dbus_update_network_info): pass user_requested into the 
15626                         dbus message
15627
15628         * src/NetworkManagerPolicy.c
15629                 - (nm_policy_activation_finish): pass user_requested to
15630                         nm_dbus_update_network_info()
15631
15632 2005-08-16  Robert Love  <rml@novell.com>
15633
15634         * gnome/applet/applet.c: Better "Dial Up" menu item.
15635
15636 2005-08-16  Robert Love  <rml@novell.com>
15637
15638         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15639           "Connection Information" menu item.
15640
15641 2005-08-16  Dan Williams  <dcbw@redhat.com>
15642
15643         Patch from j@bootlab.org
15644         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15645
15646         * configure.in: allow specifying the path to dhcdbd
15647
15648 2005-08-16  Robert Love  <rml@novell.com>
15649
15650         Patch from j@bootlab.org
15651         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15652           src/backends/interface_parser.h: Debian dialup support.
15653
15654 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15655
15656         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15657         * gnome/applet/applet.c: Add some mnemonics for VPNC
15658
15659         * vpn-daemons/.cvsignore: fix this up a little bit
15660
15661 2005-08-16  Robert Love  <rml@novell.com>
15662
15663         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15664           support.
15665
15666 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15667
15668         * gnome/applet/applet.c: Split markup out of translatable strings
15669         and clean up logic a little bit.  (fixes #309012)
15670
15671 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15672
15673         * gnome/vpn-properties/nm-vpn-properties.c:
15674         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15675         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15676         Makeshift fix to remove newlines from translatable strings.
15677         Note that we now return an allocated string, so callers of
15678         get_confirmation_details () must now call g_free () on the
15679         result. (fixes #309033).
15680
15681 2005-08-12  Robert Love  <rml@novell.com>
15682
15683         * gnome/applet/applet-dbus.c: remove newlines from translatable
15684           strings--not needed here anyway. (fix b.g.o #309011)
15685         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15686
15687 2005-08-11  Robert Love  <rml@novell.com>
15688
15689         * gnome/applet/applet.c: mark string as translatable.
15690
15691 2005-08-11  Robert Love  <rml@novell.com>
15692
15693         * initscript/SUSE/networkmanager: update.
15694
15695 2005-08-11  Dan Williams  <dcbw@redhat.com>
15696
15697         * src/nm-dhcp-manager.c
15698                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15699                         an gateway returned from DHCP, try to use the address of the DHCP
15700                         server as the gateway instead.  Found by Ralf Ertzinger.
15701
15702 2005-08-10  Robert Love  <rml@novell.com>
15703
15704         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15705           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15706
15707 2005-08-10  Dan Williams  <dcbw@redhat.com>
15708
15709         Patch from Bill Moss <bmoss@clemson.edu>
15710         * Consolidate writes of access point information updates to the info daemon
15711                 so that we only do it when the connection to the access point was
15712                 successful.  Also consolidates updates to GConf in the Gnome applet.
15713
15714         * src/nm-netlink-monitor.c
15715                 - Silence compile warning when calling g_object_new()
15716
15717 2005-08-08  Dan Williams  <dcbw@redhat.com>
15718
15719         Patch from Steev <steev@steev.net>:
15720         * src/backends/NetworkManagerGentoo.c
15721                 - Stub new dialup backend functions
15722
15723 2005-08-08  Dan Williams  <dcbw@redhat.com>
15724
15725         Patch from Colin Slater:
15726         * src/backends/NetworkManagerGentoo.c
15727                 - (nm_system_update_dns): Fix exit status check for restarting
15728                         nscd
15729
15730 2005-08-05  Robert Love  <rml@novell.com>
15731
15732         * NetworkManager.h,
15733           gnome/applet/applet-dbus-devices.c,
15734           gnome/applet/applet-dbus-devices.h,
15735           gnome/applet/applet-dbus.c,
15736           gnome/applet/applet.c,
15737           gnome/applet/applet.h,
15738           src/NetworkManager.c,
15739           src/NetworkManagerMain.h,
15740           src/NetworkManagerSystem.h,
15741           src/backends/NetworkManagerRedHat.c,
15742           src/backends/NetworkManagerSuSE.c,
15743           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15744
15745 2005-08-05  Robert Love  <rml@novell.com>
15746
15747         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15748           machine's hostname to make adhoc creation idiot-proof.
15749
15750 2005-08-04  Robert Love  <rml@novell.com>
15751
15752         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15753           freed.
15754
15755 2005-08-04  Dan Williams  <dcbw@redhat.com>
15756
15757         * gnome/applet/applet-dbus-info.c
15758           gnome/applet/applet-dbus-info.h
15759                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15760                         to store key, key type, and auth method rather than just auth method
15761                 - (nmi_dbus_update_network_info): new function
15762                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15763
15764         * gnome/applet/passphrase-dialog.c
15765                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15766                         of saving the info ourselves
15767
15768         * gnome/libnm_glib/libnm_glib.c
15769                 - Remove the stupid version check for dbus
15770
15771         * src/NetworkManagerAP.c
15772           src/NetworkManagerAP.h
15773                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15774
15775         * src/NetworkManagerDbus.c
15776           src/NetworkManagerDbus.h
15777                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15778                         more than just the auth method
15779
15780         * src/NetworkManagerDevice.c
15781                 - Update network info at the appropriate times
15782
15783 2005-07-29  Ray Strode  <rstrode@redhat.com>
15784
15785         * src/NetworkManager.c (nm_info_handler): don't use input as format
15786         string (Spotted by Ian Jackson).
15787
15788 2005-07-27  Dan Williams  <dcbw@redhat.com>
15789
15790         * src/nm-dbus-nm.c
15791           src/nm-dbus-net.c
15792                 - Random cleanups of spacing
15793
15794         * gnome/applet/applet.h
15795           gnome/applet/other-network-dialog.c
15796           gnome/applet/passphrase-dialog.c
15797                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15798
15799         Patch from Bill Moss:
15800                 - Make Other Wireless Networks work again with encryption keys
15801
15802 2005-07-26  Dan Williams  <dcbw@redhat.com>
15803
15804         Patch from Steev <steev@steev.net>:
15805         * src/backends/NetworkManagerGentoo.c
15806           src/backends/Makefile.am
15807                 - Fix up Gentoo backend
15808
15809 2005-07-26  Robert Love  <rml@novell.com>
15810
15811         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15812
15813 2005-07-25  Robert Love  <rml@novell.com>
15814
15815         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15816           in the same group as the wireless networks, since they are all
15817           mutually exclusive.
15818
15819 2005-07-24  Ray Strode  <rstrode@redhat.com>
15820
15821         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15822         remove unneeded NULL arg from g_object_new().  Any
15823         warnings caused by not having the extra NULL are just a
15824         result of a bug in glib 2.7.0 - 2.7.2.
15825
15826 2005-07-22  Robert Love  <rml@novell.com>
15827
15828         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15829
15830 2005-07-22  Robert Love  <rml@novell.com>
15831
15832         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15833           parameters (gcc 4.0.2 warning fix).
15834
15835 2005-07-18  Robert Love  <rml@novell.com>
15836
15837         Suggested by Aaron Bockover (abockover@novell.com)
15838         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15839           s/Ascii/ASCII
15840         * gnome/applet/passphrase-dialog.c: ditto
15841         * gnome/applet/wireless-applet.glade: ditto
15842
15843 2005-07-13  Dan Williams  <dcbw@redhat.com>
15844
15845         Patch from Ray Strode <halfline@gmail.com>
15846         * vpn-daemons/vpnc/nm-vpnc-service.c
15847                 - Don't let vpnc daemonize, fixes some races with PID file reading
15848
15849 2005-07-13  Dan Williams  <dcbw@redhat.com>
15850
15851         Patch from Ray Strode <halfline@gmail.com>
15852         * Random cleanups for strict CFLAGS
15853
15854 2005-07-07  Dan Williams  <dcbw@redhat.com>
15855
15856         Patch from Derek Atkins <warlord@MIT.EDU>
15857         * src/nm-dbus-net.c:
15858                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15859
15860 2005-07-07  Dan Williams  <dcbw@redhat.com>
15861
15862         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15863         * src/backends/NetworkManagerGentoo.c
15864                 - Gentoo backend Static IP nameserver fixes
15865                 - General Gentoo backend goodness
15866
15867 2005-07-07  Dan Williams  <dcbw@redhat.com>
15868
15869         Patch from Bastien Nocera:
15870         * gnome/applet/applet.c
15871                 - Fix up error reporting when icons or glade files are missing
15872
15873 2005-07-07  Robert Love  <rml@novell.com>
15874
15875         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15876           are not any VPN connections above it.
15877
15878 2005-07-07  Robert Love  <rml@novell.com>
15879
15880         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15881
15882 2005-07-05  Robert Love  <rml@novell.com>
15883
15884         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15885           zero.
15886
15887 2005-07-05  Robert Love  <rml@novell.com>
15888
15889         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15890           on wired or unencrypted wireless.
15891
15892 2005-07-01  Robert Love  <rml@novell.com>
15893
15894         * src/NetworkManagerSystem.c: Print the error via strerror().
15895
15896 2005-06-30  Robert Love  <rml@novell.com>
15897
15898         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15899           then exit if the glade file is not found.  currently the application
15900           just hangs.
15901
15902 2005-06-30  Robert Love  <rml@novell.com>
15903
15904         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15905           explicitly up all interfaces on wake from sleep.
15906
15907 2005-06-30  Robert Love  <rml@novell.com>
15908
15909         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15910           with information about the currently active connection.
15911         * gnome/applet/applet.h: (ditto)
15912         * gnome/applet/wireless-applet.glade: (ditto), new file
15913
15914 2005-06-30  Robert Love  <rml@novell.com>
15915
15916         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15917         * src/nm-dbus-nm.c: print when we sleep and wake up.
15918         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15919         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15920           in /sbin unless D-BUS is, folks).
15921         * README: update to reflect nm-applet replacing NetworkManagerInfo.
15922
15923 2005-06-27  Robert Love  <rml@novell.com>
15924
15925         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15926           case.
15927
15928 2005-06-27  Robert Love  <rml@novell.com>
15929
15930         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15931           items radios.
15932
15933 2005-06-26  Robert Love  <rml@novell.com>
15934
15935         * src/NetworkManagerDevice.c: be specific about which device in
15936           nm_info() message.
15937
15938 2005-06-23  Adam Weinberger  <adamw@gnome.org>
15939
15940         * src/nm-netlink-monitor.c: correct spelling error.
15941
15942 2005-06-23  Robert Love  <rml@novell.com>
15943
15944         * gnome/applet/applet-dbus-info.c: gnome keyring support!
15945         * gnome/applet/passphrase-dialog.c: more of that keyring!
15946
15947 2005-06-23  Robert Love  <rml@novell.com>
15948
15949         * configure.in: remove extraneous GNOMEKEYRING directives.
15950         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15951         * gnome/applet/applet.c: nmwa_icons_init: make style local.
15952         * gnome/applet/passphrase-dialog.c: whitespace.
15953
15954 2005-06-23  Robert Love  <rml@novell.com>
15955
15956         * src/NetworkManagerDevice.c: division in assignment was flipped.
15957
15958 2005-06-23  David Zeuthen  <david@fubar.dk>
15959
15960         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15961         signal to the child to indicate that we got what we wanted when we
15962         see two new-lines right after each other.
15963         (nmwa_vpn_request_password): Pass a structure with several members
15964         instead of just the passwords
15965
15966 2005-06-23  Dan Williams <dcbw@redhat.com>
15967
15968         * src/NetworkManager.c
15969           src/NetworkManagerMain.h
15970                 - (nm_get_hal_ctx): new function, move Hal initialization code here
15971                 - (nm_hal_init): new function, init libhal context then add devices
15972                 - (nm_hal_deinit): new function, clean up libhal context
15973                 - (nm_data_free): Move Hal cleanup here
15974                 - (main): check whether Hal is running, and if so, get a list of
15975                         network devices from it
15976
15977         * src/NetworkManagerDbus.c
15978                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15979                         and when it appears, get a list of network devices from it.  If
15980                         Hal goes away, clean up the libhal context
15981
15982 2005-06-22  Robert Love  <rml@novell.com>
15983
15984         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15985           permissions of scripts before executing.
15986
15987 2005-06-21  Robert Love  <rml@novell.com>
15988
15989         * initscript/SUSE/networkmanager: update.
15990         * src/backends/NetworkManagerSuSE.c: cleanup.
15991
15992 2005-06-21  Robert Love <rml@novell.com>
15993
15994         * gnome/applet/applet.c: use menu mnemonics.
15995         * gnome/applet/menu-items.c: (ditto)
15996
15997 2005-06-21  Robert Love  <rml@novell.com>
15998
15999         * applet/applet-dbus-devices.c: mark non-static functions static.
16000         * applet/applet-dbus-vpn.c: (ditto)
16001         * applet/applet.c: (ditto)
16002         * applet/nm-device.h: (ditto)
16003         * applet/other-network-dialog.c: (ditto)
16004         * applet/passphrase-dialog.c: (ditto)
16005         * NetworkManager.c: (ditto)
16006         * NetworkManagerDbus.c: (ditto)
16007         * NetworkManagerDevice.c: (ditto)
16008         * NetworkManagerPolicy.c: (ditto)
16009         * NetworkManagerUtils.c: (ditto)
16010         * NetworkManagerWireless.c: (ditto)
16011         * NetworkManagerWireless.h: (ditto)
16012         * nm-netlink-monitor.c: (ditto)
16013         * applet/applet-dbus-info.c: (ditto), add FIXME's.
16014         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16015         * autoip.c: include autoip.h.
16016         * autoip.h: new file.  define get_autoip().
16017         * nm-netlink-monitor.h: define nm_netlink_close_connection().
16018         * NetworkManagerDbus.h: remove duplicate definitions.
16019
16020 2005-06-20  Robert Love  <rml@novell.com>
16021
16022         * Makefile.am: Add missing intltool-foo.in generated files to
16023           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
16024           with the start of stuff to cleanup on 'distclea'.
16025         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16026           stuff right and 'distcheck' works.
16027         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
16028           we keep it, we need to add all of examples/* to EXTRA_DIST and do
16029           Makefile.am for each.  And systray/Makefile needs to be redone.
16030
16031 2005-06-19  Dan Williams <dcbw@redhat.com>
16032
16033         * src/NetworkManagerDevice.c
16034         - (nm_device_wireless_process_scan_results): scan every 20s when
16035           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16036
16037 2005-06-19  Dan Williams <dcbw@redhat.com>
16038
16039         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16040
16041 2005-06-18  Ray Strode <rstrode@redhat.com>
16042
16043         * src/nm-netlink-monitor.c 
16044         (nm_netlink_monitor_event_handler): check for the presence
16045         of either error condition not both. 
16046         
16047         (nm_netlink_monitor_error_handler): emit error signal if
16048         error occurs.
16049
16050         (nm_netlink_monitor_event_handler),
16051         (nm_netlink_monitor_error_handler),
16052         (nm_netlink_monitor_disconnect_handler): if an 
16053         assertion fails disconnect the event handler to prevent 
16054         infinite loops.
16055
16056         * src/nm-netlink-monitor.h: add new error condition
16057         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16058
16059 2005-06-18  Ray Strode <rstrode@redhat.com>
16060
16061         * src/nm-netlink-monitor.c 
16062         (nm_netlink_monitor_event_handler): remove bogus < 0
16063         check on unsigned value and return early if the kernel
16064         didn't send any bytes.
16065
16066 2005-06-17  Robert Love  <rml@novell.com>
16067
16068         * initscript/SUSE/networkmanager: Change the Provides and default
16069         run levels
16070
16071 2005-06-16  Dan Williams <dcbw@redhat.com>
16072
16073         Patch from Robert Love:
16074         * gnome/applet/applet.c
16075                 - Beautify some applet menu item names
16076
16077 2005-06-17  David Zeuthen  <davidz@redhat.com>
16078
16079         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16080         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16081         Also add new methods can_export, import_file and export.
16082
16083         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16084         to the main UI
16085
16086         * gnome/vpn-properties/nm-vpn-properties.c:
16087         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16088         nm-vpn-ui-interface.h.
16089         (update_edit_del_sensitivity): Also update "Export" sensitivity
16090         (add_vpn_connection): Also add new SVC_NAME column
16091         (import_settings): New function
16092         (retrieve_data_from_selected_connection): New function
16093         (edit_cb): Use retrieve_data_from_selected_connection to simplify
16094         this function
16095         (export_cb): New function
16096         (init_app): Also setup the "export" widget
16097         (main): Support the --import-service and --import-file commandline
16098         arguments
16099
16100         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16101         D-BUS 0.34
16102
16103 2005-06-16  Dan Williams <dcbw@redhat.com>
16104
16105         Patch from Robert Love:
16106         * gnome/applet/menu-items.c
16107                 - (network_menu_item_new): pass -1 as wireless network
16108                         menu items height size request rather than ascent / 2
16109
16110 2005-06-16  Dan Williams <dcbw@redhat.com>
16111
16112         * Clean up wording in Wireless Scan Methods menu items and constants
16113
16114 2005-06-16  Robert Love  <rml@novell.com>
16115
16116         * po/POTFILES.in
16117                 - remove gtkcell* files
16118
16119 2005-06-15  Dan Williams <dcbw@redhat.com>
16120
16121         Patch from Robert Love: make the applet stetic
16122
16123         * gnome/applet/Makefile.am
16124                 - Don't compile the gtkcellview and gtkcellrendererprogress files
16125
16126         * gnome/applet/gtkcellview.h
16127           gnome/applet/gtkcellview.c
16128           gnome/applet/gtkcellrendererprogress.h
16129           gnome/applet/gtkcellrendererprogress.c
16130                 - Removed
16131
16132         * gnome/applet/menu-items.c
16133                 - Progress bars are 5:1 size ratio
16134                 - Use GTK progress bars rather than internal ones
16135
16136 2005-06-15  Dan Williams <dcbw@redhat.com>
16137
16138         Patch from Robert Love:
16139         * initscript/SUSE/networkmanager
16140                 - Fix typo
16141
16142 2005-06-15  Dan Williams <dcbw@redhat.com>
16143
16144         * src/backends/NetworkManagerSuSE.c
16145           src/backends/NetworkManagerRedHat.c
16146           src/backends/NetworkManagerDebian.c
16147                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16148
16149 2005-06-15  Dan Williams <dcbw@redhat.com>
16150
16151         * src/backends/NetworkManagerDebian.c
16152                 - Add nm_system_device_get_use_dhcp() to debian backend
16153
16154         Patch from Kay Sievers:
16155         * src/backends/NetworkManagerSuSE.c
16156                 - Update debian backend for static IP nameservers
16157
16158         * src/NetworkManagerDevice.c
16159                 - Actually set the device to use static IP or DHCP rather
16160                         than always DHCP
16161
16162 2005-06-15  Dan Williams <dcbw@redhat.com>
16163
16164         Patch from Thom May:
16165         * src/backends/NetworkManagerDebian.c
16166                 - Update debian backend for static IP nameservers
16167
16168 2005-06-15  Dan Williams <dcbw@redhat.com>
16169
16170         Patches from Robert Love:
16171         * gnome/applet/wireless-applet.glade
16172                 - Tighten up wording
16173
16174         * src/NetworkManagerDevice.c
16175                 - Remove misplaced ';'
16176
16177         * configure.in
16178           initscript/Makefile.am
16179           initscript/SUSE/Makefile.am
16180           initscript/SUSE/networkmanager
16181                 - Add SUSE initscript
16182
16183 2005-06-12  David Zeuthen  <davidz@redhat.com>
16184
16185         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16186
16187         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16188
16189         * gnome/vpn-properties/nm-vpn-properties.c: New file
16190
16191         * gnome/vpn-properties/Makefile.am: New file
16192
16193         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16194         array of passwords
16195
16196         * src/vpn-manager/nm-vpn-manager.c
16197         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16198         instead of just a single one
16199
16200         * src/vpn-manager/nm-dbus-vpn.c:
16201         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16202         here
16203         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16204
16205         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16206         Change the interface here to give a list of passwords. Also, don't
16207         require username, but do require service
16208
16209         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16210         the binary for the auth-dialog and use that instead of putting up a
16211         dialog asking for a single password
16212
16213         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16214         however do remember the service
16215
16216         * gnome/applet/main.c (main): Setup i18n
16217
16218         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16219         connection to '%s'" to the tooltip if we are connected using VPN
16220         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16221         key to determine whether we the auth-dialog needs to
16222         reprompt. Also cope with the fact that the auth-dialog now returns
16223         an array of passwords.
16224         (nmwa_menu_configure_vpn_item_activate): New handler for
16225         "Configure VPN..." menu item
16226         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16227         (is_vpn_available): New function to determine if we got any
16228         NM-compatible VPN software installed
16229         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16230         items only if we have NM-compatible VPN software installed
16231         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16232         logic for detecting when VPN connections are removed
16233
16234         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16235         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16236         since these are defined elsewhere
16237
16238         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16239         function used to keep track of whether the last attempt succeded
16240         (nmwa_dbus_filter): Update last_attempt according to whether the
16241         VPN connection could be established or not
16242
16243         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16244         Change prototype to take an array of passwords, not just a single
16245         password
16246
16247         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16248         update service, not user
16249         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16250         dbus_active_vpn_name is not NULL before using it
16251         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16252         string array instead of assuming a single password
16253
16254         * gnome/applet/applet-dbus-info.c:
16255         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16256         user name; don't read from gconf
16257
16258         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16259         VPN_NAME_FILES_DIR
16260
16261         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16262
16263         * configure.in: Add checks for gmodule-2.0.
16264         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16265         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16266         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16267         for details
16268
16269         * vpn-daemons/Makefile.am: Removed
16270
16271         * vpn-daemons/README: New file to describe extensions points for VPN
16272         software
16273
16274 2005-06-10  Dan Williams <dcbw@redhat.com>
16275
16276         * src/backends/NetworkManagerRedHat.c
16277                 - (get_current_profile_name): new function, grab current network profile name from
16278                         /etc/sysconfig/network
16279                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16280                         update an IP4 Config structure's settings from it
16281                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16282                         get DNS info from current network profile
16283
16284 2005-06-09  Dan Williams <dcbw@redhat.com>
16285
16286         Patch from Robert Love:
16287         * src/NetworkManagerDevice.c
16288           src/NetworkManagerUtils.c
16289                 - 64-bit build fixes
16290
16291 2005-06-09  Dan Williams <dcbw@redhat.com>
16292
16293         Patch from Kay Sievers and Robert Love:
16294         * configure.in
16295           src/backends/Makefile.am
16296           src/backends/NetworkManagerSuSE.c
16297                 - Add SuSE support
16298
16299 2005-06-09  Dan Williams <dcbw@redhat.com>
16300
16301         * NetworkManager.h
16302                 - Add NMWirelessScanMethod enum for scan methods
16303
16304         * gnome/applet/applet-dbus-devices.c
16305                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16306                 - (nmwa_dbus_update_scanning_enabled): remove
16307                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16308                         since it got removed
16309                 - (nmwa_dbus_enable_scanning): remove
16310
16311         * gnome/applet/applet-dbus-info.c
16312                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16313                         update the wireless scanning method from NMI
16314                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16315                         method value to NetworkManager
16316                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16317
16318         * gnome/applet/applet-dbus-info.h
16319                 - Add prototype for nmi_dbus_signal_update_scan_method
16320
16321         * gnome/applet/applet.c
16322                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16323                         Wireless Scanning menu based on current wireless scan method
16324                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16325                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16326                         and update our menu items to make sure the right one is checked
16327                 - (nmwa_set_scanning_enabled_cb): remove
16328                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16329                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16330                         Scanning menu item
16331                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16332                         from GConf
16333                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16334                         so we get notified of preference values too
16335                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16336
16337         * gnome/applet/applet.h
16338                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16339                 - Add wireless scan method member to applet data
16340                 - Remove pause_scanning_item, add Wireless Scanning submenu
16341
16342         * src/NetworkManager.c
16343                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16344                 - (main): grab scanning method from NMI if we can
16345
16346         * src/NetworkManagerDbus.c
16347                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16348                         nm_dbus_update_wireless_scan_method()
16349                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16350                         from NMI
16351                 - (nm_dbus_nmi_is_running): redundant function, removed
16352                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16353                         when NMI comes back
16354
16355         * src/NetworkManagerDevice.c
16356                 - (nm_device_is_activated): return TRUE if the device is activated
16357                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16358                         and we are activated
16359
16360         * src/nm-dbus-nm.c
16361                 - (nm_dbus_nm_set_scanning_enabled): removed
16362                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16363                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16364
16365 2005-06-09  Dan Williams <dcbw@redhat.com>
16366
16367         * NetworkManager.h
16368           src/vpn-manager/nm-vpn-service.c
16369                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16370
16371 2005-05-27  Dan Williams <dcbw@redhat.com>
16372
16373         * vpn-daemons/vpnc/nm-vpnc-service.c
16374                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16375                         Should fix the bug where the VPN connection terminates the first time.
16376
16377 2005-05-20  Dan Williams <dcbw@redhat.com>
16378
16379         * NetworkManager.h
16380                 - Differentiate VPN config signals between bad VPN config options
16381                         and bad IP config
16382
16383         * gnome/applet/applet-dbus-info.h
16384                 - Add prototypes for wireless network and vpn connection update functions
16385
16386         * gnome/applet/applet-dbus.c
16387                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16388
16389         * gnome/applet/applet.c
16390                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16391                         error signals
16392                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16393                         propogation to NetworkManager
16394                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16395                         notify propogation to NetworkManager
16396
16397         * src/NetworkManagerDbus.c
16398                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16399                         are updating so a network can be removed from it if necessary
16400
16401         * src/vpn-manager/nm-vpn-manager.c
16402                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16403
16404         * vpn-daemons/vpnc/nm-vpnc-service.c
16405                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16406                 - (nm_vpnc_dbus_signal_launch_failed): remove
16407                 - (nm_vpnc_dbus_signal_connect_failed): remove
16408                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16409                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16410                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16411                         for new generalized error signal function, remove config file stuff
16412                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16413                         we can write configuration options to it
16414                 - (nm_vpnc_config_file_generate): removed
16415                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16416                 - (nm_vpnc_config_options_validate): validate the config options we receive
16417                         from NetworkManager to block potential exploits
16418                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16419                         starting vpnc
16420                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16421                         to NetworkManager
16422
16423 2005-05-16  Dan Williams  <dcbw@redhat.com>
16424
16425         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16426                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16427                         is not "connect"
16428
16429 2005-05-16  Dan Williams  <dcbw@redhat.com>
16430
16431         Patch from Tomislav Vujec <tvujec@redhat.com>
16432         * gnome/applet/applet-dbus-info.c
16433                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16434                         GConf and pass them to NetworkManager.  New key is 'routes' under
16435                         the VPN connection, and should be a string list
16436
16437         * src/NetworkManagerSystem.c
16438                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16439                         set them on the device when we set the rest of the VPN config.  Ensure
16440                         they are in the correct format since they are passed directly to the
16441                         command line.
16442
16443         * src/backends/NetworkManagerRedHat.c
16444           src/backends/NetworkManagerDebian.c
16445                 - (nm_system_device_add_route_via_device_with_iface): new function
16446
16447         * src/vpn-manager/nm-dbus-vpn.c
16448                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16449
16450         * src/vpn-manager/nm-vpn-manager.c
16451                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16452                         them into the IP4 config functions
16453
16454 2005-05-15  Dan Williams  <dcbw@redhat.com>
16455
16456         From Filip Miletic:
16457         * po/sr.po
16458           po/sr@Latn.po
16459           configure.in
16460                 - Serbian translation added
16461
16462 2005-05-15  Dan Williams  <dcbw@redhat.com>
16463
16464         * dispatcher-daemon/NetworkManagerDispatcher.c
16465                 - (main): sync arguments with NetworkManager and the applet, now use
16466                         "--no-daemon" rather than "daemon=no"
16467                 - (nmd_print_usage): Fix script path in usage message
16468
16469 2005-05-15  Dan Williams  <dcbw@redhat.com>
16470
16471         * src/NetworkManagerDevice.[ch]
16472           src/NetworkManagerPolicy.c
16473           src/NetworkManager.c
16474           src/nm-dbus-nm.c
16475                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16476                         longer send the DeviceNoLongerActive signal unconditionally, but only
16477                         when the device is actually active.
16478
16479         * dispatcher-daemon/NetworkManagerDispatcher.c
16480                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16481                         and simplify the logic
16482                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16483                         we free it later on
16484
16485         * initscript/RedHat/Makefile.am
16486           initscript/RedHat/NetworkManagerDispatcher
16487                 - Add initscript for NetworkManagerDispatcher
16488
16489
16490         Patch from Bill Moss:
16491         * dispatcher-daemon/NetworkManagerDispatcher.c
16492                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16493
16494         * src/NetworkManagerDbus.c
16495                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16496                         and DeviceNowActive gets signaled, then the device has a new IP address
16497                         anyway.  There's no need for a separate signal.
16498
16499         * src/NetworkManagerDevice.c
16500                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16501
16502         * src/NetworkManagerPolicy.c
16503                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16504                         activates successfully.  This kind of went missing when I reworked the
16505                         activation code.
16506
16507 2005-05-15  Dan Williams  <dcbw@redhat.com>
16508
16509         * configure.in
16510                 - Check for dhcdbd and error if its not found
16511
16512         * src/dhcp-manager/Makefile.am
16513           src/dhcp-manager/nm-dhcp-manager.c
16514                 - Use path to dhcdbd that configure found
16515
16516 2005-05-14  Dan Williams  <dcbw@redhat.com>
16517
16518         * gnome/applet/nm-device.c
16519                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16520                         sort wireless networks alphabetically
16521
16522         * gnome/applet/applet-dbus-devices.c
16523                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16524                         before copying them over to the GUI
16525
16526 2005-05-14  Dan Williams  <dcbw@redhat.com>
16527
16528         * src/NetworkManager.c
16529                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16530                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16531                         the device list, as does nm_get_active_device() which is called from
16532                         nm_vpn_manager_deactivate_vpn_connection().
16533
16534 2005-05-14  Dan Williams  <dcbw@redhat.com>
16535
16536         * NetworkManager.h
16537                 - Add signals for VPN Launch and Connect failures
16538
16539         * gnome/applet/applet-dbus.c
16540                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16541
16542         * gnome/applet/applet.c
16543                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16544                         function to handle all VPN failure messages
16545                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16546                         function to hanlde all VPN failure  messages
16547                 - (show_warning_dialog): work around focus-stealing prevention
16548
16549         * gnome/applet/other-network-dialog.c
16550           gnome/applet/passphrase-dialog.c
16551                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16552                         problem where it never enabled for ASCII Key and Hex Key types
16553
16554         * gnome/applet/wireless-applet.glade
16555                 - Add window title to Other Wireless Network Dialog
16556
16557         * src/vpn-manager/nm-dbus-vpn.c
16558                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16559                         function to handle all VPN failure messages
16560
16561         * src/vpn-manager/nm-vpn-manager.c
16562                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16563
16564         * vpn-daemons/vpnc/nm-vpnc-service.c
16565                 - (nm_vpnc_dbus_signal_launch_failed): new function
16566                 - (nm_vpnc_dbus_signal_connect_failed): new function
16567                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16568                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16569                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16570                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16571
16572 2005-05-11  Dan Williams  <dcbw@redhat.com>
16573
16574         * vpn-daemons/vpnc/nm-vpnc-service.c
16575                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16576                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16577                         file exists before trying to write it out.
16578
16579 2005-05-10  Dan Williams  <dcbw@redhat.com>
16580
16581     * gnome/applet/applet-dbus-device.c
16582         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16583             prevented just entering ESSID and leaving key and key type up to
16584             NetworkManager (which should have them already cached)
16585
16586 2005-05-08  Dan Williams  <dcbw@redhat.com>
16587
16588         * src/NetworkManagerPolicy.c
16589                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16590                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16591                         fix a situation where NM is told to terminate and the device stops activation,
16592                         but the main thread isn't aware of that because it would never have run
16593                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16594                         had already quit.
16595
16596         * src/NetworkManagerDevice.c
16597                 - (nm_device_probe_wired_link_state): cosmetic fixes
16598                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16599                         we've failed to activate or been canceled.
16600                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16601
16602 2005-05-08  Dan Williams  <dcbw@redhat.com>
16603
16604         * src/NetworkManagerWireless.c
16605                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16606                         value of WEXT quality structures, and add a debug message when we cannot
16607                         determine any quality % at all
16608
16609 2005-05-08  Dan Williams  <dcbw@redhat.com>
16610
16611         * src/dhcp-manager/nm-dhcp-manager.c
16612                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16613                         it goes down.
16614
16615 2005-05-06  Dan Williams  <dcbw@redhat.com>
16616
16617         * gnome/applet/applet-dbus-device.c
16618           gnome/applet/applet-dbus-info.c
16619           gnome/applet/applet-dbus.c
16620           gnome/applet/applet.c
16621           gnome/applet/applet.h
16622                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16623
16624         * gnome/applet/applet-dbus.c
16625                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16626                         so we notice when wired device's carriers come back on.  Should
16627                         fix issue with wired devices being grayed out even if the cable
16628                         is in, for devices that support carrier detection.
16629
16630         * gnome/applet/applet.c
16631                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16632                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16633                         tooltip message
16634                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16635                         Fix situation where applet wouldn't respond to menu selections
16636
16637         * src/NetworkManager.c
16638           src/NetworkManagerDevice.c
16639           src/NetworkManagerDbus.c
16640           src/NetworkManagerDbus.h
16641                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16642
16643         * src/NetworkManagerDbus.c
16644                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16645                         Remove, no longer used or relevant
16646                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16647                 - (nm_dbus_schedule_device_status_change_signal): add
16648
16649         * src/NetworkManagerDevice.c
16650                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16651                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16652                         ie don't deactivate them unless explicitly told to by the user.  Also send
16653                         CARRIER_OFF / CARRIER_ON signals when link changes
16654                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16655                         Don't print error message when device is no longer around
16656                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16657                         not just during activation
16658
16659         * src/NetworkManagerPolicy.c
16660                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16661                         auto-device-selection.
16662                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16663
16664         * src/NetworkManagerSystem.c
16665                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16666                         is no longer present (Bill Moss)
16667
16668         * src/backends/shvar.c
16669                 - (svOpenFile): Open read-only to make SELinux happy
16670
16671         * src/backends/NetworkManagerRedHat.c
16672                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16673                         the path to the ifcfg-* files
16674
16675 2005-05-05  Dan Williams  <dcbw@redhat.com>
16676
16677         * Expose activation stages to NetworkManager clients, like the applet
16678         * Add Diana's progress icons to the applet, cued off NM activation stage
16679         * Use more descriptive tooltips, cued off NM activation stage
16680
16681 2005-05-05  Ray Strode  <rstrode@redhat.com>
16682
16683         * src/nm-netlink-monitor.c:
16684                 - Use clear_event_source instead of g_nullify_pointer() again.
16685
16686 2005-05-05  Dan Williams  <dcbw@redhat.com>
16687
16688         * gnome/applet/main.c
16689                 - Fix session management so the applet is actually managed now
16690
16691         * gnome/applet/passphrase-dialog.c
16692                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16693
16694 2005-05-05  Dan Williams  <dcbw@redhat.com>
16695
16696         Patch from Bill Moss:
16697         * gnome/libnm_glib/libnm_glib.c
16698                 - Fix for dbus-0.33
16699
16700 2005-05-05  Dan Williams  <dcbw@redhat.com>
16701
16702         Suggestion from Bill Moss:
16703         * src/NetworkManagerSystem.c
16704                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16705
16706
16707         * src/NetworkManager.c
16708                 - (nm_data_free): move destruction of the various managers after
16709                         release of device list, because deactivating and freeing a device
16710                         requires at least the named manager
16711                 - (nm_poll_and_update_wireless_link_state):
16712                   (nm_device_link_activated):
16713                   (nm_device_link_deactivated):
16714                         don't grab the device list lock when actually updating device
16715                         link status or strength, since nm_device_set_link_active()
16716                         needs to call nm_get_active_device(), which also locks the device list.
16717
16718         * src/NetworkManagerDevice.c
16719                 - (nm_device_set_link_active): if a device's link switches from off->on,
16720                         and it's wired, and the active device is wireless (or there is no
16721                         active device), activate the new device whose link just came on
16722                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16723                         my only calling the link to the current ap "failed" when more than 2
16724                         consecutive link checks have failed
16725
16726 2005-05-04  Dan Williams  <dcbw@redhat.com>
16727
16728         * src/NetworkManagerDevice.c
16729                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16730                         but let link_to_specific_ap() do the locking where it needs
16731
16732         Patch from Bill Moss:
16733         * src/NetworkManagerSystem.c
16734                 - Set MTU of VPN devices to 1412
16735
16736 2005-05-04  Dan Williams  <dcbw@redhat.com>
16737
16738         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16739
16740         * Fix some holes in device activation and retaining the currently connected
16741                 access point
16742
16743 2005-05-03  Dan Williams  <dcbw@redhat.com>
16744
16745         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16746           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16747           means you need dhcdbd, which you can get here (get the latest one):
16748
16749                 http://people.redhat.com/jvdias/dhcdbd/
16750
16751           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16752           interface as dhcdbd.
16753
16754         * Rewrite device activation to facilitate the new DHCP infrastructure and
16755           future improvements.  Its now "activation request" based, ie there is a single
16756           activation request composed of the device, access point, and other info which
16757           follows the entire activation process.  There are 5 stages of the activation
16758           process which correspond to:
16759
16760                 1) Device preparation
16761                 2) Device configuration (bring it up, set ESSID/Key/etc)
16762                 3) IP Config Start (fire off DHCP if we're using it)
16763                 4) IP Config Get (grab config from DHCP or static config files)
16764                 5) IP Config Commit (set device's IP address, DNS, etc)
16765
16766           Note that there is no longer a "scanning" step, since the access point must
16767           be known _before_ activation starts.  If the access point drops out or does
16768           not exist for some reason, the entire activation process fails and must be
16769           restarted for a different access point or device.
16770
16771         Patch from Bill Moss:
16772         * gnome/applet/applet.c
16773                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16774
16775 2005-04-27  Dan Williams  <dcbw@redhat.com>
16776
16777         * gnome/applet/applet-dbus-vpn.c
16778           gnome/applet/applet.c
16779           gnome/applet/applet.h
16780                 - Fix up active VPN handling so that we reliably know when a VPN
16781                         connection has been deactivated
16782
16783         * src/vpn-manager/nm-vpn-manager.c
16784                 - Remove duplicate VPNConnectionChange signal
16785
16786 2005-04-27  Dan Williams  <dcbw@redhat.com>
16787
16788         Patch from Peter Jones:
16789         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16790
16791         Patch from Bill Moss:
16792         * src/NetworkManagerSystem.c
16793                 - Fix checking of return value from ioctl()
16794
16795 2005-04-27  Dan Williams  <dcbw@redhat.com>
16796
16797         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16798         * Warn and exit if icons cannot be found
16799
16800 2005-04-27  Dan Williams  <dcbw@redhat.com>
16801
16802         Patch from Tom Parker:
16803         * Update debian backend
16804
16805 2005-04-27  Dan Williams  <dcbw@redhat.com>
16806
16807         * Merge the applet and the info-daemon, and move the converged
16808                 applet under gnome/applet
16809         * Move libnm_glib to gnome/libnm_glib
16810         * Convert most dbus calls between the applet, info-daemon, and NM
16811                 into async calls
16812         * Fix a few things valgrind noticed
16813         * Make NM broadcast state more reliably
16814
16815 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16816
16817         * configure.in: Added ne in ALL_LINGUAS
16818
16819 2005-04-15  Dan Williams  <dcbw@redhat.com>
16820
16821         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16822                 code for dbus 0.2x versions
16823
16824 2005-04-15  Dan Williams  <dcbw@redhat.com>
16825
16826         Patches from Tom Parker:
16827         - Fix memleaks
16828         - Join with worker thread rather than polling for its exit
16829
16830         Patch from Bill Moss:
16831         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16832
16833 2005-04-15  Dan Williams  <dcbw@redhat.com>
16834
16835         - Fixes to pass 'make distcheck'
16836
16837 2005-04-15  Dan Williams  <dcbw@redhat.com>
16838
16839         Initial VPN Support
16840                 - supports 'vpnc'
16841                 - reworks device IP configuration, backend files have changed and will need
16842                         to be updated for all distributions.  I will try to do what I can for
16843                         them, but I cannot test them.
16844
16845         - Move named directory to src/named-manager
16846         - Make backends directory self-contained
16847
16848 2005-04-06  Dan Williams  <dcbw@redhat.com>
16849
16850         Add debug code for socket/file descriptor leaks.  We register every socket
16851         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16852         list of sockets that we forgot to close on shutdown.  This also consolidates
16853         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16854
16855 2005-04-06  Dan Williams  <dcbw@redhat.com>
16856
16857         * dhcpcd/dhcpcd.c
16858                 - (dhcp_interface_free): fix a file descriptor leak that may have
16859                         caused network drivers to not unload due to refcounts > 0
16860
16861 2005-04-04  Dan Williams  <dcbw@redhat.com>
16862
16863         * panel-applet/NMWirelessAppletDbus.c
16864                 - (nmwa_dbus_call_nm_method): remove some commented code
16865
16866         * src/NetworkManagerAPList.[ch]
16867                 - (nm_ap_list_remove_ap_by_essid): new function
16868
16869         * src/NetworkManagerDevice.c
16870                 - (nm_device_wireless_force_use): remove access points from the ignore list
16871                         when the user forces them
16872
16873         * src/nm-dbus-device.c
16874                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16875
16876 2005-04-04  Dan Williams  <dcbw@redhat.com>
16877
16878         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16879
16880 2005-04-04  Dan Williams  <dcbw@redhat.com>
16881
16882         * src/NetworkManagerDevice.c:
16883                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16884                         of only erroring after the second consecutive scan times out.  Also
16885                         don't exit when the card requires more time than we can give it, just
16886                         log the event and continue.
16887
16888 2005-04-01  Steve Murphy  <murf@e-tools.com>
16889
16890         * configure.in: Added "rw" to ALL_LINGUAS.
16891
16892 2005-04-01  Dan Williams <dcbw@redhat.com>
16893
16894         Perform scans during device activation, if needed.  Both activation 
16895         and scans run in the same GMainContext.  Therefore, if an access point
16896         is not found by the time the device starts activation, it will not
16897         be available until after activation.  We now try to scan during
16898         activation (in nm_wa_test) every 15s so that all available access
16899         points are more likely to be found and available for the activation
16900         procedure.
16901
16902         Also change nm_wireless_link_state_handle() to only update the "best"
16903         AP if we are not forcing a device and if we are not about to change
16904         state.  This attempts to work around a race when forcing a device,
16905         where the forced AP would get cleared out too soon by the link state
16906         checking timeout in the main thread, and the activation attempt with
16907         that AP would fail.
16908
16909 2005-04-01  Dan Williams <dcbw@redhat.com>
16910
16911         * po/POTFILES.in
16912                 - Update with new translatables
16913
16914 2005-03-31  Dan Williams <dcbw@redhat.com>
16915
16916         * panel-applet/NMWirelessAppletDbus.c
16917                 - Fix device names now that hal has changed device parenting for
16918                         network devices.
16919
16920 2005-03-31  Dan Williams <dcbw@redhat.com>
16921
16922         Tighten up handling of wireless devices that don't support wireless
16923         scanning (ie, Orinoco).  Due to restructuring of code, these devices
16924         hadn't been doing pseudo-scanning for a while either and would just
16925         spin waiting for an access point.  They are now manual devices where
16926         the user must choose the access point from the menu every time.  All
16927         "allowed" access points are listed in the applet's menu regardless
16928         of whether or not they can be seen by the card, since it can't scan
16929         anyway.
16930
16931         * src/NetworkManager.c
16932                 - (nm_wireless_link_state_handle): new function, but only update
16933                         the "best" ap for non-scanning devices when its not activating,
16934                         and when no device is being forced on the card
16935                 - (nm_link_state_monitor): split wireless link state handling out
16936                         into separate function
16937
16938         * src/NetworkManagerDevice.c
16939                 - (nm_device_copy_allowed_to_dev_list): new function
16940                 - (nm_device_new): populate non-scanning cards' AP lists with
16941                         access points from the "allowed" list
16942                 - (nm_device_new): don't start a scanning timeout for devices that
16943                         can't scan
16944                 - (nm_device_activation_schedule_finish): new parameter, should be
16945                         the AP that failed to be connected to, pass it on to the
16946                         activation finish function in NetworkManagerPolicy.c
16947                 - (nm_device_activate_wireless): don't ever try to get a new AP
16948                         for non-scanning devices, just fail.  The user must choose
16949                         a new access point manually.
16950                 - (nm_device_activate): grab the AP that failed connection and
16951                         pass it on
16952                 - (nm_device_update_best_ap): Clear the best AP if we don't have
16953                         a link to it, user must manually choose a new one
16954                 - (nm_device_do_pseudo_scan): remove function
16955                 - (nm_device_wireless_process_scan_results): remove bits for non-
16956                         scanning cards since they never get here
16957                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16958                         and fake the scan list for test devices a bit earlier
16959
16960         * src/NetworkManagerPolicy.c
16961                 - (nm_policy_activation_finish): use the failed_ap that we get
16962                         passed rather than getting the best_ap from the card, which
16963                         may have changed since we were scheduled
16964                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16965                         update their scan list directly from the allowed list when
16966                         we get updates to the allowed list from NetworkManagerInfo
16967
16968         * src/NetworkManagerPolicy.h
16969                 - New member for failed access point in NMActivationResult
16970
16971   -------------------------------------
16972
16973         Driver Notification patch: notifies the user when their driver
16974                 sucks.  Gives them the option to ignore further insertions
16975                 of the card that has the sucky driver.
16976
16977         * NetworkManager.h
16978                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16979                         enum and replace it with NO_CARRIER_DETECT and
16980                         NO_WIRELESS_SCAN
16981
16982         * panel-applet/NMWirelessApplet.[ch]
16983                 - Merge essid.glade -> wireless-applet.glade
16984                 - Implement the "Your driver sucks" notification dialog
16985
16986         * panel-applet/NMWirelessAppletDbus.c
16987                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16988                 - Grab hardware address for each device from NM too
16989                 - Check whether the driver for each device sucks or not whenever
16990                         a new device is noticed
16991
16992         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16993                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16994
16995         * src/NetworkManager.c
16996                 - Fix a double-unref on device removal
16997
16998         * src/NetworkManagerUtils.c
16999                 - Set appropriate driver support level on a device that doesn't
17000                         support scanning or carrier detection
17001
17002         * src/nm-dbus-device.c
17003                 - New "getHWAddress" dbus method on devices
17004                 - getSupportsCarrierDetect -> getDriverSupportLevel
17005
17006 2005-03-31  Dan Williams <dcbw@redhat.com>
17007
17008         * src/NetworkManagerDevice.c
17009                 - (nm_device_wireless_scan): Fix leak of scan results in some
17010                         instances
17011
17012 2005-03-29  Dan Williams <dcbw@redhat.com>
17013
17014         * src/NetworkManager.c
17015                 - (nm_poll_and_update_wireless_link_state): make code less indented
17016
17017         Patch from Bill Moss:
17018         * src/NetworkManager.c
17019                 - (nm_device_update_link_state): Update signal strength on wireless
17020                         devices every time we update link state too.
17021
17022 2005-03-29  Dan Williams <dcbw@redhat.com>
17023
17024         * src/NetworkManagerDevice.c
17025                 - (nm_device_set_essid): Work around Orinoco cards which need
17026                         extra time after setting the ESSID
17027
17028 2005-03-29  Dan Williams <dcbw@redhat.com>
17029
17030         * src/NetworkManagerDevice.c
17031                 - Merge one more bit of Peter Jones' completion patch
17032
17033 2005-03-29  Dan Williams <dcbw@redhat.com>
17034
17035         * src/NetworkManagerDevice.c
17036                 - (nm_device_force_use): Fix possible segfault
17037
17038 2005-03-29  Dan Williams <dcbw@redhat.com>
17039
17040         * src/NetworkManagerDevice.c
17041                 - Use iw_get_ext() where we should rather than iw_set_ext()
17042
17043 2005-03-29  Dan Williams <dcbw@redhat.com>
17044
17045         * src/NetworkManagerDevice.c
17046                 - (nm_device_set_up_down): remove check for unsupported devices
17047                         that caused NM to not bring devices up when they were
17048                         added to the device list.
17049
17050 2005-03-28  Dan Williams <dcbw@redhat.com>
17051
17052         * src/NetworkManagerDevice.c
17053                 - (mdio_read): Fix two bugs that caused all devices to fail
17054                         the MII carrier detection support checks
17055
17056 2005-03-26  Dan Williams <dcbw@redhat.com>
17057
17058         * src/NetworkManagerDevice.c
17059                 - (nm_device_wireless_scan): Remove duplicated scanning code
17060
17061 2005-03-25  Dan Williams <dcbw@redhat.com>
17062
17063         * panel-applet/NMWirelessApplet.c
17064                 - (nmwa_about_cb): Add some more contributors
17065                 - (nmwa_update_state): show the applet when there's no connection
17066                 - Enable the "Stop/Resume all wireless devices" option in the
17067                         context menu
17068                 - New "no connection" icon
17069
17070         * src/NetworkManager.c
17071                 - (nm_poll_and_update_wireless_link_state): don't do anything if
17072                         wireless is disabled or we're asleep
17073
17074         * src/NetworkManagerDHCP.c
17075                 - Remove trailing "\n" on debug messages
17076
17077         * src/NetworkManagerDbus.c
17078                 - (nm_dbus_network_status_from_data): new state "asleep"
17079
17080         * src/NetworkManagerDevice.c
17081                 - Merge most of Peter Jones' "completion" patch that greatly reduces
17082                         latency and wait times for most operations
17083                 - (nm_device_wireless_scan): Don't scan when asleep
17084
17085         * src/NetworkManagerPolicy.c
17086                 - (nm_policy_get_best_device): return no device when asleep
17087                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17088                         for all wireless devices on update, not just active device
17089
17090         * src/NetworkManagerUtils.c
17091                 - Merge Peter Jones' "completion" patch
17092
17093         * src/nm-dbus-nm.c
17094                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17095                         we're told to disable them
17096                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17097
17098         * utils/nm-utils.h
17099                 - New variants of the warn/info/error/debug print functions that can take
17100                         variables rather than static strings
17101
17102 2005-03-24  Dan Williams <dcbw@redhat.com>
17103
17104         * src/NetworkManagerUtils.c
17105                 - (nm_get_device_driver_name): driver names are now on the parents of
17106                         "Network Interface" objects, so look for them there
17107
17108 2005-03-24  Dan Williams <dcbw@redhat.com>
17109
17110         * test/nmtest.c
17111                 - Escape some forgotten object paths before we shove them through dbus
17112
17113 2005-03-24  Dan Williams <dcbw@redhat.com>
17114
17115         * dhcpcd/dhcpcd.[ch]
17116           src/NetworkManagerDHCP.c
17117                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17118                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
17119
17120         * src/NetworkManagerDbus.c
17121                 - spacing cleanups
17122
17123         * src/nm-dbus-dhcp.c
17124                 - Make the API suck less.  There is now only 1 type of each function,
17125                         ie only "getInteger" and no longer also "getIntegerv".  All types
17126                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17127                         that will never have more than 1 element.  This should simplify
17128                         things greatly.
17129
17130         * test/nm-dhcp-opt-test.c
17131                 - Make the tool not segfault
17132                 - adapt to new DHCP Options API
17133
17134 2005-03-22  Dan Williams <dcbw@redhat.com>
17135
17136         * src/NetworkManager.c
17137                 - (nm_wired_link_deactivated): actually ignore netlink events from
17138                         wireless devices.
17139
17140 2005-03-22  Dan Williams <dcbw@redhat.com>
17141
17142         * src/NetworkManager.c
17143                 - (nm_wired_link_activated): actually ignore netlink events from
17144                         wireless devices.
17145
17146 2005-03-17  Dan Williams <dcbw@redhat.com>
17147
17148         Patch from Tom Parker:
17149         * src/nm-netlink-monitor.c
17150                 - Include unistd.h
17151         * info-daemon/NetworkManagerInfoDbus.c
17152                 - (nmi_dbus_update_network_auth_method): free GConf values
17153
17154         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17155         * src/NetworkManagerDevice.c
17156                 - (nm_device_set_wireless_config): wait for successful
17157                         association longer for some cards (Atheros a/b/g)
17158
17159 2005-03-15  Ray Strode  <rstrode@redhat.com>
17160
17161         * src/NetworkManager.c:
17162         (sigterm_pipe_handler):
17163         remove bogus FIXME
17164
17165 2005-03-15  Ray Strode  <rstrode@redhat.com>
17166
17167         * src/NetworkManagerDbus.c:
17168         Fix some sign weirdness that gcc4 doesn't like,
17169         and add a header file so PPC can hopefully find
17170         SIGTRAP
17171
17172 2005-03-14  Ray Strode  <rstrode@redhat.com>
17173         
17174         Fourth (probably working) cut at porting to
17175         dbus 0.30 api and new hal. This cut adds
17176         some new logging macros to make debugging
17177         easier.
17178
17179         * dispatcher-daemon/NetworkManagerDispatcher.c:
17180         * info-daemon/NetworkmanagerInfo.c:
17181         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17182         * info-daemon/NetworkManagerInfoVPN.c:
17183         * src/NetworkManager.c:
17184         * src/NetworkManagerAP.c:
17185         * src/NetworkManagerAPList.c:
17186         * src/NetworkManagerDHCP.c:
17187         * src/NetworkManagerDbus.c:
17188         * src/NetworkManagerDevice.c:
17189         * src/NetworkManagerPolicy.c:
17190         * src/NetworkManagerSystem.c:
17191         * src/NetworkManagerUtils.c:
17192         * src/NetworkManagerWireless.c:
17193         * src/autoip.c:
17194         * src/nm-dbus-nm.c:
17195         * src/backends/NetworkManagerDebian.c:
17196         * src/backends/NetworkManagerGentoo.c:
17197         * src/backends/NetworkManagerRedHat.c:
17198         * src/backends/NetworkManagerSlackware.c:
17199         use new logging macros.
17200
17201         * dispatcher-daemon/NetworkManagerDispatcher.c:
17202         (nmd_dbus_filter): s/dbus_free/g_free/
17203
17204         * info-daemon/Makefile.am: link in utils library.
17205         * info-daemon/NetworkmanagerInfo.c: use new logging 
17206         macros.
17207         (nmi_dbus_get_network): don't assume enumerations
17208         are 32-bit.
17209         (nmi_dbus_nmi_message_handler): don't free what 
17210         doesn't belong to us.
17211
17212         * libnm_glib/libnm_glib.c:
17213         (libnm_glib_get_nm_status): 
17214         (libnm_glib_init): don't free what doesn't
17215         belong to us.
17216         (libnm_glib_dbus): strdup result, so it doesn't get
17217         lost when message is unref'd.
17218
17219         * panel-applet/NMWirelessAppletDbus.c:
17220         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17221
17222         * src/NetworkManager.c:
17223         (nm_monitor_wired_link_state): request initial status 
17224         dump of all cards when we start up, instead of relying
17225         on /sys/.../carrier.
17226         (nm_info_handler), (nm_set_up_log_handlers): 
17227         log handlers to specify what syslog priorites 
17228         the logging macros default to.
17229
17230         * src/NetworkManagerAPList.c: 
17231         (nm_ap_list_populate_from_nmi):
17232         s/dbus_free_string_array/g_strfreev/
17233
17234         * src/NetworkManagerDbus.c:
17235         (nm_dbus_get_network_object):
17236         validate d-bus message argument types.
17237         Advance message iterator after reading argument,
17238         prepend instead of append to GSList.
17239
17240         * src/NetworkManagerDevice.c:
17241         (nm_device_probe_wired_link_status):
17242         remove redundant /sys in /sys path. remove wrong
17243         contents == NULL means has carrier assumption.
17244
17245         * src/nm-netlink-monitor.c 
17246         (nm_netlink_monitor_request_status): implement
17247         function to ask kernel to dump interface link
17248         status over netlink socket.
17249
17250         * test/*.c: s/dbus_free/g_free/
17251
17252         * utils/nm-utils.h:
17253         (nm_print_backtrace): new macro to print backtrace.
17254         (nm_get_timestamp): new macro to get sub-second precise
17255         unix timestamp.
17256         (nm_info), (nm_debug), (nm_warning), (nm_error):
17257         new logging functions. nm_info just prints,
17258         nm_debug includes timestamp and function,
17259         nm_warning includes function, nm_error includes
17260         backtrace and sigtrap.
17261
17262 2005-03-11  Ray Strode  <rstrode@redhat.com>
17263
17264         Third (unfinished, partially working) cut at porting to 
17265         dbus 0.30 api and new hal.
17266
17267         * info-daemon/NetworkManagerInfoDbus.c:
17268                 don't free null arrays.
17269
17270         * panel-applet/NMWirelessAppletDbus.c: 
17271         * src/nm-dbus-device.c:
17272         * src/nm-dbus-net.c: 
17273         * src/NetworkManagerDbus.c: more 
17274         STRING -> OBJECT_PATH fun
17275         * src/NetworkManagerDevice.c:
17276         * src/NetworkManagerDevice.h:
17277         (rename nm_device_get_link_active): rename to 
17278         nm_device_has_active_link
17279         (nm_device_wireless_link_active): rename to
17280         nm_device_probe_wireless_link_state
17281         (nm_device_wired_link_active): rename to
17282         nm_device_probe_wired_link_state.  Rewrite to
17283         use carrier file since hal doesn't maintain
17284         link state anymore.
17285         (nm_device_update_link_active): rename to
17286         nm_device_update_link_state
17287         * src/NetworkManagerPolicy.c 
17288           (nm_policy_activation_finish): check for NULL
17289           MAC address.
17290
17291         * src/Makefile.am:
17292         * src/NetworkManagerMain.h: 
17293         * src/NetworkManager.c:
17294         * src/nm-netlink-monitor.c:
17295         * src/nm-netlink-monitor.h: New class to support
17296         monitoring wired ethernet link status, since HAL
17297         doesn't export that information anymore.
17298
17299 2005-03-09  Ray Strode  <rstrode@redhat.com>
17300
17301         Second (unfinished, unworking) cut at porting to 
17302         dbus 0.30 api.
17303
17304         * dispatcher-daemon/NetworkManagerDispatcher.c:
17305         * info-daemon/NetworkManagerInfoDbus.c:
17306         * panel-applet/NMWirelessAppletDbus.c:
17307         * src/NetworkManagerDbusUtils.c:
17308         * src/NetworkManagerDbusUtils.h:
17309         * src/nm-dbus-device.c:
17310         * src/nm-dbus-nm.c:
17311         * test/nmtest.c: support dbus "object path" type
17312
17313         * configure.in: 
17314         * Makefile.am:
17315         * info-daemon/Makefile.am:
17316         * libnm_glib/Makefile.am:
17317         * panel-applet/Makefile.am:
17318         * dispatcher-daemon/Makefile.am
17319         * src/Makefile.am:
17320         * test/Makefile.am:
17321         * utils/Makefile.am: 
17322         * utils/nm-utils.c: 
17323         * utils/nm-utils.h: new utils static lib
17324
17325 2005-03-07  Ray Strode  <rstrode@redhat.com>
17326
17327         * info-daemon/NetworkManagerInfoDbus.c:
17328         * libnm_glib/libnm_glib.c:
17329         * panel-applet/NMWirelessAppletDbus.c:
17330         * src/NetworkManager.c:
17331         * src/NetworkManagerDbus.c:
17332         * src/NetworkManagerDevice.c:
17333         * src/NetworkManagerUtils.c:
17334         * src/nm-dbus-device.c:
17335         * src/nm-dbus-dhcp.c:
17336         * src/nm-dbus-net.c:
17337         * src/nm-dbus-nm.c:
17338         * test/nminfotest.c:
17339         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17340
17341 2005-03-04  Dan Williams  <dcbw@redhat.com>
17342
17343         * configure.in
17344                 - Mark HEAD as 0.4
17345
17346 2005-03-04  Dan Williams  <dcbw@redhat.com>
17347
17348         Patch from Peter Jones:
17349         - Make stuff work with gcc 4.0
17350
17351 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17352
17353         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17354
17355 2005-02-27  Jim Huang  <jserv@kaffe.org>
17356
17357         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17358
17359 2005-02-27  Dan Williams  <dcbw@redhat.com>
17360
17361         Patch from Bill Moss:
17362         * panel-applet/NMWirelessAppletDbus.c
17363                 - Make sure strength for current access point is up-to-date when we
17364                         update the gui data model
17365
17366 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17367
17368         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17369
17370 2005-02-27  Dan Williams  <dcbw@redhat.com>
17371
17372         * src/backends/NetworkManagerRedHat.c
17373                 - (nm_system_init): Kill any dhclient processes lying around as well
17374                         as stopping 'nifd' if its already been started.  NetworkManager
17375                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17376
17377 2005-02-27  Dan Williams  <dcbw@redhat.com>
17378
17379         * panel-applet/NMWirelessApplet.c
17380                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17381                         dbus data model, not the GUI data model twice.
17382
17383 2005-02-27  Dan Williams  <dcbw@redhat.com>
17384
17385         * panel-applet/NMWirelessApplet.[ch]
17386           panel-applet/NMWirelessAppletDbus.[ch]
17387                 - Move to incremental network updates.  Instead of blowing away our list
17388                         of devices every time we get a signal from NetworkManager, we now
17389                         incrementally add/remove networks when NetworkManager notifies us that
17390                         a new network has appeared or disappered.  Strength updates now happen
17391                         on-the-fly for each access point as well.  There are now two copies of
17392                         data from NetworkManager: one for the dbus side, and one for the gui side.
17393                         When the dbus side data is modified, it is copied over to the gui side
17394                         so we don't have to hold the data_mutex for long periods of time (and
17395                         therefore block animation of the applet's icon).
17396                 - Clean up some memleaks too
17397
17398         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17399                 - Minor code beautification
17400
17401         * src/NetworkManagerAPList.c
17402                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17403                         completely new and whether or not an existing one's strength was updated.
17404                         Try to fix multiple access points and signal strength by using the highest
17405                         signal strength in each scan for any given ESSID.
17406
17407         * src/NetworkManagerDbus.[ch]
17408                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17409                         wireless networks; now we have only WirelessNetworkUpdate which includes
17410                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17411                 - Kill usage of DbusMessageIter
17412
17413         * src/NetworkManagerDevice.c
17414                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17415                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17416                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17417                         currently associated with from the network list.
17418                 - Update for new signals during scan, send out Appeared, Disappeared, or
17419                         StrengthChanged when necessary.
17420
17421 2005-02-25  Dan Williams  <dcbw@redhat.com>
17422
17423         * README
17424                 - Line break the README
17425
17426 2005-02-25  Dan Williams  <dcbw@redhat.com>
17427
17428         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17429                 - Remove usage of gtk_window_set_default_size()
17430
17431         * panel-applet/essid.glade
17432                 - Stick default size here
17433                 - Add in random crap that current glade wants to add in now
17434
17435 2005-02-25  Dan Williams  <dcbw@redhat.com>
17436
17437         * src/backends/NetworkManagerRedHat.c
17438                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17439                         and that we actually tell nscd to reload the hosts cache when it changes
17440
17441 2005-02-25  Dan Williams  <dcbw@redhat.com>
17442
17443         * info-daemon/NetworkManagerInfoDbus.c
17444                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17445
17446         * test/nminfotest.c
17447                 - Whack usage of DbusMessageIter
17448                 - Clean up DbusError and DbusMessage handling and freeing
17449                 - Remove unused unregister handler
17450
17451         * test/nmtest.c
17452                 - Whack usage of DbusMessageIter
17453
17454         * test/nmtestdevices.c
17455                 - Whack usage of DbusMessageIter
17456
17457 2005-02-25  Dan Williams  <dcbw@redhat.com>
17458
17459         * NetworkManager.h
17460                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17461                         signal
17462
17463 2005-02-25  Dan Williams  <dcbw@redhat.com>
17464
17465         * named/nm-named-manager.c
17466                 - Ensure that pid and watch variables for child named process get cleared out
17467                         when the child goes away.
17468
17469 2005-02-22  Dan Williams  <dcbw@redhat.com>
17470
17471         * src/NetworkManagerPolicy.c
17472                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17473                         and NULL out data->active_device so that we have to choose another one.
17474                         This may make NetworkManager keep attempting to connect to a wired network
17475                         if it fails, but if it keeps failing the wired network has more problems than
17476                         just NetworkManager.
17477
17478         * src/backends/NetworkManagerRedHat.c
17479                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17480                         is already running
17481
17482         * named/nm-named-manager.c
17483                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17484                         named so that the distro can flush whatever name service caching
17485                         daemon it uses
17486
17487 2005-02-21  Dan Williams  <dcbw@redhat.com>
17488
17489         * src/NetworkManagerDHCP.[ch]
17490                 - (nm_device_dhcp_remove_timeouts): new function
17491
17492         * src/NetworkManagerDevice.c
17493                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17494                         remove the DHCP timeouts.
17495
17496 2005-02-21  Dan Williams  <dcbw@redhat.com>
17497
17498         * panel-applet/NMWirelessApplet.[ch]
17499           panel-applet/menu-info.[ch]
17500                 - Give the panel applet some major love: menu items are no longer
17501                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17502                         This allows the applet to actually reflect theme changes correctly,
17503                         since themeing of subclassed items in GTK _sucks_.
17504
17505 2005-02-18  Dan Williams  <dcbw@redhat.com>
17506
17507         * libnm_glib/libnm_glib.[ch]
17508           test/libnm_glib_test.c
17509                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17510                         and its data, and doesn't have to free the callback data anymore
17511
17512 2005-02-18  Dan Williams  <dcbw@redhat.com>
17513
17514         * panel-applet/NMWirelessApplet.c
17515                 - Revert 2005-02-18 William Jon McCann fix for standard
17516                         copyright string until it passes 'make distcheck'.
17517                         With standard copyright string, xgettext complains
17518                         about "Non-ASCII string at ...".
17519
17520 2005-02-18  Dan Williams  <dcbw@redhat.com>
17521
17522         * panel-applet/essid.glade
17523           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17524                 - Correct spelling of "adaptor"->"adapter"
17525
17526 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17527
17528         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17529         (nmwa_about_cb): Use standard copyright string.  Update comment
17530         text to reflect that it is a notification area applet.  Remove
17531         leading newline in authors list.
17532         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17533         instead of on parent menu item activation.  Fixes #167550.
17534
17535 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17536
17537         * panel-applet/essid.glade: Capitalize items as per HIG.
17538           Fixes #167632
17539
17540 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17541
17542         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17543         files for GTK 2.4 or lower, since now public in GTK 2.6.
17544
17545         * panel-applet/essid.glade: Don't specify window size.
17546         
17547 2005-02-17  Dan Williams  <dcbw@redhat.com>
17548
17549         Caught by Bill Moss:
17550         * dhcpcd/client.c
17551                 - Time remaining for DHCP transaction calculation was incorrectly
17552                         inside a #ifdef DEBUG
17553
17554 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17555
17556         * configure.in: Added fr (French) to ALL_LINGUAS.
17557
17558 2005-02-14  Dan Williams  <dcbw@redhat.com>
17559
17560         * src/NetworkManagerDHCP.c
17561                 - (set_domain_searches): Fix free of invalid pointer
17562
17563 2005-02-14  Dan Williams  <dcbw@redhat.com>
17564
17565         Patch from Peter Jones:
17566         * dhcpcd/client.c
17567                 - Ensure we return RET_DHCP_CEASED everywhere we should
17568         * dhcpcd/udpipgen.c
17569                 - Use faster TOS for IP packets
17570                 - Don't set ip_id since we're UDP
17571
17572         Patch from Tomislav Vujec:
17573         * src/nm-dbus-dhcp.c
17574           test/nm-dhcp-opt-test.c
17575                 - Clean up warnings to enable cvs tree compilation.
17576
17577 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17578
17579         * configure.in
17580           po/hr.po
17581                 - Add the Croatian locale.
17582
17583 2005-02-14  Colin Walters  <walters@verbum.org>
17584
17585         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17586         list of domains to search.
17587         
17588         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17589
17590 2005-02-13  Dan Williams  <dcbw@redhat.com>
17591
17592         * dhcpcd/client.c
17593                 - Debug output cleanups of DHCP option printing and parsing.
17594
17595 2005-02-13  Dan Williams  <dcbw@redhat.com>
17596
17597         Patch from Dan Reed:  DHCP options D-BUS API
17598                 Exposes the DHCP options that a device receives to clients over D-BUS.
17599
17600         * configure.in
17601                 - A few cleanups
17602
17603         * dhcpcd/client.h
17604                 - Correct names, option length, and types for DHCP options
17605
17606         * dhcpcd/dhcpcd.[ch]
17607                 - Clarify function names that access DHCP options & data
17608
17609         * src/NetworkManagerDHCP.c
17610                 - Use new DHCP data access functions
17611
17612         * src/NetworkManagerDbus.c
17613                 - Message handler for DHCP functions
17614
17615         * src/nm-dbus-dhcp.[ch] (new)
17616                 - DHCP dbus methods
17617
17618         * test/nm-dhcp-opt-test.c
17619                 - Test DHCP D-BUS API and return all present DHCP options
17620
17621 2005-02-12  Dan Williams  <dcbw@redhat.com>
17622
17623         * test/Makefile.am
17624           test/nmclienttest.c
17625           test/nmtest.c
17626                 - Move nmclienttest.c -> nmtest.c
17627
17628 2005-02-12  Dan Williams  <dcbw@redhat.com>
17629
17630         * dhcpcd/buildmsg.c
17631                 - Pad DHCP packets until they are at least 300 bytes in size.
17632
17633 2005-02-11  Dan Williams  <dcbw@redhat.com>
17634
17635         * dhcpcd/client.c
17636                 - (dhcp_init): only print out client ID and class ID if they are specified
17637
17638         * src/NetworkManagerDbus.[ch]
17639           src/nm-dbus-nm.[ch]
17640           src/nm-dbus-device.[ch]
17641           src/nm-dbus-net.[ch]
17642                 - Move NM, Device, and Net functions to separate files and use the
17643                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17644                         method dispatching
17645
17646         * src/NetworkManagerDbusUtils.c
17647                 - Add new validate_method called before each dispatch (if present)
17648                         that can validate the method call
17649
17650         * src/NetworkManagerWireless.c
17651                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17652                         levels never to be evaluated
17653
17654         Patch from j@bootlab.org
17655         * src/NetworkManagerDevice.c
17656                 - Add typedef for "u64"
17657
17658         * src/backends/NetworkManagerDebian.c
17659                 - Copy in Dave Woodhouse's fixes for IPv6
17660
17661 2005-02-11  Dan Williams  <dcbw@redhat.com>
17662
17663         Patch from Dave Woodhouse for IPv6:
17664         * src/NetworkManagerUtils.c
17665                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17666                         and multicast addresses
17667
17668         * src/NetworkManagerDevice.c
17669                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17670                         after bringing up a card.
17671
17672 2005-02-10  Dan Williams  <dcbw@redhat.com>
17673
17674         Patch from Dave Woodhouse:
17675         * src/NetworkManagerSystem.h
17676           src/backends/NetworkManagerDebian.c
17677           src/backends/NetworkManagerGentoo.c
17678           src/backends/NetworkManagerSlackware.c
17679                 - New nm_system_device_add_ip6_link_address() function to add link-local
17680                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17681
17682         * src/backends/NetworkManagerRedHat.c
17683                 - (nm_system_device_add_ip6_link_address): implement
17684                 - (nm_system_device_flush_addresses): revert to previous behavior of
17685                         flushing all addresses
17686
17687 2005-02-10  Dan Williams  <dcbw@redhat.com>
17688
17689         Patch from Tom Parker:
17690         * src/NetworkManagerDevice.c
17691                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17692                         mii.h headers are broken, and instead use our own typedefs
17693
17694 2005-02-10  Dan Williams  <dcbw@redhat.com>
17695
17696         * dhcpcd/buildmsg.c
17697                 - (fill_host_and_class_id): only fill in client and class IDs if
17698                         they are set by callers.
17699
17700         * dhcpcd/client.c
17701                 - (class_id_setup): don't autogenerate a class ID, only use one
17702                         we're given, if any.
17703                 - (client_id_setup): don't autogenerate a client ID, only use one
17704                         we're given, if any.
17705
17706         * dhcpcd/dhcpcd.c
17707                 - (dhcp_interface_init): ensure that client options are correctly
17708                         NULL terminated
17709
17710         * src/NetworkManagerDHCP.c
17711                 - (nm_device_dhcp_request): pass hostname to dhcp library
17712
17713 2005-02-10  Dan Williams  <dcbw@redhat.com>
17714
17715         * dhcpcd/client.c
17716                 - #rh147661# Don't send kernel version in DHCP requests
17717
17718         * src/NetworkManagerSystem.h
17719           src/backends/NetworkManagerDebian.c
17720           src/backends/NetworkManagerGentoo.c
17721           src/backends/NetworkManagerRedHat.c
17722           src/backends/NetworkManagerSlackware.c
17723                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17724                         functions, they are no longer used anyway
17725
17726         * src/backends/NetworkManagerRedHat.c
17727                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17728                         addresses in an attempt to keep IPv6 local-scope addresses around
17729
17730 2005-02-10  Dan Williams  <dcbw@redhat.com>
17731
17732         * src/NetworkManager.c
17733                 - (nm_create_device_and_add_to_list): change the add message slightly
17734
17735         * src/NetworkManagerUtils.c
17736                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17737                         Return driver name to calling function
17738                 - (nm_get_driver_support_level): print out the driver a device is using
17739                         during the support check
17740
17741         Patch from Dave Woodhouse:
17742         * dhcpcd/udpipgen.c
17743                 - (in_cksum): copy last byte of odd-sized packets into a
17744                         'u_short' rather than a 'u_char', should fix wrong checksums
17745                         on big-endian platforms
17746
17747 2005-02-09  Dan Williams  <dcbw@redhat.com>
17748
17749         * Clean up usage of GSList objects and looping through their members
17750         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17751                 now.
17752         * Fix problem where even if scanning was turned off, card would still
17753                 cycle through frequencies.
17754
17755 2005-02-08  Dan Williams  <dcbw@redhat.com>
17756
17757         * panel-applet/NMWirelessApplet.c
17758                 - Fix for gtk 2.4
17759
17760 2005-02-08  Dan Williams  <dcbw@redhat.com>
17761
17762         Patch from Bill Moss
17763         * panel-applet/NMWirelessApplet.c
17764                 - Restore correct ESSID in tooltips
17765
17766 2005-02-07  Dan Williams  <dcbw@redhat.com>
17767
17768         * panel-applet/NMWirelessApplet.[ch]
17769                 - Add a context menu that contains:
17770                         Pause/Resume Wireless Scanning
17771                         Stop/Start All Wireless Devices
17772                         About...
17773                 - Grab active device strength off active device,
17774                         not its network
17775
17776         * panel-applet/NMWirelessAppletDbus.[ch]
17777                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17778                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17779                 - Update active device strength every 2 seconds, not every 1 second
17780
17781         * panel-applet/menu-info.c
17782                 - Only disable wired devices in the menu when they support carrier detection,
17783                         and don't currently have a link.  Non-carrier-detect devices will always
17784                         remain choosable
17785
17786         * src/Makefile.am
17787           src/NetworkManagerDbusUtils.[ch]
17788                 - Add new new dbus utils sources
17789
17790         * src/NetworkManager.c
17791                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17792                         with the boolean parameter
17793                 - Set scanning_enabled & wireless_enabled to TRUE
17794
17795         * src/NetworkManagerDbus.c
17796                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17797                 - Implement scanning & wireless enable/disable calls
17798                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17799
17800         * src/NetworkManagerDevice.c
17801                 - New link detection stuff again...
17802                         o  Create device's mainloop earlier (but don't run it earlier)
17803                         o  Hook up new carrier-detect support stuff
17804                         o  Add in the ethtool & mii support detection code
17805                 - Don't scan if scanning is disabled
17806
17807         * src/NetworkManagerPolicy.c
17808                 - Never automatically choose a device that doesn't support carrier detection
17809                 - Don't automatically choose a wireless device if wireless is disabled
17810
17811 2005-02-07  Dan Williams  <dcbw@redhat.com>
17812
17813         * libnm_glib/libnm_glib.c
17814                 - Small cleanup in element list iteration
17815
17816 2005-02-07  Dan Williams  <dcbw@redhat.com>
17817
17818         * src/NetworkManagerWireless.c
17819                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17820                         to be in line with the WEXT quality specification
17821
17822 2005-02-02  Dan Williams  <dcbw@redhat.com>
17823
17824         Patch from Nathan Fredrickson <nathan@silverorange.com>
17825         * Fix up compile for deprecation of libgnomeui
17826                 - Switch to <glib/gi18n.h> from <libintl.h>
17827                 - Remove <libgnomeui/libgnomeui.h> includes
17828                 - Use gtk_window_set_default_icon_from_file() rather than
17829                         gnome_window_set_default_icon_from_file()
17830
17831         * named/nm-named-manager.c
17832                 - (generate_named_conf): Fix return-nothing in non-void
17833                         function
17834
17835 2005-02-02  Dan Williams  <dcbw@redhat.com>
17836
17837         * Clean up unused variables and the like
17838
17839 2005-02-02  Dan Williams  <dcbw@redhat.com>
17840
17841         * src/NetworkManagerAPList.c
17842                 - (nm_ap_list_merge_scanned_ap): merge strength too
17843
17844         * src/NetworkManagerUtils.c
17845                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17846                         of locking issues by printing out prettier information than g_mutex_lock
17847                 - Print out names of mutexes registered with nm_register_mutex_desc()
17848                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17849                         us to seemingly block here for too long
17850
17851         * src/NetworkManager.c
17852           src/NetworkManagerAPList.c
17853           src/NetworkManagerDevice.c
17854                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17855                         so we get better debug information printed
17856
17857         * src/NetworkManagerDbus.c
17858                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17859                         since it sometimes has locking side effects
17860                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17861                         from 10s
17862                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17863                         we don't need a switch.  This gets called often enough that we can't block
17864                         until the scan mutex is acquired, because we'll block on device activation
17865                         and a few other things, which hangs main thread for too long.
17866
17867         * src/NetworkManagerPolicy.c
17868                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17869                         nm_device_need_ap_switch() will be called               
17870
17871 2005-02-02  Dan Williams  <dcbw@redhat.com>
17872
17873         * panel-applet/NMWirelessApplet.c
17874                 - Display name of wireless network we are connecting to or connected to
17875                         in the tooltip of the applet
17876
17877 2005-02-02  Dan Williams  <dcbw@redhat.com>
17878
17879         * src/NetworkManagerDHCP.c
17880                 - Hopefully fix double-default-route problem by cleaning up the default
17881                         route added by DHCP code right before the DHCP transaction begins
17882
17883 2005-02-02  Dan Williams  <dcbw@redhat.com>
17884
17885         * named/nm-named-manager.c
17886                 - Write out valid resolv.conf when we exit
17887
17888 2005-02-01  Dan Williams  <dcbw@redhat.com>
17889
17890         Patch from Colin Walters:
17891         * named/nm-named-manager.c
17892                 - Make multi-domain search options work
17893
17894 2005-01-31  Dan Williams  <dcbw@redhat.com>
17895
17896         * info-daemon/NetworkManagerInfoDbus.c
17897                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17898
17899         * src/NetworkManagerDevice.c
17900                 - (nm_device_new): Don't store the entire range struct, use only what we need
17901                         (which is currently avg_quality, max_quality, and frequencies).  Also
17902                         zero device structure when we've free'd it to maybe expose errors down
17903                         the line.
17904                 - (nm_device_update_signal_strength): grab the scan mutex before getting
17905                         quality data from the card since quality will be useless during a scan.
17906                         Call updated wireless qual-to-percent function with values stored in
17907                         nm_device_new() earlier.
17908                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17909                         nm_device_get_bad_crypt_packets())
17910                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17911                         nm_device_new()
17912                 - (get_initial_auth_method): always use the Auth method that's in the allowed
17913                         list if available.  Problem was this: when the WEP key is wrong, NM will
17914                         try OS then SK modes, and then get stuck in SK mode after that.  This
17915                         should reset it.
17916                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17917                         function
17918
17919         * src/NetworkManagerWireless.c
17920                 - (nm_wireless_qual_to_percent): try to make this function actually work and
17921                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
17922                         if that's all present, otherwise fall back to signal-to-noise ratios.
17923
17924 2005-01-29  Dan Williams  <dcbw@redhat.com>
17925
17926         * initscript/RedHat/NetworkManager
17927                 - Don't spit out sysctl stuff to console
17928
17929         * libnm_glib/libnm_glib.c
17930                 - (libnm_glib_init): call dbus_g_thread_init()
17931
17932         * panel-applet/NMWirelessAppletDbus.c
17933                 - (nmwa_dbus_worker): call dbus_g_thread_init()
17934
17935         * src/NetworkManager.c
17936                 - (main): call dbus_g_thread_init()
17937
17938         * src/NetworkManagerAPList.c
17939                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17940                         so we can actually see what's there in a normal syslog
17941
17942         * src/NetworkManagerDevice.c
17943                 - (nm_device_activate_wireless): print out the "waiting for access point"
17944                         message only once, then say what access point we actually got after
17945                         the wait.
17946                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17947                         function, wait until the scan is done.  Scans may change the ESSID of
17948                         the card, making this function think we need to switch access points
17949                 - (nm_device_wireless_process_scan_results): for artificial access points
17950                         don't check against the card's ESSID, but the best_ap's ESSID.  This
17951                         prevents collisions with the scanning code, which may change the card's
17952                         ESSID and cause the access point to get dropped from the device's AP
17953                         list.  Also increase the keep-around time to 2m from 60s since the max
17954                         scan interval could be 60s in some cases.
17955
17956         * src/NetworkManagerPolicy.c
17957                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17958                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17959                         the new properties and ESSIDs to the device's AP list.  Fixes some races
17960                         between NM and NMI.
17961
17962 2005-01-27  Dan Williams  <dcbw@redhat.com>
17963
17964         * info-daemon/NetworkManagerInfoDbus.c
17965                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17966                         GConf, make a minimal entry for it (essid & timestamp)
17967
17968         * src/NetworkManagerAPList.c
17969                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17970                         NetworkManagerInfo isn't running
17971
17972         * src/NetworkManagerDbus.[ch]
17973                 - (nm_dbus_nmi_is_running): new function
17974
17975         * src/NetworkManagerDevice.c
17976                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17977                         address to garbage.
17978
17979         * src/NetworkManagerPolicy.c
17980                 - (nm_policy_activation_finish): On successful activation, make sure
17981                         the "best" AP has a MAC address, and don't tell NMI to add the
17982                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17983                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17984                         access point after refreshing our allowed list if it doesn't already
17985                         have a "best" access point.
17986
17987 2005-01-25  Dan Williams  <dcbw@redhat.com>
17988
17989         * panel-applet/NMWirelessAppletDbus.c
17990                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17991                         so we check for NM_DBUS_SERVICE rather than not for it
17992
17993         * libnm_glib/libnm_glib.c
17994                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17995                         ServiceOwnerChanged signal
17996
17997 2005-01-25  Dan Williams  <dcbw@redhat.com>
17998
17999         * configure.in
18000                 - Check DBUS version in configure, and set the C macros
18001                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
18002
18003         * info-daemon/NetworkManagerInfoDbus.c
18004                 - Remove #if 0-d section of code that quit NMI if NM went away.
18005
18006         * panel-applet/NMWirelessAppletDbus.c
18007                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18008
18009         * src/NetworkManager.c
18010           src/NetworkManagerMain.h
18011           src/NetworkManagerDbus.c
18012                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18013                 - Make updating of our Allowed Wireless Network lists from NMI
18014                         an idle function in the main thread now, with a high priority.
18015
18016 2005-01-24  Dan Williams  <dcbw@redhat.com>
18017
18018         * panel-applet/gtkcellview.[ch]
18019           panel-applet/menu-info.c
18020                 - Fix GTK version checks to be <= rather than <
18021
18022         * test/Makefile.am
18023                 - Include the libtool archive of libnm_glib rather than
18024                         trying to pull in the .so
18025
18026 2005-01-24  Dan Williams  <dcbw@redhat.com>
18027
18028         * src/NetworkManagerDevice.c
18029           src/NetworkManagerDevicePrivate.h
18030                 - Block nm_device_new() until our device's worker thread has had a
18031                         chance to start up.  Fixes a race between main thread and worker
18032                         thread starting that caused activation requests to get lost.
18033
18034 2005-01-24  Dan Williams  <dcbw@redhat.com>
18035
18036         * initscript/RedHat/NetworkManager
18037                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18038                         to add the NM startup script at priority 50, which was
18039                         way too early
18040
18041 2005-01-24  Colin Walters  <walters@redhat.com>
18042
18043         * named/named.conf: Use any port for query source instead of
18044         restricting to port 53.
18045
18046 2005-01-24  Dan Williams  <dcbw@redhat.com>
18047
18048         * initscript/RedHat/NetworkManager
18049                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18050                         to add the NM startup script at priority 50, which was
18051                         way too early
18052
18053 2005-01-24  Dan Williams  <dcbw@redhat.com>
18054
18055         Patch from Tom Parker <palfrey@tevp.net>
18056         * Fix up compile warnings & errors in the wireless applet
18057
18058 2005-01-24  Dan Williams  <dcbw@redhat.com>
18059
18060         * panel-applet/NMWirelessApplet.c
18061                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18062
18063 2005-01-24  Dan Williams  <dcbw@redhat.com>
18064
18065         * panel-applet/gtkcellview.[ch]
18066                 - Only compile these files for GTK 2.4 or lower, since 
18067                         GtkCellView is now public in GTK 2.6.  Fixes crasher
18068                         when choosing "Other Wireless Networks" from the panel
18069                         applet menu
18070
18071 2005-01-21  Dan Williams  <dcbw@redhat.com>
18072
18073         * src/NetworkManager.c
18074                 - Daemonize earlier so that glib doesn't get confused (?)
18075
18076 2005-01-21  Dan Williams  <dcbw@redhat.com>
18077
18078         * panel-applet/NMWirelessApplet.[ch]
18079           panel-applet/NMWirelessAppletDbus.c
18080           panel-applet/menu-info.c
18081           src/NetworkManagerDevice.c
18082                 - Disable wired devices in the menu when they have no link.
18083
18084 2005-01-21  Dan Williams  <dcbw@redhat.com>
18085
18086         * Cache last-known-good wireless authentication method in
18087                 NetworkManagerInfo, and use that method first during
18088                 wireless device activation.  Should speed up devices that
18089                 need Shared Key authentication method since Open System is
18090                 now the default.
18091
18092         * Remove the hack to not do full activation on wired connections
18093                 that are active when we launch, it causes too many problems
18094                 with name resolution and was a hack in the first place.
18095
18096         * Re-work wireless device activation again somewhat to have a
18097                 clearer chain of events and to use last-known-good
18098                 authentication method of the access point.  Also provide
18099                 better status throughout activation to ensure the applet
18100                 can tell the user exactly what's going on.
18101
18102         * Remove the "find wireless network" code and now simply attempt
18103                 to activate with that access point.  This reduces the delay
18104                 between selecting "Other wireless Network" and actually
18105                 connecting to that network.
18106
18107         * Correctly stop the device's worker thread when its removed.
18108
18109 2005-01-21  Dan Williams  <dcbw@redhat.com>
18110
18111         * dhcpcd/client.c
18112                 - Clean up some of the debug messages
18113
18114 2005-01-21  Dan Williams  <dcbw@redhat.com>
18115
18116         * Add new icons, more frames of animation
18117         * Remove some hacks to get the panel applet to display correct
18118                 status, an NM update will soon follow that will fix the
18119                 real issue.
18120
18121 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
18122
18123         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18124         the first include for working i18n. Also, don't include it in .h files
18125         * panel-applet/NMWirelessApplet.h: Same
18126         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18127         * panel-applet/menu-info.c: Same
18128
18129 2005-01-18  Dan Williams <dcbw@redhat.com>
18130
18131         * dhcpcd/client.c
18132                 - Remove some debug messages
18133                 - Wrap others in #ifdef DEBUG/#endif
18134
18135         * src/NetworkManager.c
18136                 - Remove some debug messages
18137                 - Clarify some debug messages
18138                 - Remove code related to old single-thread wireless scanning
18139
18140         * src/NetworkManagerAP.[ch]
18141                 - New AP property "last_seen" to track how recently an AP was
18142                         found in a scan
18143                 - Start using 'const' more in function arguments
18144
18145         * src/NetworkManagerAPList.[ch]
18146                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18147                         of an AP found in an AP list from a source AP, or if not found
18148                         in the list add the source AP
18149                 - (nm_ap_list_combine): remove, no longer needed
18150
18151         * src/NetworkManagerDevice.c
18152                 - Each device now has a "worker" thread from start to end of its life.
18153                         Scanning for wireless devices now happens in that thread,
18154                         not in a single "wireless scanning thread" for all devices as
18155                         previously.  Activation consists of adding an idle handler to the
18156                         thread's main loop/context, which gets run at the next available
18157                         opportunity.
18158                 - Wireless scanning is also simplified, there is now only one list of
18159                         access points per wireless device, and APs older than 60s are
18160                         removed from the list.  Previously, we kept results for the last
18161                         3 scans and merged whole lists, which was complicated.
18162                 - Cleaned up activation debug messages.
18163                 - Wireless activation and access-point search routines now use Open System
18164                         authentication before trying Shared Key.
18165                 - Removed some code in nm_device_update_best_ap() that could cause cards
18166                         to loose their link to the access point.
18167                 - Scanning now uses a backoff algorithm, where the inverval becomes
18168                         progressively longer between scans when the list of scanned access
18169                         points doesn't change.  A change will revert to the shortest scan
18170                         interval (20s).
18171
18172         * src/NetworkManagerWireless.[ch]
18173                 - Remove code related to old single-thread wireless scanning
18174
18175 2005-01-18  Colin Walters  <walters@redhat.com>
18176
18177         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18178         of older nameservers.
18179
18180 2005-01-18  Colin Walters  <walters@redhat.com>
18181
18182         * named/nm-named-manager.c (generate_named_conf): Many fixes
18183         to config file generation.
18184         (safer_kill): Remove, was too much trouble for little gain.
18185         (nm_named_manager_start): Run named as NM_NAMED_USER.
18186
18187         * configure.in: Add option --with-named-user.
18188
18189 2005-01-14  Colin Walters  <walters@redhat.com>
18190
18191         Patch from ed@catmur.co.uk (Ed Catmur)
18192
18193         * named/nm-named-manager.c: Add "context" property.
18194         Use it to add child watch source in specific GMainContext.
18195
18196         * src/NetworkManager.c (nm_data_new): Initialize
18197         named with correct main context.  Start named only
18198         after forking.
18199
18200 2005-01-14  Colin Walters  <walters@redhat.com>
18201
18202         * named/nm-named-manager.c (generate_named_conf): Write config
18203         and pid files into NM_NAMED_DATA_DIR; this allows things to
18204         work better with FC3 named SELinux policy.  Also fix up silly
18205         format error.
18206
18207         * configure.in: Add --with-named-dir option.
18208
18209 2005-01-14  Colin Walters  <walters@redhat.com>
18210
18211         * configure.in: Make named support require passing --with-named.
18212
18213         * named/nm-named-manager.c: Support writing resolv.conf directly
18214         without running named.
18215
18216 2005-01-13  Dan Williams <dcbw@redhat.com>
18217
18218         * named/nm-named-manager.c
18219                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18220
18221         * src/NetworkManagerDevice.c
18222                 - Rework wireless link detection code to be more reliable
18223
18224 2005-01-12  Dan Williams <dcbw@redhat.com>
18225
18226         * initscripts/RedHat/NetworkManager
18227                 - Change initial level to "-" rather than "345" so that
18228                         we don't activate ourselves by default on install
18229
18230 2005-01-12  Dan Williams <dcbw@redhat.com>
18231
18232         * libnm_glib/
18233                 - Client library for applications using glib
18234
18235         * configure.in
18236           various Makefiles
18237                 - Split NM_CFLAGS and NM_LIBS into separate variables
18238                         like DBUS_*, HAL_* and GLIB_*
18239
18240         * src/NetworkManager.c
18241           src/NetworkManagerMain.h
18242                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18243                         broadcast a status changed signal over DBUS from the main thread.
18244                         Still unused anywhere for the moment.
18245
18246         Patch from j@bootlab.org
18247         * panel_applet/NMWirelessAppletDbus.c
18248           src/NetworkManagerDbus.c
18249                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18250                         for the "getMode" method call
18251
18252 2005-01-10  Dan Williams <dcbw@redhat.com>
18253
18254         * src/NetworkManagerDevice.c
18255                 - Minor fixups & corrections to "auto" frequency mode, make it
18256                         less chatty with syslog
18257
18258 2005-01-10  Dan Williams <dcbw@redhat.com>
18259
18260         * src/NetworkManagerDevice.c
18261                 - Implement "auto" frequency/channel support, since cards like Atheros
18262                         can't use other frequencies at all when you've told it to use a
18263                         specific one, even for scanning.
18264                 - Grab the scan mutex around places where we can't tolerate wireless
18265                         settings changing underneath us, like nm_device_wireless_network_exists()
18266                         and nm_device_activate_wireless()
18267
18268         * src/NetworkManagerWireless.c
18269                 - Back scan interval off to 20s instead of 14s
18270
18271 2005-01-09  Dan Williams <dcbw@redhat.com>
18272
18273         * src/NetworkManagerDevice.c
18274                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18275                         already set.  Stops some drivers like Atmel from continually
18276                         reloading the firmware, which they do upon every configuration
18277                         change.
18278
18279 2005-01-09  Dan Williams <dcbw@redhat.com>
18280
18281         * dhcpcd/client.c
18282                 - Use correct timeout value
18283
18284         * info-daemon/NetworkManagerInfoDbus.c
18285           src/NetworkManagerDbus.c
18286                 - Consolidate communication between NM and NMI by doing only 1 dbus
18287                         method call to get Wireless Network info from NMI instead of 6
18288
18289         * src/NetworkManager.c
18290                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18291                         when we didn't have an AP to use, we'd wait for one forever without
18292                         quitting
18293
18294         * src/NetworkManagerDevice.c
18295                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18296                         activation, dhcp might not have started yet but we don't quit activation
18297                         before starting it, so the quit signal gets lost
18298
18299 2005-01-07  Dan Williams <dcbw@redhat.com>
18300
18301         * dhcpcd/client.c
18302                 - Rework the DHCP client code to be much less chatty when
18303                         it receives non-DHCP UDP packets during the DHCP run
18304                         (reported by and preliminary patches from Bill Moss)
18305
18306         * Move wireless scanning to a separate thread.  This thread forwards the
18307                 results to the main thread when done where they are integrated into
18308                 the device's access point lists.  This keeps the main thread (which
18309                 does all the DBUS communication) from being blocked for long periods
18310                 of time by wireless scanning.
18311
18312         * Make state modification an idle routine in the main loop, and trigger
18313                 state changes rather than polling for them.
18314
18315         * src/backends/NetworkManagerGentoo.c
18316                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18317
18318         * src/NetworkManagerDevice.c
18319                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18320                         router advertisements, causing problems and infinite loop
18321                         during "best" device determination due to link going up/down
18322                         (reported by Bill Moss)
18323
18324         Apply patch from Peter Jones
18325         * src/NetworkManagerDevice.c
18326                 - Shortcut for link-checking for ipw2x00 cards
18327                 - Split out association check into separate routine
18328
18329 2004-01-05  Colin Walters  <walters@redhat.com>
18330
18331         * named/named.conf: Add PID_FILE.
18332
18333         * named/nm-named-manager.c: Always generate a pid
18334         file, since older BIND versions don't support
18335         "pid-file none".
18336
18337 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18338
18339         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18340
18341 2004-12-22  Dan Williams <dcbw@redhat.com>
18342
18343         * src/NetworkManagerDevice.c
18344                 - Silently fail when setting bitrate doesn't work
18345
18346
18347         Patches from j@bootlab.org:
18348         * src/backends/NetworkManagerDebian
18349                 - Update backend to match functionality in RedHat backend
18350         * src/NetworkManagerDevice.c
18351                 - Take down then bring up wired devices after connection so
18352                 they send out ipv6 router advertisements
18353
18354 2004-12-21  Colin Walters  <walters@verbum.org>
18355
18356         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18357         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18358
18359 2004-12-21  Colin Walters  <walters@redhat.com>
18360
18361         * configure.in: Correct named detection.
18362
18363 2004-12-21  Colin Walters  <walters@redhat.com>
18364
18365         * src/NetworkManager.c (nm_data_new): Initialize named.
18366         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18367         the mainloop when these signals are received.
18368         (nm_data_free): Unref named.
18369         (sigterm_handler, sigterm_pipe_handler): New functions for
18370         exiting mainloop.
18371         
18372         * src/NetworkManagerMain.h (NMData): Add signal handling and
18373         nameserver bits.
18374
18375         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18376         unref.
18377
18378         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18379         set nameservers from DHCP response data.
18380         (set_domain_search): Set domain search from DHCP response.
18381         (nm_device_dhcp_configure): Invoke them.
18382
18383         * src/NetworkManagerSystem.c
18384         (nm_system_device_update_resolv_conf): Delete.  Deleting
18385         code is totally sweet.
18386
18387         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18388
18389         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18390         implements an object which controls a nameserver.  Currently
18391         uses bind 9.
18392
18393         * configure.in: Check for named.
18394
18395         * Makefile.am (SUBDIRS): Add named dir.
18396
18397         * named/named.conf: New template config file.
18398
18399 2004-12-20  Colin Walters  <walters@redhat.com>
18400
18401         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18402         instead of '='.
18403
18404 2004-12-17  Dan Williams  <dcbw@redhat.com>
18405
18406         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18407                 link-local addresses instead of doing DHCP.
18408
18409         * In the panel applet, there's a new "Create new Wireless Network..." item
18410
18411         * The panel applet also sticks around now even if NetworkManager dies, but
18412                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18413                 a bug, I'll fix that later.
18414
18415         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18416                 lookups after a switch rather than actually doing them.
18417
18418         * Clean up some of those warnings in nm_ap_list_* functions
18419
18420         * Delay between scans changed to 15s instead of 10s
18421
18422 2004-12-15  Dan Williams  <dcbw@redhat.com>
18423
18424         Patch from Tom Parker
18425         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18426                 address
18427
18428         * Longer pause after setting ESSID on cards that support a larger number
18429                 of channels to give the card time to find the right channel
18430
18431         * Add system hook to restart mDNSResponder (or whatever the local implementation
18432                 of Multicast DNS is) when we activate interfaces
18433
18434 2004-12-15  Dan Williams  <dcbw@redhat.com>
18435
18436         * Rework the DHCP code again to revert to sending full ethernet frames
18437                 rather then relying on the kernel to do the right thing with our
18438                 packets.
18439
18440 2004-12-06  Dan Williams  <dcbw@redhat.com>
18441
18442         * dhcpcd/client.c
18443                 - Fix some minor errors in dhcp_handle_transaction() that caused
18444                         unexpected early timeouts of DHCP transactions
18445
18446         * dhcpcd/client.h
18447                 - DHCP retransmit time from 4s -> 5s
18448
18449 2004-12-05  Dan Williams  <dcbw@redhat.com>
18450
18451         * Major rework of the DHCP code, taking some cues from pump.  We don't
18452                 write raw Ethernet packets anymore, which simplifies the code quite
18453                 a bit.  The new code should be more robust, not hang in recvfrom()
18454                 as much, and generally work better.  This also means that we need
18455                 to force HAL/dbus to use a created GMainContext rather than the
18456                 default context, since having the DHCP renew/rebind thread using
18457                 its own GMainContext seemed to give dbus a fit.  There is also more
18458                 debugging information printed from the DHCP loop to help with future
18459                 problems.
18460
18461         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18462                 assume that the default gateway should be the DHCP server.
18463
18464         Patch from Matthew Schick <matt oss-institute org>
18465         * src/backends/NetworkManagerGentoo.c
18466                 - Fix compilation error due to missing "ip4_broadcast"
18467
18468 2004-12-03  Dan Williams  <dcbw@redhat.com>
18469
18470         * initscript/Makefile.am
18471         * initscript/Debian/NetworkManager
18472         * initscript/Gentoo/NetworkManager
18473         * initscript/RedHat/NetworkManager
18474         * initscript/NMLaunchHelper.c
18475                 - Remove NMLaunchHelper, if you need to wait until the network
18476                         comes up, use the dead code from CVS.
18477
18478 2004-12-01  Colin Walters  <walters@redhat.com>
18479         
18480         * configure.in: Suck in gcc warnings code from Rhythmbox,
18481         but use fewer default flags, and in particular add -Wno-unused,
18482         since the codebase has a lot of unused variables.
18483
18484         * test/nmtestdevices.c (create_device): 
18485         * test/nminfotest.c (get_network_string_property) 
18486         (get_networks_of_type): 
18487         * test/nmclienttest.c (main): 
18488         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18489         * initscript/NMLaunchHelper.c (get_nm_status): 
18490         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18491         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18492         Fix declarations after statements.
18493
18494 2004-12-01  Colin Walters  <walters@redhat.com>
18495
18496         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18497         (nmi_dbus_get_vpn_userpass): New method.
18498         (nmi_dbus_nmi_message_handler): Invoke it.
18499
18500         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18501
18502         * info-daemon/NetworkManagerInfoVPN.h,
18503         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18504         to requests for VPN passwords.
18505
18506         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18507
18508 2004-12-01  Colin Walters  <walters@redhat.com>
18509
18510         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18511         includes.
18512
18513 2004-12-01  Colin Walters  <walters@redhat.com>
18514
18515         * panel-applet/NMWirelessAppletDbus.c
18516         (nmwa_dbus_update_active_device_strength): Fix missing
18517         return value.
18518
18519 2004-12-01  Colin Walters  <walters@redhat.com>
18520
18521         * panel-applet/NMWirelessApplet.c: Add missing include.
18522
18523 2004-12-01  Colin Walters  <walters@redhat.com>
18524
18525         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18526         Remove useless CLAMP (); the value is unsigned, and the case tests
18527         qual->qual < 100, so the value must always be between 0 and 100.
18528
18529 2004-12-01  Colin Walters  <walters@redhat.com>
18530
18531         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18532
18533 2004-11-22  Colin Walters  <walters@verbum.org>
18534
18535         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18536         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18537         which is essentially a noop since nscd caches hosts on disk too.
18538         
18539 2004-11-22  Colin Walters  <walters@redhat.com>
18540
18541         * src/Makefile.am (NetworkManager_SOURCES): Add
18542         NetworkManagerDevicePrivate.h.
18543
18544 2004-11-22  Dan Williams <dcbw@redhat.com>
18545
18546         * src/NetworkManagerDevicePrivate.h
18547                 - Split out the NMDevice struct to a different file so that stuff like
18548                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18549
18550         * dhcpcd/client.c
18551                 - fprintf->syslog
18552                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18553                         need to cancel the dhcp request during the send and recv
18554
18555         * dhcpcd/client.h
18556                 - Move the DHCP option enum to dhcpcd.h
18557
18558         * src/NetworkManagerDHCP.c
18559                 - Split out the actual IP/netmask/etc setting code
18560                 - New Renew/Rebind functions
18561                 - New timer setup function for renew/rebind operations
18562
18563         * src/NetworkManagerDevice.c
18564                 - For device activation, if we are using DHCP then keep the activation thread
18565                         alive until device deactivation.  We need to renew/rebind the DHCP address
18566                         after the T1 (renew) and T2 (rebind) times have expired.
18567                 - Increase some timeouts after bringing wireless cards up/down
18568
18569 2004-11-17  Dan Williams <dcbw@redhat.com>
18570
18571         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18572                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18573                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18574                 show known access points that don't broadcast their ESSID in the menus without
18575                 any user intervention whatsoever.
18576
18577         * info-daemon/NetworkManagerInfoDbus.c
18578                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18579                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18580
18581         * src/NetworkManagerAP.[ch]
18582                 - Add a "user_addresses" data member to the NMAccessPoint structure
18583                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18584                         the user_addresses data member
18585
18586         * src/NetworkManagerAPList.c
18587                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18588                         the AP's reported address
18589                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18590
18591         * src/NetworkManagerDHCP.c
18592                 - Increase DHCP timeout from 25s -> 30s
18593
18594         * src/NetworkManagerDbus.[ch]
18595                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18596                         user addresses
18597
18598         * src/NetworkManagerDevice.c
18599                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18600                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18601                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18602                         So, we take the card down to clear it out.
18603                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18604                         too, since that's where the user_addresses are
18605
18606         * src/NetworkManagerPolicy.c
18607                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18608                         that wireless networks' user_addresses list upon successful activation
18609
18610 2004-11-16  Dan Williams <dcbw@redhat.com>
18611
18612         * src/NetworkManagerDevice.[ch]
18613                 - (nm_device_clear_activation_fail): new function
18614
18615         * src/NetworkManagerPolicy.c
18616                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18617                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18618
18619 2004-11-16  Dan Williams <dcbw@redhat.com>
18620
18621         * src/NetworkManagerDevice.c
18622                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18623                         leak the structure, better updating of now_scanning status
18624                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18625
18626 2004-11-15  Dan Williams <dcbw@redhat.com>
18627
18628         Major rework of link detection code.  We now use DHCP
18629         as part of the link detection which proves to be much more robust,
18630         and also supports Open System authentication for wireless networks.
18631
18632         We no longer use external DHCP client programs.  Instead, we use 
18633         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18634         which was written by:
18635                 Yoichi Hariguchi <yoichi@fore.com>
18636                 Sergei Viznyuk <sv@phystech.com>
18637                 http://www.phystech.com/download/
18638         It resides in the "dhcpcd" directory and was refactored into a general
18639         purpose DHCP client library by me.
18640
18641         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18642         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18643
18644 2004-11-15  Dan Williams <dcbw@redhat.com>
18645
18646         Patch from Tom Parker <palfrey@tevp.net>:
18647
18648         * src/NetworkManagerDevice.c
18649                 - Less output to console when no access
18650                         points are found during a scan
18651
18652 2004-11-15  Dan Williams <dcbw@redhat.com>
18653
18654         Patch from Tom Parker <palfrey@tevp.net>:
18655
18656         * src/backends/interface_parser.c
18657                 - Use g_strdup ()
18658                 - Check for inp == NULL
18659                 - use syslog ()
18660
18661 2004-11-13  Colin Walters  <walters@redhat.com>
18662
18663         Patch from Tom Parker <palfrey@tevp.net>:
18664
18665         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18666         
18667         * src/backends/NetworkManagerRedHat.c: Switch to
18668         including shvar.h instead of shvar.c.
18669
18670         * src/backends/NetworkManagerDebian.c: Don't include
18671         interface_parser.c in source file.
18672
18673         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18674         and interface_parser.[ch].
18675         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18676         Include shvar.c and shvar.h here.
18677         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18678         interface_parser.c and interface_parser.h here.
18679
18680 2004-11-12  Colin Walters  <walters@redhat.com>
18681
18682         * configure.in: Strip out TARGET_DISTRO and
18683         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18684         conditionals.
18685
18686         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18687         (libnmbackend_la_SOURCES): Use Automake conditionals
18688         to add distro-specific files.
18689
18690         * initscript/Makefile.am (SUBDIRS): Update to
18691         use conditionals.
18692
18693 2004-11-12  Colin Walters  <walters@redhat.com>
18694
18695         Patches from j bootlab org
18696
18697         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18698         Add interface_parser.[ch].
18699
18700         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18701         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18702
18703 2004-11-12  Colin Walters  <walters@redhat.com>
18704
18705         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18706         call to nmi_dbus_is_running too, not necessary anymore.
18707         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18708         pick up exit().
18709
18710 2004-11-11  Colin Walters  <walters@verbum.org>
18711
18712         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18713         Delete.
18714         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18715         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18716         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18717         This avoids a race condition that made it pretty easily
18718         possible to get two NetworkManagerInfo daemons running.
18719
18720 2004-11-11  Colin Walters  <walters@verbum.org>
18721         
18722         * src/NetworkManager.c (main): Use daemon(3).
18723
18724         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18725
18726         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18727
18728 2004-11-10 Dan Williams <dcbw@redhat.com>
18729
18730         Patches from j bootlab org
18731         * src/NetworkManagerDevice.c
18732                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18733                         whether the card has a link or not, some cards are slow
18734                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18735
18736         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18737                 - Disable the "Login" button on the passphrase dialog until the user
18738                         enters a valid passphrase or key
18739
18740         Patches from Tom Parker <palfrey tevp net>
18741         * src/backends/NetworkManagerDebian.c
18742                 - Add static IP support to the debian backend
18743
18744         * src/backends/interface_parser.[ch]
18745                 - Parse debian interface config files
18746
18747 2004-11-08 Dan Williams <dcbw@redhat.com>
18748
18749         * src/NetworkManagerDevice.c
18750                 - Some random fprintf->syslog conversions
18751                 - (nm_device_wireless_network_exists): double-check for network
18752                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18753
18754         * src/NetworkManagerWireless.[ch]
18755                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18756                         so that the binary->ascii conversion works (if unsigned, the bitshift
18757                         will fill with zeros, which is what's required).  Also mask bitshift
18758                         result with 0xF for futher assurance.
18759
18760 2004-11-06 Dan Williams <dcbw@redhat.com>
18761
18762         * src/NetworkManagerUtils.c
18763                 - (nm_get_wireless_driver_support_level): default to
18764                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18765                         flip this when changing from whitelist->blacklist of
18766                         wireless drivers
18767
18768 2004-11-05 Dan Williams <dcbw@redhat.com>
18769
18770         Patch from Robert Paskowitz:
18771         * src/backends/NetworkManagerGentoo.c
18772                 - Update static IP config code
18773
18774 2004-11-05 Dan Williams <dcbw@redhat.com>
18775
18776         * info-daemon/NetworkManagerInfoDbus.c
18777           src/NetworkManagerDbus.[ch]
18778           src/NetworkManagerDevice.c
18779                 - Keep track of the # of attempts to get the WEP key
18780                         from the user and pass that along to the info daemon
18781
18782 2004-11-05 Dan Williams <dcbw@redhat.com>
18783
18784         * src/NetworkManagerUtils.c
18785                 - Blacklist wireless cards rather than whitelisting them.
18786                 - Grab driver name from HAL rather than trying to find it
18787                         ourselves.
18788
18789 2004-11-03 Dan Williams <dcbw@redhat.com>
18790
18791         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18792                 - Disable OK button until valid data is entered
18793                         for encryption stuff too
18794
18795         * panel-applet/NMWirelessApplet.c
18796                 - Report card strength for current AP if the card
18797                         doesn't report strength data for scanned access
18798                         points
18799
18800         * src/NetworkManagerDevice.c
18801                 - Smooth out cards reported quality, Atmel card was
18802                         intermittently reporting no quality data but soon
18803                         recovers
18804
18805         * src/NetworkManagerWireless.c
18806                 - Better quality data percentage calculation.  Atmel
18807                         cards (mine at least) seem to report the quality
18808                         in percentage format already, so honor that
18809
18810         Patch from <j@bootlab.org>
18811         * NetworkManager.h
18812           info-daemon/NetworkManagerInfoPassphraseDialog.c
18813           info-daemon/passphrase.glade
18814           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18815           panel-applet/essid.glade
18816           src/NetworkManagerAP.c
18817           src/NetworkManagerDevice.c
18818           src/NetworkManagerWireless.[ch]
18819                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18820
18821 2004-11-03 Dan Williams <dcbw@redhat.com>
18822
18823         * src/NetworkManagerDevice.[ch]
18824                 - (nm_device_set_enc_key): Add parameter to set Authentication
18825                         Mode (Open System, Shared Key, or None).  We're still using
18826                         Shared Key for now though.
18827
18828 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18829
18830         * panel-applet/menu-info.c: change from bold text to light
18831         colored, may cause problems with some themes, i've tested a lot
18832         and they seem fine. 
18833
18834         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18835
18836 2004-11-01  Colin Walters  <walters@verbum.org>
18837
18838         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18839         (nm_wireless_128bit_key_from_passphrase): Add const.
18840
18841         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18842         (nm_ap_set_enc_key_source): Add const.
18843         
18844 2004-11-01  Colin Walters  <walters@verbum.org>
18845
18846         * .cvsignore: Update.
18847
18848 2004-10-29 Dan Williams <dcbw@redhat.com>
18849
18850         * src/NetworkManagerDevice.c
18851                 - (nm_device_wireless_network_exists): Actually use the encryption
18852                         key we got from the applet when attempting to find a wireless network
18853                 - Don't bring devices down so much since on some cards it triggers
18854                         firmware hotplugs each time
18855
18856         * src/NetworkManagerDbus.c
18857                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18858                         from the caller
18859
18860 2004-10-29 Dan Williams <dcbw@redhat.com>
18861
18862         * src/NetworkManager.c
18863                 - (nm_hal_device_property_modified): unlock a locked active
18864                         wireless device when a wired connection gets a link.
18865                         (Means you'll switch to wired whenever you plug in no
18866                         matter what).
18867
18868 2004-10-29 Dan Williams <dcbw@redhat.com>
18869
18870         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18871                 - New files, implement the "Other wireless network" dialog
18872
18873         * panel-applet/NMWirelessApplet.c
18874                 - Move "other wireless network" dialog to separate file
18875
18876         * panel-applet/NMWirelessAppletDbus.[ch]
18877                 - Take key and key_type paramaters for the set_device function
18878
18879         * panel-applet/essid.glade
18880                 - Add UI bits for encryption settings
18881
18882         * src/NetworkManagerDbus.c
18883                 - Retrieve key and key_type params for "setActiveDevice" method call
18884                         and pass them on
18885                 - unref AP returned from nm_device_get_best_ap() when needed
18886
18887         * src/NetworkManagerDevice.c
18888                 - (nm_device_get_best_ap): ref the ap before returning it
18889                 - unref AP returned from nm_device_get_best_ap() when needed
18890                 - (nm_device_activate_wireless): add "ap" parameter so we don't
18891                         need to call nm_device_get_best_ap() here, it was pretty much
18892                         redundant anyway
18893                 - (AP_NEED_KEY): break second link check condition out into separate
18894                         function, and fix segfault when ap->enc_key_source was NULL
18895                 - (nm_device_find_and_use_essid): take key and key_type parameters and
18896                         pass them along to nm_device_wireless_network_exists().  If the
18897                         network does exist, set the passed-in key+key_type on the AP
18898
18899         * src/NetworkManagerPolicy.c
18900                 - unref AP returned from nm_device_get_best_ap() when needed
18901
18902 2004-10-28 Dan Williams <dcbw@redhat.com>
18903
18904         * src/NetworkManagerUtils.c
18905                 - (nm_spawn_process): Fix a potential dereference of NULL
18906
18907         Patches from Peter Jones:
18908
18909         * src/NetworkManagerDevice.c
18910                 - (nm_device_test_wireless_extensions): Better check for
18911                         wireless devices
18912
18913         * src/NetworkManagerUtils.c
18914                 - (nm_spawn_process): Pass in valid stdout and stderr so
18915                         executed programs don't randomly SIGPIPE and fail
18916                 - (nm_get_wired_driver_support_level): quash hal warning
18917                         when checking for USB ethernet device
18918
18919 2004-10-27 Dan Williams <dcbw@redhat.com>
18920
18921         * info-daemon/NetworkManagerInfo.c
18922           info-daemon/NetworkManagerInfoDbus.c
18923           info-daemon/NetworkManagerInfoPassphraseDialog.c
18924           panel-applet/NMWirelessApplet.c
18925                 - Properly escape gconf keys
18926
18927         * src/NetworkManager.c
18928                 - remove unused variables
18929
18930         * src/NetworkManagerAP.c
18931                 - (nm_ap_new_from_ap): Don't redundantly set new APs
18932                         refcount since it got set in nm_ap_new()
18933
18934         * src/NetworkManagerAPList.c
18935                 - (nm_ap_list_combine): Give up ownership of newly created
18936                         access points to the ap list, fixes memleak
18937
18938         * src/NetworkManagerDevice.c
18939                 - Remove cached_ap_list4 member since its not really needed
18940                 - (nm_device_wireless_network_exists): Try to get correct
18941                         encryption status of a found AP if its already in our
18942                         device list
18943                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18944                         memory allocs/deallocs a bit clearer and shorter-lived
18945
18946 2004-10-26 Ray Strode <rstrode@redhat.com>
18947
18948         * panel-applet/NMWirelessApplet.c:
18949           (custom_essid_item_selected):  kill some compiler
18950         warnings 
18951
18952 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18953
18954         * info-daemon/NetworkManagerInfoDbus.c
18955                 - (nmi_dbus_is_running): New function for determining if nmi is already running
18956                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18957
18958 2004-10-23 Dan Williams <dcbw@redhat.com>
18959
18960         * info-daemon/NetworkManagerInfoDbus.c
18961                 - Trap the "DeviceActivationFailed" signal
18962
18963         * docs/NetworkManager DBUS API.txt
18964                 - Add "DeviceActivationFailed" signal
18965
18966         * panel-applet/NMWirelessAppletDbus.c
18967                 - Quash the "NetworkManager service not available" message
18968
18969         * src/NetworkManagerDbus.[ch]
18970                 - Add the "DeviceActivationFailed" signal
18971
18972         * src/NetworkManagerDevice.c
18973                 - Add support for activation_failed flag
18974                 - Fix deadlock where activation thread didn't clean itself up, making
18975                         main thread still believe it was alive forever (didn't reset activation
18976                         flags like activating, just_activated, etc when IP configuration
18977                         failed)
18978
18979         * src/NetworkManagerPolicy.c
18980                 - Implement logic for DeviceActivationFailed signal, and when activation fails
18981                         for wireless networks, try to fall back to some other access point
18982
18983 2004-10-23 Dan Williams <dcbw@redhat.com>
18984
18985         * panel-applet/NMWirelessApplet.[ch]
18986                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18987                         to the applet object, so we can get tooltips
18988                 - Add tooltips (RH #136866)
18989
18990         * src/NetworkManagerDevice.c
18991                 - When trying to find a wireless network, try to connect with encryption
18992                         turned on first, so that we can more accurately detect whether or not
18993                         we need to use encryption for the actual association later on
18994
18995 2004-10-21 Dan Williams <dcbw@redhat.com>
18996
18997         * Add some support for telling NetworkManagerInfo to tell the user
18998                 that they are using a device that's not fully supported
18999
19000         * Fix some assertions in debug messages due to null access point args
19001
19002 2004-10-21 Dan Williams <dcbw@redhat.com>
19003
19004         * src/NetworkManagerDevice.c
19005                 - Don't try to activate/bring up/down unsupported
19006                         devices
19007
19008         * src/NetworkManagerUtils.c
19009                 - Fix case of PCI ID checks for driver support levels
19010
19011 2004-10-21 Dan Williams <dcbw@redhat.com>
19012
19013         * NetworkManager.h
19014                 - New file, now contains commonly used structures and bits
19015                         for the dbus API of NetworkManager
19016
19017         * Makefile.am
19018                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19019
19020         * src/NetworkManager.h
19021                 - Rename -> src/NetworkManagerMain.c
19022
19023         * Various fixups all around to use NetworkManager.h and new
19024                 src/NetworkManagerMain.h, remove redundant bits that got
19025                 moved into NetworkManager.h
19026
19027         * src/NetworkManagerDevice.[ch]
19028           src/NetworkManagerUtils.[ch]
19029           src/NetworkManagerPolicy.c
19030           src/NetworkManagerDbus.c
19031                 - Whitelist wireless drivers, and blacklist some wired
19032                         drivers.  Also blacklist cipsec and ethernet-over-usb
19033                         devices at this time (RH #135722, RH #135648)
19034                 - Don't leak unsupported devices out over dbus, or allow
19035                         them to be set as the active device.  Skip over them
19036                         during automatic device picking
19037
19038         * test/nmclienttest.c
19039                 - Clean up the dbus code a lot
19040
19041 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
19042
19043         * configure.in: post release bump.
19044
19045 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
19046
19047         * configure.in:
19048         * NEWS: Released NetworkManager-0.3.1
19049
19050 2004-10-18 Dan Williams <dcbw@redhat.com>
19051
19052         Patches from Thom May:
19053         * test/nmtestdevices.c
19054                 - Include <string.h>
19055         * src/backends/NetworkManagerDebian.c:
19056                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19057                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19058                         Move to using g_strdup_printf rather than arbitrary buffers
19059                 - (nm_system_device_setup_static_ip4_config) Implement function.
19060                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19061
19062 2004-10-17 Dan Williams <dcbw@redhat.com>
19063
19064         * info-daemon/NetworkManagerInfoDbus.c
19065                 - Display name of network in the "network not found" dialog
19066
19067         * panel-applet/NMWirelessAppletDbus.c
19068                 - (nmwa_dbus_call_nm_method): new function replaces all other
19069                         nmwa_dbus_get_[string|string_array|int|boolean] methods
19070                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19071                         consolidated into nmwa_dbus_get_object_name()
19072
19073 2004-10-15 Dan Williams <dcbw@redhat.com>
19074
19075         * src/NetworkManagerDbus.c
19076           info-daemon/NetworkManagerInfoDbus.c
19077                 - Display an error dialog when the user tries to use an
19078                         "Other wireless network" that's not found.
19079
19080 2004-10-15 Dan Williams <dcbw@redhat.com>
19081
19082         * panel-applet/NMWirelessApplet.[ch]
19083                 - Fix up corner cases in applet state, making it
19084                         look more responsive.  Change state to "connecting" when
19085                         the user is forcing a device too.
19086
19087 2004-10-15 Dan Williams <dcbw@redhat.com>
19088
19089         * src/NetworkManagerAPList.c
19090                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19091
19092         * src/NetworkManagerDbus.c
19093                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19094
19095         * src/NetworkManagerDevice.c
19096                 - Disown APs after the device's AP list takes ownership
19097
19098 2004-10-15 Dan Williams <dcbw@redhat.com>
19099
19100         * panel-applet/NMWirelessApplet.c
19101                 - Update our applet state from the GUI thread
19102
19103         * panel-applet/NMWirelessAppletDbus.c
19104                 - Greatly simplify the locking to make the GUI thread
19105                         smoother.  Update a private copy of the device list
19106                         and active device and only when done talking to
19107                         NetworkManager turn it over to the GUI thread.
19108
19109 2004-10-15 Dan Williams <dcbw@redhat.com>
19110
19111         * src/NetworkManagerAP.[ch]
19112                 - Add "artificial" get/set functions, set for APs that
19113                         aren't discovered as part of a scan but instead
19114                         discovered by force-setting the ESSID
19115
19116         * src/NetworkManagerDevice.[ch]
19117                 - (nm_device_wireless_network_exists): pass back whether
19118                         or not the discovered AP was encrypted.  Also, try
19119                         falling back to encrypted mode on the card if unencrypted
19120                         association doesn't work
19121                 - (nm_device_find_and_use_essid): If the network requested
19122                         did in fact exists, but it wasn't in our scan list, add
19123                         an "artificial" entry for it.  Some Cisco cards don't
19124                         see non-ESSID-broadcasting APs in their scan but can still
19125                         associate with them if you know the ESSID, this works around
19126                         that behavior
19127                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19128                         to scan if the card is currently associated with that AP
19129
19130 2004-10-15 Dan Williams <dcbw@redhat.com>
19131
19132         ---- We have a website ----
19133         http://people.redhat.com/dcbw/NetworkManager
19134
19135         Patch from Robert Paskowitz:
19136         * src/NetworkManager.c
19137                 - (main): Make sure we are run as root
19138         * src/NetworkManagerDevice.c
19139                 - Fix type in ad-hoc setting function
19140
19141         Patch from Thom May:
19142         * src/backends/NetworkManagerDebian.c
19143                 - Make Debian backend compile again
19144
19145 2004-10-14 Dan Williams <dcbw@redhat.com>
19146
19147         * Tagged NetworkManager-0_3
19148
19149 2004-10-14 Dan Williams <dcbw@redhat.com>
19150
19151         Patch from Robert Paskowitz:
19152         * NEWS
19153           src/NetworkManagerDevice.[ch]
19154           src/backends/NetworkManagerDebian.c
19155           src/backends/NetworkManagerGentoo.c
19156           src/backends/NetworkManagerRedHat.c
19157           src/backends/NetworkManagerSlackware.c
19158                 - Add support for grabbing and using a broadcast address
19159                         from system config files
19160                 - Some Gentoo backend fixes for grabbing network config
19161                 - Fix LOG_WARN->LOG_WARNING
19162
19163 2004-10-14 Dan Williams <dcbw@redhat.com>
19164
19165         * NEWS: a few small fixes in the credits
19166
19167 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19168
19169         * NEWS: prep for release.
19170
19171 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19172
19173         * panel-applet/NMWirelessAppletDbus.c
19174         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19175
19176 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19177
19178         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19179         applet->state == APPLET_STATE_NO_NM animation.
19180
19181         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19182         set the text correctly.
19183
19184 2004-10-14 Dan Williams <dcbw@redhat.com>
19185
19186         * src/NetworkManager.c
19187                 - Only accept and manager 802.3 and 802.11 devices
19188
19189         * src/NetworkManagerDbus.[ch]
19190                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19191                         logic into NetworkManagerDevice.c
19192                 - (nm_dbus_network_status_from_data): new function
19193                 - (nm_dbus_signal_network_status_change): new function, unused for now
19194                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19195
19196         * src/NetworkManagerDevice.[ch]
19197                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19198                         a random ESSID.
19199
19200 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19201
19202         * info-daemon/NetworkManagerInfo.c 
19203                 - (main): Added session management
19204
19205 2004-10-14 Dan Williams <dcbw@redhat.com>
19206
19207         * panel-applet/NMWirelessAppletDbus.[ch]
19208                 - Expose network_device_[un]ref()
19209                 - Expose wireless_network_[un]ref()
19210                 - (wireless_network_new_with_essid): new function, create and return
19211                         a wireless network with a particular essid
19212
19213         * panel-applet/NMWirelessApplet.c
19214                 - Hook up the "other network" dialog to do something
19215
19216 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19217
19218         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19219         doesn't work yet, but it looks okay.
19220
19221         * panel-applet/icons/*png: Resize to 22x22 and install in the
19222         right place.
19223
19224 2004-10-13 Dan Williams <dcbw@redhat.com>
19225
19226         * panel-applet/NMWirelessApplet.c
19227                 - Add function to print out applet_state in a readable
19228                         manner
19229
19230         * src/NetworkManager.c
19231                 - (main): Don't segfault when nm_dbus_init() fails, we had
19232                         a left-over call to hal_shutdown() into which we passed NULL
19233
19234         * src/NetworkManagerAP.c
19235                 - (nm_ap_set_essid): Allow NULL essids
19236
19237         * src/NetworkManagerAPList.[ch]
19238                 - More use of nm_ap_list_[un]lock ()
19239                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19240                         network/essid, just return nothing.  Also skip over NULL
19241                         essid access points in the list when searching
19242                 - (nm_ap_list_get_ap_by_address): new function
19243                 - (nm_ap_list_update_network): set the access point's key source to
19244                         NULL when the key returned from NetworkManagerInfo is NULL or
19245                         of 0 length
19246                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19247                         copy timestamp over too
19248                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19249                         find the correct ESSID for a blank-essid access point by searching
19250                         through another list and matching access point MAC addresses
19251                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19252
19253         * src/NetworkManagerDbus.c
19254                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19255                         may specify.  This is mainly for access points that don't
19256                         broadcast their essid.  So if the user tells us to associate with
19257                         some random ESSID that's not in our access point list, we find
19258                         out if the access point does in fact exist (by attempting association
19259                         and then matching that access point's MAC address with the essid the
19260                         user gave us) and then we switch to it.
19261                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19262                         to the returned list of networks for the "getNetworks" method
19263
19264         * src/NetworkManagerDevice.[ch]
19265                 - Extra debugging info for link detection
19266                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19267                         based on MAC address
19268                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19269                 - (nm_device_wireless_network_exists): new function, find out whether
19270                         a random ESSID exists by attempting to associate with it
19271                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19272                         device list as long as they have an AP MAC address we can use.
19273                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19274                         devices too.  Lets the applet update more frequently.
19275
19276         * src/backends/NetworkManagerGentoo.c
19277                 - Patch from: Robert Paskowitz
19278                         - Update backend code for Gentoo
19279                         - Implement nm_system_device_update_config_info ()
19280
19281         * test/nmclienttest.c
19282                 - (set_network_device): new function, takes a command-line argument
19283                         and tells NetworkManager to use that wireless network
19284
19285 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19286
19287         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19288         if the notification icon crashes 5 times within 5 seconds of each respawn 
19289
19290 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19291
19292         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19293         g_print.
19294
19295 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19296
19297         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19298
19299         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19300         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19301         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19302         Change the name of the icons.
19303
19304         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19305         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19306         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19307         (nm_menu_wireless_expose_event): Really bad hack to get the style
19308         to draw in the right color.
19309
19310 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19311
19312         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19313         Notification if it crashes
19314
19315 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19316
19317         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19318         (nmwa_dbus_get_string): remove unused functions
19319
19320         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19321         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19322         remove unused functions
19323
19324         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19325
19326 2004-10-12 Dan Williams <dcbw@redhat.com>
19327
19328         * panel-applet/NMWirelessAppletDbus.c
19329                 - New functions:
19330                         wireless_network_new
19331                         wireless_network_copy
19332                         network_device_new
19333                         network_device_copy
19334
19335         * src/NetworkManagerDevice.[ch]
19336                 - New functions:
19337                         nm_device_set_mode_managed
19338                         nm_device_set_mode_adhoc
19339                 - Use these functions where appropriate
19340                 - When creating a new wireless device, force the card
19341                         to managed/Infrastructure mode as soon as possible
19342
19343 2004-10-12 Dan Williams <dcbw@redhat.com>
19344
19345         * src/NetworkManagerDevice.c
19346                 - Force wireless cards into Infrastructure mode before we use them
19347
19348 2004-10-12 Dan Williams <dcbw@redhat.com>
19349
19350         * TODO
19351                 - Remove bit about static IP address support
19352
19353         * src/NetworkManagerUtils.c
19354                 - (nm_spawn_process): Add some error reporting
19355
19356         * src/NetworkManagerDevice.c
19357                 - (nm_device_activation_configure_ip): hook up to the static config
19358                         routines in the backends
19359
19360         * src/backends/NetworkManagerRedHat.c
19361                 - (nm_system_device_update_config_info): use shvar.c routines to
19362                         parse the config file iformation, not our own
19363                 - (nm_system_device_setup_static_ip4_config): new function, based
19364                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19365                         with a static IP address and gateway
19366
19367         * src/backends/shvar.[ch]
19368                 - Parser (filched from initscripts package) for ifcfg-* files
19369
19370         * src/backends/NetworkManagerSystem.h
19371           src/backends/NetworkManagerGentoo.c
19372           src/backends/NetworkManagerDebian.c
19373           src/backends/NetworkManagerSlackware.c
19374                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19375
19376 2004-10-11 Dan Williams <dcbw@redhat.com>
19377
19378         * TODO
19379                 - Remove bit about more robust AP diffing since I just implemented it
19380
19381 2004-10-11 Dan Williams <dcbw@redhat.com>
19382
19383         * src/NetworkManagerAP.c
19384                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19385                         enough RAM to allocate new AP structures, but return NULL instead
19386
19387         * src/NetworkManagerAPList.[ch]
19388                 - (nm_ap_list_is_empty): new function
19389                 - (nm_ap_list_combine): new function, combine two access point lists
19390                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19391                         into another
19392
19393         * src/NetworkManagerDevice.[ch]
19394                 - Rename some functions to be clearer:
19395                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19396                         nm_device_just_activated     -> nm_device_is_just_activated
19397                         nm_device_activating         -> nm_device_is_activating
19398                         nm_device_now_scanning       -> nm_device_is_scanning
19399                 - Cache the last 4 scans so that the access point list is more stable.
19400                         We combine the lastest two scans and use that as the AP list,
19401                         and diff that combined list against the combination of the earliest
19402                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19403
19404 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19405
19406         * info-daemon/NWManagerInfo.h
19407                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19408
19409         * info-daemon/NWManagerInfoDbus.c
19410                 - (shutdown_callback): new function
19411                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19412                         if NetworkManager goes away.  Kill the timeout
19413                         if NetworkManager restarts before the 30 seconds
19414                         are up.
19415                 - (nmi_dbus_service_init): 
19416                         - call gtk_main_quit if NetworkManager is not running
19417                         - add filters to monitor dbus service creations and
19418                                 deletions
19419         
19420 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19421
19422         * panel-applet/NMWirelessApplet.c
19423                 - (nmwa_update_state): Hide notification icon if we are only
19424                         showing one wired card and no wireless interfaces 
19425                         (Red Hat Bug #134895)
19426
19427         * panel-applet/NMWirelessAppletDbus.c
19428                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19429
19430         * info-daemon/NWManagerInfo.c
19431                 - (main): Terminated the notification_icon_cmd array with a NULL
19432
19433 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19434
19435         * configure.in (ALL_LINGUAS): Added de (German).
19436
19437 2004-10-08 Dan Williams <dcbw@redaht.com>
19438
19439         * src/NetworkManagerDevice.c
19440                 - Be a bit more robust about link checking, ie make sure that
19441                         the WEP key we were given actually has some data in it
19442
19443 2004-10-08 Dan Williams <dcbw@redhat.com>
19444
19445         * info-daemon/NetworkManagerInfo.c (main):
19446                 - Initialize GError object to NULL
19447
19448 2004-10-08 Dan Williams <dcbw@redhat.com>
19449
19450         * panel-applet/NMWirelessAppletDbus.c
19451                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19452
19453 2004-10-08 Dan Williams <dcbw@redhat.com>
19454
19455         * info-daemon/NetworkManagerInfo.[ch]
19456           info-dameon/NetworkManagerInfoDbus.[ch]
19457           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19458                 - Preserve original label text in the passphrase dialog so that
19459                         it actually gets updated with the new network name the next
19460                         time around.  Previously, we were overwriting it so you'd get
19461                         the wrong network name to enter a key for
19462                 - Add a "Key Type" combo to the passphrase dialog, user selects
19463                         encryption key type now, type is stored in GConf too
19464                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19465
19466         * src/NetworkManagerAP.[ch]
19467                 - Remove all the encyption method magic.  It's now set by the user
19468                         and NetworkManager retrieves the type of encryption key from
19469                         NetworkManagerInfo
19470
19471         * src/NetworkManagerAPList.[ch]
19472           src/NetworkManagerDbus.[ch]
19473                 - Adjust to new way of setting encryption key and method
19474                 - Pull encryption method down from NMI along with key
19475
19476         * src/NetworkManagerDevice.[ch]
19477                 - Removed encryption method fallback magic as the method is now
19478                         determined by the user.  This greatly simplifies the connection
19479                         logic.
19480                 - More robust connection/link logic.  Besides removing the encryption
19481                         method fallback magic, check whether or not the card is receiving
19482                         invalidly encrypted packets, which usually indicates that we have
19483                         a bad WEP key set.
19484                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19485
19486         * test/nminfotest.c
19487                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19488
19489 2004-10-07 Dan Williams <dcbw@redhat.com>
19490
19491         * info-daemon/NetworkManagerInfo.conf
19492                 - Allow root user to run NMI too
19493
19494 2004-10-06 Dan Williams <dcbw@redhat.com>
19495
19496         * src/NetworkManagerDevice.[ch]
19497           src/NetworkManagerDbus.c
19498           doc/NetworkManager DBUS API.txt
19499                 - Add a new status tag "scanning", which is set when there
19500                         is no active network connection, but NetworkManager is
19501                         looking for an access point to associate with
19502
19503         * panel-applet/main.c
19504                 - Cast the applet appropriately for gtk_widget_show_all ()
19505
19506 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19507
19508         * panel-applet/eggtrayicon.[ch]:
19509         * panel-applet/main.c: Add missing file
19510
19511 2004-10-04 Dan Williams <dcbw@redhat.com>
19512
19513         * src/NetworkManagerDevice.[ch]
19514                 - Add a slightly more robust method of determining if the WEP key
19515                         is correct or not, by checking the WEP-discarded packet count
19516                         on the card
19517
19518         * info-daemon/NetworkManagerInfo.c
19519                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19520                         un-escape values we pull out rather than escaping them
19521
19522 2004-10-03  Marcel Telka  <marcel@telka.sk>
19523
19524         * configure.in (ALL_LINGUAS): Added sk.
19525
19526 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19527
19528         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19529         and feel.  We should be back to working, and have a good, clean
19530         look.
19531
19532 2004-09-30 Dan Williams <dcbw@redhat.com>
19533
19534         * info-daemon/NetworkManagerInfo.c
19535           info-daemon/NetworkManagerInfoDbus.c
19536           test/nminfotest.c
19537                 - Escape ESSIDs in gconf
19538
19539         * src/NetworkManagerDevice.c
19540                 - Fix pseudo-scanning to use netowrk list from info daemon
19541
19542 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19543
19544         * configure.in: Add a temporary --enable-notification-icon.  This
19545         will prolly go away.
19546
19547         * info-daemon/Makefile.am:
19548         * info-daemon/NetworkManagerInfo.c:
19549         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19550
19551         * panel-applet/Makefile.am:
19552         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19553         * panel-applet/NMWirelessApplet.h:
19554
19555 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19556
19557         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19558         before 'select custom ESSID'.
19559
19560         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19561         fully complete, but syncing in prep for merge.
19562
19563         * panel-applet/icons/*png: New images
19564
19565 2004-09-28 Dan Williams <dcbw@redhat.com>
19566
19567         * src/NetworkManager.c
19568           src/NetworkManagerDevice.c
19569           src/NetworkManagerPolicy.c
19570                 - Don't blow away an active wired connection on startup
19571
19572 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19573
19574         Changes from J5
19575         
19576         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19577
19578         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19579         syslog output
19580
19581 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19582
19583         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19584         have a wireless card.
19585
19586 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19587
19588         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19589         Also, get the right device strings.
19590
19591 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19592
19593         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19594         the logic to make this right.
19595
19596         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19597         devices so that wired networks are always first.
19598
19599 2004-09-22    <clarkbw@cvs.gnome.org>
19600
19601         * initscript/Debian/.cvsignore:
19602         * initscript/Slackware/.cvsignore:
19603         Added new cvsignores for Makefile, Makefile.in
19604         
19605         * test/.cvsignore:
19606         Added nmtestdevices
19607         
19608         * src/NetworkManagerDevice.c: 
19609         * src/NetworkManager.c: 
19610         Updated the wireless/wired HAL device strings from net.ethernet to
19611         net.80203 or net.80211 depending on wired or wireless respectively
19612         
19613         * examples/python/NetworkManager.py: 
19614         s/Quality/Strength/
19615
19616         * examples/python/systray/network_tray.py:
19617         Lots of little changes and fixes.  been rotting for a while so I
19618         figured I'd finally sync them all with CVS
19619
19620 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19621
19622         * configure.in: Add graphics
19623
19624         * panel-applet/Makefile.am: Add graphics
19625
19626         * panel-applet/icons/*: Add graphics
19627
19628         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19629         the icons fully lined up.
19630
19631         * panel-applet/menu-info.c: 
19632         * panel-applet/menu-info.h: Add another menu type.
19633
19634 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19635
19636         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19637
19638         * panel-applet/menu-item.[ch]: Wireless menu item.
19639
19640 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19641
19642         * info-daemon/NetworkManagerInfo.conf
19643                 - Created a more robust security policy for the DBus service
19644                         - everything is denied by default
19645                         - root can own and send to the service
19646                         - users logged in at the console can send to the service
19647
19648 2004-09-13  Dan Williams <dcbw@redhat.com>
19649
19650         * src/NetworkManagerDevice.c
19651                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19652                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19653                         the latter
19654
19655 2004-09-13  Dan Williams <dcbw@redhat.com>
19656
19657         * TODO: fix typo
19658
19659         * docs/NetworkManager DBUS API.txt
19660                 - Update for new signal strength changes
19661
19662         * panel-applet/NMWirelessApplet.c
19663                 - Make panel icon show strength of the current connection
19664                 - Cleanups and memleak fixes
19665
19666         * panel-applet/NMWirelessApplet.h
19667                 - Add data members for signal strength on devices and networks
19668
19669         * panel-applet/NMWirelessAppletDbus.c
19670                 - Free more DBusErrors
19671                 - Update for new signal strength changes
19672                 - Make devices and networks more like real objects, use ref/unref methods
19673                 - Actually unlock the mutex when updating the active device
19674
19675         * src/NetworkManagerAP.c
19676                 - Change AP functions and data members from "quality"->"strength"
19677
19678         * src/NetworkManagerDbus.c
19679                 - Kill "getMaxQuality" and "getQuality" methods
19680                 - Add "getStrength" methods for Networks and Devices
19681
19682         * src/NetworkManagerDevice.[ch]
19683                 - Add accessors for device strength
19684                 - Add functions to update strength for a device.  Note that not all drivers
19685                         actually support signal strength for scanned access points (Atmel drivers
19686                         being one)
19687                 - Calculate signal strength for each AP during scan
19688
19689         * src/NetworkManagerWireless.[ch]
19690                 - Add function to return signal strength % from a device and a raw quality struct
19691
19692         * test/nmclienttest.c
19693                 - Update for new signal strength changes
19694
19695 2004-09-11  Dan Williams <dcbw@redhat.com>
19696
19697         * src/NetworkManager.c
19698                 - Fix race condition between initscripts and NM on card insertion
19699                         which could cause a card to keep an IP address and routes around
19700                         even when it was not the active device
19701
19702         * src/NetworkManagerDbus.c
19703                 - Fix compile errors, free more DBusErrors
19704
19705 2004-09-11  Dan Williams <dcbw@redhat.com>
19706
19707         * docs/NetworkManager DBUS API.txt
19708                 - Add an explanation of NM's API
19709
19710         * src/NetworkManagerDbus.c
19711                 - Free some more DBusErrors if needed
19712
19713 2004-09-11  Dan Williams <dcbw@redhat.com>
19714
19715         * panel-applet/NMWirelessApplet.c
19716           panel-applet/NMWirelessAppletDbus.c
19717                 - Start using NetworkDevice/WirelessNetwork structures in more places
19718                 - Update for unified device/network forcing in NetworkManager
19719
19720         * src/NetworkManager.c
19721                 - some code consolidation
19722
19723         * src/NetworkManagerDbus.c
19724                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19725                         or two arguments:  the first is the NM ID of the device to switch to,
19726                         and the second (optional) argument is the ESSID of a wireless network
19727                         to use as well.
19728                 - Get rid of "setNetwork" method due to above change
19729
19730         * src/NetworkManagerDevice.c
19731                 - (nm_device_new): perform scan and update best AP on device creation
19732                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19733                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19734                         spin waiting for cancellation to finish before returning
19735
19736         * src/NetworkManagerPolicy.c
19737                 - Changes here clarify the situations in which a device switch occurs, and 
19738                         make sure to keep using a forced device and network if the user gives
19739                         us one
19740                 - Remove old unused code
19741
19742 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19743
19744         * configure.in: Added Danish (da) to ALL_LINGUAS.
19745
19746 2004-09-09  Dan Williams <dcbw@redhat.com>
19747
19748         * panel-applet/NMWirelessAppletDbus.c
19749                 - Pull fresh devices and networks from NM when wireless networks
19750                         change.  Provides faster feedback of a forced wireless network
19751
19752         * src/NetworkManagerDbus.c
19753                 - Return error when "getMaxQuality" is called on a wired device
19754                 - Make best_ap freezing actually work again, and signal cancellation
19755                         of activation if there's already a device activation when the user
19756                         freezes the best_ap
19757
19758         * src/NetworkManagerDevice.c
19759                 - Don't clear out the best_ap for wireless devices when the link goes
19760                         down, that's done elsewhere
19761                 - Kill any dhcp daemons when cancelling device activation since they
19762                         may be stuck waiting for a DHCP address, and since we're cancelling
19763                         activation we don't care about that anymore
19764
19765         * src/NetworkManagerPolicy.c
19766                 - Make sure to unref the device we ref earlier (we refed it to make sure
19767                         it stuck around during device activation and such)
19768                 - If we were going to change the best device, but its activating currently
19769                         (and therefore the change didn't occur due to the check earlier)
19770                         we mark the state changed to we come back to it later when device
19771                         activation has canceled and its no longer activating
19772
19773         * src/backends/NetworkManagerRedHat.c
19774                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19775
19776 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19777
19778         * info-daemon/passphrase.glade: 
19779         set passphrase input to activates_default : True
19780
19781         * examples/python/systray/network_tray.py
19782         (network_tray.sort_networks):
19783
19784         Added support for having wireless always scanning
19785
19786 2004-09-09  Dan Williams <dcbw@redhat.com>
19787
19788         NOTE: this commit changes the behavior of wireless devices in
19789         NetworkManager.  They are now up all the time, scanning all
19790         the time.  Only the active device has an IP address and routing
19791         information set up however.  Also, NetworkManager will no longer
19792         opportunistically switch wireless networks when a better one
19793         comes in range, it will remain associated with one wireless network
19794         until that one drops out.
19795
19796         * panel-applet/NMWirelessApplet.c
19797           panel-applet/NMWirelessAppletDbus.c
19798                 - List all wireless cards and their respective networks
19799
19800         * src/NMLoadModules
19801                 - Use full path to /sbin/ip
19802
19803         * src/NetworkManager.c
19804                 - Keep wireless devices up all the time so they can scan
19805
19806         * src/NetworkManagerDbus.c
19807                 - On a WirelessNetworkUpdate signal from NMI, don't update
19808                         the "best" AP
19809
19810         * src/NetworkManagerDevice.c
19811                 - (nm_device_set_link_active): clear out the best ap for
19812                         wireless devices when the link is set to FALSE
19813                 - Scan on all wireless cards, all the time
19814                 - (nm_device_activation_worker): split out the wireless card
19815                         link-waiting code to a separate function
19816                 - Keep wireless cards up even if device activation fails
19817                 - Don't update the "best" ap as much
19818
19819         * src/NetworkManagerPolicy.c
19820                 - Don't update the best ap when checking if its frozen,
19821                         let link checking clear out a frozen best ap for us
19822
19823         * src/NetworkManagerWireless.c
19824                 - Scan on all wireless cards, all the time
19825
19826 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19827
19828         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19829
19830 2004-09-09  Ankit Patel <ankit@redhat.com>
19831
19832         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19833
19834 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19835
19836         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19837
19838 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19839
19840         * examples/python/NetworkManager.py: 
19841         added CONNECTED, CONNECTING, and DISCONNECTED states
19842         added methods to return number of devices of a single type
19843
19844         * examples/python/systray/network_tray.py: 
19845         did some tweaks to get the menu looking near what it is supposed
19846         to look like.  Also did a Airo card hack to make it show the
19847         correct AP quality
19848
19849 2004-09-08  Dan Williams <dcbw@redhat.com>
19850
19851         * panel-applet/no-networkmanager.png
19852           panel-applet/Makefile.am
19853           panel-applet/NMWirelessApplet.c
19854                 - Add a "NetworkManager not running" icon and use it
19855                 - Use new consolidated GConf keys rather than Preferred/Trusted
19856
19857         * TODO: update
19858
19859         * info-daemon/NetworkManagerInfo.c
19860           info-daemon/NetworkManagerInfoDbus.[ch]
19861           info-daemon/NetworkManagerInfoPassphraseDialog.c
19862                 - There are now no longer two separate lists of wireless networks,
19863                         but one list where each network is "trusted" or not trusted
19864                 - Add a "getNetworkTrusted" dbus method
19865                 - "WirelessNetworkUpdate" signal now sent rather than
19866                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19867                 - Start freeing some dbus errors (not completed yet)
19868
19869         * info-daemon/passphrase.glade
19870                 - Remove the "don't show" hints for pager and taskbar
19871                 - Add a title since its going to be in the taskbar
19872
19873         * src/NetworkManager.[ch]
19874           src/NetworkManagerAPList.[ch]
19875                 - There are now no longer two separate lists of wireless networks,
19876                         but one list where each network is "trusted" or not trusted
19877
19878         * src/NetworkManagerAP.[ch]
19879                 - Add get/set "trusted" accessors and data bit
19880
19881         * src/NetworkManagerDbus.[ch]
19882                 - Add function to get "trusted" status of a network from NetworkManagerInfo
19883                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19884
19885         * src/NetworkManagerDevice.[ch]
19886                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19887                 - (nm_device_new): Get device config from backend when initializing devices
19888                 - (nm_device_activation_worker): Split out device configuration on
19889                         activation to deal with static/dynamic IP differences, and try encryption
19890                         fallbacks on a device if the encryption method for the best AP is not good
19891                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19892                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19893
19894         * src/NetworkManagerWireless.c
19895                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19896
19897         * src/backends/NetworkManagerRedHat.c
19898           src/backends/NetworkManagerSystem.h
19899                 - (nm_system_device_update_config_info): Add function to get device configuration
19900                         from system data in ifcfg-* files
19901
19902         * src/backends/NetworkManagerDebian.c
19903           src/backends/NetworkManagerGentoo.c
19904           src/backends/NetworkManagerSlackware.c
19905                 - Add stub functions for getting device configuration
19906
19907 2004-09-07  Dan Williams <dcbw@redhat.com>
19908
19909         * src/backends/NetworkManagerRedhat.c
19910           src/backends/NetworkManagerSlackware.c
19911                 - Use full path to /sbin/ip everywhere
19912
19913 2004-09-07  Dan Williams <dcbw@redhat.com>
19914
19915         Patch from: Narayan Newton <narayan_newton@yahoo.com>
19916
19917         * configure.in
19918           initscript/Makefile.am
19919           initscript/Slackware/Makfile.am
19920           initscript/Slackware/rc.networkmanager
19921           src/Makefile.am
19922           src/backends/NetworkManagerSlackware.c
19923                 - Add Slackware support
19924
19925 2004-09-07  Dan Williams <dcbw@redhat.com>
19926
19927         Patches below from:
19928                 <j@bootlab.org>
19929                 Mark Roach <mrroach@okmaybe.com>
19930                 Thom May <thom@debian.org>
19931
19932         * configure.in
19933           initscript/Debian/NetworkManager
19934           initscript/Debian/Makefile.am
19935                 - Initscript for Debian
19936
19937         * src/backends/NetworkManagerDebian.c
19938                 - Add missing system init function to allow compilation
19939                         on Debian
19940
19941 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
19942
19943         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19944
19945 2004-09-03  Akagic Amila <bono@linux.org.ba>
19946
19947         * configure.in: Added 'bs' to ALL_LINGUAS.
19948
19949 2004-09-02  Colin Walters  <walters@verbum.org>
19950
19951         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19952         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19953         g_strdup_printf instead of arbitrarily sized buffers.
19954
19955 2004-09-01  Colin Walters  <walters@verbum.org>
19956
19957         * NetworkManager.pc.in: New file.
19958
19959         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19960
19961 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
19962         
19963         * configure.in: Punjabi(pa) is added to po/.
19964
19965 2004-08-31  Dan Williams <dcbw@redhat.com>
19966
19967         * Remove 'debug' extern global from all files since we now
19968                 use syslog()
19969
19970         * src/NetworkManager.[ch]
19971                 - Break out routine that get the net.interface property from HAL,
19972                         removing that logic from nm_create_device_and_add_to_list()
19973                 - (nm_create_device_and_add_to_list): make this a bit more general so
19974                         it doesn't do the talking to HAL.  Also add arguments to facilitate
19975                         the create of test devices.
19976                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19977                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19978                         which makes NetworkManager listen for dbus commands to create test
19979                         devices, which have no backing hardware.  Use when you're on a plane
19980                         for example, and/or forgot your wireless card at home.  Test devices
19981                         _cannot_ be created unless NM is started with --enable-test-devices.
19982
19983         * src/NetworkManagerDbus.[ch]
19984                 - New "getLinkActive" method for devices
19985                 - New "setLinkActive" method for devices (only works on test devices)
19986                 - New "createTestDevice" method on NetworkManager object to create a test
19987                         device of a specified type (ie wired, wireless).  UDI is created from
19988                         scratch, as is the interface name.  Only works when NM is started with
19989                         --enable-test-devices switch.
19990                 - New "removeTestDevice" method on NetworkManager object which removes a
19991                         test device.  Only works when NM is started with --enable-test-devices
19992
19993         * src/NetworkManagerDevice.[ch]
19994                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
19995                         whether a device is a test device or not, and what its link status is.
19996                 - Deal with test devices in most functions.  For those that work directly on hardware
19997                         special-case test devices.
19998                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19999                         command-line.
20000                 - (nm_device_update_link_active): split out logic for wired and wireless device link
20001                         checking to separate functions to facilitate test device link checking.
20002                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20003                         don't make a distinction between System Authentication and Encryption
20004                         (namely Cisco aironet), we use Open System auth when setting a WEP key
20005                         on the card.  We don't deal with Shared Key auth yet.
20006                 - (nm_device_activation_worker): split the activation cancel check logic out into
20007                         a separate routine nm_device_activation_cancel_if_needed()
20008                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20009                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20010                         a list of fake access points that they can "see"
20011                 - (nm_device_is_test_device): return whether or not a device is a test device
20012
20013         * src/NetworkManagerPolicy.c
20014                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20015                         previously if you "locked"/forced NM to use a wireless device but then
20016                         selected a wireless network for NM to use, it would switch to a wired device.
20017                         So, if the active device is wireless and it has a "forced" best AP, use it
20018                         if the "forced" best AP is still valid
20019                 - (nm_state_modification_monitor): deal with NULL best devices, for example
20020                         there were no usable network devices, or the last one was removed
20021
20022         * src/backends/NetworkManager*.c
20023                 - Deal with test devices, mostly just return success for operations like getting
20024                         a DHCP address
20025
20026         * test/nmtestdevices.c
20027                 - Test tool to create/remove/link-switch test devices
20028
20029 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
20030
20031         * examples/python/NetworkManager.py: 
20032         added convience functions has_wired_device and has_wireless_device
20033
20034         * examples/python/systray/network_tray.py: 
20035         cleaned up a bunch of cruft, added support for listing wireless
20036         networks just like the real applet.  This is probably all I'm
20037         going to work on this applet from now on.
20038         TODO: add support for actually changing networks and devices
20039
20040         * examples/python/NetworkManager.py (NetworkManager.get_device): 
20041         changed "nm.networks" into a dict from a list so I can store all
20042         the cool information about networks in there
20043
20044         * examples/python/systray/network_tray.py: 
20045         Added nice message when you try to run without running make first
20046
20047         * examples/python/NetworkManager.py: 
20048         Bug fixes to the code so we get all the device information
20049         that we need in get_device()
20050         
20051         * examples/python/NMTester.py: 
20052         Fixed _print_device_list to print_device_list
20053
20054 2004-08-29  Seth Nickell  <seth@gnome.org>
20055
20056         * configure.in:
20057
20058         Actually properly setup the Debian backend in configure.
20059         
20060 2004-08-29  Colin Walters  <walters@verbum.org>
20061
20062         * test/nminfotest.c: Include string.h and stdlib.h.
20063         (get_network_string_property, get_networks_of_type): Return NULL.
20064
20065         * test/nmclienttest.c (get_device_name, get_active_device): Return
20066         NULL.
20067
20068         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20069         use strlen, fgets always NULL-terminates the string.
20070
20071         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20072         dbus_message_get_member): Remove /* in comment.
20073
20074         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20075
20076         * src/NetworkManager.c (quit): Unused, delete.
20077         (nm_data_free): Cast arg to GFunc.
20078
20079         * panel-applet/NMWirelessAppletDbus.c: Need to include
20080         string.h, and dbus-glib-lowlevel.h (the latter is needed
20081         for dbus_connection_setup_with_g_main at present).
20082         (nmwa_dbus_update_wireless_network_list): Parenthesize
20083         assignment in conditional.
20084         (nmwa_dbus_worker): Return NULL.
20085
20086         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20087         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20088         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20089         (nmwa_populate_menu): Return NULL on failure, instead of just
20090         return;
20091
20092         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20093
20094         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20095         variables.
20096
20097         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20098         delete.
20099         
20100 2004-08-29  Colin Walters  <walters@verbum.org>
20101
20102         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20103         a GTimeVal instead of time_t.  This is easier to work with,
20104         since time_t may be a long or double, we don't know.
20105
20106         * src/NetworkManagerDbus.h: Update prototype.
20107         
20108         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20109         instead of time_t.
20110         (nm_ap_get_timestamp): Update to return GTimeVal.
20111         (nm_ap_set_timestamp): Update to take GTimeVal.
20112         
20113         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20114         to handle GTimeVal.
20115
20116         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20117         GTimeVal change.
20118         (nm_ap_list_print_members): Fix warnings in printf format.
20119
20120 2004-08-29  Colin Walters  <walters@verbum.org>
20121         
20122         * panel-applet/NMWirelessApplet.c: Include config.h.
20123
20124 2004-08-29  Colin Walters  <walters@verbum.org>
20125
20126         * configure.in: Generate config.h.
20127
20128         * configure.in: Dump dependency on OpenSSL; we can't
20129         use it since this package is GPL:
20130         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20131         Instead, check for libgcrypt, use it if available,
20132         otherwise use included MD5 code.
20133
20134         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20135         Suck in from gnome-keyring, munge a bit.
20136         
20137         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20138         gnome-keyring-md5.h gnome-keyring-md5.c.
20139         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20140
20141         * src/NetworkManagerWireless.c (nm_md5): New function, uses
20142         libgcrypt or included gnome-keyring md5 bits.
20143         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20144
20145 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20146
20147         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20148
20149 2004-08-27  Bryan Clark  <bclark@redhat.com>
20150
20151         * examples/python/systray/Makefile: 
20152
20153         Updated the clean section
20154         
20155         * examples/python/systray/trayiconmodule.c: 
20156         * examples/python/systray/trayicon.override: 
20157         * examples/python/systray/network_tray.py: 
20158         * examples/python/systray/eggtrayicon.h: 
20159         * examples/python/systray/eggtrayicon.c: 
20160         * examples/python/systray/Makefile: 
20161         * examples/python/README: 
20162         * examples/python/NetworkManager.py: 
20163         * examples/python/NMTester.py: 
20164
20165         Initial commit of these python example files
20166
20167 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20168
20169         * panel-applet/NMWirelessApplet.c
20170                 - Make current device bold
20171                 - Show more user-friendly device name if we got one from hal
20172
20173         * panel-applet/NMWirelessAppletDbus.c
20174                 - Grab "info.product" key from hal for network devices
20175                 - Cache the current active device
20176
20177 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20178
20179         * configure.in: Added en_CA to ALL_LINGUAS.
20180
20181 2004-08-27  Christian Rose  <menthos@menthos.com>
20182
20183         * configure.in: Added "sv" to ALL_LINGUAS.
20184
20185 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20186
20187         * Tag NetworkManager-0.2
20188
20189 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20190
20191         * initscripts/Makefile.am
20192         * configure.in: Make pass distcheck
20193
20194         * po/ChangeLog: added
20195
20196 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20197
20198         * panel-applet/NMWirelessApplet.c
20199                 - Remove debugging code
20200                 - Enable device switching from menus
20201
20202         * panel-applet/NMWirelessAppletDbus.[ch]
20203                 - Method for asking NM to switch devices
20204
20205         * src/NetworkManagerDevice.c
20206                 - Set dev->activating earlier, avoids race between
20207                         the dbus signal of "DeviceActivating" and setting
20208                         dev->activating (which is what NM's "status" method call
20209                         looks at)
20210
20211 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20212
20213         * panel-applet/NMWirelessApplet.[ch]
20214                 - Rework menu code to add devices to menu, and to show
20215                         signal strength for each access point.  Code cleanups
20216                         too.
20217
20218         * panel-applet/NMWirelessAppletDbus.c
20219                 - Grab network devices from NetworkManager too
20220                 - Grab quality information from NM for wireless networks
20221
20222         * src/NetworkManagerDbus.[ch]
20223                 - Add dbus methods for getting the HAL UDI from a device and
20224                         for getting its base quality, if its wireless
20225                 - Consolidate some functions (wireless network notifications,
20226                         device notifications)
20227                 - Add method for requesting NM to use a particular device
20228
20229         * src/NetworkManager.c
20230                 - Change for function consolidations from NetworkManagerDbus.c
20231                 - Implement active device locking and user-requested devices
20232                         (ie, tell NM to use a particular device instead of the one
20233                         it autochose)
20234
20235         * src/NetworkManagerDevice.c
20236                 - Add method for getting the base quality of a device, if its
20237                         wireless
20238                 - Grab device base quailty info from iwlib during scans
20239
20240         * src/NetworkManagerPolicy.c
20241                 - Use a user-requested device rather than the auto-chosen device
20242                         if we are told to
20243
20244 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20245
20246         * Makefile.am: add po as a supdir
20247
20248         * autogen.sh: use gnome-autogen.sh
20249
20250         * initscript/Gentoo/.cvsignore:
20251         * initscript/RedHat/.cvsignore: Shut up cvs
20252
20253         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20254
20255         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20256         (nmwa_fill): Use gettext.
20257
20258         * configure.in: add gettext support
20259         * po/.cvsignore:
20260         * po/NetworkManager.pot:
20261         * po/POTFILES.in:
20262
20263 2004-08-26  Seth Nickell  <seth@gnome.org>
20264
20265         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20266         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20267         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20268         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20269         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20270         * panel-applet/NMWirelessApplet.h:
20271
20272         Use a menu bar instead of a button for the main clickable
20273         thingy.
20274         
20275 2004-08-25  Dan Williams <dcbw@redhat.com>
20276
20277         * src/NetworkManagerDevice.c
20278                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20279                         turning encryption off, because the Cisco driver doesn't associate
20280                         with WEP-enabled access points unless we are in "open"
20281
20282 2004-08-25  Dan Williams <dcbw@redhat.com>
20283
20284         * src/NetworkManagerWireless.c
20285                 - Don't try to defererence blank passphrases
20286
20287 2004-08-25  Dan Williams <dcbw@redhat.com>
20288
20289         * panel-applet/NMWirelessApplet.c
20290                 - Rebuild the menu whenever a user clicks
20291
20292 2004-08-25  Dan Williams <dcbw@redhat.com>
20293
20294         * panel-applet/NMWirelessApplet.c
20295                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20296                         when NM isn't around or when its not connected
20297
20298         * src/NetworkManagerDevice.c
20299                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20300                         canceled.
20301
20302 2004-08-25  Dan Williams <dcbw@redhat.com>
20303
20304         * panel-applet/NMWirelessAppletDbus.c
20305                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20306                         for getting encryption, and don't stop on "val" once we've gotten it
20307                         from NetworkManager.  Short form:  encryption should now show up.
20308
20309 2004-08-25  Dan Williams <dcbw@redhat.com>
20310
20311         * panel-applet/NMWirelessApplet.c
20312                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20313                         network to associate with
20314
20315 2004-08-25  Dan Williams <dcbw@redhat.com>
20316
20317         * panel-applet/*
20318                 - Rework the panel applet to do all DBUS communication in a separate
20319                         thread
20320
20321 2004-08-25  Dan Williams <dcbw@redhat.com>
20322
20323         * info-daemon/NetworkManagerInfo.[ch]
20324                 - Remove "get_next_priority" function
20325
20326         * info-daemon/NetworkManagerInfoDbus.[ch]
20327                 - Convert "priority" functions to "timestamp"
20328
20329 2004-08-25  Dan Williams <dcbw@redhat.com>
20330
20331         * src/NetworkManagerAP.[ch]
20332                 - Add a "enc_method_good" member and accessors to an Access Point
20333                         to signal when we've found the correct encryption method
20334                         for an access point
20335                 - Add a "timestamp" member and accessors, remove "priority" member
20336                         and accessors (use timestamps instead)
20337                 - Rename "wep_key"->"enc_key"
20338                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20339                         for a specified encryption method using the access points
20340                         source encryption key/passphrase
20341
20342         * src/NetworkManagerAPList.c
20343                 - When updating a network with dbus, grab timestamp now instead of
20344                         priority
20345
20346         * src/NetworkManagerDBus.[ch]
20347                 - Add signal for "DeviceActivating"
20348                 - Switch priority->timestamp
20349
20350         * src/NetworkManagerDevice.c
20351                 - Change references of "wep_key" -> "enc_key" or "key"
20352                 - Signal DeviceActivating when starting activation
20353                 - When activating a wireless device, if the access point we are connecting
20354                         to is encrypted, and we have a source key, try to generate a mangled
20355                         key and use that (ie, generate real WEP key from a passphrase)
20356                 - Rework device activation to fallback to other encryption methods if
20357                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20358                         first, then if that doesn't work fall back to direct hex key).
20359                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20360                         priority.  We now prefer the latest access point used, rather than using
20361                         a priority scheme
20362                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20363                         points we've just discovered, and merge in correct info from the global
20364                         access point lists
20365
20366 2004-08-25  Seth Nickell  <seth@gnome.org>
20367
20368         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20369         Debian support.
20370         
20371         * src/Makefile.am:
20372         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20373         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20374         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20375         (nm_system_delete_default_route),
20376         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20377         (nm_system_load_device_modules):
20378
20379 2004-08-24  Dan Willemsen <dan@willemsen.us>
20380
20381         * src/NetworkManager.c
20382           src/backends/NetworkManagerGentoo.c
20383           src/backends/NetworkManagerRedHat.c
20384           src/backends/NetworkManagerSystem.h
20385                 - Implement preliminary Gentoo support, adding a
20386                         nm_system_init function to the backend specification
20387
20388         * configure.in
20389                 - Distribution auto-detection, lowercase any user-fed
20390                         distribution names
20391
20392         * initscript/.cvsignore
20393           initscript/Makefile.am
20394           initscript/RedHat/Makefile.am
20395           initscript/RedHat/NetworkManager
20396           initscript/Gentoo/Makefile.am
20397           initscript/Gentoo/NetworkManager
20398                 - Refactored initscript code separately for each
20399                         distribution
20400
20401 2004-08-23  Dan Williams <dcbw@redhat.com>
20402
20403         * configure.in
20404           src/Makefile.am
20405           src/NetworkManagerDevice.c
20406           src/NetworkManager.c
20407           src/NetworkManagerUtils.[ch]
20408           src/backends/NetworkManagerSystem.h
20409           src/backends/NetworkManagerRedHat.c
20410           src/backends/NetworkManagerGentoo.c
20411                 - Refactor system-specific code into separate backends for
20412                         each distribution
20413
20414 2004-08-23  Dan Willemsen <dan@willemsen.us>
20415
20416         * dispatcher-daemon/NetworkManagerDispatcher.c
20417           info-daemon/NetworkManagerInfo.[ch]
20418           info-daemon/NetworkManagerInfoDbus.c
20419           info-daemon/NetworkManagerInfoPassphraseDialog.c
20420           src/NetworkManager.c
20421           src/NetworkManagerAP.c
20422           src/NetworkManagerAPList.c
20423           src/NetworkManagerDbus.c
20424           src/NetworkManagerDevice.c
20425           src/NetworkManagerPolicy.c
20426           src/NetworkManagerUtils.[ch]
20427           src/NetworkManagerWireless.c
20428                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20429
20430         * src/NetworkManager.c
20431                 - Fixed usage wording for --no-daemon
20432
20433 2004-08-23  Dan Williams <dcbw@redhat.com>
20434
20435         * panel-applet/NMWirelessApplet.c
20436                 - Update our state every second to get more responsive panel icon
20437                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20438                         was causing our marching ants status blips to never move when
20439                         looking for a wireless network
20440
20441         * src/NetworkManagerDevice.c
20442                 - (nm_device_activation_begin): return if activation has already begun
20443                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20444                         trusted/preferred network into the device's access point when the
20445                         scan list is processed
20446
20447 2004-08-23  Dan Williams <dcbw@redhat.com>
20448
20449         * initscript/NetworkManager
20450                 - Use NMLaunchHelper rather than sleeping
20451
20452         * initscript/NMLaunchHelper.c
20453           Makefile.am
20454                 - Add helper program that exits only when NM activates a device,
20455                         or 10 seconds have passed, whichever happens first.  This
20456                         stops the boot processes until we have a network connection,
20457                         which NM can't do because it daemonizes and brings the connection
20458                         up in the background.  Allows stuff like NFS to not die.
20459
20460 2004-08-20  Dan Williams <dcbw@redhat.com>
20461
20462         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20463                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20464                         for a network, set the essid as well since it may not exist yet
20465                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20466                         since WEP keys/passphrases are long and prone to entry-error
20467
20468         * panel-applet/Makefile.am
20469           panel-applet/wired.png
20470                 - Add (pulled from system-config-network temporarily)
20471
20472         * panel-applet/NMWirelessApplet.[ch]
20473                 - Show wired picture when a wired connection is used
20474                 - Rename wireless icon enums, adding WIRELESS
20475
20476         * src/NetworkManagerDevice.c
20477                 - (nm_device_activate_wireless): unset encryption before bringing
20478                         down the card and setting the essid
20479                 - (nm_device_activatin_worker): request a key from the user if the
20480                         AP we are connecting to is encrypted but we don't have a key
20481                         for it yet
20482                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20483                         strcmp() that prevented a user-entered key from actually getting
20484                         used
20485
20486 2004-08-16  Dan Williams <dcbw@redhat.com>
20487
20488         * initscript/NetworkManager
20489                 - Check for /sbin/ip
20490                 - Do sysctl magic that network service does
20491                 - sleep 4s after start to allow network time to come up [hack]
20492
20493         * src/Makefile.am
20494           src/NMLoadModules
20495                 - Load all network device kernel modules (hal doesn't know devices
20496                         are ethernet until the module is loaded, and therefore we don't know)
20497
20498         * src/NetworkManager.c
20499                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20500                         network devices, and bring up the loopback device explicitly
20501
20502         * src/NetworkManagerUtils.[ch]
20503                 - (nm_enable_loopback): new function
20504
20505 2004-08-13  Dan Williams <dcbw@redhat.com>
20506
20507         * configure.in
20508           panel-applet/Makefile.am
20509                 - Fix up cleanfiles and server_DATA/server_in_files
20510
20511         * README
20512                 - Update with some comments on theory of operation
20513
20514         * CONTRIBUTING
20515           Makefile.am
20516                 - Add CONTRIBUTING
20517
20518 2004-08-12  Dan Williams <dcbw@redhat.com>
20519
20520         * info-daemon/passphrase.glade
20521                 - Set window title to " "
20522
20523         * panel-applet/Makefile.am
20524           panel-applet/keyring.png
20525                 - Deliver to correct place
20526
20527         * panel-applet/NMWirelessApplet.[ch]
20528                 - Add comments
20529                 - Remove applet->have_active_device as its no longer used
20530                 - (nmwa_load_theme): load keyring.png too
20531                 - (error_dialog): remove
20532                 - (show_warning_dialog): subsume functionality of error dialog too
20533                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20534                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20535                         the networks menu
20536                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20537                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20538                         and when we get broadcasts of changed wireless access points only, not when the
20539                         user clicks on the button to display the menu (too long of a wait)
20540                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20541                         networks that are encrypted
20542                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20543                         menu item with g_object_set_data()
20544
20545         * panel-applet/NMWirelessAppletDbus.[ch]
20546                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20547                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20548                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20549                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20550                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20551                         activation/deactivation signals and rebuild the menu when they happen
20552
20553         * src/NetworkManager.c
20554                 - (main): use new nm_spawn_process() rather than system()
20555
20556         * src/NetworkManagerDbus.c
20557                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20558                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20559                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20560                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20561                         to freeze the best_ap.
20562
20563         * src/NetworkManagerDevice.[ch]
20564                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20565                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20566                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20567                         ap list
20568
20569         * src/NetworkManagerUtils.[ch]
20570                 - (nm_spawn_process): add replacement for system() usage
20571
20572 2004-08-11  Dan Williams <dcbw@redhat.com>
20573
20574         * panel-applet/NMWirelessApplet.[ch]
20575                 - Fix up copyright and credits to include Bastien and Eskil,
20576                         who created the gnome-applets wireless applet, from whose
20577                         skeleton this one was created
20578                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20579                         pixmap to draw is computed during nmwa_update_state()
20580                 - Applet now shows itself all the time due to panel packing issues
20581                         which caused the applet to previously never come back after hiding.
20582                         When a wired device is the active device, the applet shows "not connected"
20583
20584         * panel-applet/NMWirelessAppletDbus.[ch]
20585                 - Clean up error messages and show what function they are from
20586                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20587                 - Add new device type getters, and a status getter
20588
20589         * src/NetworkManagerDbus.c
20590                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20591                         network is actually in the device's ap list
20592                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20593
20594         * src/NetworkManagerDevice.c
20595                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20596                         card
20597
20598         * test/nmclienttest.c
20599                 - Report status of NetworkManager too
20600
20601 2004-08-11  Dan Williams <dcbw@redhat.com>
20602
20603         * info-daemon/NetworkManagerInfo.c:
20604                 - (main): clean up Seth's code style
20605
20606         * info-daemon/NetworkManagerInfoDbus.c:
20607                 - Use the more aptly-named path/service/interface constants from NetworkManager
20608                 - Don't return empty strings ("") as object paths ever, instead return errors
20609
20610         * panel-applet/NMWirelessApplet.c:
20611                 - Clean up Seth's code style
20612
20613         * src/NetworkManager.[ch]
20614                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20615                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20616
20617         * src/NetworkManagerAPList.[ch]
20618                 - Move Iter struct right above the iter functions to preserve opacity
20619                 - (nm_ap_list_remove_ap): implement
20620                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20621                         remove AP if NetworkManagerInfo doesn't know anything about it
20622                 - (nm_ap_list_diff): user NMAPList iterators
20623                 - (nm_ap_list_print_members): implement debugging function
20624
20625         * src/NetworkManagerDbus.[ch]
20626                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20627                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20628                         and move the actual key setting stuff into NetworkManagerDevice.c
20629                 - (nm_dbus_get_network_priority): return -1 now on errors
20630                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20631                         get lost, and force the active device to update its "best" ap when AP lists change
20632                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20633                         method call due to pending_device member removal
20634
20635         * src/NetworkManagerDevice.[ch]
20636                 - Move NMDevice structure to the top
20637                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20638                 - Remove Pending Action stuff from everywhere
20639                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20640                         activation for us.  This thread blocks until all conditions for activation have
20641                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20642                         then setup up the interface and runs dhclient.  We have to do this because there
20643                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20644                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20645                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20646                         can tell nm_device_activation_worker() that we've got a key
20647                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20648                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20649                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20650                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20651
20652         * src/NetworkManagerPolicy.c
20653                 - Remove anything to do with pending_device
20654                 - Adjust device activation to deal with activation-in-worker-thread
20655
20656         * src/NetworkManagerUtils.c
20657                 - Clean up locking debugging a bit
20658
20659         * src/NetworkManagerWireless.[ch]
20660                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20661                         was badly named and is better as a device function
20662
20663         * panel-applet/.cvsignore: add
20664
20665 2004-08-09  Seth Nickell  <seth@gnome.org>
20666
20667         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20668         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20669         (nmwa_new):
20670         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20671
20672         Don't load the menus until clicked on (also removes a call outside
20673         normal code paths at first load).
20674
20675         Hide applet when NM is not present.
20676         
20677         Improve printf debugging stuff.
20678         
20679 2004-08-09  Dan Williams <dcbw@redhat.com>
20680
20681         * dispatcher-daemon/NetworkManagerDispatcher.c:
20682                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20683                 - Use constants for NetworkManager interface, service, and path
20684
20685 2004-08-09  Dan Williams <dcbw@redhat.com>
20686
20687         * src/NetworkManagerDbus.c:
20688                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20689                         instead return an error message
20690                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20691                         on a wired device.  Also never return an empty object path, instead return an error message
20692
20693 2004-08-06  Seth Nickell  <seth@gnome.org>
20694
20695         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20696
20697         Check the error code when getting a connection.
20698         
20699         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20700
20701         Check if the NM service exists when initializing (rather than
20702         assuming it does not).
20703         
20704         * src/NetworkManagerDbus.c: (nm_dbus_init):
20705
20706         Don't acquire the well-known service name until we have
20707         registered object/path handlers and can actually receive
20708         calls.
20709         
20710 2004-08-06  Dan Williams <dcbw@redhat.com>
20711
20712         * panel-applet/*
20713                 - Add panel applet
20714
20715         * src/NetworkManagerPolicy.c
20716           src/NetworkManager.c
20717                 - Get access point lists from NetworkManagerInfo on-demand,
20718                         and look for ServiceCreate/ServiceDeleted signals to see when
20719                         we should query NMI for lists
20720         * src/NetworkManagerAPList.c
20721                 - Make sure to init the list's mutex
20722                 - Convert traversals of the list over to the list iter functions
20723
20724         * src/NetworkManagerDbus.[ch]
20725                 - Use more aptly-named path/service/interface constants
20726                 - Treat both active and pending devices the same for "getActiveDevice"
20727                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20728
20729         * src/NetworkManagerDevice.c
20730                 - Honor "ignored" network list when picking best ap to use
20731
20732 2004-08-06  Seth Nickell  <seth@gnome.org>
20733
20734         * aclocal.m4:
20735
20736         Autogenerated, remove from CVS.
20737         
20738         * autogen.sh:
20739
20740         Don't hardcode automake version.
20741         
20742         * configure.in:
20743         * info-daemon/Makefile.am:
20744         * info-daemon/NetworkManagerInfo.c: (main):
20745
20746         Use GnomeProgram et al. for doing session management.
20747         Use popt stuff for argument parsing rather than doing
20748         it manugally.
20749         
20750 2004-08-05  Dan Williams <dcbw@redhat.com>
20751
20752         * test/nminfotest.c
20753                 - Update to new NMI dbus API, check different network types
20754
20755         * info-daemon/NetworkManagerInfoDbus.c
20756                 - Update to new NM dbus API, ie network type sent in query message
20757
20758 2004-08-05  Dan Williams <dcbw@redhat.com>
20759
20760         * An assload of changes
20761
20762 2004-08-02  Dan Williams <dcbw@redhat.com>
20763
20764         * TODO
20765                 - new task: proper logging support
20766
20767         * info-daemon/NetworkManagerInfo.c
20768                 - Correct spelling of "canceled"
20769                 - Correct casting of objects for g_signal_connect()
20770
20771         * info-daemon/NetworkManagerInfoDbus.c
20772                 - Add defines for NetworkManager namespace and object path, and use them
20773                 - Add filter function to trap new signals from NetworkManager:
20774                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20775
20776         * info-daemon/passphrase.glade
20777                 - Change name of "ok" button to "Login to Network..."
20778                 - Mark invisible
20779
20780         * src/NetworkManager.c
20781                 - Code and debug message cleanups
20782                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20783                 - (nm_add_initial_devices) Check returned string array of devices
20784                         and don't try to add devices if array is NULL
20785                 - (main) Initialize libhal a bit later, make code a bit clearer
20786
20787         * src/NetworkManagerAP.[ch]
20788                 - New accessor and data member "matched": used to speed up AP list
20789                         diffing
20790                 - New accessor and data member "enc_method": will be used during key
20791                         fallback to cache which passphrase->key conversion actually works
20792                         so we don't have to do it every time
20793
20794         * src/NetworkManagerAPList.[ch]
20795                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20796                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20797                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20798                         dbus in response to those differences
20799
20800         * src/NetworkManagerDbus.[ch]
20801                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20802                         make an object path for that access point (NOTE that we don't yet check to
20803                         make sure that access point is actually in the device's AP list yet)
20804                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20805                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20806                         New: signal appearance/disappearance of wireless networks
20807                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20808                         key entry
20809
20810         * src/NetworkManagerDevice.[ch]
20811                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20812                 - (nm_device_ap_list_get) New: return the AP list (static function)
20813                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20814                         new one resulting from the scan with the old one
20815
20816         * src/NetworkManagerWireless.c
20817                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20818
20819         * test/nminfotest.c
20820                 - #define object paths and namespaces and use the #defines rather than static strings
20821                 - Test out user-key functionality of NetworkManagerInfo too
20822
20823 2004-07-29  Dan Williams <dcbw@redhat.com>
20824
20825         * info-daemon/NetworkManagerInfoDbus.c
20826           src/NetworkManagerDbus.c
20827                 - Update to current DBus (ie don't use decomposed paths when registering
20828                         object paths/fallbacks)
20829
20830 2004-07-27  Dan Williams <dcbw@redhat.com>
20831
20832         * Remove various Makefile.in files
20833
20834         * TODO
20835                 - Add some more items
20836
20837         * configure.in
20838                 - Add checks for OpenSSL/md5 headers and libs
20839
20840         * src/Makefile.am
20841                 - Use OpenSSL CFLAGS
20842
20843         * src/NetworkManagerAP.[ch]
20844                 - Remove 'stamp' functions, replace with 'invalid' functions
20845                         to support user cancelling WEP key entry
20846
20847         * src/NetworkManagerDbus.c
20848                 - Remove 'stamp' return functions
20849                 - Treat returned user key as a passphrase and convert to a WEP key,
20850                         but don't actually use the WEP key yet.  We use the returned user
20851                         key as a hexadecimal WEP key until we can figure out a UI for
20852                         passphrase-vs-hex key
20853
20854         * src/NetworkManagerWireless.[ch]
20855                 - Add passphrase-to-128bit-key function
20856
20857 2004-07-27  Dan Williams <dcbw@redhat.com>
20858
20859         * TODO
20860                 - Add a couple of items
20861
20862 2004-07-27  Dan Williams <dcbw@redhat.com>
20863
20864         * info-daemon/NetworkManagerInfo.c
20865                 - Update allowed network's GConf key when user enters a WEP key explicitly
20866
20867         * info-daemon/NetworkManagerDbus.c
20868                 - Fix some comments
20869                 - nmi_dbus_get_allowed_networks(): kill warning
20870
20871 2004-07-27  Dan Williams <dcbw@redhat.com>
20872
20873         * initscript/Makefile.in
20874                 - Remove
20875
20876         * initscript/Makefile.am
20877                 - Add correct rules to install the init.d initscript
20878
20879         * info-daemon/NetworkManagerInfoDbus.c
20880                 - Remove debug fprintf
20881
20882         * src/NetworkManagerDbus.[ch]
20883                 - Remove debug fprintfs
20884                 - Add macros for NetworkManagerInfo object path/namespace
20885                 - Use said macros instead of constant strings
20886
20887 2004-07-27  Dan Williams <dcbw@redhat.com>
20888
20889         * initscript/.cvsignore
20890                 - Add
20891
20892         * info-daemon/Makefile.am
20893                 - Install .glade files and keyring.png
20894                 - Fix stupid omission of a \ that caused half the flags not to be
20895                         passed to gcc
20896
20897         * info-daemon/NetworkManagerInfo.c
20898                 - gtk_signal_connect->g_signal_connect
20899                 - Alert NetworkManagerInfo to new glade file location
20900
20901 2004-07-27  Dan Williams <dcbw@redhat.com>
20902
20903         * test/nmclienttest.c
20904           test/nminfotest.c
20905                 - Add missing <dbus/dbus.h> headers
20906                 - Add GPL message at top
20907
20908 2004-07-27  Dan Williams <dcbw@redhat.com>
20909
20910         * src/NetworkManagerAPList.[ch]
20911           src/Makefile.am
20912                 - Add.  Deal with allowed network list additions, deletions, and updates
20913
20914         * dispatcher-daemon/NetworkManagerDispatcher.c
20915                 - Add missing <dbus/dbus.h> header
20916
20917         * info-daemon/NetworkManagerInfo.[ch]
20918                 - Add missing <dbus/dbus.h> header
20919                 - Implement the GConf notify callback to signal NetworkManager of an allowed
20920                         network change
20921                 - Better error checking
20922
20923         * info-daemon/NetworkManagerInfoDbus.[ch]
20924                 - Add missing <dbus/dbus.h> header
20925                 - Convert to using dbus_message_append_args/dbus_message_get_args
20926                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20927                         that an allowed network changed.  We don't want to signal on individual
20928                         keys _inside_ an allowed network really, just want NM to query the info
20929                         daemon for updated info on all keys.
20930                 - Better error checking
20931
20932         * src/NetworkManager.[ch]
20933                 - Add missing <dbus/dbus.h> header
20934                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20935                 - Zero out NMData structure on free
20936                 - No longer use a thread for allowed_ap_list updating, instead its now done
20937                         through dbus queries against NetworkManagerInfo
20938                 - Populate allowed_ap_list initially before adding existing network devices
20939                         to the device list, so wireless devices can get their "best" AP
20940
20941         * src/NetworkManagerDbus.[ch]
20942                 - Convert to using dbus_message_append_args/dbus_message_get_args
20943                 - Better error checking
20944                 - Implement Allowed Network info functions to request allowed network
20945                         info from NetworkManagerInfo
20946                 - Implement the filter function to process signals from NetworkManagerInfo
20947                         about changing allowed networks
20948
20949         * src/NetworkManagerDevice.c
20950                 - Fix file descriptor leak in nm_device_update_ip4_address()
20951
20952 2004-07-27  Dan Williams <dcbw@redhat.com>
20953
20954         * .cvsignore
20955           src/.cvsignore
20956           test/.cvsignore
20957           dispatcher-daemon/.cvsignore
20958           info-daemon/.cvsignore
20959                 - Add .cvsignore files to reduce noise when diffing
20960
20961 2004-07-24  Dan Williams <dcbw@redhat.com>
20962
20963         * src/NetworkManager.[ch]
20964           src/NetworkManagerDbus.[ch]
20965           src/NetworkManagerDevice.[ch]
20966           src/NetworkManagerPolicy.c
20967           src/NetworkManagerWireless.[ch]
20968                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20969                 - Pass the NMData application data structure through all calls
20970                         that need it so we can get rid of nm_get_global_data()
20971                 - Change deallocation of the allowed_ap_list GSList in preparation
20972                         for not completely clearing it every time we get an update,
20973                         but instead getting incremental updates via GConf/dbus
20974
20975 2004-07-22  Dan Williams <dcbw@redhat.com>
20976
20977         * configure.in
20978                 - Add checks for GConf libs & headers & flags
20979
20980         * info-daemon/Makefile.am
20981                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20982
20983         * info-daemon/NetworkManagerInfo.[ch]
20984                 - Don't use gquarks for data storage, just use normal data storage
20985                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20986
20987         * info-daemon/NetworkManagerDbus.[ch]
20988                 - Add method call for getting allowed networks
20989                 - Add method calls for getting an allowed network's essid, priority, and key
20990                 - Hook the method calls up to GConf
20991                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20992                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20993                 
20994         * src/NetworkManagerDbus.[ch]
20995                 - Switch for enumeration of networks to using essid instead
20996
20997         * test/Makefile.am
20998           test/nminfotest.c
20999                 - Add test program for NetworkManagerInfo
21000
21001 2004-07-19  Dan Williams <dcbw@redhat.com>
21002
21003         * src/NetworkManagerDbus.c
21004                 - Switch from indexed device paths to names.  Less code, more efficient.
21005                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21006
21007 2004-07-19  Dan Williams <dcbw@redhat.com>
21008
21009         * dispatcher-daemon/NetworkManagerDispatcher.c
21010                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21011
21012 2004-07-19  Dan Williams <dcbw@redhat.com>
21013
21014         * Makefile.am
21015                 - Add info-daemon directory
21016
21017         * configure.in
21018                 - Check for glade libs and headers
21019                 - Add info-daemon directory
21020
21021         * src/NetworkManagerAP.c
21022                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21023                         copied over to the new AP.
21024
21025         * src/NetworkManagerDbus.c
21026           src/NetworkManagerDbus.h
21027                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21028                 - Remove nm_dbus_signal_need_key_for_network()
21029                 - Add disabled code for asynchronous user wep key callbacks
21030                 - Add functions for getting, setting, and cancelling user key operations
21031                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21032                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21033
21034         * src/NetworkManagerDevice.c
21035           src/NetworkManagerDevice.h
21036                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21037                         logic is in device activation now
21038                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21039                         key is wrong) trigger get-user-key pending action
21040                 - Implement get-user-key pending action stuff, tie to dbus messages
21041                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21042                 - Add nm_device_ap_list_get_ap_by_essid()
21043                 - Instead of copying "best" access points, ref them instead so that the key we set
21044                         sticks around
21045
21046         * src/NetworkManagerPolicy.c
21047                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21048                 - Don't cancel pending actions on a device if its the same device as last iteration
21049                 - Only promote pending_device->active_device if activation was successfull
21050
21051         * src/Makefile.am
21052                 - Rename nmclienttest->nmtest
21053
21054         * info-daemon/Makefile.am
21055           info-daemon/NetworkManagerInfo.c
21056           info-daemon/NetworkManagerInfo.h
21057           info-daemon/NetworkManagerInfoDbus.c
21058           info-daemon/NetworkManagerInfoDbus.h
21059           info-daemon/passphrase.glade
21060           info-daemon/NetworkManagerInfo.conf
21061           info-daemon/keyring.png
21062                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21063                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
21064                         lists to NetworkManager by proxying user's GConf
21065           
21066
21067 2004-07-15  Dan Williams <dcbw@redhat.com>
21068
21069         * src/Makefile.am
21070                 - Turn on warnings
21071
21072         * src/NetworkManager.c
21073                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21074                         that doing the deactivation ourselves
21075                 - Cancel an pending actions on a device if its being removed
21076                 - Break up link state checking a bit, make non-active wireless cards
21077                         deactivated to save power
21078                 - Remove unused variables
21079
21080         * src/NetworkManager.h
21081                 - Add support for "pending" device
21082
21083         * src/NetworkManagerAP.h
21084           src/NetworkManagerAP.c
21085                 - Add support for determining whether and AP has encryption enabled or not
21086                 - AP address is now "struct ether_addr" rather than a string
21087
21088         * src/NetworkManagerDbus.h
21089           src/NetworkManagerDbus.c
21090                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21091                 - Changes for AP address from struct ether_addr->string
21092
21093         * src/NetworkManagerDevice.h
21094           src/NetworkManagerDevice.c
21095                 - Remove unused variables, fix warnings
21096                 - Add support for Pending Actions (things that block a device from being "active"
21097                         until they are completed).
21098                 - First pending action:  Get a WEP key from the user
21099                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21100                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21101                 - Update wireless link checking to try to determine if the AP we are associated
21102                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
21103                         trigger the GetUserKey pending action on the device
21104                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
21105                         up in that case, otherwise we can't scan or link-check on it
21106                 - Add IP address change notifications at appropriate points (still needs some work)
21107                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21108
21109         * src/NetworkManagerPolicy.h
21110           src/NetworkManagerPolicy.c
21111                 - Split out "best" access point determiniation into separate function
21112                 - Make device activation 2-stage:  first the device is pending, then
21113                         in the next iteration through it becomes "active" unless it has
21114                         pending actions
21115
21116         * src/NetworkManagerUtils.h
21117           src/NetworkManagerUtils.c
21118                 - Clean up unused variables and warnings
21119                 - Wrap our debug macros in {} to prevent possible confusion
21120
21121         * src/NetworkManagerWireless.c
21122                 - Forgot to return current best priority, which lead to last available AP always
21123                         being chosen no matter what its priority was.  Corrected.
21124
21125 2004-07-15  Dan Williams <dcbw@redhat.com>
21126
21127         * dispatcher-daemon/Makefile.am
21128                 - Turn on warnings
21129
21130         * dispatcher-daemon/NetworkManagerDispatcher.c
21131                 - Remove unused variables due to warnings
21132                 - Fix some comments
21133                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21134
21135 2004-07-06  Dan Williams <dcbw@redhat.com>
21136
21137         * src/NetworkManager.c
21138                 - Add IPv4 address update for active device during link state check
21139                 - Don't allow wireless cards to be powered up when they are not the
21140                         active device
21141
21142         * src/NetworkManagerDbus.c
21143           src/NetworkManagerDbus.h
21144                 - Add DBUS IPv4 address change signal
21145                 - Add DBUS IPv4 address get method for devices
21146
21147         * src/NetworkManagerDevice.c
21148                 - Make setting the WEP key actually work
21149                 - Move IP address get/set/update stuff here, per-device
21150                 - Power down/bring down wireless device when deactivated
21151                 - For scanning wireless devices, if first scan returned ENODATA, try again
21152
21153         * src/NetworkManagerPolicy.c
21154                 - Only set the WEP key for an allowed access point if there is one.
21155                         We were setting it to be blank if one wasn't specified.
21156
21157         * src/NetworkManagerUtils.h
21158           src/NetworkManagerUtils.c
21159                 - Move the IP address stuff to NetworkManagerDevice.c
21160
21161         * dispatcher-daemon/NetworkManagerDispatcher.c
21162                 - Add device IPv4 address change notification stuff
21163
21164 2004-07-05  Dan Williams <dcbw@redhat.com>
21165
21166         * dispatcher-daemon/NetworkManagerDispatcher.c
21167                 - A bit more descriptive state message
21168                 - Don't segfault when reading directory
21169
21170         * src/NetworkManager.h
21171                 - Remove NMData desired_ap member, its now
21172                         per-device rather than global
21173
21174         * src/NetworkManager.c
21175                 - Remove references to desired_ap
21176                 - Move the allowed AP list refresh stuff into a thread
21177
21178         * src/NetworkManagerDevice.c
21179           src/NetworkManagerDevice.h
21180                 - Each wireless device now has a "best ap"
21181                 - Make device activate/deactivate functions per-device
21182                 - Make wireless scanning per-device
21183                 - Add IPv4 address discover functions, stub IPv6 ones
21184                 - Move ethernet address validation functions to NetworkManagerUtils.c
21185                 - Add wireless access point accessor function
21186                 - Get/Set functions for "best ap"
21187
21188         * src/NetworkManagerPolicy.c
21189                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21190                 - Deal with per-device "best ap" rather than data->desired_apa
21191                 - Implement allowed access point worker thread
21192                 - Add nm_policy_essid_is_allowed() function
21193
21194         * src/NetworkManagerUtils.c
21195           src/NetworkManagerUtils.h
21196                 - Add nm_ethernet_address_is_valid() function
21197                 - Add IPv4/IPv6 address get functions
21198
21199         * src/NetworkManagerWireless.c
21200           src/NetworkManagerWireless.h
21201                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21202
21203 2004-06-29  Dan Williams <dcbw@redhat.com>
21204
21205         * dispatcher-daemon/NetworkManagerDispatcher.c
21206                 - Implement script callout functionality
21207
21208 2004-06-24  Dan Williams <dcbw@redhat.com>
21209
21210         * NetworkManager.c
21211             - Spacing cleanups
21212             - Flush device routes and ip addresses when added to the device list
21213
21214         * NetworkManagerDbus.c
21215             - Spacing cleanups
21216             - Add missing returns in the two signal functions
21217         
21218         * NetworkManagerPolicy.c
21219             - Spacing and variable cleanups
21220
21221 2004-06-24  Dan Williams <dcbw@redhat.com>
21222
21223         * Makefile.am
21224           Makefile.in
21225           configure.in
21226           dispatcher-daemon/Makefile.am
21227           dispatcher-daemon/Makefile.in
21228           dispatcher-daemon/NetworkManagerDispatcher.c
21229             - Add a daemon that receives signals from NetworkManager
21230                         and will (eventually) call scripts in /etc/somewhere
21231                         when devices go up or down.
21232         
21233         * NetworkManager.c
21234             - Spacing cleanups
21235             - Flush device routes and ip addresses when added to the device list
21236
21237         * NetworkManagerDbus.c
21238             - Spacing cleanups
21239             - Add missing returns in the two signal functions
21240         
21241         * NetworkManagerPolicy.c
21242             - Spacing and variable cleanups
21243             - Rename nm_policy_switch_interface->nm_policy_switch_device
21244             - nm_policy_switch_device():
21245                                 Use kill (pid) instead of system ("kill <pid>")
21246             - nm_state_modification_monitor():
21247                                 Add wireless essid to output of debug statements
21248                                 Correct typo in device compare to switch or not (should be !=)
21249                                 Don't sleep after sending "no longer active" signal, was useless
21250
21251 2004-06-24  Dan Williams <dcbw@redhat.com>
21252
21253         * Initial import