2008-10-10 Tambet Ingo <tambet@gmail.com>
[NetworkManager.git] / ChangeLog
1 2008-10-10  Tambet Ingo  <tambet@gmail.com>
2
3         * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
4         a daemon to prevent NM logging spew on console on startup and shutdown (due
5         to dependency loop between NM and syslog).
6
7 2008-10-10  Alexander Sack  <asac@ubuntu.com>
8
9         Implement managed mode. We bind devices configured in /etc/network/interfaces
10         to their connections by updating wired/wireless setting with the
11         mac address of the device.
12
13         * system-settings/plugins/ifupdown/plugin.c
14                 - (get_net_address_for_udi): implement function to retrieve MAC
15                         address of udi from hal in GByteArray format
16                 - (bind_device_to_connection): bind mac address of device to
17                         wired/wireless system connection
18                 - (hal_device_added_cb): call bind_device_to_connection for
19                         system connections with a matching interface.name
20                 - (hal_device_added_cb): ensure that all code paths
21                         properly free the "iface" string.
22
23 2008-10-10  Alexander Sack  <asac@ubuntu.com>
24
25         Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
26         mode of the ifupdown system config plugin.
27
28         * system-settings/plugins/ifupdown/plugin.c
29                 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
30                         private unmanage_well_known state field accordingly
31
32 2008-10-10  Alexander Sack  <asac@ubuntu.com>
33
34         Implement unmanaged mode that will prevent all devices in the
35         well_known_udis set from being touched by NetworkManager
36
37         * system-settings/plugins/ifupdown/plugin.c
38                 - (typedef struct SCPluginIfupdownPrivate): add gboolean
39                         unmanage_well_known field used to turn on/off unmanaged
40                         mode
41                 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
42                         signal when well_known_udis get added/removed
43                 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
44                         if we are in unmanaged mode
45
46 2008-10-10  Alexander Sack  <asac@ubuntu.com>
47
48         Add support to track network devices that have a configuration
49         with a matching interface.name in /etc/network/interfaces
50
51         * system-settings/plugins/ifupdown/plugin.c
52                 - (typedef struct SCPluginIfupdownPrivate): add hash table
53                         to track |well_known_udis|
54                 - (get_iface_for_udi): helper function to get interface.name
55                         for a udi
56                 - (hal_device_added_cb, hal_device_removed_cb): callbacks
57                         that add and remove devices to and from the well_known_udis
58                         set depending on whether their |interface.name| matches
59                         any interface definition in /etc/network/interfaces
60                 - (SCPluginIfupdown_init): connect callbacks from above with
61                         hal_mgr and setup well_known_udis hashtable
62                 - (GObject__dispose): destroy well_known_udis hashtable
63                 - (hal_device_added_cb2): implement wrapper callback with GFunc
64                         signature. user_data is supposed to be a triple (hal_mgr,
65                         config and devtype)
66                 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
67                         startup and call hal_device_added_cb2
68
69 2008-10-10  Alexander Sack  <asac@ubuntu.com>
70
71         Remove implementation for not used NMSystemConfigInterface callback functions
72         in ifupdown plugin
73
74         * system-settings/plugins/ifupdown/plugin.c
75                 - (SCPluginIfupdown_unmanaged_devices_changed): removed
76                 - (SCPluginIfupdown_connection_added): removed
77
78 2008-10-08  Dan Williams  <dcbw@redhat.com>
79
80         Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
81
82         * src/NetworkManagerUtils.c
83                 - (nm_utils_call_dispatcher): add a 'hostname' action
84
85         * src/NetworkManagerPolicy.c
86                 - (set_system_hostname): dispatch hostname changes
87
88         * callouts/nm-dispatcher-action.c
89                 - (nm_dispatcher_action): handle 'hostname' actions
90
91 2008-10-08  Dan Williams  <dcbw@redhat.com>
92
93         * src/NetworkManagerSystem.c
94                 - (find_route): ref the route so it doesn't get destroyed when the cache
95                         is cleared
96                 - (nm_system_device_set_priority): unref the route here after it's done
97                         being used
98
99 2008-10-08  Dan Williams  <dcbw@redhat.com>
100
101         * src/nm-serial-device.c
102                 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
103
104 2008-10-08  Tambet Ingo  <tambet@gmail.com>
105
106         * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
107         connection with new settings before saving it.
108
109 2008-10-06  Dan Williams  <dcbw@redhat.com>
110
111         * src/nm-ip4-config.c
112           src/nm-ip4-config.h
113                 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
114
115         * src/nm-device-interface.c
116                 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
117                         DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
118                         by using '/' for the object path
119
120         * src/nm-device.c
121                 - (src/nm-device.c): marshal missing/unexported ip4-config through
122                         dbus as '/' since dbus-glib can't handle NULL objects nor can
123                         dbus handle NULL object paths
124
125 2008-10-03  Alexander Sack  <asac@ubuntu.com>
126
127         Implement system hostname support for debian/ubuntu
128
129         * system-settings/plugins/ifupdown/plugin.c
130                 - (GObject__get_property): extend announced capabilities; add
131                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
132                 - (GObject__set_property,write_system_hostname): implement
133                         NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
134                 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
135                    update_system_hostname, get_hostname):
136                         implement hostname property that watches and
137                         parses /etc/hostname
138
139 2008-10-03  Alexander Sack  <asac@ubuntu.com>
140
141         * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
142           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
143           system-settings/plugins/ifcfg-fedora/Makefile.am
144           system-settings/src/nm-inotify-helper.c
145           system-settings/src/nm-inotify-helper.h
146           src/Makefile.am
147                 - Move ifcfg-fedora inotify helpers to the system settings service so
148                         they are available to all plugins
149
150 2008-10-03  Alexander Sack  <asac@ubuntu.com>
151
152         Implement support for wep-tx-keyidx in ifupdown system
153         config plugin.
154
155         * system-settings/plugins/ifupdown/parser.c
156                 - (update_wireless_security_setting_from_if_block): introduce
157                         free_type_mapping func table; rename a few local
158                         variables to improve readability; add wpa security mapping
159                         for wep-tx-keyidx property
160                 - (string_to_gpointerint): new function used for the auto_type_mapping
161                         of new wep-tx-keyidx property
162                 - (slist_free_all): free func used for mapped slist types
163
164 2008-10-03  Alexander Sack  <asac@ubuntu.com>
165
166         * system-settings/src/main.c:
167                 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
168                         always used as the hash key; fixes a crash when removing wired
169                         devices
170
171 2008-10-02  Dan Williams  <dcbw@redhat.com>
172
173         * src/nm-gsm-device.c
174                 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
175                         pass the required GSM secret along via user_data rather than keeping
176                         it around in the private data where it sometimes didn't get cleared
177                 - (real_get_ppp_name): implement using the GSM username
178
179 2008-10-02  Dan Williams  <dcbw@redhat.com>
180
181         * src/ppp-manager/nm-ppp-manager.c
182           src/ppp-manager/nm-ppp-manager.h
183                 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
184                         the settings daemon for completely new ones
185                 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
186                         local PPP peer name; allow PPP debuging by launching NM with
187                         the environment variable NM_PPP_DEBUG defined
188                 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
189                         create_pppd_cmd_line()
190
191         * src/nm-serial-device.c
192           src/nm-serial-device.h
193                 - New 'get_ppp_name' function for subclasses to implement to return the
194                         local PPP peer name
195                 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
196                         and pass that name to the PPP manager
197
198         * src/nm-device-ethernet.c
199                 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
200                         the local peer name
201
202         * src/nm-cdma-device.c
203                 - (real_get_ppp_name): implement using the CDMA username
204
205 2008-10-02  Dan Williams  <dcbw@redhat.com>
206
207         Patch from Alexander Sack <asac ubuntu com>
208
209         * system-settings/plugins/ifupdown/parser.c
210                 - Implement more graceful ip4 config parsing for cases where
211                   /etc/network/interfaces omits basic ip4 settings, such as gateway etc
212                   by using default values
213
214 2008-10-02  Dan Williams  <dcbw@redhat.com>
215
216         * src/NetworkManagerPolicy.c
217                 - (device_state_changed): when marking a connection invalid, clear its
218                         secrets too so that fresh secrets get requested the next time
219
220 2008-10-01  Dan Williams  <dcbw@redhat.com>
221
222         * system-settings/src/dbus-settings.c
223                 - (nm_sysconfig_settings_init): cache system hostname on startup as
224                         a fallback if no plugin provides a hostname
225                 - (get_property): fall back to cached hostname if no plugin provides
226                         a hostname
227
228 2008-10-01  Dan Williams  <dcbw@redhat.com>
229
230         Fix setting value comparison issue that caused some settings to look the
231         same when they were really different (rh #464417)
232
233         * libnm-util/nm-param-spec-specialized.c
234                 - (type_is_fixed_size): return fundamental size of the fixed type too
235                 - (nm_gvalues_compare_collection): use the fundamental fixed type size
236                         in the comparison so that the _entire_ fixed type collection gets
237                         compared rather than just the first 'len1' bytes
238
239 2008-09-30  Dan Williams  <dcbw@redhat.com>
240
241         * src/NetworkManagerPolicy.c
242                 - (lookup_thread_worker): don't store the idle handler ID becuase the
243                         idle handler could have already run and freed the LookupThread
244                         structure
245
246 2008-09-30  Tambet Ingo  <tambet@gmail.com>
247
248         * src/nm-device.c (nm_device_get_priority): Implement.
249         (nm_device_set_ip4_config): Send the device priority to system ip4 
250         config setter.
251
252         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
253         Add priority argument and if it's >= 0, set the priority of the network
254         route added automatically by netlink (or kernel?).
255         (nm_system_device_set_priority): Implement.
256
257         * src/NetworkManagerPolicy.c (get_best_device): Use 
258         nm_device_get_priority() instead of home-grown version. Revert the
259         meaning, best priority is the lowest one.
260
261 2008-09-29  Dan Williams  <dcbw@redhat.com>
262
263         Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
264         when it returns EAGAIN (rh #362421)
265
266         * src/nm-device-wifi.c
267                 - (wireless_get_range): try GIWRANGE a few times until the card responds
268                 - (real_get_generic_capabilities, constructor): use wireless_get_range()
269
270 2008-09-28  Dan Williams  <dcbw@redhat.com>
271
272         * src/nm-serial-device.c
273           src/nm-serial-device.h
274                 - (nm_serial_device_close): stop PPP manager here so that PPP gets
275                         cleaned at the right times when subclasses close the serial port too
276                 - (nm_serial_device_send_command): use a default send delay; don't
277                         spin forever on EAGAIN
278                 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
279                         remove, no longer used
280                 - (find_response): return the matched response if any
281                 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
282                         while doing so
283                 - (wait_for_reply_done): pass the matched response to the callback
284                 - (wait_for_reply_got_data): save the matched response; simplify timeout
285                         handling
286                 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
287                         const since they never get modified
288                 - (cleanup_device): split out common cleanup stuff to a new function
289                 - (real_deactivate_quickly, finalize): use cleanup_device()
290
291         * src/nm-gsm-device.c
292                 - (modem_get_reply): remove, unused
293                 - (set_apn): give the card a bit more time to respond
294                 - (manual_registration_again, schedule_manual_registration_again,
295                    manual_registration_response, manual_registration): handle manual
296                         registration timeouts better by retrying registration a few times
297                         because cards are a bit slow after CFUN=1
298                 - (automatic_registration_get_network, get_network_response): use
299                         modem_wait_for_reply() because it interacts better with the serial
300                         buffer and does more intelligent matching; need to wait for 'OK'
301                         rather than just matching terminators
302                 - (schedule_automatic_registration_again,
303                    automatic_registration_response, automatic_registration): retry
304                         registration a few times on timeout or "searching" because cards
305                         take a bit to find a network after being powered up with CFUN=1
306                 - (power_up_response, power_up, init_full_done, enter_pin,
307                    check_pin_done): power up the card with CFUN=1 before trying to
308                         register with the network
309                 - (init_modem_full, init_modem): use more standard 3G init strings
310
311         * src/nm-hso-gsm-device.c
312                 - (modem_get_reply): remove, unused
313                 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
314                         modem_wait_for_reply() to match actual responses instead of single
315                         termination characters; it doesn't leave stuff in the serial buffer
316                         that might confuse later calls
317                 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
318                         to ensure that the call is really disconnected and not leave extra
319                         stuff in the serial buffer
320
321         * src/nm-cdma-device.c
322                 - (power_up_response, power_up, init_done): try Sierra-style modem
323                         power up before attempting to connect
324
325 2008-09-27  Dan Williams  <dcbw@redhat.com>
326
327         * libnm-util/nm-setting-gsm.c
328                 - (verify): verify GSM network ID
329
330 2008-09-25  Dan Williams  <dcbw@redhat.com>
331
332         * libnm-util/nm-setting-gsm.c
333           libnm-util/nm-setting-gsm.h
334                 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
335                         technology terms (bgo #551361)
336
337 2008-09-25  Dan Williams  <dcbw@redhat.com>
338
339         Fix bgo #549401 (inspired by patch from Alexander Sack)
340
341         * src/nm-device-ethernet.c
342                 - (finish_supplicant_task): clean up scheduled tasks and free memory
343                 - (remove_supplicant_interface_error_handler): remove the supplicant
344                         error idle callback too
345                 - (supplicant_interface_release): rename from supplicant_interface_clean
346                         to match nm-device-wifi.c; clean up supplicant interface-related
347                         state tasks when the supplicant interface is disposed of
348                 - (schedule_state_handler): add scheduled tasks to a list so they can
349                         be cleaned up later
350                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
351                    supplicant_iface_connection_state_cb_handler): use
352                         finish_supplicant_task() to clean up each completed task
353                 - (supplicant_iface_connection_error_cb_handler,
354                    supplicant_connection_timeout_cb): clear source id when the task is
355                         complete
356                 - (supplicant_iface_connection_error_cb): save scheduled task id for
357                         later cleanup
358                 - (nm_device_ethernet_dispose): clean up any pending supplicant state
359                         tasks
360
361         * src/nm-device-wifi.c
362                 - (finish_supplicant_task): clean up scheduled tasks and free memory
363                 - (remove_supplicant_interface_error_handler): remove the supplicant
364                         error idle callback too
365                 - (supplicant_interface_release): clean up supplicant interface-related
366                         state tasks when the supplicant interface is disposed of
367                 - (schedule_state_handler): add scheduled tasks to a list so they can
368                         be cleaned up later
369                 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
370                    supplicant_iface_connection_state_cb_handler): use
371                         finish_supplicant_task() to clean up each completed task
372                 - (supplicant_iface_connection_error_cb_handler): clear source id when
373                         the task is complete
374                 - (supplicant_iface_connection_error_cb): save scheduled task id for
375                         later cleanup
376                 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
377
378 2008-09-24  Tambet Ingo  <tambet@gmail.com>
379
380         * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
381         method and get/set hostname property.
382
383 2008-09-24  Tambet Ingo  <tambet@gmail.com>
384
385         * src/supplicant-manager/nm-supplicant-interface.c
386         (nm_supplicant_interface_disconnect): Don't increment the reference 
387         count when disconnecting. The problem is on shutdown, when the replies
388         to these commands do not arrive before NM exits, resulting on never
389         calling supplicant interface's dispose(), which removes the interface
390         from supplicant.
391
392 2008-09-24  Tambet Ingo  <tambet@gmail.com>
393
394         * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
395         all the public function arguments.
396
397 2008-09-22  Tambet Ingo  <tambet@gmail.com>
398
399         * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
400         "Failure" signal from VPN plugins, store the failure reason, and
401         use it when the state is changed to failure.
402
403         * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
404         description.
405
406         * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
407         reason to the end of the list to not break the API.
408         (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
409         so it can be shared by plugins and daemon.
410
411 2008-09-18  Dan Williams  <dcbw@redhat.com>
412
413         Patch from Alexander Sack <asac@ubuntu.com>
414
415         * configure.in
416           system-settings/plugins/Makefile.am
417           system-settings/plugins/ifupdown/Makefile.am
418           system-settings/plugins/ifupdown/interface_parser.c
419           system-settings/plugins/ifupdown/interface_parser.h
420           system-settings/plugins/ifupdown/nm-ifupdown-connection.c
421           system-settings/plugins/ifupdown/nm-ifupdown-connection.h
422           system-settings/plugins/ifupdown/parser.c
423           system-settings/plugins/ifupdown/parser.h
424           system-settings/plugins/ifupdown/plugin.c
425           system-settings/plugins/ifupdown/plugin.h
426                 - Implement a Debian/Ubuntu legacy network configuration plugin
427                         (gnome.org #551941)
428
429 2008-09-18  Dan Williams  <dcbw@redhat.com>
430
431         Implement support for honoring configured and automatic hostnames, and for
432         setting the configured hostname.
433
434         * introspection/nm-ip4-config.xml
435           src/nm-ip4-config.c
436           src/nm-ip4-config.h
437           src/dhcp-manager/nm-dhcp-manager.c
438                 - Remove useless hostname property; it's not really part of the IPv4
439                         config
440
441         * introspection/nm-settings-system.xml
442           libnm-glib/nm-dbus-settings-system.c
443           libnm-glib/nm-dbus-settings-system.h
444                 - Add SetHostname() call to system settings D-Bus interface
445                 - Add Hostname property to system settings D-Bus interface
446                 - (nm_dbus_settings_system_save_hostname,
447                    nm_dbus_settings_system_get_hostname): implement
448
449         * src/nm-device.c
450           src/nm-device.h
451                 - (nm_device_get_dhcp4_config): implement
452
453         * src/nm-manager.c
454           src/nm-manager.h
455                 - Fetch and track system settings service hostname changes, and proxy
456                         the changes via a GObject property of the manager
457
458         * system-settings/src/nm-system-config-interface.c
459           system-settings/src/nm-system-config-interface.h
460                 - Replace nm_system_config_interface_supports_add() with a capabilities
461                         bitfield
462
463         * system-settings/src/nm-system-config-error.c
464           system-settings/src/nm-system-config-error.h
465                 - Add additional errors
466
467         * system-settings/src/dbus-settings.c
468           system-settings/src/dbus-settings.h
469                 - (get_property, nm_sysconfig_settings_class_init): add hostname
470                         property; first plugin returning a hostname wins
471                 - (impl_settings_add_connection): use plugin capabilities instead of
472                         nm_system_config_interface_supports_add()
473                 - (impl_settings_save_hostname): implement hostname saving
474
475         * src/NetworkManagerPolicy.c
476                 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
477                    lookup_thread_die): implement an asynchronous hostname lookup thread
478                         which given an IPv4 address tries to look up the hostname for that
479                         address with reverse DNS
480                 - (get_best_device): split out best device code from
481                         update_routing_and_dns()
482                 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
483                         to preserve the 127.0.0.1 reverse mapping that so many things require
484                 - (set_system_hostname): set a given hostname
485                 - (update_system_hostname): implement hostname policy; a configured
486                         hostname (from the system settings service) is used if available,
487                         otherwise an automatically determined hostname from DHCP, VPN, etc.
488                         If there was no automatically determined hostname, reverse DNS of
489                         the best device's IP address will be used, and as a last resort the
490                         hostname 'localhost.localdomain' is set.
491                 - (update_routing_and_dns): use get_best_device(); update the system
492                         hostname when the network config changes
493                 - (hostname_changed): update system hostname if the system settings
494                         service signals a hostname change
495                 - (nm_policy_new): list for system settings service hostname changes
496                 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
497                         gets told to die
498
499         * system-settings/plugins/keyfile/plugin.c
500           system-settings/plugins/ifcfg-suse/plugin.c
501                 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
502                         capabilities properties
503
504         * system-settings/plugins/ifcfg-fedora/shvar.c
505                 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
506                         writes out /etc/sysconfig/network now
507
508         * system-settings/plugins/ifcfg-fedora/plugin.c
509                 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
510                 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
511                 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
512                 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
513                 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
514                         hostname get/set and capabilities get
515
516 2008-09-18  Dan Williams  <dcbw@redhat.com>
517
518         * libnm-util/nm-setting-wireless.c
519                 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
520                         group ciphers if the wireless-security setting explicitly specified
521                         them, effectively making the default be "all ciphers"  (idea from
522                         Alexander Sack)
523
524 2008-09-15  Dan Williams  <dcbw@redhat.com>
525
526         Patch from Alexander Sack <asac@ubuntu.com>
527
528         * src/named-manager/nm-named-manager.c
529                 - (dispatch_resolvconf): respect resolvconf exit code
530
531 2008-09-12  Tambet Ingo  <tambet@gmail.com>
532
533         * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
534         again. Add some debugging.
535
536 2008-09-11  Dan Williams  <dcbw@redhat.com>
537
538         * system-settings/plugins/keyfile/plugin.c
539                 - (update_connection_settings): update connection manually, since
540                         nm_exported_connection_update() does authentication
541                 - (dir_changed): update_connection_settings() doesn't need to return
542                         an error
543
544 2008-09-09  Dan Williams  <dcbw@redhat.com>
545
546         * libnm-glib/nm-vpn-plugin-ui-interface.c
547           libnm-glib/nm-vpn-plugin-ui-interface.h
548           libnm-glib/libnm_glib_vpn.ver
549                 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
550                         should clean up resources related to the connection (like keyring
551                         secrets)
552                 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
553                         should save user-scope secrets (like to the keyring)
554
555 2008-09-08  Dan Williams  <dcbw@redhat.com>
556
557         Patch from Alexander Sack <asac@ubuntu.com>
558
559         * libnm-util/crypto_gnutls.c
560           libnm-util/crypto_nss.c
561                 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
562
563         * libnm-util/nm-utils.c
564           libnm-util/nm-utils.h
565           libnm-util/libnm-util.ver
566                 - (nm_utils_init): initialize libnm-util
567                 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
568
569         * libnm-util/nm-setting-8021x.c
570                 - (nm_setting_802_1x_class_init): init libnm-util when needed
571
572 2008-09-05  Dan Williams  <dcbw@redhat.com>
573
574         Patch from Roy Marples <roy@marples.name> and others
575
576         * configure.in
577           src/named-manager/nm-named-manager.c
578                 - Add support for resolvconf; use --with-resolvconf at configure time
579                         to enable it
580
581 2008-09-05  Dan Williams  <dcbw@redhat.com>
582
583         * libnm-util/crypto_nss.c
584           libnm-util/crypto_gnutls.c
585           libnm-util/crypto.h
586                 - (crypto_init): return error when init fails
587
588 2008-09-05  Dan Williams  <dcbw@redhat.com>
589
590         * libnm-glib/nm-device-wifi.c
591                 - (access_point_removed_proxy): clean up the active access point too
592                         just in case the active ap changed signal didn't come through yet
593                 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
594
595 2008-09-05  Dan Williams  <dcbw@redhat.com>
596
597         * libnm-glib/nm-client.c
598                 - (constructor): get initial state after we know whether NM is running
599                         or not
600
601 2008-09-05  Dan Williams  <dcbw@redhat.com>
602
603         * libnm-glib/nm-ip4-config.c
604           libnm-glib/nm-dhcp4-config.c
605                 - (finalize): clean up the DBusGProxy
606
607 2008-09-04  Dan Williams  <dcbw@redhat.com>
608
609         * src/nm-ip4-config.c
610           src/nm-ip4-config.h
611                 - (nm_ip4_config_new): don't export over D-Bus here
612                 - (nm_ip4_config_export): new function; export the config over D-Bus
613                 - (nm_ip4_config_is_exported): new function
614
615         * src/nm-device.c
616                 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
617                         objects by balancing the IP4Config constructor; the device holds
618                         a reference to the IP4Config already
619                 - (nm_device_set_ip4_config): export the IP4Config when needed
620
621 2008-09-04  Dan Williams  <dcbw@redhat.com>
622
623         * src/supplicant-manager/nm-supplicant-settings-verify.c
624                 - Allow WPA-NONE key management for Ad-Hoc WPA connections
625
626 2008-09-04  Dan Williams  <dcbw@redhat.com>
627
628         * libnm-util/nm-setting-vpn.c
629           libnm-util/nm-setting-vpn.h
630                 - Split VPN secrets from VPN data so that settings services can actually
631                         figure out that they are secrets and store them accordingly
632
633         * system-settings/plugins/keyfile/nm-keyfile-connection.c
634           system-settings/plugins/keyfile/reader.c
635           system-settings/plugins/keyfile/reader.h
636           system-settings/plugins/keyfile/writer.c
637                 - Store VPN secrets separately from VPN data so that they can be fetched
638                         on demand
639                 - Implement the get_secrets() call so that (a) secrets don't leak out
640                         to unprivileged callers, and (b) secrets can be sent to privileged
641                         callers when needed
642
643         * vpn-daemons/vpnc/src/nm-vpnc-service.c
644                 - Handle split VPN secrets
645
646 2008-08-27  Dan Williams  <dcbw@redhat.com>
647
648         * system-settings/plugins/ifcfg-fedora/reader.c
649                 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
650
651 2008-08-27  Dan Williams  <dcbw@redhat.com>
652
653         Ensure zombie children get cleaned up.  To get notifications when children
654         die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
655         that requires calling waitpid() yourself if you've removed the child watch
656         handler before the process has actually died, which NM needs to do in a few
657         places.  So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
658         cleans up after the child when required.  Should fix problems trying to
659         activate mobile broadband connections after a previous failure.
660
661         * src/dhcp-manager/nm-dhcp-dhclient.c
662           src/dhcp-manager/nm-dhcp-dhcpcd.c
663                 - Use G_SPAWN_DO_NOT_REAP_CHILD
664
665         * src/dhcp-manager/nm-dhcp-manager.c
666                 - (nm_dhcp_device_destroy): ensure child is cleaned up
667                 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
668                         block on child quitting, since the non-blocking functionality was
669                         never actually used
670
671         * src/dnsmasq-manager/nm-dnsmasq-manager.c
672                 - (dm_watch_cb): child is already reaped here
673                 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
674
675         * src/nm-device.c
676                 - (aipd_cleanup): block until child is dead
677
678         * src/named-manager/nm-named-manager.c
679                 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
680                         event bothering to watch the child
681
682         * src/ppp-manager/nm-ppp-manager.c
683                 - (ppp_watch_cb): child is already reaped here
684                 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
685
686         * src/vpn-manager/nm-vpn-service.c
687                 - (vpn_service_watch_cb): child is already reaped here
688                 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
689                         status of the child is actually tracked
690                 - (ensure_killed, finalize): block until child is dead
691
692 2008-08-26  Dan Williams  <dcbw@redhat.com>
693
694         * system-settings/plugins/keyfile/nm-keyfile-connection.c
695                 - (update): Update filename of the connection if the connection id
696                         was changed
697
698         * system-settings/plugins/keyfile/plugin.c
699                 - (dir_changed): first pass at handling connection renames correctly
700
701         * system-settings/plugins/keyfile/writer.c
702           system-settings/plugins/keyfile/writer.h
703                 - (write_connection): replace '/' with '*' when writing out the filename
704                         from the connection id
705
706 2008-08-26  Dan Williams  <dcbw@redhat.com>
707
708         Add connection UUIDs, since connection names can be changed, and since
709         old-style connection IDs could change over the life of the connection.  The
710         UUID should be assigned at connection creation time, be stable for a given
711         connection, and should be unique among all connections for a given settings
712         service.
713
714         * configure.in
715           libnm-util/Makefile.am
716                 - Require libuuid
717
718         * introspection/nm-exported-connection.xml
719                 - Remove "GetID" method
720
721         * libnm-glib/nm-dbus-connection.c
722           libnm-glib/nm-settings.c
723           libnm-glib/nm-settings.h
724                 - Remove id-related stuff
725
726         * libnm-util/nm-utils.c
727           libnm-util/nm-utils.h
728           libnm-util/libnm-util.ver
729                 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
730                         utility functions to generate UUIDs
731
732         * libnm-util/nm-setting-connection.c
733           libnm-util/nm-setting-connection.h
734                 - Add 'uuid' member to the connection setting
735                 - (verify): require valid 'uuid' for a valid connection
736
737         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
738           system-settings/plugins/ifcfg-fedora/reader.c
739           system-settings/plugins/ifcfg-suse/nm-suse-connection.c
740           system-settings/plugins/ifcfg-suse/parser.c
741           system-settings/plugins/keyfile/nm-keyfile-connection.c
742           system-settings/src/main.c
743                 - Remove id-related stuff
744                 - Give connections UUIDs where needed
745
746 2008-08-25  Dan Williams  <dcbw@redhat.com>
747
748         * libnm-util/crypto_gnutls.c
749           libnm-util/crypto_nss.c
750                 - (crypto_init, crypto_deinit): refcount init/deinit
751                 - (crypto_md5_hash): allow NULL salt
752
753 2008-08-22  Michael Biebl  <mbiebl@gmail.com>
754
755         * libnm-glib/Makefile.am
756           libnm-util/Makefile.am
757           libnm-glib/libnm_glib.ver
758           libnm-glib/libnm_glib_vpn.ver
759           libnm-util/libnm-util.ver
760                 - Use linker version scripts to control the list of exported 
761                 symbols. List each exported symbol explicitely.
762         * libnm-util/Makefile.am
763                 - Fix compilation of the test-crypto binary. The crypto
764                 functions are no longer part of the libnm-util API. Add 
765                 crypto_*.c to test_crypto_SOURCES and link against the correct
766                 crypto libraries.
767
768 2008-08-19  Dan Williams  <dcbw@redhat.com>
769
770         * configure.in
771           test/Makefile.am
772                 - Don't build test/test-common
773                 - Remove unused stuff
774
775         * test/nm-set-fallback
776           test/nmtestdevices.c
777           test/test-common/.cvsignore
778           test/test-common/Makefile.am
779           test/test-common/test-common.c
780           test/test-common/test-common.h
781                 - delete
782
783 2008-08-18  Dan Williams  <dcbw@redhat.com>
784
785         * libnm-util/nm-utils.c
786           libnm-util/nm-utils.h
787                 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
788                         export anything that needs to be converted with this function
789
790         * src/dhcp-manager/nm-dhcp-manager.c
791                 - (garray_to_string): convert a byte array to a UTF-8 string with
792                         minimal validation; the DHCP client sends it in ASCII anyway
793                 - (get_option, copy_option): use garray_to_string()
794
795 2008-08-18  Dan Williams  <dcbw@redhat.com>
796
797         * include/NetworkManager.h
798           introspection/nm-device.xml
799                 - Add a "missing firmware" device state reason
800
801         * src/NetworkManagerSystem.c
802           src/NetworkManagerSystem.h
803                 - (nm_system_device_set_up_down): add a no_firmware argument
804                 - (nm_system_device_set_up_down_with_iface): if the result of setting
805                         IFF_UP is ENOENT, that almost always means missing firmware
806
807         * src/backends/NetworkManagerGeneric.c
808           src/nm-device-ethernet.c
809           src/nm-device-private.h
810           src/nm-device-wifi.c
811           src/nm-device.c
812           src/nm-device.h
813           src/nm-hso-gsm-device.c
814           src/vpn-manager/nm-vpn-connection.c
815                 - Pass no_firmware along; check it where appropriate
816
817 2008-08-18  Dan Williams  <dcbw@redhat.com>
818
819         Patch from Robert Buchholz <rbu@gentoo.org>
820
821         * autogen.sh
822           configure.in
823                 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
824                         1003.1-1988, allowing for file names longer than 99 characters
825
826 2008-08-17  Dan Williams  <dcbw@redhat.com>
827
828         * include/NetworkManager.h
829           introspection/nm-device.xml
830           src/nm-gsm-device.c
831                 - Finer-grained GSM registration failure error codes
832
833 2008-08-17  Dan Williams  <dcbw@redhat.com>
834
835         * callouts/Makefile.am
836           src/Makefile.am
837                 - Move dispatcher directory creation to callouts/Makefile.am
838
839         * system-settings/plugins/keyfile/Makefile.am
840                 - Create keyfile connections directory in DESTDIR (bgo #546833)
841
842 2008-08-15  Dan Williams  <dcbw@redhat.com>
843
844         Do connection sharing in a cleaner manner; all required iptables rules
845         are now stored in the activation request and pertain only to the device
846         which is being shared to other computers. (rh #458625)
847
848         * src/nm-activation-request.c
849           src/nm-activation-request.h
850                 - (nm_act_request_add_share_rule): new function; add a sharing rule to
851                         the activation request which will get torn down automatically when
852                         the activation request dies
853                 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
854                         is started, and tear them down when sharing is stopped
855
856         * src/nm-device.c
857                 - (start_sharing): start up sharing by doing the required iptables magic
858                 - (share_init): poke the right bits of the kernel and load the right
859                         modules for NAT
860                 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
861                         connection if it's a 'shared' connection
862
863         * src/NetworkManagerPolicy.c
864                 - Remove all sharing stuff; done in the device code itself
865
866 2008-08-15  Dan Williams  <dcbw@redhat.com>
867
868         * src/dnsmasq-manager/nm-dnsmasq-manager.c
869                 - (create_dm_cmd_line): send the right router address
870
871 2008-08-15  Dan Williams  <dcbw@redhat.com>
872
873         * src/ppp-manager/nm-ppp-manager.c
874                 - (pppd_timed_out): ensure timeouts fail the connection
875
876 2008-08-14  Dan Williams  <dcbw@redhat.com>
877
878         * src/nm-properties-changed-signal.c
879           src/nm-properties-changed-signal.h
880                 - Add a property spec flag for "don't export this property" in
881                         property changed signals
882
883         * src/nm-hso-gsm-device.c
884           src/nm-gsm-device.c
885           src/nm-cdma-device.c
886                 - Don't export monitor interface or netdev interface properties
887
888 2008-08-14  Dan Williams  <dcbw@redhat.com>
889
890         * src/NetworkManagerPolicy.c
891                 - (update_routing_and_dns): 'hso' devices can be default even if they
892                         don't have a gateway
893
894 2008-08-14  Dan Williams  <dcbw@redhat.com>
895
896         * src/nm-device.c
897                 - (nm_device_deactivate_quickly): tear down activation request after
898                         calling device-specific deactivation
899
900         * src/nm-hso-gsm-device.c
901                 - (real_deactivate_quickly): terminate connection when deactivating
902
903 2008-08-14  Dan Williams  <dcbw@redhat.com>
904
905         * src/nm-activation-request.h
906                 - Add HSO secrets caller
907
908         * src/nm-gsm-device.c
909           src/nm-gsm-device.h
910                 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
911                         something to the callback function
912                 - (set_apn, set_apn_done): call class dial function, not a static one
913                 - (nm_gsm_device_class_init): add a class 'dial' function
914
915         * src/nm-hal-manager.c
916                 - (get_hso_netdev): find the hso-driven hardware's net device
917                 - (modem_device_creator): recognize hso-driven hardware and create the
918                         right type of device object for it
919
920         * src/Makefile.am
921           src/nm-hso-gsm-device.c
922           src/nm-hso-gsm-device.h
923                 - Implement support for devices driven by the 'hso' driver as a subclass
924                         of NMGsmDevice
925
926 2008-08-14  Dan Williams  <dcbw@redhat.com>
927
928         * src/NetworkManagerSystem.c
929                 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
930                 - (nm_system_device_set_up_down_with_iface): cleanups; only return
931                         success if the operation really was successful
932
933 2008-08-14  Dan Williams  <dcbw@redhat.com>
934
935         * src/nm-netlink-monitor.c
936           src/nm-netlink-monitor.h
937           src/nm-device-ethernet.c
938                 - (nm_netlink_monitor_request_status): return an error on failure
939                 - (constructor): don't segfault on missing error
940
941 2008-08-13  Dan Williams  <dcbw@redhat.com>
942
943         * callouts/nm-dispatcher-action.c
944                 - Add IP4 config info to script environment
945
946 2008-08-12  Dan Williams  <dcbw@redhat.com>
947
948         * src/nm-device.c
949                 - (nm_device_set_ip4_config): don't touch hostnames here; distros
950                         that want to use DHCP hostnames should use dispatcher scripts
951                         for that
952
953         * src/NetworkManagerSystem.h
954           src/backends/NetworkManagerArch.c
955           src/backends/NetworkManagerDebian.c
956           src/backends/NetworkManagerFrugalware.c
957           src/backends/NetworkManagerGeneric.c
958           src/backends/NetworkManagerGeneric.h
959           src/backends/NetworkManagerGentoo.c
960           src/backends/NetworkManagerMandriva.c
961           src/backends/NetworkManagerPaldo.c
962           src/backends/NetworkManagerRedHat.c
963           src/backends/NetworkManagerSlackware.c
964           src/backends/NetworkManagerSuSE.c
965                 - Remove nm_system_set_hostname(), no longer used
966           
967         * src/backends/Makefile.am
968           src/backends/shvar.c
969           src/backends/shvar.h
970                 - Remove shvar.*; no longer used
971
972 2008-08-12  Dan Williams  <dcbw@redhat.com>
973
974         Revert most of the 'hostname' patch.  Too much stuff still breaks when
975         hostname is updated at runtime.  Distros or users who want hostname updates
976         can use dispatcher scripts to update the hostname if they need it.
977
978 2008-08-12  Dan Williams  <dcbw@redhat.com>
979
980         * introspection/nm-settings-system.xml
981           system-settings/src/dbus-settings.c
982           system-settings/src/dbus-settings.h
983                 - Add a 'Hostname' property (rw) which represents the configured
984                         hostname and domain of the system, if any
985
986         * system-settings/src/nm-system-config-error.c
987           system-settings/src/nm-system-config-error.h
988           system-settings/src/nm-system-config-interface.c
989           system-settings/src/nm-system-config-interface.h
990                 - Add a 'hostname' property to the plugin interface
991                 - Add a method to send updated hostname to plugins to save in their
992                         backing configuration store
993
994         * system-settings/plugins/keyfile/nm-keyfile-connection.c
995           system-settings/plugins/keyfile/plugin.c
996           system-settings/plugins/keyfile/writer.c
997           system-settings/plugins/keyfile/writer.h
998           system-settings/plugins/ifcfg-suse/plugin.c
999                 - Add minimal hostname support
1000
1001         * system-settings/plugins/ifcfg-fedora/plugin.c
1002                 - Add support for updating system hostname in /etc/sysconfig/network
1003
1004 2008-08-12  Dan Williams  <dcbw@redhat.com>
1005
1006         * system-settings/plugins/ifcfg-fedora/shvar.c
1007           system-settings/plugins/ifcfg-fedora/shvar.c
1008                 - Fix double-free caused by svSetValue() followed by svCloseFile()
1009
1010 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1011
1012         * Makefile.am: Fix distcheck.
1013
1014 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1015
1016         * libnm-glib/*.c. Document some more.
1017
1018 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1019
1020         Start documenting libnm-glib public API using gtk-doc.
1021
1022         * libnm-glib/nm-serial-device.c: 
1023         * libnm-glib/nm-object.c: 
1024         * libnm-glib/nm-gsm-device.c: 
1025         * libnm-glib/nm-device.c: 
1026         * libnm-glib/nm-device-wifi.c: 
1027         * libnm-glib/nm-device-ethernet.c: 
1028         * libnm-glib/nm-client.c: 
1029         * libnm-glib/nm-cdma-device.c: Document the public API.
1030
1031         * docs/libnm-glib/libnm-glib.types: Implement.
1032
1033         * docs/libnm-glib/Makefile.am: Implement.
1034
1035         * autogen.sh: 
1036         * configure.in: 
1037         * Makefile.am: Add gtk-doc support.
1038
1039 2008-08-12  Tambet Ingo  <tambet@gmail.com>
1040
1041         * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1042
1043         * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1044         the composite result of all the IP4 configurations and call a distro
1045         specific update_resolv_conf().
1046         (update_resolv_conf): Implement one for directly writing to 
1047         /etc/resolv.conf and one for opensuse to call netconfig.
1048
1049 2008-08-11  Dan Williams  <dcbw@redhat.com>
1050
1051         * src/ppp-manager/nm-ppp-manager.c
1052                 - (impl_ppp_manager_need_secrets): pass interface as required
1053
1054 2008-08-11  Dan Williams  <dcbw@redhat.com>
1055
1056         Merge the vpn-properties setting with the vpn setting since it was pointless
1057         to keep both of them around.  Convert the vpn 'data' hash table to a hash
1058         of string:string (instead of string:variant) so that system settings plugins
1059         can have an easier time dealing with the arbitrary key/value pairs.
1060
1061 2008-08-11  Dan Williams  <dcbw@redhat.com>
1062
1063         * libnm-util/nm-utils.c
1064                 - (nm_utils_register_value_transformations): add value transform for
1065                         a hash table of string:string
1066
1067 2008-08-10  Dan Williams  <dcbw@redhat.com>
1068
1069         * libnm-glib/nm-vpn-plugin.c
1070                 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1071                         an idle handler so the Connect reply gets delivered before the
1072                         stop StateChanged signal
1073
1074 2008-08-10  Dan Williams  <dcbw@redhat.com>
1075
1076         * src/nm-ip4-config.c
1077                 - (get_property): use common ip4 address/route conversion functions
1078                 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1079                         copy the new route here, not take ownership
1080
1081 2008-08-08  Tambet Ingo  <tambet@gmail.com>
1082
1083         * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1084         Update the IP4 setting's method name.
1085
1086 2008-08-07  Dan Williams  <dcbw@redhat.com>
1087
1088         * introspection/nm-ip4-config.xml
1089           libnm-glib/libnm-glib-test.c
1090           libnm-glib/nm-ip4-config.c
1091           libnm-glib/nm-ip4-config.h
1092           src/NetworkManagerSystem.h
1093           src/backends/NetworkManagerArch.c
1094           src/backends/NetworkManagerDebian.c
1095           src/backends/NetworkManagerFrugalware.c
1096           src/backends/NetworkManagerGeneric.c
1097           src/backends/NetworkManagerGeneric.h
1098           src/backends/NetworkManagerGentoo.c
1099           src/backends/NetworkManagerMandriva.c
1100           src/backends/NetworkManagerPaldo.c
1101           src/backends/NetworkManagerRedHat.c
1102           src/backends/NetworkManagerSlackware.c
1103           src/backends/NetworkManagerSuSE.c
1104           src/dhcp-manager/nm-dhcp-manager.c
1105           src/nm-device.c
1106           src/nm-ip4-config.c
1107           src/nm-ip4-config.h
1108                 - Remove NIS logic; should be done from dispatcher scripts instead
1109
1110 2008-08-07  Dan Williams  <dcbw@redhat.com>
1111
1112         * src/dhcp-manager/nm-dhcp-manager.c
1113                 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1114                         mis-handling of DHCP responses that returned more than one router
1115                         (found by Grant Williamson)
1116
1117 2008-08-07  Dan Williams  <dcbw@redhat.com>
1118
1119         * callouts/nm-dispatcher-action.c
1120                 - (nm_dispatcher_action): grab device path and create the device; pass
1121                         the device's DHCP4 config to script caller
1122                 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1123                         scripts
1124
1125         * libnm-glib/nm-dhcp4-config.c
1126           libnm-glib/nm-dhcp4-config.h
1127                 - (nm_dhcp4_config_get_options): expose
1128                 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1129
1130 2008-08-07  Dan Williams  <dcbw@redhat.com>
1131
1132         * include/NetworkManager.h
1133                 - Add the DHCP4Config D-Bus interface
1134
1135         * libnm-glib/Makefile.am
1136           libnm-glib/nm-dhcp4-config.c
1137           libnm-glib/nm-dhcp4-config.h
1138                 - Handle DHCP4 config objects exported by NM over D-Bus
1139
1140         * libnm-glib/nm-device.c
1141           libnm-glib/nm-device.h
1142                 - Add a 'dhcp4-config' property
1143
1144         * libnm-glib/libnm-glib-test.c
1145                 - Print out DHCP4 config for devices
1146                 - Fix some crashes when no connections are active
1147
1148         * src/nm-device-interface.c
1149           src/nm-device.c
1150           src/nm-dhcp4-config.c
1151           src/nm-dhcp4-config.h
1152                 - Treat dhcp4-config object as an object path at the D-Bus interface so
1153                         that when it doesn't exist we can proxy it as "/" which dbus-glib
1154                         doesn't let us do when the property type is G_TYPE_OBJECT
1155
1156 2008-08-07  Dan Williams  <dcbw@redhat.com>
1157
1158         * src/NetworkManager.c
1159           src/NetworkManagerSystem.h
1160           src/backends/NetworkManagerArch.c
1161           src/backends/NetworkManagerDebian.c
1162           src/backends/NetworkManagerFrugalware.c
1163           src/backends/NetworkManagerGeneric.c
1164           src/backends/NetworkManagerGeneric.h
1165           src/backends/NetworkManagerGentoo.c
1166           src/backends/NetworkManagerMandriva.c
1167           src/backends/NetworkManagerPaldo.c
1168           src/backends/NetworkManagerRedHat.c
1169           src/backends/NetworkManagerSlackware.c
1170           src/backends/NetworkManagerSuSE.c
1171                 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1172
1173 2008-08-06  Dan Williams  <dcbw@redhat.com>
1174
1175         * libnm-glib/nm-ip4-config.c
1176           libnm-glib/nm-ip4-config.h
1177                 - Add 'routes' property
1178
1179         * libnm-util/nm-setting-vpn.c
1180           libnm-util/nm-setting-vpn.h
1181                 - Remove 'routes' property
1182
1183         * libnm-util/nm-setting-ip4-config.c
1184           libnm-util/nm-setting-ip4-config.h
1185                 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1186                 - Add 'ignore-auto-routes' property
1187                 - 'routes' exposed over D-Bus is now an array of array of uint (4) to 
1188                         accomodate route metrics
1189                 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1190
1191         * libnm-util/nm-utils.c
1192           libnm-util/nm-utils.h
1193                 - Add helpers for marshalling IP4 routes
1194
1195         * src/NetworkManagerUtils.c
1196                 - (nm_utils_merge_ip4_config): handle property renames and new route
1197                         structure
1198
1199         * src/NetworkManagerSystem.c
1200                 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1201                    nm_system_vpn_device_set_from_ip4_config): respect route metrics
1202
1203         * src/dhcp-manager/nm-dhcp-manager.c
1204                 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1205
1206         * system-settings/plugins/ifcfg-fedora/reader.c
1207           system-settings/plugins/ifcfg-fedora/writer.c
1208                 - Handle routes separately from addresses now that routes have a different
1209                         format
1210
1211         * introspection/nm-ip4-config.xml
1212           src/nm-ip4-config.c
1213           src/nm-ip4-config.h
1214                 - Rename internal routing functions
1215                 - 'static-routes' renamed to 'routes'
1216
1217 2008-08-04  Dan Williams  <dcbw@redhat.com>
1218
1219         Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1220
1221         * src/NetworkManager.c
1222           src/nm-manager.c
1223           src/nm-manager.h
1224                 - More explicitly make the NMManager a singleton
1225
1226 2008-08-04  Dan Williams  <dcbw@redhat.com>
1227
1228         * libnm-util/nm-connection.c
1229           libnm-util/nm-connection.h
1230                 - (nm_connection_verify): return error on missing 'connection' setting
1231                         (found by Sjoerd Simons)
1232
1233 2008-08-04  Dan Williams  <dcbw@redhat.com>
1234
1235         Handle multiple concurrent PPP connections.
1236
1237         * src/ppp-manager/nm-ppp-manager.c
1238           src/ppp-manager/nm-ppp-manager.h
1239                 - (constructor): only PPP Manager request bus name once; each
1240                         NMPPPManager object gets a unique object path
1241                 - (nm_ppp_manager_class_init, get_property, set_property,
1242                    nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1243                         at construct time
1244                 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1245                         remove timeout until PPP manager gets an IP4 config
1246                 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1247                         the plugin can call back to this specific PPP manager instance
1248
1249         * src/nm-device-ethernet.c
1250           src/nm-serial-device.c
1251                 - Pass parent device in nm_ppp_manager_new()
1252
1253         * src/nm-gsm-device.c
1254           src/nm-cdma-device.c
1255                 - (device_state_changed): don't close serial device on NEED_AUTH
1256                         state changed, that's not a failure case like the rest are
1257
1258         * src/ppp-manager/nm-pppd-plugin.c
1259                 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1260                         binds one interface to any pppd process, thus the correct index
1261                         is always 0; send PHASE_DEAD on error to alert NM immediately of
1262                         problems; try harder to get a peer address in spite of pppd
1263                 - (plugin_init): use 'ipparam' as the object path back to our specific
1264                         PPP manager instance
1265
1266 2008-08-04  Dan Williams  <dcbw@redhat.com>
1267
1268         * src/ppp-manager/nm-ppp-manager.c
1269                 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1270                         since the GSM and CDMA settings now implement need_secrets, we can
1271                         rely on them to do the right thing.  Where secrets are not required,
1272                         just pass empty strings back to the pppd plugin.
1273                 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1274                 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1275                         on successful IP4 config receipt
1276
1277 2008-08-04  Dan Williams  <dcbw@redhat.com>
1278
1279         * libnm-util/nm-setting-cdma.c
1280           libnm-util/nm-setting-gsm.c
1281                 - (verify): validate username & password if they exist
1282                 - (need_secrets): if username given, require a password too
1283
1284 2008-08-04  Dan Williams  <dcbw@redhat.com>
1285
1286         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1287                 - (create_dm_cmd_line): really don't listen on lo, despite what the
1288                         manpage says about --listen-address without --interface
1289                         (bgo #546033)
1290
1291 2008-08-01  Dan Williams  <dcbw@redhat.com>
1292
1293         * libnm-glib/nm-device.c
1294                 - (proxy_get_string): util function for querying a HAL property
1295                 - (get_ancestor_device): split out from get_product_and_vendor()
1296                 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1297                         from PCI devices by querying subsys properties
1298                 - (nm_device_update_description): simplify
1299
1300 2008-08-01  Dan Williams  <dcbw@redhat.com>
1301
1302         * libnm-util/nm-setting-ip4-config.c
1303           libnm-util/nm-setting-ip4-config.h
1304                 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1305                         'autoip' -> 'link-local'.  VPN & PPP connections can also have IPv4
1306                         settings, and they don't necessarily use DHCP.
1307
1308         * src/NetworkManagerPolicy.c
1309           src/nm-device.c
1310           system-settings/plugins/ifcfg-fedora/reader.c
1311           system-settings/plugins/ifcfg-suse/parser.c
1312                 - Fixup for method changes
1313
1314 2008-07-31  Dan Williams  <dcbw@redhat.com>
1315
1316         * src/nm-activation-request.c
1317           src/vpn-manager/nm-vpn-connection.c
1318                 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1319                         itself should be attached to the activation request or the VPN
1320                         connection, not the NMConnection object, since the call is not
1321                         expected to live as long as the NMConnection itself
1322
1323 2008-07-31  Dan Williams  <dcbw@redhat.com>
1324
1325         * src/nm-device-wifi.c
1326                 - (real_act_stage2_config): fix issue where association would continue
1327                         even though secrets were needed; 'goto out' was in wrong scope and
1328                         result of handle_auth_or_fail() should have been dumped directly to
1329                         'ret' to ensure that the association was postponed until secrets
1330                         are available
1331
1332 2008-07-31  Dan Williams  <dcbw@redhat.com>
1333
1334         * system-settings/plugins/ifcfg-fedora/plugin.c
1335           system-settings/plugins/ifcfg-fedora/reader.c
1336                 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1337                         valid NM connection
1338
1339 2008-07-29  Dan Williams  <dcbw@redhat.com>
1340
1341         * src/nm-gsm-device.c
1342                 - (automatic_registration_response, automatic_registration): recognize
1343                         denied registration and reorder responses
1344
1345 2008-07-29  Dan Williams  <dcbw@redhat.com>
1346
1347         * src/nm-serial-device.c
1348                 - (nm_serial_device_wait_for_reply): fix timeout calculation.  Since
1349                         time(2) is used for current time, which returns seconds, we shouldn't
1350                         be multiplying by 1000.
1351
1352 2008-07-28  Dan Williams  <dcbw@redhat.com>
1353
1354         Patch from Fabrice Bellet <fabrice@bellet.info>
1355
1356         * src/NetworkManagerSystem.c
1357                 - (route_in_same_subnet): mask addresses and compare them so that the
1358                         function actually does what it says it's going to do (rh #456685)
1359
1360 2008-07-27  Dan Williams  <dcbw@redhat.com>
1361
1362         * libnm-util/nm-setting-ip6-config.c
1363                 - (set_property): add missing break that caused routes to be overwritten
1364                         with addresses
1365
1366         * libnm-util/nm-setting-ip6-config.c
1367                 - (verify): validate routes and return GError everywhere on invalid setting
1368                 - (finalize): don't leak routes
1369                 - (set_property): add missing break that caused routes to be overwritten
1370                         with addresses
1371
1372 2008-07-27  Dan Williams  <dcbw@redhat.com>
1373
1374         * libnm-util/*
1375                 - Relicense to LGPLv2+
1376
1377 2008-07-27  Dan Williams  <dcbw@redhat.com>
1378
1379         * system-settings/plugins/ifcfg-fedora/reader.c
1380                 - (make_ip4_setting): fix parsing automatic configs
1381
1382 2008-07-27  Dan Williams  <dcbw@redhat.com>
1383
1384         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1385           src/nm-device.c
1386           src/ppp-manager/nm-ppp-manager.c
1387                 - Ensure child process gets reaped.  The child watch function may be
1388                         removed from the mainloop before the child gets killed, so we have
1389                         to make sure the child is reaped when it's told to die intentionally
1390
1391 2008-07-27  Dan Williams  <dcbw@redhat.com>
1392
1393         Patch from Roy Marples <roy@marples.name>
1394
1395         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1396                 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1397
1398 2008-07-27  Dan Williams  <dcbw@redhat.com>
1399
1400         * src/nm-gsm-device.c
1401                 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1402                         Huawei devices turn echo back on after CPIN (rh #456770)
1403
1404 2008-07-24  Tambet Ingo  <tambet@gmail.com>
1405
1406         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1407         format argument to g_set_error() call.
1408
1409         * src/backends/interface_parser.[ch]: Remove.
1410
1411         * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1412
1413 2008-07-21  Dan Williams  <dcbw@redhat.com>
1414
1415         * src/ppp-manager/nm-ppp-manager.c
1416                 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1417                         to prevent pppd from picking up some random local address from an
1418                         interface that doesn't have anything to do with the one we're
1419                         interested in (rh #455348)
1420
1421 2008-07-17  Dan Williams  <dcbw@redhat.com>
1422
1423         * libnm-util/nm-utils.c
1424                 - (string_to_utf8): general function for conversion to UTF-8 assisted
1425                         by locale
1426                 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1427                 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1428
1429 2008-07-17  Dan Williams  <dcbw@redhat.com>
1430
1431         * introspection/Makefile.am
1432           introspection/nm-device.xml
1433           introspection/nm-dhcp4-config.xml
1434                 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1435                         itself
1436         * src/nm-device-interface.c
1437           src/nm-device-interface.h
1438                 - Add the DHCP4Config property
1439
1440         * src/nm-device.c
1441                 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1442                         D-Bus clients when it changes
1443
1444         * src/nm-dhcp4-config.c
1445           src/nm-dhcp4-config.h
1446                 - Simple object to store DHCP4 options, export them over D-Bus, and
1447                         notify when they change
1448
1449         * src/dhcp-manager/nm-dhcp-manager.c
1450           src/dhcp-manager/nm-dhcp-manager.h
1451                 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1452                         filter server-returned DHCP options into an NMDHCP4Config object
1453
1454 2008-07-16  Dan Williams  <dcbw@redhat.com>
1455
1456         * introspection/nm-device.xml
1457                 - Add device state reasons
1458
1459 2008-07-16  Dan Williams  <dcbw@redhat.com>
1460
1461         Patch from Roy Marples <roy@marples.name>
1462
1463         * configure.in
1464                 - Add --with-dhcp-client option
1465
1466         * src/dhcp-manager/Makefile.am
1467                 - pass DHCP_CLIENT_PATH on compile line
1468
1469         * src/dhcp-manager/nm-dhcp-manager.c
1470           src/dhcp-manager/nm-dhcp-manager.h
1471                 - Genericize for both dhcpcd and dhclient
1472
1473         * src/dhcp-manager/nm-dhcp-dhclient.c
1474                 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1475
1476         * src/dhcp-manager/nm-dhcp-dhcpcd.c
1477                 - Implement support for dhcpcd too
1478
1479 2008-07-16  Tambet Ingo  <tambet@gmail.com>
1480
1481         * system-settings/src/nm-system-config-interface.c 
1482         (nm_system_config_interface_supports_add): Implement.
1483         (nm_system_config_interface_add_connection): Return a boolean to notify
1484         of errors.
1485
1486         * system-settings/src/nm-polkit-helpers.c: 
1487         * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1488         a separate file.
1489
1490         * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1491         Return an error when none of the plugins support add or if addition
1492         failed for some reason.
1493
1494         * system-settings/src/nm-system-config-error.h: 
1495         * system-settings/src/nm-system-config-error.c: New files, mostly moved
1496         here from nm-polkit-helpers.[ch].
1497
1498         * system-settings/src/Makefile.am: Build new files.
1499
1500         * system-settings/plugins/keyfile/reader.c 
1501         (read_array_of_array_of_uint): Make it more general so that it would
1502         work for routes as well.
1503
1504         * system-settings/plugins/keyfile/writer.c
1505         (write_array_of_array_of_uint): Ditto.
1506         Fix the netmask/prefix writing.
1507
1508         * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1509         boolean to notify errors.
1510
1511         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1512         Return more specific error.
1513         (delete): Ditto.
1514
1515 2008-07-11  Dan Williams  <dcbw@redhat.com>
1516
1517         Modify the NMDevice::state-changed signal to include the previous state
1518         and reason. Enables the applet to provide more information why device
1519         activation failed.
1520
1521 2008-07-09  Dan Williams  <dcbw@redhat.com>
1522
1523         * callouts/Makefile.am
1524           callouts/nm-avahi-autoipd-action.c
1525           callouts/nm-avahi-autoipd.conf
1526                 - avahi-autoipd callout to send options back to NM
1527
1528         * src/autoip.c
1529           src/autoip.h
1530                 - remove
1531
1532         * src/nm-device.c
1533           src/nm-device-private.h
1534           src/nm-manager.c
1535                 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1536                         old custom stuff
1537
1538 2008-07-07  Dan Williams  <dcbw@redhat.com>
1539
1540         * system-settings/plugins/ifcfg-fedora/reader.c
1541                 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1542                         handle PREFIX too; clean up
1543
1544 2008-07-07  Dan Williams  <dcbw@redhat.com>
1545
1546         Convert to using IPv4 prefixes instead of netmasks.
1547
1548 2008-07-03  Dan Williams  <dcbw@redhat.com>
1549
1550         * libnm-util/nm-setting-ip4-config.c
1551           libnm-util/nm-setting-ip4-config.h
1552                 - Add properties for DHCP Client Identifier and DHCP Hostname
1553
1554         * src/dhcp-manager/nm-dhcp-manager.c
1555           src/dhcp-manager/nm-dhcp-manager.h
1556                 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1557                         setting as an argument to pass on to the dhclient config file
1558                         creation function
1559                 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1560                         DHCP is torn down
1561                 - (dhclient_run): punt config file handling to create_dhclient_config()
1562                 - (create_dhclient_config): create an interface-specific dhclient
1563                         config file since there may need to be interface-specific options
1564                         passed to dhclient
1565                 - (merge_dhclient_config): merge normal distro dhclient config file and
1566                         add options from the connection
1567                 - (nm_dhcp_device_new): generate the interface specific dhclient
1568                         config file path once
1569                 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1570                         dhclient config file path
1571
1572         * src/nm-device.c
1573                 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1574                         DHCP manager when starting DHCP
1575
1576 2008-07-02  Dan Williams  <dcbw@redhat.com>
1577
1578         * libnm-util/nm-setting-8021x.c
1579                 - (verify): allow forcing the PEAP label to 0
1580
1581 2008-07-02  Dan Williams  <dcbw@redhat.com>
1582
1583         * introspection/nm-active-connection.xml
1584           introspection/nm-vpn-connection.xml
1585           libnm-glib/nm-active-connection.c
1586           src/nm-activation-request.c
1587           src/nm-active-connection.h
1588           src/vpn-manager/nm-vpn-connection.c
1589                 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1590                         and libnm-glib API since sharing didn't get implemented that way
1591
1592 2008-07-02  Dan Williams  <dcbw@redhat.com>
1593
1594         * src/nm-device-wifi.c
1595                 - (can_scan): don't scan when a shared connection is activated since
1596                         that makes drivers mad (causing disconnects); also NM doesn't need
1597                         to hedge against disconnects by keeping up-to-date network topology
1598                         because the connection originates from the local machine, and thus
1599                         there should be no disconnects
1600
1601 2008-07-01  Dan Williams  <dcbw@redhat.com>
1602
1603         Fix mobile broadband username/password issues.  NM was never requesting
1604         mobile broadband secrets, nor was it passing back the username and password
1605         if it had them.
1606
1607         * marshallers/nm-marshal.list
1608                 - Add some new types for activation request objects
1609
1610         * src/nm-activation-request.c
1611           src/nm-activation-request.h
1612                 - (get_secrets_cb): pass the caller type in the signal
1613                 - (nm_act_request_request_connection_secrets): take a caller type, so
1614                         that GetSecrets() reply handlers know who asked for the secrets in
1615                         the first place; use secret hints too so the settings service can
1616                         figure out exactly what NM wants (ie, PIN or the PPP password)
1617
1618         * src/ppp-manager/nm-ppp-manager.c
1619           src/ppp-manager/nm-ppp-manager.h
1620                 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1621                         detect needed secrets when the secret could be blank, like GSM/CDMA
1622                         passwords.  So always ask for secrets, and send a hint as to what
1623                         secret we really want.
1624                 - (nm_ppp_manager_update_secrets): make function more generic by making
1625                         the device specific class figure out the username and password, and
1626                         accept an error argument to return back over D-Bus
1627
1628         * src/nm-device-wifi.c
1629                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1630                         nm_act_request_request_connection_secrets()
1631                 - (real_connection_secrets_updated): update for 'caller' changes
1632
1633         * src/nm-device.c
1634           src/nm-device.h
1635                 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1636                         for 'caller' changes
1637
1638         * src/nm-device-ethernet.c
1639                 - (real_connection_secrets_updated): update for 'caller' changes and
1640                         move logic for getting PPPoE username and password here before
1641                         calling nm_ppp_manager_update_secrets()
1642                 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1643                         nm_act_request_request_connection_secrets()
1644
1645         * src/nm-cdma-device.c
1646                 - (real_connection_secrets_updated): pass username and password back
1647                         to the PPP manager when required
1648
1649         * src/nm-gsm-device.c
1650                 - (enter_pin): send the required secret name to the settings service
1651                 - (real_connection_secrets_updated): pass username and password back
1652                         to the PPP manager when required
1653
1654 2008-06-30  Dan Williams  <dcbw@redhat.com>
1655
1656         * src/nm-device-wifi.c
1657                 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1658
1659 2008-06-30  Dan Williams  <dcbw@redhat.com>
1660
1661         Attempt to fix various issues causing rh #448889.  Mainly, to qualify for
1662         the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1663         priv->supplicant.iface.  When either condition is false, the device should
1664         transition back to UNAVAILABLE because it cannot be used.
1665
1666         * src/nm-device-wifi.c
1667                 - (constructor): cleanup; connect to supplicant manager here since the
1668                         supplicant manager is always around
1669                 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1670                         ensure the supplicant manager is in the IDLE state
1671                 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1672                         cancel any pending scans too
1673                 - (real_bring_up): don't set up the supplicnat interface here, because
1674                         we need the supplicant interface at times when the device may not
1675                         be "up"
1676                 - (real_take_down): just remove the periodic source
1677                 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1678                 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1679                         do anything if there's no supplicant interface
1680                 - (cleanup_association_attempt): cleanup
1681                 - (supplicant_iface_state_cb_handler): request an immediate scan when
1682                         the interface enters the READY state; transition to UNAVAILABLE
1683                         state when the interface goes down because the device can't be used
1684                         without a supplicant interface
1685                 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1686                         up and transition to UNAVAILABLE; if the supplicant becomes ready,
1687                         acquire the supplicant interface and transition to DISCONNECTED
1688                         if the radio isn't killed
1689                 - (nm_device_wifi_dispose): move most of device_cleanup() here
1690                 - (state_changed_cb): release any existing supplicant interface; if the
1691                         radio is enabled then try to acquire a new supplicant interface;
1692                         if the radio is enabled and a supplicant interface has been acquired,
1693                         we can transition to DISCONNECTED
1694                 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1695                         don't enable the radio, because HAL probably lied to us about the
1696                         killswitch being off.  If bringing the hardware up worked, then
1697                         try to grab a supplicant interface, and if that was successful,
1698                         transition to DISCONNECTED
1699
1700 2008-06-30  Dan Williams  <dcbw@redhat.com>
1701
1702         * src/supplicant-manager/nm-supplicant-interface.c
1703                 - (request_scan_results, nm_supplicant_interface_dispose,
1704                    wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1705                         the id of the timeout, not a GSource
1706
1707 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1708
1709         * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a 
1710         bunch of typoes introduced by "Patch from David Cantrell 
1711         <dcantrell@redhat.com> and me".
1712
1713 2008-06-30  Tambet Ingo  <tambet@gmail.com>
1714
1715         * src/nm-serial-device.c: 
1716         * src/nm-gsm-device.c: 
1717         * src/nm-cdma-device.c: Move the pending call handling to a common location
1718         in serial device. Handle setting device state to failed in one place as well.
1719
1720 2008-06-29  Dan Williams <dcbw@redhat.com>
1721
1722         * src/nm-hal-manager.c
1723                 - Rework killswitch handling to query killswitch status immediately
1724                         when the first killswitch is added, so that rfkill state is
1725                         known as early as possible
1726                 - Also treat failure of GetPower() as rfkill when the dbus method
1727                         call times out (but not when the HAL callout returns an error)
1728
1729 2008-06-26  Dan Williams <dcbw@redhat.com>
1730
1731         Patch from David Cantrell <dcantrell@redhat.com> and me
1732
1733         * include/nm-dbus-glib-types.h
1734                 - Add IP6 address types
1735
1736         * libnm-util/Makefile.am
1737           libnm-util/nm-setting-ip6-config.c
1738           libnm-util/nm-setting-ip6-config.h
1739                 - Add IP6 settings object
1740
1741         * libnm-util/nm-connection.c
1742                 - (register_default_settings): register ip6 settings object
1743
1744         * libnm-util/nm-utils.c
1745           libnm-util/nm-utils.h
1746                 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1747                    nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1748                         ip6 address conversion functions
1749         
1750 2008-06-26  Dan Williams <dcbw@redhat.com>
1751
1752         Patch from David Cantrell <dcantrell@redhat.com>
1753         
1754         * Use inet_ntop() and inet_pton() everwhere and check for errors
1755
1756 2008-06-26  Dan Williams <dcbw@redhat.com>
1757
1758         * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1759
1760 2008-06-26  Dan Williams <dcbw@redhat.com>
1761
1762         Patch from Adel Gadllah <adel.gadllah@gmail.com>
1763
1764         * src/nm-device-wifi.c
1765                 - (link_timeout_cb): don't ignore disconnects due to scanning
1766                 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1767                         a longer timeout when scanning; avoids case where supplicant can't
1768                         find the AP and just keeps scanning forever but isn't connected
1769
1770 2008-06-26  Dan Williams <dcbw@redhat.com>
1771
1772         Patch from Michael Biebl <biebl@debian.org>
1773
1774         * Clean up build system stuff
1775
1776 2008-06-23  Christian Persch  <chpe@gnome.org>
1777
1778         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1779         * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1780         * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1781         (impl_get_object):
1782         * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1783         (impl_get_object):
1784         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1785         * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1786         * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1787         (impl_get_object):
1788         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1789         * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1790         * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1791         * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1792         * vpn-daemons/pptp/properties/vpnui_opt.c:
1793         (vpnui_opt_connect_signals):
1794         * vpn-daemons/pptp/properties/vpnui_opt.h:
1795         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1796         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1797         deprecated gtk type macros. Bug #539325.
1798
1799 2008-06-20  Dan Williams  <dcbw@redhat.com>
1800
1801         * libnm-glib/nm-vpn-plugin-ui-interface.c
1802           libnm-glib/nm-vpn-plugin-ui-interface.h
1803                 - 'validity-changed' -> 'changed' to work better with the connection
1804                         editor.  Plugin UI widgets should emit 'changed' whenever their
1805                         UI values change in a meaningful way.
1806                 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1807                         update_connection member now returns validity of the UI widget
1808
1809 2008-06-20  Tambet Ingo  <tambet@gmail.com>
1810
1811         * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1812
1813 2008-06-17  Dan Williams  <dcbw@redhat.com>
1814
1815         * libnm-glib/nm-vpn-plugin-ui-interface.c
1816           libnm-glib/nm-vpn-plugin-ui-interface.h
1817                 - Add "desc" property for longer descriptions of the VPN plugin
1818
1819 2008-06-16  Dan Williams  <dcbw@redhat.com>
1820
1821         * configure.in
1822           libnm-glib/libnm_glib_vpn.pc.in
1823                 - add a .pc file for libnm_glib_vpn
1824
1825         * libnm-glib/nm-vpn-plugin-ui-interface.c
1826           libnm-glib/nm-vpn-plugin-ui-interface.h
1827                 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1828                         rework it substantially
1829
1830 2008-06-12  Dan Williams  <dcbw@redhat.com>
1831
1832         Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1833         and add error enums to each NMSetting subclass.  Each NMSetting subclass now
1834         returns a descriptive GError when verification fails.
1835
1836 2008-06-11  Dan Williams  <dcbw@redhat.com>
1837
1838         Patch from Tambet Ingo <tambet@gmail.com>
1839
1840         * libnm-util/nm-setting-gsm.c
1841                 - (verify): validate APN
1842
1843         * src/nm-gsm-device.c
1844                 - (manual_registration_done): start setting APN if needed
1845                 - (set_apn, set_apn_done): set the APN
1846                 - (do_dial): use the APN when dialing
1847
1848 2008-06-11  Dan Williams  <dcbw@redhat.com>
1849
1850         * src/NetworkManagerSystem.c
1851                 - (nm_system_device_set_ip4_route,
1852                    nm_system_device_replace_default_ip4_route): check for the right
1853                         return value from rtnl_route_add() to know when to add a gateway
1854                         route (from Tambet)
1855
1856 2008-06-11  Dan Williams  <dcbw@redhat.com>
1857
1858         * src/NetworkManagerPolicy.c
1859                 - do_ipt_cmd -> do_cmd
1860                 - (sharing_init): use do_cmd() instead of system()
1861
1862 2008-06-10  Dan Williams  <dcbw@redhat.com>
1863
1864         The grand 802-11-wireless rename.  Get rid of the 802-11/80211/802_11 bits
1865         and use "wifi" everwhere instead.
1866
1867 2008-06-10  Dan Williams  <dcbw@redhat.com>
1868
1869         The grand 802-3-ethernet rename.  Get rid of the 802-3/8023/802_3 bits.
1870
1871 2008-06-10  Dan Williams  <dcbw@redhat.com>
1872
1873         Patch from Tambet Ingo <tambet@gmail.com>
1874
1875         * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
1876                 changes.
1877
1878         * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
1879                 a signal to emit these changes over dbus.
1880
1881         * src/Makefile.am: Genereate nm-serial-device-glue.
1882
1883         * libnm-glib/nm-serial-device.[ch]: Implement.
1884
1885         * libnm-glib/nm-cdma-device.[ch]
1886           libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
1887
1888         * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
1889
1890         * introspection/nm-device-serial.xml: Implement.
1891
1892         * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
1893
1894         * introspection/Makefile.am: Add nm-device-serial.xml.
1895
1896         * include/NetworkManager.h: Add a DBus interface for serial device.
1897
1898 2008-06-10  Dan Williams  <dcbw@redhat.com>
1899
1900         * configure.in
1901                 - Add TARGET_* define to config.h to distinguish distros
1902
1903         * src/dhcp-manager/nm-dhcp-manager.c
1904                 - (dhclient_run): use distro-specific path for dhclient config file
1905
1906 2008-06-09  Dan Williams  <dcbw@redhat.com>
1907
1908         * src/dnsmasq-manager/nm-dnsmasq-manager.c
1909           src/dnsmasq-manager/nm-dnsmasq-manager.h
1910                 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
1911                         calculate the addresses passed to dnsmasq instead of hard-coding
1912                         them
1913
1914         * src/nm-device.c
1915                 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
1916                         IP addresses for shared connections to guard against shared
1917                         connection address collisions
1918                 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
1919                         error conditions
1920                 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
1921                         the dnsmasq manager
1922
1923 2008-06-09  Dan Williams  <dcbw@redhat.com>
1924
1925         * src/NetworkManagerPolicy.c
1926                 - (update_routing_and_dns): set the default connection _after_ unsetting
1927                         default on all non-default connections so that two connections can
1928                         never be default at the same time
1929                 - (device_state_changed): start and stop connection sharing when
1930                         needed
1931                 - (active_connection_default_changed): restart or stop sharing when
1932                         the default connection changes to keep shared connections always
1933                         NAT-ed through the default connection
1934                 - (check_sharing): handle activation/deactivation of shared connections
1935                 - (sharing_restart): atom-bomb approach to connection sharing until we
1936                         can use libnl; reinit all sharing when the default connection or
1937                         shared connections change
1938                 - (sharing_init, sharing_stop): evil functions that init and deinit
1939                         iptables
1940
1941 2008-06-09  Dan Williams  <dcbw@redhat.com>
1942
1943         * src/nm-activation-request.c
1944           src/nm-activation-request.h
1945                 - (nm_act_request_set_shared, nm_act_request_get_shared,
1946                    nm_act_request_get_device): new functions to facilitate connection
1947                         sharing
1948
1949 2008-06-09  Dan Williams  <dcbw@redhat.com>
1950
1951         * src/nm-device.c
1952                 - (clear_act_request): unset the 'default' property of the activation
1953                         request when clearing it to ensure the property changed signal gets
1954                         delivered and handled
1955
1956 2008-06-09  Dan Williams  <dcbw@redhat.com>
1957
1958         * libnm-glib/nm-device-802-11-wireless.c
1959                 - (access_point_removed_proxy): actually unref the AP after removing
1960                         it from the device's AP list.  Fixes refcounting bug for APs that
1961                         caused them to get mixed up in the applet's menu.
1962
1963 2008-06-09  Tambet Ingo  <tambet@gmail.com>
1964
1965         * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
1966         (nm_dhcp_device_destroy): Destroy the device options hash table.
1967
1968 2008-06-06  Dan Williams <dcbw@redhat.com>
1969
1970         * system-settings/src/nm-polkit-helpers.c
1971                 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
1972                         unref the context if the initialization fails; also avoid spew when
1973                         the error isn't set
1974
1975 2008-06-06  Dan Williams <dcbw@redhat.com>
1976
1977         Patch from Tambet Ingo  <tambet@gmail.com>
1978
1979         * src/NetworkManagerSystem.c
1980           src/NetworkManagerSystem.h
1981                 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
1982                 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
1983                 - (nm_system_device_set_ip4_route): clean up
1984                 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
1985
1986         * src/nm-device.c
1987                 - (nm_device_set_ip4_config): remove unused route_to_iface bits
1988
1989         * src/vpn-manager/nm-vpn-connection.c
1990                 - (ip_address_to_string): new function
1991                 - (print_vpn_config): use ip_address_to_string
1992                 - (merge_vpn_routes): add user-defined routes to the ip4 config
1993                 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
1994
1995         * include/NetworkManagerVPN.h
1996                 - Add 'routes' key
1997
1998 2008-06-05  Dan Williams <dcbw@redhat.com>
1999
2000         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2001
2002         * test/nm-tool.c
2003                 - Show which device is the default device
2004
2005 2008-06-05  Tambet Ingo  <tambet@gmail.com>
2006
2007         Fix memory leaks.
2008
2009         * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2010         Free data returned from dbus method call.
2011
2012         * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2013         dbus_g_method_get_sender() returns a duplicated string, free it 
2014         when done.
2015         (check_polkit_privileges): Looks like policykit sometimes returns
2016         error and non-null return value, don't leak errors in that case.
2017
2018         * system-settings/src/main.c (find_plugin): Don't leak existing 
2019         plugin names.
2020         (load_stuff): Don't leak device list and list items.
2021         (have_connection_for_device): Don't leak connection list.
2022
2023         * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2024         Free the data received from g_keyfile_get_*.
2025
2026         * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2027         the key when the security object is updated.
2028
2029         * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2030         Free data returned from dbus method call.
2031         (iface_state_cb): Ditto.
2032         (add_network_cb): Ditto.
2033         (nm_supplicant_interface_add_cb): Don't make another copy of already
2034         duplicated object path.
2035         (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2036         when done.
2037
2038         * src/supplicant-manager/nm-supplicant-config.c 
2039         (ADD_STRING_LIST_VAL): Fix a memory leak.
2040
2041         * src/nm-manager.c (free_get_settings_info): Free the allocated
2042         memory slice.
2043         (list_connections_cb): Free data returned from dbus method call.
2044         (system_settings_get_unmanaged_devices_cb): Ditto.
2045
2046         * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2047
2048         * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile): 
2049         * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile): 
2050         * src/backends/shvar.c (svCloseFile): Free the duplicated content
2051         of the GList.
2052
2053         * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2054         arguments after the object is created.
2055
2056 2008-06-04  Dan Williams <dcbw@redhat.com>
2057
2058         * libnm-util/Makefile.am
2059                 - Don't distribute nm-param-spec-specialized.h
2060
2061 2008-06-02  Tambet Ingo  <tambet@gmail.com>
2062
2063         * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2064
2065         * src/nm-ip4-config.[ch]: Store the static routes as a list of
2066         NMIP4Address, update the getters and setters.
2067
2068         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2069         Use the updated NMIP4Config routes api.
2070
2071         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2072         static routes as well.
2073
2074         * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2075         (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2076         routes api.
2077
2078 2008-05-30  Dan Williams <dcbw@redhat.com>
2079
2080         * src/named-manager/nm-named-manager.c
2081           src/named-manager/nm-named-manager.h
2082                 - Remove stale/obsolete bits for controlling bind over DBus
2083
2084 2008-05-29  Dan Williams <dcbw@redhat.com>
2085
2086         * src/dnsmasq-manager/nm-dnsmasq-manager.c
2087           src/dnsmasq-manager/nm-dnsmasq-manager.h
2088                 - (nm_dnsmasq_manager_new): move iface argument here
2089                 - (constructor): remove, not needed
2090                 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2091                    nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2092
2093         * src/nm-device.c
2094                 - (real_act_stage4_get_ip4_config,
2095                    nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2096                         changes
2097
2098 2008-05-29  Dan Williams <dcbw@redhat.com>
2099
2100         * src/nm-device.c
2101                 - (dnsmasq_state_changed_cb): new function; fail the connection if
2102                         something happens to dnsmasq
2103                 - (nm_device_new_ip4_shared_config): new function; create a new
2104                         ip4-config for shared connections.  Shared connections always use a
2105                         fixed static IP address.
2106                 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2107                         autoip connections by actually using the returned ip4-config and
2108                         not leaking it
2109                 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2110                         connections
2111                 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2112                         if its active
2113
2114 2008-05-29  Dan Williams <dcbw@redhat.com>
2115
2116         * src/nm-device-802-11-wireless.c
2117                 - (real_get_best_auto_connection): auto-activate 'shared' method
2118                         connections too
2119
2120 2008-05-29  Dan Williams <dcbw@redhat.com>
2121
2122         * libnm-util/nm-setting-ip4-config.c
2123           libnm-util/nm-setting-ip4-config.h
2124                 - Add a 'shared' method to indicate that this connection should be
2125                         brought up with a DHCP and proxy DNS server to facilitate
2126                         connection sharing.
2127                 - (verify): 'shared' method doesn't allow DNS or searches either
2128
2129 2008-05-29  Dan Williams <dcbw@redhat.com>
2130
2131         * configure.in
2132           src/Makefile.am
2133           src/dnsmasq-manager/Makefile.am
2134           src/dnsmasq-manager/nm-dnsmasq-manager.c
2135           src/dnsmasq-manager/nm-dnsmasq-manager.h
2136                 - Add a dnsmasq daemon manager to facilitate connection sharing
2137
2138 2008-05-29  Dan Williams <dcbw@redhat.com>
2139
2140         * src/nm-device-private.h
2141                 - Remove unused prototypes and clean up
2142
2143         * src/nm-device.c
2144                 - Remove anything related to system_config_data, which is no longer used
2145                 - (nm_device_new_ip4_autoip_config): make static
2146
2147 2008-05-29  Tambet Ingo  <tambet@gmail.com>
2148
2149         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2150         (file_changed): Fix a bug where suse system settings plugin didn't
2151         update the connections automatically when the files changed.
2152
2153 2008-05-28  Dan Williams  <dcbw@redhat.com>
2154
2155         Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2156
2157 2008-05-28  Dan Williams  <dcbw@redhat.com>
2158
2159         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2160
2161         * src/NetworkManagerSystem.c
2162                 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2163                 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2164                         was causing -EINVAL errors since the libnl code actually does flush
2165                         the routes on VPN interfaces now
2166
2167         * src/backends/NetworkManagerArch.c
2168           src/backends/NetworkManagerDebian.c
2169           src/backends/NetworkManagerFrugalware.c
2170           src/backends/NetworkManagerGeneric.c
2171           src/backends/NetworkManagerGentoo.c
2172           src/backends/NetworkManagerMandriva.c
2173           src/backends/NetworkManagerPaldo.c
2174           src/backends/NetworkManagerRedHat.c
2175           src/backends/NetworkManagerSlackware.c
2176           src/backends/NetworkManagerSuSE.c
2177                 - (nm_system_device_flush_ip4_routes,
2178                    nm_system_device_flush_ip4_routes_with_iface): remove
2179
2180 2008-05-28  Dan Williams  <dcbw@redhat.com>
2181
2182         * libnm-util/nm-setting-wireless.c
2183           libnm-util/nm-setting-wireless.h
2184                 - (set_property, get_property, nm_setting_wireless_class_init): add the
2185                         'adhoc-create' property, which when TRUE indicates that NM should
2186                         create this connection as an adhoc wifi network if it's not found
2187                         as an adhoc network during scanning.  Can be used to auto-create
2188                         adhoc networks when used in combination with autoconnect.
2189
2190 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2191
2192         Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2193
2194         * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2195         checked, it doesn't work on some devices.
2196
2197 2008-05-28  Tambet Ingo  <tambet@gmail.com>
2198
2199         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure 
2200         pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2201
2202         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2203         Use inet_aton() everywhere to improve error detection.
2204         Don't fall back to 'dhcp_server_identifier' if the gateway is not
2205         provided.
2206
2207 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2208
2209         * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2210         Fix a typo.
2211
2212 2008-05-26  Tambet Ingo  <tambet@gmail.com>
2213
2214         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2215         reference counting issue.
2216
2217 2008-05-23  Dan Williams  <dcbw@redhat.com>
2218
2219         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2220
2221         * src/backends/NetworkManagerGeneric.c
2222                 - (nm_generic_enable_loopback): use libnl
2223
2224 2008-05-23  Dan Williams  <dcbw@redhat.com>
2225
2226         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2227
2228         * src/NetworkManagerSystem.h
2229           src/backends/NetworkManagerArch.c
2230           src/backends/NetworkManagerDebian.c
2231           src/backends/NetworkManagerFrugalware.c
2232           src/backends/NetworkManagerGentoo.c
2233           src/backends/NetworkManagerMandriva.c
2234           src/backends/NetworkManagerPaldo.c
2235           src/backends/NetworkManagerRedHat.c
2236           src/backends/NetworkManagerSlackware.c
2237           src/backends/NetworkManagerSuSE.c
2238                 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2239                    nm_system_flush_arp_cache): remove, unused
2240
2241         * src/backends/NetworkManagerGeneric.c
2242           src/backends/NetworkManagerGeneric.h
2243                 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2244                    nm_generic_flush_arp_cache): remove, unused
2245
2246 2008-05-23  Dan Williams  <dcbw@redhat.com>
2247
2248         * system-settings/plugins/ifcfg-fedora/reader.c
2249                 - (make_ip4_setting): honor PEERDNS setting
2250
2251 2008-05-23  Dan Williams  <dcbw@redhat.com>
2252
2253         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2254
2255         * src/NetworkManagerSystem.c
2256                 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2257                         libnl
2258
2259         * src/backends/NetworkManagerArch.c
2260           src/backends/NetworkManagerDebian.c
2261           src/backends/NetworkManagerFrugalware.c
2262           src/backends/NetworkManagerGentoo.c
2263           src/backends/NetworkManagerMandriva.c
2264           src/backends/NetworkManagerPaldo.c
2265           src/backends/NetworkManagerRedHat.c
2266           src/backends/NetworkManagerSlackware.c
2267           src/backends/NetworkManagerSuSE.c
2268                 - (nm_system_device_flush_ip4_addresses,
2269                    nm_system_device_flush_ip4_addresses_with_iface): remove
2270
2271         * src/backends/NetworkManagerGeneric.c
2272                 - (nm_generic_device_flush_ip4_addresses,
2273                    nm_generic_device_flush_ip4_addresses_with_iface): remove
2274
2275 2008-05-23  Dan Williams  <dcbw@redhat.com>
2276
2277         * src/supplicant-manager/nm-supplicant-settings-verify.c
2278                 - Switch 'bssid' from bytes to keyword type
2279                 - (validate_type_keyword): allow NULL keyword lists
2280
2281         * src/supplicant-manager/nm-supplicant-config.c
2282                 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2283                         a byte array to string form, which is what the supplicant expects
2284
2285 2008-05-23  Tambet Ingo  <tambet@gmail.com>
2286
2287         Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2288         information received from DHCP.
2289
2290         * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2291         to make it possible to ignore the DNS information (both servers and 
2292         searches) returned by DHCP server.
2293
2294         * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2295         name servers and searches if "ignore_dhcp_dns" is set.
2296
2297         * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2298         (nm_ip4_config_reset_searches): Implement.
2299
2300 2008-05-22  Dan Williams  <dcbw@redhat.com>
2301
2302         Remove anything mDNS related.  This is better done from a distro-specific
2303         dispatcher script.  Plus, any distro using avahi doesn't need to restart
2304         avahi, since avahi can handle interface changes just fine using netlink.
2305
2306         * configure.in
2307                 - Remove --with-mdns-provider
2308
2309         * src/NetworkManagerPolicy.c
2310                 - (global_state_changed): don't restart the mdns provider
2311
2312         * src/NetworkManagerSystem.h
2313           src/backends/NetworkManagerArch.c
2314           src/backends/NetworkManagerDebian.c
2315           src/backends/NetworkManagerFrugalware.c
2316           src/backends/NetworkManagerGentoo.c
2317           src/backends/NetworkManagerMandriva.c
2318           src/backends/NetworkManagerPaldo.c
2319           src/backends/NetworkManagerRedHat.c
2320           src/backends/NetworkManagerSlackware.c
2321           src/backends/NetworkManagerSuSE.c
2322                 - (nm_system_restart_mdns_responder): remove
2323
2324         * src/backends/NetworkManagerGeneric.c
2325           src/backends/NetworkManagerGeneric.h
2326                 - (nm_generic_restart_mdns_responder): remove
2327
2328 2008-05-22  Dan Williams  <dcbw@redhat.com>
2329
2330         * configure.in
2331                 - clean up crypto options; just use --with-crypto=nss or
2332                         --with-crypto=gnutls
2333
2334 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2335
2336         * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2337         anymore, do it right away.
2338
2339 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2340
2341         * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2342         serial device open when we're not connecting or connected.
2343
2344         * src/nm-cdma-device.c (device_state_changed): Ditto.
2345
2346 2008-05-22  Tambet Ingo  <tambet@gmail.com>
2347
2348         Don't remove all devices on waking up, sync with HAL.
2349
2350         * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2351         (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2352         (hal_manager_hal_reappeared_cb): Just call sync_devices.
2353
2354 2008-05-21  Tambet Ingo  <tambet@gmail.com>
2355
2356         * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2357         If the default gateway is unreachable, add a route to gateway and try
2358         again.
2359
2360 2008-05-20  Dan Williams  <dcbw@redhat.com>
2361
2362         * system-settings/plugins/ifcfg-fedora/reader.c
2363                 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2364
2365 2008-05-19  Dan Williams  <dcbw@redhat.com>
2366
2367         * system-settings/plugins/ifcfg-fedora/reader.c
2368                 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2369                         if the ifcfg doesn't specify one (rh #446527)
2370
2371 2008-05-19  Dan Williams  <dcbw@redhat.com>
2372
2373         Make the system settings service exit when the bus goes away.  Since it's
2374         a bus-activated service, it's lifetime is limited to the bus that activated
2375         it (rh #444976).
2376
2377         * system-settings/src/Makefile.am
2378           system-settings/src/nm-system-config-hal-manager-private.h
2379                 - Remove nm-system-config-hal-manager-private.h
2380
2381         * system-settings/src/nm-system-config-hal-manager.c
2382                 - (nm_system_config_hal_manager_reinit_dbus,
2383                    nm_system_config_hal_manager_deinit_dbus): remove
2384
2385         * system-settings/src/main.c
2386                 - (dbus_reconnect): remove
2387                 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2388                 - (destroy_cb): just quit when the bus goes away
2389                 - (start_dbus_service, dbus_init): simplify
2390                 - (main): destroy the wired devices hash table after destroying
2391                         the HAL manager so we don't have to disconnect signals from the
2392                         HAL manager
2393
2394 2008-05-15  Tambet Ingo  <tambet@gmail.com>
2395
2396         Move crypto functions from nm-applet to libnm-util.
2397
2398         * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2399         (nm_setting_802_1x_set_client_cert)
2400         (nm_setting_802_1x_set_phase2_ca_cert)
2401         (nm_setting_802_1x_set_phase2_client_cert)
2402         (nm_setting_802_1x_set_private_key)
2403         (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2404         file (or private key and it's password), read the certificate data.
2405
2406         * libnm-util/crypto_nss.c: 
2407         * libnm-util/crypto_gnutls.c: 
2408         * libnm-util/crypto.[ch]: Move here from nm-applet.
2409
2410         * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2411
2412         * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2413         Imlement WPA-EAP configuration reading from sysconfig.
2414
2415 2008-05-16  Dan Williams  <dcbw@redhat.com>
2416
2417         * src/nm-device-802-11-wireless.c
2418                 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2419                         wireless
2420
2421 2008-05-14  Dan Williams  <dcbw@redhat.com>
2422
2423         Fix Linus' bug in rh #134886
2424
2425         * src/nm-device-802-3-ethernet.c
2426                 - (constructor): request initial carrier state
2427
2428         * src/nm-netlink-monitor.c
2429                 - (nm_netlink_monitor_request_status): schedule emission of carrier
2430                         signals after refilling the link cache.  Because the refill is a 
2431                         synchronous operation, the normal message hander won't get called
2432                         since libnl has already consumed the messages.
2433                 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2434
2435 2008-05-14  Dan Williams  <dcbw@redhat.com>
2436
2437         * src/NetworkManagerSystem.c
2438                 - (nm_system_device_is_up_with_iface): clean up
2439
2440 2008-05-13  Dan Williams  <dcbw@redhat.com>
2441
2442         Fix refcounting issues over sleep/wake when a VPN connection was active that
2443         caused NM to try registering an object path for a device upon wake that was
2444         the same as an already registered object path.
2445
2446         * src/nm-device.c
2447                 - (nm_device_take_down): properly handle cases where the device is
2448                         no longer active but was just active, and therefore must be
2449                         deactivated.  When a device moves to unmanaged mode, this function
2450                         previously would not deactivate the device, because the state was
2451                         already unmanaged by the time this function was called.
2452
2453         * src/vpn-manager/nm-vpn-connection.c
2454                 - (device_state_changed): properly handle multiple devices states in
2455                         which the device is now deactivated.  Code previously didn't handle
2456                         transitions to the UNAVAILABLE (like rfkill or carrier off) and
2457                         UNMANAGED states.
2458
2459 2008-05-13  Dan Williams  <dcbw@redhat.com>
2460
2461         * src/nm-device-private.h
2462           src/nm-device.c
2463                 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2464
2465         * src/nm-device-802-11-wireless.c
2466                 - (nm_device_802_11_wireless_set_enabled): take devices up
2467                         and down as appropriate for the rfkill state
2468
2469 2008-05-13  Dan Williams  <dcbw@redhat.com>
2470
2471         * marshallers/nm-marshal.list
2472                 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2473
2474         * system-settings/plugins/ifcfg-fedora/Makefile.am
2475           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2476           system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2477                 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2478                         events.  Solely for use watching ifcfg files to pick up changes
2479                         to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2480
2481         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2482                 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2483                         file contents change
2484                 - (finalize): clean up inotify watches
2485                 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2486                         and the connection ifcfg for changes on their hardlinks
2487                 - (files_changed_cb): proxy the changed signal back out to listeners
2488
2489         * system-settings/plugins/ifcfg-fedora/plugin.c
2490                 - (dir_changed): 
2491                 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2492                         changes
2493                 - (read_one_connection): connect to change signals on the new connection
2494                 - (dir_changed, connection_changed_handler,
2495                    handle_connection_remove_or_new): break out connection change
2496                         handling and connection new/remove handling so it can be used from
2497                         both the GFileMonitor callback and the NMIfcfgConnection changed
2498                         signals
2499
2500         * system-settings/plugins/ifcfg-fedora/reader.c
2501           system-settings/plugins/ifcfg-fedora/reader.h
2502                 - (connection_from_file): return the keyfile path the connection would use
2503
2504 2008-05-13  Tambet Ingo  <tambet@gmail.com>
2505
2506         * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a 
2507         single PolKitContext which is shared by all. PolKitContext::unref leaks
2508         just about everything, including all open file descriptiors and results
2509         in 99% cpu usage when data arrives to any of the fds that don't belong
2510         to any context anymore.
2511
2512 2008-05-12  Dan Williams  <dcbw@redhat.com>
2513
2514         * gfilemonitor/glocaldirectorymonitor.c
2515           gfilemonitor/glocaldirectorymonitor.h
2516                 - (g_local_directory_monitor_constructor): actually subscribe to the
2517                         watch
2518                 - (_g_local_directory_monitor_new): ensure that inotify is started up
2519
2520         * gfilemonitor/glocalfilemonitor.c
2521           gfilemonitor/glocalfilemonitor.h
2522                 - (g_local_file_monitor_constructor): actually subscribe to the watch
2523                 - (_g_local_file_monitor_new): ensure that inotify is started up
2524
2525 2008-05-11  Dan Williams  <dcbw@redhat.com>
2526
2527         * configure.in
2528                 - record PolicyKit version
2529
2530         * system-settings/src/nm-polkit-helpers.c
2531                 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2532                         with PolicyKit <= 0.6
2533
2534 2008-05-11  Dan Williams  <dcbw@redhat.com>
2535
2536         Update Fedora system-settings plugin to support latest API and use
2537         GFileMonitor rather than home-rolled inotify code.
2538
2539         * system-settings/plugins/ifcfg-fedora/Makefile.am
2540           system-settings/plugins/ifcfg-fedora/common.h
2541           system-settings/plugins/ifcfg-fedora/plugin.c
2542                 - Update to latest system settings plugin API; use GIO instead of
2543                         custom inotify code; use NMIfcfgConnection objects instead of
2544                         ConnectionData structures tacked onto NMConnection objects
2545
2546         * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2547           system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2548                 - Implement an NMExportedConnection subclass mapping ifcfg files to
2549                         connections
2550
2551         * system-settings/plugins/ifcfg-fedora/reader.c
2552           system-settings/plugins/ifcfg-fedora/reader.h
2553                 - Move ifcfg parsing bits here from parser.c
2554
2555         * system-settings/plugins/ifcfg-fedora/parser.c
2556           system-settings/plugins/ifcfg-fedora/parser.h
2557                 - Remove; most code moved to reader.c
2558
2559 2008-05-11  Dan Williams  <dcbw@redhat.com>
2560
2561         * configure.in
2562           Makefile.am
2563           gfilemonitor/*
2564                 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2565                         implementation, so that the same change monitoring code can be used
2566                         on systems without glib-2.14 (like Fedora 8)
2567
2568         * system-settings/plugins/keyfile/Makefile.am
2569           system-settings/plugins/keyfile/plugin.c
2570           system-settings/plugins/ifcfg-suse/Makefile.am
2571           system-settings/plugins/ifcfg-suse/plugin.c
2572                 - Use private gfilemonitor code if GIO is not present
2573
2574 2008-05-09  Tambet Ingo  <tambet@gmail.com>
2575
2576         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2577         NMExportedConnection's 'update' and 'delete' and return error with
2578         descriptive message.
2579
2580 2008-05-08  Dan Williams  <dcbw@redhat.com>
2581
2582         Patch from Markus Becker <mab@comnets.uni-bremen.de>
2583
2584         * src/nm-gsm-device.c
2585           src/nm-cdma-device.c
2586                 - (real_get_best_auto_connection): implement; allow autoconnection
2587                         to GSM & CDMA devices
2588
2589 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2590
2591         Use PolicyKit to authorize the system settings' AddConnection method
2592         and the system settings connections' Update and Delete methods.
2593         
2594         * libnm-glib/nm-settings.c (impl_exported_connection_update)
2595         (impl_exported_connection_delete, nm_exported_connection_update)
2596         (nm_exported_connection_delete): Return boolean and fill GError
2597         to notify the callers of the reasons why it might have failed.
2598
2599         * libnm-glib/nm-dbus-settings-system.c
2600         (nm_dbus_settings_system_add_connection): Return the error from dbus
2601         call so that the callers can see why it failed.
2602
2603         * libnm-glib/nm-dbus-connection.c (update, delete): Update the 
2604         signatures.
2605
2606         * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2607
2608         * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2609         abstract base class that checks PolicyKit permissions.
2610
2611         * system-settings/src/dbus-settings.c:
2612         (impl_settings_add_connection): Check the policy before carring out
2613         the request.
2614
2615         * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2616         Inherit from NMSysconfigConnection, check the policies before
2617         allowing updating or removing.
2618
2619         * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2620         Inherit from NMSysconfigConnection.
2621
2622         * introspection/nm-exported-connection.xml: Annotate "Update" and 
2623         "Delete" methods with async flag so that the implementations can get
2624         access to DBusGMethodInvocation.
2625
2626         * system-settings/src/dbus-settings.c 
2627         (settings_add_connection_check_privileges): Implement.
2628         (impl_settings_add_connection): Check the privileges before adding a new
2629         connection. Improve error reporting.
2630
2631         * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2632         async so that the implementation can access DBusGMethodInvocation.
2633
2634         * configure.in: Check for PolicyKit.
2635
2636         * policy/org.freedesktop.network-manager-settings.system.policy: 
2637         New file.
2638
2639         * policy/Makefile.am: Install the policy file.
2640
2641         * configure.in: Add 'policy' subdir.
2642
2643 2008-05-08  Tambet Ingo  <tambet@gmail.com>
2644
2645         Rewrite the suse system settings plugin.
2646
2647         * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2648
2649         * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2650
2651         * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2652
2653         * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2654
2655         * system-settings/src/dbus-settings.c: Fix connection reference counting.
2656
2657         * system-settings/src/main.c (load_plugins): Improve error reporting.
2658
2659         * system-settings/src/sha1.[ch] Add.
2660
2661         * system-settings/src/Makefile.am: Add sha1[ch] to build.
2662
2663 2008-05-07  Dan Williams  <dcbw@redhat.com>
2664
2665         * system-settings/plugins/keyfile/reader.c
2666                 - (read_one_setting_value): handle IP address items separately
2667                 - (read_array_of_uint): read IPv4 DNS option as a string array
2668                 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2669                         array
2670
2671         * system-settings/plugins/keyfile/writer.c
2672                 - (write_setting_value): handle IP address items separately
2673                 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2674                         not an array of uint, so that it's user-editable
2675                 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2676                         arrays, so they are user-editable
2677
2678 2008-05-07  Dan Williams  <dcbw@redhat.com>
2679
2680         * system-settings/plugins/keyfile/Makefile.am
2681                 - Change location of the keyfile plugin settings to
2682                         /etc/NetworkManager/system-connections
2683
2684 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2685
2686         * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2687
2688         * system-settings/plugins/keyfile/plugin.c: Work with
2689         NMKeyfileConnections.
2690
2691         * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2692         Plugins are supposed to return NMExportedConnections now and handle the
2693         updated(), removed(), and GetSecrets().
2694         Store the internal list of connections in hash table to make it easier
2695         to find duplicates.
2696
2697 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2698
2699         * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2700         for multiple IP addresses.
2701
2702 2008-05-07  Tambet Ingo  <tambet@gmail.com>
2703
2704         Patch from André Lemos.
2705
2706         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2707         corruption.
2708
2709 2008-05-06  Dan Williams  <dcbw@redhat.com>
2710
2711         * src/dhcp-manager/nm-dhcp-manager.c
2712                 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2713                         NMIP4Config to support multiple IP addresses
2714
2715         * src/NetworkManagerUtils.c
2716                 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2717
2718         * src/nm-ip4-config.c
2719           src/nm-ip4-config.h
2720                 - Store a list of IPv4 address/netmask/gateway tuples
2721                 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2722                    nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2723                    nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2724                    nm_ip4_config_set_address): remove
2725                 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2726                    nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2727                         new functions; handle multiple IPv4 addresses
2728
2729         * src/nm-device.c
2730           src/ppp-manager/nm-ppp-manager.c
2731           src/vpn-manager/nm-vpn-connection.c
2732           src/NetworkManagerPolicy.c
2733           test/nm-tool.c
2734           libnm-glib/libnm-glib-test.c
2735                 - update for changes to NMIP4Config for multiple IPv4 addresses
2736
2737         * src/NetworkManagerSystem.c
2738                 - (nm_system_device_set_ip4_route): don't add the route if any address
2739                         is on the same subnet as the destination
2740                 - (check_one_address): ignore the exact match, just match family and
2741                         interface index
2742                 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2743                         an interface
2744                 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2745                 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2746
2747         * introspection/nm-ip4-config.xml
2748                 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2749                 - Add 'addresses' property which is an array of (uuu) tuples of
2750                         address/netmask/gateway
2751
2752         * libnm-util/nm-setting-ip4-config.c
2753                 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2754
2755         * libnm-glib/nm-ip4-config.c
2756           libnm-glib/nm-ip4-config.h
2757                 - Handle D-Bus interface changes to support multiple IP addresses
2758
2759 2008-05-06  Dan Williams  <dcbw@redhat.com>
2760
2761         * libnm-util/nm-utils.c
2762           libnm-util/nm-utils.h
2763                 - (nm_utils_ip4_addresses_from_gvalue,
2764                    nm_utils_ip4_addresses_to_gvalue): new functions
2765
2766 2008-05-06  Tambet Ingo  <tambet@gmail.com>
2767
2768         * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2769         the returned connection paths.
2770
2771 2008-05-05  Tambet Ingo  <tambet@gmail.com>
2772
2773         * libnm-glib/nm-dbus-settings.c (constructor): Fix the 
2774         "PropertiesChanged" signal signature.
2775
2776         * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2777         defined in nm-dbus-glib-types.h.
2778         Don't register the connection on dbus, we're a proxy class to 
2779         communicate with an already registered connection over dbus.
2780
2781 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2782
2783         Implement new subclasses of NMSettings and NMExportedConnection to make
2784         it easier for the applet to access and modify system settings.
2785
2786         * libnm-glib/nm-dbus-connection.[ch]:
2787         * libnm-glib/nm-dbus-settings.[ch]:
2788         * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2789
2790         * libnm-glib/Makefile.am: Add the new files to build, generate some more
2791         bindings and glue.
2792
2793         * include/NetworkManager.h: Define the system settings DBus interface.
2794
2795 2008-04-30  Tambet Ingo  <tambet@gmail.com>
2796
2797         Implement additional C API for exported connections to make them identical
2798         with the DBus API. Change the (list_connections) virtual function to be
2799         more usable from C - instead of requiring implementers to return a GPtrArray
2800         of dbus paths, return a list of connections.
2801
2802         * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2803         (nm_settings_list_connections):
2804         (nm_exported_connection_new):
2805         (nm_exported_connection_update):
2806         (nm_exported_connection_delete): Implement.
2807
2808         (impl_settings_list_connections):
2809         (impl_exported_connection_update):
2810         (impl_exported_connection_delete): Use the new public functions to make 
2811         sure the C and dbus interfaces stay in sync.
2812
2813         * system-settings/src/dbus-settings.c (list_connections): Return a list of
2814         connections.
2815
2816 2008-05-02  Dan Williams  <dcbw@redhat.com>
2817
2818         * system-settings/plugins/ifcfg-fedora/plugin.c
2819                 - (dispose): use right unref call on the DBusGConnection
2820
2821 2008-05-02  Dan Williams  <dcbw@redhat.com>
2822
2823         * src/nm-serial-device.c
2824                 - (find_terminator): don't compare the whole line, just the size of the
2825                         terminator, since some modems put stuff after the terminator, like
2826                         "CONNECT 9600"
2827
2828 2008-05-01  Dan Williams  <dcbw@redhat.com>
2829
2830         Patch from Michael Biebl <biebl@debian.org>
2831
2832         * callouts/Makefile.am
2833           callouts/org.freedesktop.nm_dispatcher.service.in
2834           system-settings/src/Makefile.am
2835           system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2836                 - use the right install location for dbus-activated stuff
2837
2838 2008-04-30  Dan Williams  <dcbw@redhat.com>
2839
2840         * src/nm-gsm-device.c
2841                 - (enter_pin): fix setting name passed to applets when asking for a GSM
2842                         PIN or PUK
2843
2844 2008-04-30  Dan Williams  <dcbw@redhat.com>
2845
2846         * src/nm-manager.c
2847                 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2848
2849 2008-04-30  Dan Williams  <dcbw@redhat.com>
2850
2851         * src/nm-device-802-3-ethernet.c
2852           src/nm-device-802-11-wireless.c
2853                 - (real_is_up): return true instead of chaining up to unimplemented
2854                         parent method
2855
2856 2008-04-30  Dan Williams  <dcbw@redhat.com>
2857
2858         * src/NetworkManagerSystem.c
2859           src/NetworkManagerSystem.h
2860                 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
2861                         functions to check device flags for IFF_UP
2862
2863         * src/nm-serial-device.c
2864                 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
2865                         implement is_up
2866
2867         * src/nm-device-802-3-ethernet.c
2868           src/nm-device-802-11-wireless.c
2869                 - (real_hw_is_up): call nm_system_device_is_up()
2870
2871         * src/nm-device.c
2872                 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
2873                 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
2874                         does not implement
2875
2876 2008-04-29  Dan Williams  <dcbw@redhat.com>
2877
2878         Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
2879
2880         * marshallers/nm-marshal.list
2881                 - Add marshaller
2882
2883         * src/NetworkManager.c
2884                 - (main): let the NMManager handle the NMHalManager
2885
2886         * src/nm-hal-manager.c
2887           src/nm-hal-manager.h
2888                 - convert to a GObject, and emit singals when stuff changes.  Let the
2889                         NMManager handle the signals, instead of the NMHalManager calling
2890                         into the NMManager.  
2891
2892         * src/nm-manager.c
2893           src/nm-manager.h
2894                 - (remove_one_device): consolidate device removals here
2895                 - (dispose): use remove_one_device()
2896                 - (nm_manager_get_device_by_udi): make static
2897                 - (deferred_hal_manager_query_devices): idle handler to query the HAL
2898                         manager for devices at startup or wakeup time
2899                 - (nm_manager_new): create and monitor the HAL manager
2900                 - (hal_manager_udi_added_cb): new function; do what
2901                         nm_manager_add_device() used to do when signalled by the hal manager
2902                 - (hal_manager_udi_removed_cb): new function; do what
2903                         nm_manager_remove_device() used to do when signalled by the hal
2904                         manager
2905                 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
2906                         hal manager
2907                 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
2908                         in our device list that aren't known to HAL
2909                 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
2910                         see comments on nm-hal-manager.c::nm_manager_state_changed() a few
2911                         commits ago
2912                 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
2913                    nm_manager_activation_pending, nm_manager_wireless_enabled,
2914                    nm_manager_wireless_hardware_enabled,
2915                    nm_manager_set_wireless_hardware_enabled): remove, unused
2916
2917 2008-04-28  Dan Williams  <dcbw@redhat.com>
2918
2919         Fix the device up/down ambiguities.  Up/down state used to be a
2920         conglomeration of hardware state (IFF_UP) and any device-specific things
2921         (supplicant, periodic timers, etc) that the device used to indicate
2922         readiness.  Unfortunately, if the hardware was already IFF_UP for some
2923         reason, then the device specific stuff wouldn't get run, and the device
2924         would be stuck.
2925
2926         * src/nm-device.c
2927           src/nm-device.h
2928                 - Create hw_is_up, hw_bring_up, and hw_take_down
2929                 - Rename bring_down -> take_down
2930                 - (real_hw_is_up): check interface flags for IFF_UP
2931                 - (nm_device_hw_is_up): let subclasses figure out their own HW state
2932                 - (nm_device_is_up): make static; only used locally
2933                 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
2934                         if the device is already up; if the device isn't up, bring it up
2935                 - (nm_device_hw_take_down): just take down hardware
2936                 - (nm_device_bring_up): bring up HW first, then device specific stuff
2937                 - (nm_device_take_down): always deactivate device when called; always
2938                         try to take hardware down too
2939                 - (nm_device_state_changed): take device down when entering unmanaged
2940                         state from a higher state
2941
2942         * src/nm-device-802-11-wireless.c
2943                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
2944                         check IFF_UP really
2945                 - (real_take_down, supplicant_iface_state_cb_handler, 
2946                    supplicant_iface_connection_state_cb_handler,
2947                    supplicant_mgr_state_cb_handler): fix some messages
2948
2949         * src/nm-device-802-3-ethernet.c
2950                 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
2951                         check IFF_UP really
2952
2953 2008-04-28  Dan Williams  <dcbw@redhat.com>
2954
2955         * src/nm-manager.c
2956           src/nm-manager.h
2957                 - (nm_manager_error_get_type): add new error
2958                 - (nm_manager_remove_device): don't bother taking down the device here,
2959                         the state change from unmanaging the device will do it
2960                 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
2961                         uses it; when going to sleep, just unmanage the device instead of
2962                         taking it down, because stuff will cleaned up correctly when the
2963                         device gets unmanaged
2964
2965 2008-04-28  Dan Williams  <dcbw@redhat.com>
2966
2967         * src/nm-hal-manager.c
2968                 - (add_initial_devices): convert to a GSourceFunc prototype
2969                 - (nm_manager_state_changed): when coming out of sleep, punt the
2970                         device re-addition to an idle handler to let D-Bus events go out
2971                         first, fixing a potential dbus-glib assert if the old device was
2972                         not yet disposed (due to references held while emitting the D-Bus
2973                         signals) but the new device was found, because the mainloop didn't
2974                         run between signal emission and add_initial_devices()
2975
2976 2008-04-27  Dan Williams  <dcbw@redhat.com>
2977
2978         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2979
2980         * initscript/paldo/NetworkManager.in
2981           initscript/SUSE/networkmanager.in
2982                 - Remove last bits of dhcdbd
2983
2984 2008-04-27  Dan Williams  <dcbw@redhat.com>
2985
2986         * src/nm-device-802-11-wireless.c
2987                 - (link_timeout_cb): don't ask for secrets when disconnected during
2988                         association/authentication phase, drivers are still just too crappy
2989
2990 2008-04-27  Dan Williams  <dcbw@redhat.com>
2991
2992         * Makefile.am
2993           configure.in
2994           dispatcher-daemon/Makefile.am
2995           dispatcher-daemon/NetworkManagerDispatcher.c
2996           initscript/Arch/Makefile.am
2997           initscript/Arch/networkmanager-dispatcher.in
2998           initscript/Gentoo/Makefile.am
2999           initscript/Gentoo/NetworkManagerDispatcher.in
3000           initscript/Mandriva/Makefile.am
3001           initscript/Mandriva/networkmanagerdispatcher.in
3002           initscript/RedHat/Makefile.am
3003           initscript/RedHat/NetworkManagerDispatcher.in
3004           initscript/SUSE/Makefile.am
3005           initscript/SUSE/networkmanager-dispatcher.in
3006           initscript/Slackware/Makefile.am
3007           initscript/Slackware/rc.networkmanager-dispatcher.in
3008           initscript/paldo/Makefile.am
3009           initscript/paldo/NetworkManagerDispatcher.in
3010           man/Makefile.am
3011           man/NetworkManagerDispatcher.8.in
3012                 - Remove the dispatcher daemon
3013
3014 2008-04-27  Dan Williams  <dcbw@redhat.com>
3015
3016         * callouts/Makefile.am
3017           callouts/nm-dispatcher-action.c
3018           callouts/nm-dispatcher-action.h
3019           callouts/nm-dispatcher.conf
3020           callouts/nm-dispatcher.xml
3021           callouts/org.freedesktop.nm_dispatcher.service
3022                 - Re-implement the dispatcher as a system-bus activated service that
3023                         NM calls on-demand, rather than an always running daemon
3024
3025         * src/Makefile.am
3026                 - Add callouts dir to includes to pick up dispatcher defines
3027
3028         * src/nm-device.c
3029                 - (nm_device_state_changed): call dispatcher on device activated/
3030                         deactivated
3031
3032         * src/vpn-manager/nm-vpn-connection.c
3033                 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3034                         go up and down
3035
3036         * src/NetworkManagerUtils.c
3037           src/NetworkManagerUtils.h
3038                 - (nm_utils_call_dispatcher): helper to call dispatcher
3039
3040 2008-04-27  Dan Williams  <dcbw@redhat.com>
3041
3042         * src/NetworkManagerUtils.c
3043           src/NetworkManagerUtils.h
3044                 - remove unneeded includes
3045                 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3046                    nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3047                    nm_timeval_cmp, nm_timeval_add): remove, unused
3048                 - clean up formatting
3049                 - (nm_spawn_process): de-uglify
3050
3051         * src/nm-device-802-11-wireless.c
3052                 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3053
3054 2008-04-26  Saleem Abdulrasool  <compnerd@compnerd.org>
3055
3056         * initscript/Gentoo/NetworkManager.in:
3057                 Fix for starting the daemon.
3058
3059 2008-04-25  Dan Williams  <dcbw@redhat.com>
3060
3061         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3062
3063         * src/NetworkManagerSystem.c
3064                 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3065
3066 2008-04-25  Dan Williams  <dcbw@redhat.com>
3067
3068         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3069
3070         * src/NetworkManagerSystem.c
3071                 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3072                         implementation of nm_system_device_replace_default_route()
3073
3074         * src/NetworkManagerPolicy.c
3075                 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3076
3077         * src/backends/NetworkManagerArch.c
3078           src/backends/NetworkManagerDebian.c
3079           src/backends/NetworkManagerFrugalware.c
3080           src/backends/NetworkManagerGeneric.c
3081           src/backends/NetworkManagerGeneric.h
3082           src/backends/NetworkManagerGentoo.c
3083           src/backends/NetworkManagerMandriva.c
3084           src/backends/NetworkManagerPaldo.c
3085           src/backends/NetworkManagerRedHat.c
3086           src/backends/NetworkManagerSlackware.c
3087           src/backends/NetworkManagerSuSE.c
3088                 - (nm_system_device_replace_default_route): remove
3089
3090 2008-04-25  Dan Williams  <dcbw@redhat.com>
3091
3092         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3093
3094         * src/NetworkManagerSystem.c
3095                 - (validate_ip4_route): remove; use nl_addr_parse() instead
3096                 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3097                         replace nm_system_device_add_route_via_device_with_iface() in the
3098                         backends
3099
3100         * src/backends/NetworkManagerArch.c
3101           src/backends/NetworkManagerDebian.c
3102           src/backends/NetworkManagerFrugalware.c
3103           src/backends/NetworkManagerGeneric.c
3104           src/backends/NetworkManagerGeneric.h
3105           src/backends/NetworkManagerGentoo.c
3106           src/backends/NetworkManagerMandriva.c
3107           src/backends/NetworkManagerPaldo.c
3108           src/backends/NetworkManagerRedHat.c
3109           src/backends/NetworkManagerSlackware.c
3110           src/backends/NetworkManagerSuSE.c
3111                 - Remove nm_system_device_add_route_via_device_with_iface()
3112
3113 2008-04-25  Dan Williams  <dcbw@redhat.com>
3114
3115         * system-settings/plugins/ifcfg-fedora/parser.c
3116                 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3117
3118 2008-04-24  Dan Williams  <dcbw@redhat.com>
3119
3120         * dispatcher-daemon/NetworkManagerDispatcher.c
3121                 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3122
3123 2008-04-24  Dan Williams  <dcbw@redhat.com>
3124
3125         * initscript/RedHat/NetworkManager.in
3126           initscript/RedHat/NetworkManagerDispatcher.in
3127                 - Be active at runlevel 2
3128                 - Adjust priorities earlier
3129
3130 2008-04-22  Dan Williams  <dcbw@redhat.com>
3131
3132         * src/NetworkManagerPolicy.c
3133                 - (update_routing_and_dns): when checking for a gateway, look at the
3134                         composite IP4 config, not the connection's ip4-config setting, which
3135                         doesn't include DHCP-returned information
3136
3137 2008-04-22  Tambet Ingo  <tambet@gmail.com>
3138
3139         Implement GKeyFile system settings plugin.
3140         Implement writing system settings (currently supported only by GKeyFile plugin).
3141
3142         * system-settings/src/main.c: 
3143         * system-settings/src/dbus-settings.c: Move the communication with plugins
3144         from main.c to dbus-settings.c. Makes it possible to talk to all registered
3145         plugins for adding/updating/removing connections.
3146
3147         * system-settings/src/nm-system-config-interface.c
3148         (nm_system_config_interface_add_connection): Implement
3149         (nm_system_config_interface_update_connection): Implement.
3150         (nm_system_config_interface_remove_connection): Implement.
3151
3152         * system-settings/plugins/keyfile/Makefile.am:
3153         * system-settings/plugins/keyfile/plugin.[ch]:
3154         * system-settings/plugins/keyfile/writer.[ch]:
3155         * system-settings/plugins/keyfile/reader.[ch]: Implement.
3156
3157         * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3158
3159         * configure.in: Generate GKeyFile Makefile.
3160
3161         * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3162         corruption, need to duplicate the returned string.
3163         (impl_exported_connection_update): Implement.
3164         (impl_exported_connection_delete): Implement.
3165
3166         * introspection/nm-settings-system.xml: Add "AddConnection" method.
3167
3168         * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3169
3170 2008-04-22  Dan Williams  <dcbw@redhat.com>
3171
3172         Patch from Charles R. Anderson (cra@wpi.edu)
3173
3174         * src/NetworkManagerPolicy.c
3175                 - (update_routing_and_dns): don't select devices without a gateway
3176                         as having the default route (rh #437338)
3177
3178 2008-04-21  Dan Williams  <dcbw@redhat.com>
3179
3180         * src/nm-activation-request.c
3181           src/nm-activation-request.h
3182                 - (dispose): ensure to disconnect from the device's state-changed signal
3183                         when appropriate so the signal doesn't get handled by an already
3184                         disposed NMActRequest
3185                 - (device_state_changed): update is_default here too just to make sure
3186                         default is only True when the child device is activated
3187                 - (nm_act_request_set_default): new function
3188
3189         * src/NetworkManagerPolicy.c
3190                 - (update_routing_and_dns): set 'default' on the active connection which
3191                         has the default route and DNS
3192
3193 2008-04-21  Dan Williams  <dcbw@redhat.com>
3194
3195         * src/NetworkManagerPolicy.c
3196                 - (device_state_changed): update routing and DNS when a device goes
3197                         into unmanaged or unavailable states too (like rfkill or carrier loss)
3198
3199 2008-04-21  Dan Williams  <dcbw@redhat.com>
3200
3201         * include/NetworkManager.h
3202                 - Add NMActiveConnectionState enum
3203
3204         * introspection/nm-active-connection.xml
3205           introspection/nm-vpn-connection.xml
3206                 - Add 'State' property for overall active connection state
3207                 - Add 'Default' property, when True means this active connection
3208                         has the default route
3209                 - Add PropertyChanged signals so changes actually go out over the bus
3210
3211         * src/nm-active-connection.h
3212                 - Add defines for State & Default properties
3213
3214         * src/nm-activation-request.c
3215                 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3216                         signal to determine active connection state
3217
3218         * src/vpn-manager/nm-vpn-connection.c
3219           src/vpn-manager/nm-vpn-connection.h
3220           src/vpn-manager/nm-vpn-manager.c
3221           src/vpn-manager/nm-vpn-service.c
3222                 - Rename old 'state' to 'vpn-state'
3223                 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3224                 - Add 'state' and 'default' properties, hook up to the vpn connection's
3225                         'vpn-state-changed' signal
3226
3227         * libnm-glib/nm-active-connection.c
3228           libnm-glib/nm-active-connection.h
3229                 - Add new 'state' and 'default' properties and accessors
3230
3231         * libnm-glib/nm-vpn-connection.c
3232           libnm-glib/nm-vpn-connection.h
3233                 - Rename old 'state' property to 'vpn-state'
3234                 - Add new 'state' and 'default' properties and accessors
3235
3236 2008-04-21  Dan Williams  <dcbw@redhat.com>
3237
3238         * src/nm-ip4-config.c
3239                 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3240                         not specified (rh #443474)
3241
3242 2008-04-20  Dan Williams  <dcbw@redhat.com>
3243
3244         * src/NetworkManagerUtils.c
3245           src/NetworkManagerUtils.h
3246                 - (nm_utils_merge_ip4_config): new function; merge settings from an
3247                         NMSettingIP4Config to an NMIP4Config object
3248
3249         * src/nm-device.c
3250                 - (merge_ip4_config): move to NetworkManagerUtils.c
3251
3252         * src/vpn-manager/nm-vpn-connection.c
3253                 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3254                         too
3255
3256 2008-04-18  Dan Williams  <dcbw@redhat.com>
3257
3258         * libnm-util/nm-setting-ppp.c
3259           libnm-util/nm-setting-ppp.h
3260                 - Add 'no-vj-comp' option for TCP header compression
3261                 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3262                         uint32
3263
3264 2008-04-18  Dan Williams  <dcbw@redhat.com>
3265
3266         * libnm-util/nm-setting-ppp.c
3267           libnm-util/nm-setting-ppp.h
3268           src/ppp-manager/nm-ppp-manager.c
3269                 - Add 'refuse-pap' and 'refuse-mschapv2' options
3270
3271 2008-04-18  Dan Williams  <dcbw@redhat.com>
3272
3273         * libnm-util/nm-setting-ppp.c
3274           libnm-util/nm-setting-ppp.h
3275           src/ppp-manager/nm-ppp-manager.c
3276                 - Remove the 'usepeerdns' option and always request DNS servers from
3277                         the PPP server; the connection chooses to use/override/ignore the
3278                         DNS servers returned from the PPP server
3279
3280 2008-04-18  Dan Williams  <dcbw@redhat.com>
3281
3282         * libnm-util/nm-setting-ppp.c
3283           libnm-util/nm-setting-ppp.h
3284           src/ppp-manager/nm-ppp-manager.c
3285                 - Remove the 'require-mppc' option, because pppd doesn't support it and
3286                         it seems to have been an erroneous addition to the PPTP plugin in
3287                         the first place (from which the ppp-manager is derived)
3288
3289 2008-04-17  Dan Williams  <dcbw@redhat.com>
3290
3291         * libnm-util/nm-setting-pppoe.c
3292                 - (verify): require a PPP setting too
3293
3294         * src/ppp-manager/nm-ppp-manager.c
3295                 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3296                         segfaulting
3297
3298 2008-04-17  Dan Williams  <dcbw@redhat.com>
3299
3300         * src/nm-device.c
3301                 - (nm_device_state_changed): do deactivation and and promotion to
3302                         unavailable here, so that the device gets cleaned up before the
3303                         manager runs and starts emitting signals; do the
3304                         FAILED->DISCONNECTED transition from an idle handler rather than
3305                         immediately to guard against recursion
3306                 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3307                         FAILED->DISCONNECTED handler if it's scheduled
3308
3309 2008-04-17  Dan Williams  <dcbw@redhat.com>
3310
3311         * src/nm-device-802-11-wireless.c
3312                 - (state_changed_cb): clear AP list when device transitions to
3313                         unavailable or unmanaged
3314                 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3315                         since this is already done in device_cleanup()
3316                 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3317                         isn't available or managed
3318                 - (device_cleanup): use remove_all_aps()
3319                 - (remove_all_aps): consolidate code removing all APs
3320
3321 2008-04-17  Dan Williams  <dcbw@redhat.com>
3322
3323         * src/nm-serial-device.c
3324           src/nm-serial-device.h
3325                 - (wait_for_reply_got_data): break input into lines, and search each
3326                         line for responses _and_ terminator strings; also make sure that
3327                         the read loop doesn't continue after the timeout is supposed to fire
3328                 - (nm_serial_device_wait_for_reply): take an array of terminators too
3329
3330         * src/nm-gsm-device.c
3331           src/nm-cdma-device.c
3332                 - Send terminators to nm_serial_device_wait_for_reply()
3333
3334 2008-04-16  Dan Williams  <dcbw@redhat.com>
3335
3336         Patch from 陈鑫 <znscnchen@gmail.com>
3337
3338         * src/ppp-manager/nm-pppd-plugin.c
3339                 - (get_credentials): return correct value for success; handle case where
3340                         pppd just does some checking but doesn't want a password
3341                 - (plugin_init): make CHAP work too
3342
3343 2008-04-16  Dan Williams  <dcbw@redhat.com>
3344
3345         Patch from 陈鑫 <znscnchen@gmail.com>
3346
3347         * src/ppp-manager/nm-ppp-manager.c
3348                 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3349
3350 2008-04-16  Dan Williams  <dcbw@redhat.com>
3351
3352         Patch from 陈鑫 <znscnchen@gmail.com>
3353
3354         * src/nm-device-802-3-ethernet.c
3355                 - (real_deactivate_quickly): clear the IP interface name on
3356                         deactivation, otherwise the wrong interface might get used later
3357                         for routing and IP management
3358
3359 2008-04-15  Dan Williams  <dcbw@redhat.com>
3360
3361         * libnm-glib/nm-device.c
3362                 - (get_product_and_vendor): handle serial devices correctly
3363                 - (nm_device_update_description): pass device to get_product_and_vendor()
3364
3365 2008-04-15  Dan Williams  <dcbw@redhat.com>
3366
3367         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3368
3369         * src/NetworkManagerSystem.h
3370           src/backends/NetworkManagerArch.c
3371           src/backends/NetworkManagerDebian.c
3372           src/backends/NetworkManagerFrugalware.c
3373           src/backends/NetworkManagerGeneric.c
3374           src/backends/NetworkManagerGeneric.h
3375           src/backends/NetworkManagerGentoo.c
3376           src/backends/NetworkManagerMandriva.c
3377           src/backends/NetworkManagerPaldo.c
3378           src/backends/NetworkManagerRedHat.c
3379           src/backends/NetworkManagerSlackware.c
3380           src/backends/NetworkManagerSuSE.c
3381           src/nm-device.c
3382                 - (nm_generic_device_add_ip6_link_address,
3383                    nm_system_device_add_ip6_link_address): remove
3384
3385 2008-04-15  Dan Williams  <dcbw@redhat.com>
3386
3387         Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3388
3389         * src/backends/NetworkManagerArch.c
3390           src/backends/NetworkManagerDebian.c
3391           src/backends/NetworkManagerFrugalware.c
3392           src/backends/NetworkManagerGeneric.c
3393           src/backends/NetworkManagerGeneric.h
3394           src/backends/NetworkManagerGentoo.c
3395           src/backends/NetworkManagerMandriva.c
3396           src/backends/NetworkManagerPaldo.c
3397           src/backends/NetworkManagerRedHat.c
3398           src/backends/NetworkManagerSlackware.c
3399           src/backends/NetworkManagerSuSE.c
3400           src/NetworkManagerSystem.h
3401                 - flush_routes -> flush_ip4_routes
3402                 - flush_addresses -> flush_ip4_addresses
3403
3404         * src/NetworkManagerSystem.c
3405           src/nm-device.c
3406           src/vpn-manager/nm-vpn-connection.c
3407                 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3408
3409 2008-04-15  Dan Williams  <dcbw@redhat.com>
3410
3411         Remove exposure of wireless-tools mode types in the API.
3412
3413         * include/NetworkManager.h
3414                 - Define NM80211Mode enum
3415
3416         * introspection/generic-types.xml
3417                 - Describe NM_802_11_MODE enum
3418                 - Remove IW_MODE_* enum
3419
3420         * introspection/nm-access-point.xml
3421           libnm-glib/nm-access-point.c
3422           libnm-glib/nm-access-point.h
3423                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3424
3425         * introspection/nm-device-802-11-wireless.xml
3426           libnm-glib/nm-device-802-11-wireless.c
3427           libnm-glib/nm-device-802-11-wireless.h
3428                 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3429
3430         * libnm-util/nm-setting-wireless.c
3431           src/NetworkManagerAP.c
3432           src/NetworkManagerAP.h
3433           src/nm-device-802-11-wireless.c
3434           src/nm-device-802-11-wireless.h
3435           test/nm-tool.c
3436                 - Use NM80211Mode not IW_MODE_*
3437
3438 2008-04-15  Dan Williams  <dcbw@redhat.com>
3439
3440         Enhance nm-online based on a patch from Bill Nottingham.
3441
3442         * test/nm-online.c
3443                 - Add a '-q' option
3444                 - Add help messages and option summary
3445                 - Add long-format options
3446                 - Add a '-x' option to exit if NM isn't running or isn't connecting
3447
3448 2008-04-15  Tambet Ingo  <tambet@gmail.com>
3449
3450         * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3451
3452         * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3453
3454 2008-04-15  Dan Williams  <dcbw@redhat.com>
3455
3456         * nm-setting-ip4-config.c
3457                 - (ip4_addresses_from_gvalue): handle NULL address array
3458
3459         * nm-setting-8021x.c
3460                 - (verify_tls, verify_ttls): warn on failed verification
3461
3462 2008-04-10  Dan Williams  <dcbw@redhat.com>
3463
3464         * src/nm-gsm-device.c
3465                 - (automatic_registration): accept "+CREG: 0,0"
3466                 - (automatic_registration_response): fail on "+CREG: 0,0"
3467
3468 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3469
3470         * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3471
3472 2008-04-10  Tambet Ingo  <tambet@gmail.com>
3473
3474         * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting): 
3475         Make it compile again by commenting out broken code that at first didn't work and
3476         now didn't compile either.
3477
3478 2008-04-08  Dan Williams  <dcbw@redhat.com>
3479
3480         * libnm-glib/nm-object-cache.c
3481           libnm-glib/nm-settings.c
3482           src/dhcp-manager/nm-dhcp-manager.c
3483           system-settings/plugins/ifcfg-fedora/plugin.c
3484           system-settings/plugins/ifcfg-suse/plugin.c
3485           system-settings/src/nm-system-config-hal-manager.c
3486           libnm-util/nm-utils.c
3487                 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3488                         not threadsafe anyway
3489
3490 2008-04-08  Dan Williams  <dcbw@redhat.com>
3491
3492         * system-settings/src/main.c
3493                 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3494                         callbacks take a device type too
3495
3496 2008-04-08  Dan Williams  <dcbw@redhat.com>
3497
3498         The system settings service will now create a new default DHCP connection
3499         for wired devices that have no existing applicable connection.
3500
3501         * system-settings/src/nm-system-config-hal-manager.c
3502           system-settings/src/nm-system-config-hal-manager.h
3503                 - (nm_system_config_hal_manager_get_type_for_udi): new function
3504
3505         * system-settings/src/dbus-settings.c
3506           system-settings/src/dbus-settings.h
3507                 - (nm_sysconfig_settings_get_connections): new function
3508                 - (nm_sysconfig_settings_is_device_managed): new function
3509
3510         * system-settings/src/main.c
3511                 - (load_stuff): check for wired devices that need a default connection
3512                 - (get_details_for_udi): get interface and MAC address from HAL
3513                 - (add_default_dhcp_connection): add a default connection for a wired
3514                         device if needed
3515                 - (device_added_cb, device_removed_cb): do the right thing with
3516                         wired devices and their default connections on HAL device events
3517
3518 2008-04-07  Dan Williams  <dcbw@redhat.com>
3519
3520         * libnm-glib/nm-device.c
3521           libnm-glib/nm-device.h
3522                 - Proxy the 'managed' property
3523
3524 2008-04-07  Dan Williams  <dcbw@redhat.com>
3525
3526         * src/nm-gsm-device.c
3527           src/nm-cdma-device.c
3528                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3529                         handler to transition to DISCONNECTED
3530
3531 2008-04-07  Dan Williams  <dcbw@redhat.com>
3532
3533         Patch from Bill Nottingham
3534
3535         * dispatcher-daemon/NetworkManagerDispatcher.c
3536                 - ignore backup/packaging crufy (rh #440143)
3537
3538 2008-04-07  Dan Williams  <dcbw@redhat.com>
3539
3540         * include/NetworkManager.h
3541                 - Remove the DOWN and CANCELLED device states
3542                 - Add UNMANAGED and UNAVAILABLE device states
3543                 - Document the device states
3544
3545         * introspection/nm-device.xml
3546           src/nm-device-interface.c
3547           src/nm-device-interface.h
3548                 - Add the 'managed' property
3549
3550         * test/nm-tool.c
3551                 - (detail_device): print out device state
3552
3553         * src/NetworkManagerSystem.h
3554           src/backends/NetworkManagerArch.c
3555           src/backends/NetworkManagerDebian.c
3556           src/backends/NetworkManagerFrugalware.c
3557           src/backends/NetworkManagerGentoo.c
3558           src/backends/NetworkManagerMandriva.c
3559           src/backends/NetworkManagerPaldo.c
3560           src/backends/NetworkManagerRedHat.c
3561           src/backends/NetworkManagerSlackware.c
3562           src/backends/NetworkManagerSuSE.c
3563                 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3564                    nm_system_device_free_system_config): remove; they were unused and
3565                         their functionality should be re-implemented in each distro's
3566                         system settings service plugin 
3567
3568         * src/nm-gsm-device.c
3569           src/nm-gsm-device.h
3570           src/nm-cdma-device.c
3571           src/nm-cdma-device.h
3572                 - (*_new): take the 'managed' argument
3573
3574         * src/nm-device.c
3575                 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3576                 - (nm_device_init): start in unmanaged state, not disconnected
3577                 - (constructor): don't start device until the system settings service
3578                         has had a chance to figure out if the device is managed or not
3579                 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3580                         don't set device state here, let callers handle that as appropriate
3581                 - (nm_device_dispose): don't touch the device if it's not managed
3582                 - (set_property, get_property, nm_device_class_init): implement the
3583                         'managed' property
3584                 - (nm_device_state_changed): bring the device up if its now managed,
3585                         and deactivate it if it used to be active
3586                 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3587                         with the managed state
3588
3589         * src/nm-hal-manager.c
3590                 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3591                         take initial managed state and pass it along to device constructors
3592                 - (create_device_and_add_to_list): get managed state and pass to
3593                         type creators
3594
3595         * src/nm-device-802-11-wireless.c
3596                 - (real_can_activate): fold in most of
3597                         nm_device_802_11_wireless_can_activate()
3598                 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3599                 - (link_timeout_cb): instead of deactivating, change device state and
3600                         let the device state handler to it
3601                 - (real_update_hw_address): clean up
3602                 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3603                         handler to transition to DISCONNECTED if the device isn't rfkilled
3604
3605         * src/nm-device-802-3-ethernet.c
3606                 - (set_carrier): move above callers and get rid of prototype
3607                 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3608                         idle handler to transition to DISCONNECTED if the device has a
3609                         carrier
3610                 - (real_update_hw_address): clean up
3611                 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3612                         deactivation directly as deactivation doesn't change state anymore
3613
3614         * src/NetworkManagerPolicy.c
3615                 - (schedule_activate_check): yay, remove wireless_enabled hack since
3616                         the NMManager and wireless devices work that out themselves now
3617                 - (device_state_changed): change to a switch and update for new device
3618                         states
3619                 - (device_carrier_changed): remove; device handles this now through
3620                         state changes
3621                 - (device_added): don't care about carrier any more; the initial
3622                         activation check will happen when the device transitions to
3623                         DISCONNECTED
3624
3625         * src/nm-manager.c
3626                 - (dispose): clear unmanaged devices
3627                 - (handle_unmanaged_devices): update unmanaged device list and toggle
3628                         the managed property on each device when needed
3629                 - (system_settings_properties_changed_cb): handle signals from the
3630                         system settings service
3631                 - (system_settings_get_unmanaged_devices_cb): handle callback from
3632                         getting the unmanaged device list method call
3633                 - (query_unmanaged_devices): ask the system settings service for its
3634                         list of unmanaged devices
3635                 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3636                         devices
3637                 - (manager_set_wireless_enabled): push rfkill state down to wireless
3638                         devices directly and let them handle the necessary state transitions
3639                 - (manager_device_state_changed): update for new device states
3640                 - (nm_manager_add_device): set initial rfkill state on wireless devices
3641                 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3642                 - (nm_manager_activate_connection): return error if the device is
3643                         unmanaged
3644                 - (nm_manager_sleep): handle new device states correctly; don't change
3645                         the state of unavailable/unmanaged devices
3646
3647         * libnm-glib/nm-device-802-11-wireless.c
3648                 - (state_changed_cb): update for new device states
3649
3650 2008-04-07  Dan Williams  <dcbw@redhat.com>
3651
3652         * marshallers/nm-marshal.list
3653                 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3654
3655 2008-04-07  Dan Williams  <dcbw@redhat.com>
3656
3657         * system-settings/src/main.c
3658                 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3659                         plugins to the dbus settings object
3660                 - (load_stuff): start the dbus service after grabbing unmanaged devices
3661                 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3662                 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3663                 - (main): switch default logging to syslog with a 'debug' option to
3664                         output to console; start up the HAL manager
3665
3666 2008-04-07  Dan Williams  <dcbw@redhat.com>
3667
3668         * introspection/nm-settings-system.xml
3669           introspection/Makefile.am
3670                 - Define the unmanaged devices interface for the system settings service
3671
3672         * system-settings/src/nm-system-config-hal-manager.c
3673           system-settings/src/nm-system-config-hal-manager.h
3674           system-settings/src/nm-system-config-hal-manager-private.h
3675           system-settings/src/Makefile.am
3676                 - Add a lightweight HAL manager object for tracking network devices for
3677                         the purpose of determining unmanaged devices and which devices need
3678                         the default DHCP connections
3679
3680         * system-settings/src/nm-system-config-interface.c
3681           system-settings/src/nm-system-config-interface.h
3682                 - (nm_system_config_interface_init): add the HAL manager as an argument
3683                 - (nm_system_config_interface_get_unmanaged_devices): implement
3684                 - Define 'unmanaged-devices-changed' signal
3685
3686         * system-settings/src/dbus-settings.c
3687           system-settings/src/dbus-settings.h
3688                 - Implement the unmanaged devices interface; some cleanups
3689
3690         * system-settings/plugins/ifcfg-suse/plugin.c
3691                 - Fixup for plugin interface changes
3692
3693         * system-settings/plugins/ifcfg-fedora/plugin.c
3694                 - (get_ether_device_udi): new function; find the device that has
3695                         a specified MAC address and return its UDI
3696                 - (get_udi_for_connection): new function; try to find the specific
3697                         device a connection is locked to, if any
3698                 - (device_added_cb, device_removed_cb): update unmanaged device list in
3699                         response to HAL events
3700                 - (get_unmanaged_devices): new function; return unmanaged device list
3701                 - (build_one_connection): set the connection's locked device, if any
3702                 - (write_auto_wired_connection): remove
3703                 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3704                 - (handle_connection_changed): alert listeners that the unmanaged device
3705                         list has changed
3706                 - (init): fixup for plugin interface changes, implement unmanaged devices
3707
3708         * system-settings/plugins/ifcfg-fedora/parser.c
3709           system-settings/plugins/ifcfg-fedora/parser.h
3710                 - (connection_data_free): clean up connection UDI
3711
3712 2008-04-07  Dan Williams  <dcbw@redhat.com>
3713
3714         * system-settings/plugins/ifcfg-fedora/parser.c
3715                 - (make_ip4_setting): fix parsing of DNS servers
3716
3717 2008-04-05  Dan Williams  <dcbw@redhat.com>
3718
3719         * Makefile.am
3720           configure.in
3721           marshallers/Makefile.am
3722           marshallers/nm-marshal-main.c
3723           marshallers/nm-marshal.list
3724                 - Consolidate marshallers
3725
3726         * libnm-glib/nm-marshal-main.c
3727           libnm-glib/nm-marshal.list
3728           src/marshallers/Makefile.am
3729           src/marshallers/nm-marshal-main.c
3730           src/marshallers/nm-marshal.list
3731                 - Remove
3732
3733         * libnm-glib/Makefile.am
3734           src/Makefile.am
3735           src/dhcp-manager/Makefile.am
3736           src/ppp-manager/Makefile.am
3737           src/supplicant-manager/Makefile.am
3738           src/vpn-manager/Makefile.am
3739                 - Use consolidated marshallers
3740
3741 2008-04-04  Dan Williams  <dcbw@redhat.com>
3742
3743         * src/nm-hal-manager.c
3744           src/nm-hal-manager.h
3745                 - (hal_init): don't look for hardware here
3746                 - (nm_hal_manager_start): new function; look for hardware here instead,
3747                         which can be done at a later time than hal_init()
3748
3749         * src/NetworkManager.c
3750                 - (main): start HAL manager after entering the main loop
3751
3752 2008-04-03  Dan Williams  <dcbw@redhat.com>
3753
3754         * libnm-glib/nm-settings.c
3755           libnm-glib/nm-settings.h
3756             - (nm_exported_connection_get_id): new function
3757                 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3758
3759 2008-04-02  Dan Williams  <dcbw@redhat.com>
3760
3761         * src/nm-device-interface.c
3762           src/nm-device-interface.h
3763           src/nm-device.c
3764           src/nm-device.h
3765                 - Rename check_connection_conflicts() to check_connection_compatible()
3766
3767         * src/nm-device-802-11-wireless.c
3768                 - (real_check_connection_conflicts): remove
3769                 - (real_check_connection_compatible): implement; match MAC address
3770
3771         * src/nm-device-802-3-ethernet.c
3772                 - (real_check_connection_conflicts): remove
3773                 - (real_check_connection_compatible): implement; match MAC address
3774                 - (real_get_best_auto_connection): correctly handle PPPoE cases
3775
3776         * src/nm-manager.c
3777                 - (check_connection_allowed): remove; unused until PolicyKit integration
3778                 - (internal_activate_device): check whether the connection is compatible
3779                         with the device before trying to activate it
3780
3781 2008-04-02  Dan Williams  <dcbw@redhat.com>
3782
3783         * system-settings/plugins/ifcfg-fedora/parser.c
3784                 - (read_mac_address): new function; read in MAC address and stuff it
3785                         into the connection
3786                 - (add_one_wep_key): remove debug spew
3787                 - (make_wireless_security_setting): validate the default TX key; don't
3788                         add the wireless-security setting if the connection doesn't need
3789                         security; don't leak the keys shvarFile on error cases
3790                 - (make_wireless_setting, make_wired_setting): populate device's MAC
3791                         address
3792
3793 2008-04-02  Dan Williams  <dcbw@redhat.com>
3794
3795         * libnm-util/nm-setting-connection.c
3796           libnm-util/nm-setting-connection.h
3797                 - (set_property, get_property, nm_setting_connection_class_init): remove
3798                         the 'lockdown' property; it's functionality will be replaced by
3799                         PolicyKit instead
3800
3801 2008-04-01  Dan Williams  <dcbw@redhat.com>
3802
3803         Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3804
3805         * configure.in
3806           initscript/Makefile.am
3807           initscript/Mandriva/Makefile.am
3808           initscript/Mandriva/networkmanager.in
3809           initscript/Mandriva/networkmanagerdispatcher.in
3810           src/backends/Makefile.am
3811           src/backends/NetworkManagerMandriva.c
3812           system-settings/plugins/Makefile.am
3813                 - Add Mandriva support
3814
3815 2008-03-31  Dan Williams  <dcbw@redhat.com>
3816
3817         * src/vpn-manager/nm-vpn-service.c
3818                 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3819                         errors can be passed back to the caller; also no longer scheduled
3820                         as an idle handler, but called directly; and bump up VPN service
3821                         spawn timeout, 2s is really short
3822                 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3823                         but call it directly so that errors are reported on return from
3824                         ActivateConnection() and don't get lost.  If scheduled as an idle
3825                         handler, clients don't have the time to query NM for the new VPN
3826                         connection's properties before the VPN connection is torn down again
3827                         if the service couldn't be launched, and therefore launch errors
3828                         get lost.
3829
3830 2008-03-31  Dan Williams  <dcbw@redhat.com>
3831
3832         * src/vpn-manager/nm-vpn-connection.c
3833                 - (device_state_changed): send correct state on device failure too
3834                 - (plugin_state_changed): failed state means unexpected disconnection,
3835                         thus if the service goes away while the VPN connection is activated
3836                         that's a failure too
3837
3838 2008-03-31  Dan Williams  <dcbw@redhat.com>
3839
3840         * src/vpn-manager/nm-vpn-manager.c
3841           src/vpn-manager/nm-vpn-manager.h
3842                 - Make VPNManager errors more available; add a service-start-failed error
3843
3844 2008-03-31  Dan Williams  <dcbw@redhat.com>
3845
3846         * libnm-glib/nm-client.c
3847           libnm-glib/nm-client.h
3848                 - (activate_cb): pass the new active connection to callback; fix
3849                         message when no callback is specified
3850
3851 2008-03-30  Dan Williams  <dcbw@redhat.com>
3852
3853         * libnm-util/nm-setting-wireless-security.c
3854                 - (need_secrets): only require key0 if the transmit key index is also
3855                         0
3856                 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
3857
3858 2008-03-29  Dan Williams  <dcbw@redhat.com>
3859
3860         * libnm-util/nm-setting-8021x.c
3861           libnm-util/nm-setting-ip4-config.c
3862           libnm-util/nm-setting-vpn-properties.c
3863           libnm-util/nm-setting-vpn.c
3864           libnm-util/nm-setting-wireless-security.c
3865           libnm-util/nm-setting-wireless.c
3866           libnm-util/nm-utils.c
3867           src/dhcp-manager/nm-dhcp-manager.c
3868           src/nm-activation-request.c
3869           src/nm-ip4-config.c
3870           src/nm-manager.c
3871           src/nm-properties-changed-signal.c
3872           src/ppp-manager/nm-pppd-plugin.c
3873           src/supplicant-manager/nm-supplicant-interface.c
3874           src/vpn-manager/nm-vpn-connection.c
3875                 - consistently use nm-dbus-glib-types.h
3876
3877 2008-03-29  Dan Williams  <dcbw@redhat.com>
3878
3879         * src/vpn-manager/nm-vpn-connection.c
3880                 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3881                         not string
3882
3883         * src/nm-activation-request.c
3884                 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3885                         not string
3886
3887 2008-03-29  Dan Williams  <dcbw@redhat.com>
3888
3889         * libnm-glib/nm-device-802-11-wireless.c
3890                 - (access_point_added_proxy): create new APs if not found
3891
3892 2008-03-29  Dan Williams  <dcbw@redhat.com>
3893
3894         * libnm-glib/nm-client.c
3895                 - (proxy_name_owner_changed): tell wireless devices about rfkill state
3896                         before freeing them
3897
3898 2008-03-29  Dan Williams  <dcbw@redhat.com>
3899
3900         * system-settings/plugins/ifcfg-fedora/parser.c
3901                 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
3902                         [0...3]; also handle KEY correctly in combination with DEFAULTKEY
3903
3904 2008-03-29  Dan Williams  <dcbw@redhat.com>
3905
3906         * system-settings/plugins/ifcfg-fedora/parser.c
3907                 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
3908
3909 2008-03-27  Dan Williams  <dcbw@redhat.com>
3910
3911         * nm-object.c
3912                 - (nm_object_queue_notify): don't notify multiple times for the same
3913                         property
3914
3915         * nm-object-private.h
3916                 - (handle_ptr_array_return): return NULL if the given array is NULL or
3917                         if it has zero elements
3918
3919         * nm-ip4-config.c
3920                 - (finalize): use g_ptr_array_foreach() when freeing domains
3921                 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
3922
3923         * nm-active-connection.c
3924                 - (nm_active_connection_get_devices): use handle_ptr_array_return()
3925
3926         * nm-device-802-11-wireless.c
3927           nm-device-802-11-wireless.h
3928                 - (nm_device_802_11_wireless_get_access_points): return const; use
3929                         handle_ptr_array_return()
3930
3931         * nm-types.c
3932                 - (nm_object_array_demarshal): always create an array, even of length
3933                         zero, to distinguish between "NM returned no items" and "haven't
3934                         asked NM yet"
3935
3936         * nm-client.c
3937                 - (dispose): free active connections too
3938                 - (proxy_name_owner_changed): free active connections too when NM goes
3939                         away
3940                 - (nm_client_get_devices): return const; use handle_ptr_array_return()
3941                 - (nm_client_get_active_connections): use handle_ptr_array_return()
3942
3943 2008-03-26  Dan Williams  <dcbw@redhat.com>
3944
3945         Rework VPN connection handling for a more consistent D-Bus API.  The
3946         VPNManager object has been removed, and active VPN connections are now the
3947         same as any other active connection.  The Manager object's ActivateConnection
3948         and DeactivateConnection methods are used to start and stop a VPN connection,
3949         and the VPNConnection objects are subclasses of the ActiveConnection objects.
3950         When activating a VPN connection, pass the path of the active connection
3951         to which the VPN connection is tied in the 'specific_object' argument.
3952
3953         Consequently, the libnm-glib API has been reworked to match this arrangement,
3954         with the VPNManager object removed, and the NMVPNConnection objects now
3955         being subclasses of NMActiveConnection.
3956
3957 2008-03-25  Dan Williams  <dcbw@redhat.com>
3958
3959         Patch from Björn Martensen <bjoern.martensen@gmail.com>
3960
3961         * initscript/Arch/networkmanager.in
3962           initscript/Arch/networkmanager-dispatcher.in
3963                 - Updates for Arch Linux (gnome.org #523701)
3964
3965 2008-03-25  Dan Williams  <dcbw@redhat.com>
3966
3967         * libnm-glib/nm-ip4-config.c
3968           libnm-glib/nm-active-connection.c
3969           libnm-glib/nm-access-point.c
3970                 - Use nm_object_queue_notify() instead of g_object_notify()
3971
3972         * libnm-glib/nm-device.c
3973                 - (demarshal_ip4_config): distinguish between successful but missing
3974                         ip4-config request, and unsuccessful and missing ip4-config request
3975                 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
3976                         path
3977                 - Use nm_object_queue_notify() instead of g_object_notify()
3978
3979         * libnm-glib/nm-device-802-11-wireless.c
3980                 - (demarshal_active_ap): distinguish between successfull but missing
3981                         active-ap request, and unsuccessful and missing active-ap request
3982                 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
3983                         code
3984                 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
3985                         for the NMClient to notify the device that wireless is disabled,
3986                         and therefore to clear the AP list and active AP
3987                 - Use nm_object_queue_notify() instead of g_object_notify()
3988
3989         * libnm-glib/nm-client.c
3990                 - (poke_wireless_devices_with_rf_status): new function
3991                 - (update_wireless_status): notify wireless devices of the rfkill status
3992                         so they can clean up if needed
3993                 - Use nm_object_queue_notify() instead of g_object_notify()
3994
3995 2008-03-25  Dan Williams  <dcbw@redhat.com>
3996
3997         * libnm-glib/nm-object.c
3998           libnm-glib/nm-object-private.h
3999                 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4000                         signals to an idle handler
4001                 - (nm_object_get_property): add a timeout to the D-Bus method call
4002
4003 2008-03-25  Dan Williams  <dcbw@redhat.com>
4004
4005         * introspection/nm-device-cdma.xml
4006           introspection/nm-device-gsm.xml
4007           introspection/Makefile.am
4008           introspection/all.xml
4009                 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4010
4011         * src/nm-gsm-device.h
4012           src/nm-gsm-device.c
4013           src/nm-cdma-device.h
4014           src/nm-cdma-device.c
4015           src/Makefile.am
4016                 - Implement PropertiesChanged signals
4017
4018         * libnm-glib/nm-cdma-device.c
4019           libnm-glib/nm-cdma-device.c
4020                 - Attach to PropertiesChanged signals
4021
4022 2008-03-24  Dan Williams  <dcbw@redhat.com>
4023
4024         * libnm-glib/nm-client.c
4025                 - (client_device_added_proxy): add new devices to the internal device
4026                         list so they appear to clients
4027
4028 2008-03-24  Dan Williams  <dcbw@redhat.com>
4029
4030         Massive fixup of libnm-glib to:
4031         a) have all objects (with the exception of VPN) cache their properties and
4032                 update them asynchronously on PropertiesChanged signals from NM
4033         b) return internal const data for most attributes/properties instead of
4034                 allocated values that the caller must free
4035         c) cache wrapped objects such that a given D-Bus path will always map to the
4036                 same GObject returned by libnm-glib
4037         d) remove a few signals and move them to GObject property notifications
4038         e) match recent NM D-Bus API changes for activation/deactivation
4039         f) remove some private functions from libnm-glib headers
4040
4041 2008-03-20  Dan Williams  <dcbw@redhat.com>
4042
4043         * src/nm-manager.c
4044                 - (nm_manager_update_state, manager_device_state_changed,
4045                    nm_manager_activate_device, connection_added_default_handler,
4046                    impl_manager_activate_connection, impl_manager_deactivate_connection):
4047                         queue PropertyChanged singals when the active connections change
4048
4049 2008-03-20  Dan Williams  <dcbw@redhat.com>
4050
4051         * introspection/nm-manager.xml
4052           introspection/nm-manager-client.xml
4053                 - (ActivateConnection): return the object path of the active connection
4054                         on success
4055                 - (GetActiveConnections): remove
4056                 - (DeactivateConnection): new function; deactivate a currently active
4057                         connection
4058                 - Add an ActiveConnections property which returns an array of
4059                         active connection object paths
4060
4061         * introspection/nm-device.xml
4062                 - (Deactivate): remove
4063
4064         * introspection/all.xml
4065                 - Add ActiveConnection introspection
4066
4067         * introspection/nm-active-connection.xml
4068                 - Add the ActiveConnection object
4069
4070         * include/NetworkManager.h
4071                 - Add the Connection.Active D-Bus interface
4072
4073         * src/nm-device-interface.c
4074                 - (impl_device_deactivate): remove
4075
4076         * src/nm-activation-request.c
4077           src/nm-activation-request.c
4078           src/Makefile.am
4079                 - Implement the Connection.Active D-Bus interface
4080
4081         * src/nm-manager.c
4082                 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4083                 - (nm_manager_activate_device): return the active connection path
4084                 - (connection_added_default_handler, impl_manager_activate_connection):
4085                         return the active connection to the caller
4086                 - (add_one_connection_element, impl_manager_get_active_connections):
4087                         remove
4088                 - (impl_manager_deactivate_connection): new function; deactivate an
4089                         active connection
4090
4091         * libnm-glib/nm-device.c
4092           libnm-glib/nm-device.h
4093                 - Remove Deactivate() function
4094
4095 2008-03-19  Dan Williams  <dcbw@redhat.com>
4096
4097         * introspection/nm-manager.xml
4098           introspection/nm-manager-client.xml
4099                 - Rename the ActivateDevice method to ActivateConnection to better
4100                         reflect it's usage; it's arguments get reordered a bit too
4101                 - Convert GetActiveConnections method return from a struct to a dict
4102
4103         * include/NetworkManager.h
4104                 - Define the dict keys for return value of GetActiveConnections
4105
4106         * src/nm-manager.c
4107                 - impl_manager_activate_device -> impl_manager_activate_connection
4108                 - (add_one_connection_element): return a populated hash table, not
4109                         a structure
4110
4111         * libnm-glib/nm-client.c
4112           libnm-glib/nm-client.h
4113                 - nm_client_activate_device -> nm_client_activate_connection
4114                 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4115                 - (nm_client_get_active_connections): return a GSList of GHashTables,
4116                         instead of the custom structures.  Each element of the returned list
4117                         must be freed with nm_client_free_active_connections_element()
4118
4119 2008-03-18  Dan Williams  <dcbw@redhat.com>
4120
4121         * system-settings/plugins/ifcfg-fedora/parser.c
4122           system-settings/plugins/ifcfg-fedora/parser.h
4123           system-settings/plugins/ifcfg-fedora/plugin.c
4124                 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4125                         profiles.  DNS servers and searches must now be stored in the ifcfg
4126                         files themselves
4127
4128 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4129
4130         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4131         print out username and password, it's supposed to be a secret.
4132
4133         * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication 
4134         request and set the device state accordingly.
4135
4136 2008-03-18  Tambet Ingo  <tambet@gmail.com>
4137
4138         * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4139
4140         * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4141
4142 2008-03-18  Dan Williams  <dcbw@redhat.com>
4143
4144         * src/vpn-manager/nm-vpn-connection.c
4145                 - (get_secrets_cb): handle new GetSecrets return format
4146
4147 2008-03-18  Dan Williams  <dcbw@redhat.com>
4148
4149         Adapt system settings service for split 802.1x.
4150
4151         * system-settings/src/nm-system-config-interface.h
4152                 - clarify return value of get_secrets()
4153
4154         * system-settings/src/dbus-settings.c
4155                 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4156                 - (check_for_secrets): check if there actually secrets returned by a
4157                         plugin
4158                 - (exported_connection_get_secrets): just return the plugin-returned
4159                         hash of settings' secrets if it looks valid
4160
4161         * system-settings/plugins/ifcfg-fedora/plugin.c
4162                 - (get_secrets): add split secrets with correct format to reply hash
4163
4164         * system-settings/plugins/ifcfg-fedora/parser.c
4165           system-settings/plugins/ifcfg-fedora/parser.h
4166                 - (copy_one_cdata_secret, connection_data_copy_secrets,
4167                    connection_data_free, connection_data_add): keep secrets for
4168                         different settings in different hashes
4169
4170 2008-03-17  Tambet Ingo  <tambet@gmail.com>
4171
4172         Clean up activating device deactivation.
4173
4174         * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4175         should be done whether the device activation gets cancelled or the device
4176         is just getting deactivated.
4177         (nm_device_activation_cancel): Remove.
4178         (nm_device_deactivate_quickly): Handle the case where device is activating.
4179
4180         * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4181         It does the exact same thing as real_deactivate_quickly().
4182
4183 2008-03-17  Dan Williams  <dcbw@redhat.com>
4184
4185         Split the 802.1x bits out of the wireless-security setting so they are
4186         generalized enough for wired 802.1x to use too.
4187
4188         * introspection/nm-exported-connection.xml
4189                 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4190                         of just a hash of the secrets for one setting
4191
4192         * libnm-util/nm-setting-wireless-security.c
4193           libnm-util/nm-setting-wireless-security.h
4194                 - Remove 802.1x-specific stuff
4195                 - Added leap-username and leap-password properties for old-school LEAP
4196
4197         * src/nm-device.c
4198           src/nm-device.h
4199                 - (connection_secrets_updated_cb): take a list of updated settings names,
4200                         not just one
4201
4202         * src/supplicant-manager/nm-supplicant-config.c
4203           src/supplicant-manager/nm-supplicant-config.h
4204                 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4205                         specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4206                         to nm_supplicant_config_add_setting_8021x()
4207                 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4208                         the supplicant config
4209
4210         * src/nm-device-802-11-wireless.c
4211                 - (build_supplicant_config): pass in the 802.1x setting too, if any
4212                 - (real_connection_secrets_updated): take a list of updated settings
4213                         names, not just one
4214
4215         * src/nm-device-802-3-ethernet.c
4216           src/nm-cdma-device.c
4217           src/nm-gsm-device.c
4218                 - (real_connection_secrets_updated_cb): take a list of updated settings
4219                         names, not just one
4220
4221         * src/nm-activation-request.c
4222           src/nm-activation-request.h
4223                 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4224                         now passes a list of updated settings names, not just one
4225                 - (update_one_setting): new function; handle one updated setting
4226                 - (get_secrets_cb): handle multiple settings returned from the
4227                         settings service; have to be careful of ordering here as there are
4228                         some dependencies between settings (ex. wireless-security and 802.1x
4229                         in some cases)
4230
4231         * src/marshallers/nm-marshal.list
4232                 - new marshaller for connection-secrets-updated signal
4233
4234         * libnm-util/nm-setting-8021x.c
4235                 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4236                         methods
4237                 - (verify): a valid 'eap' property is now required
4238
4239         * libnm-util/nm-connection.c
4240                 - (register_default_settings): add priorities to settings; there are
4241                         some dependencies between settings, and during the need_secrets
4242                         calls this priority needs to be respected.  For example, only the
4243                         wireless-security setting knows whether or not the connection is
4244                         going to use 802.1x or now, so it must be asked for secrets before
4245                         any existing 802.1x setting is
4246                 - (nm_connection_lookup_setting_type): expose
4247
4248         * libnm-util/nm-setting-wireless.c
4249                 - (verify): should verify even if all_settings is NULL; otherwise won't
4250                         catch the case where there is missing security
4251
4252         * libnm-util/nm-setting-wireless-security.c
4253                 - Remove everything to do with 802.1x
4254                 - Add old-school LEAP specific properties for username and password
4255                 - (need_secrets): rework LEAP secrets checking
4256                 - (verify): rework for LEAP and 802.1x verification
4257
4258 2008-03-17  Dan Williams  <dcbw@redhat.com>
4259
4260         * src/NetworkManagerPolicy.c
4261                 - (auto_activate_device): always remove the current activation check
4262                         from the pending activation list, otherwise when the policy gets
4263                         destroyed on NM exit it will attempt to free the already freed
4264                         activation check
4265
4266 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4267
4268         * src/backends/NetworkManagerSlackware.c 
4269         (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4270
4271         * src/backends/NetworkManagerSuSE.c: Add missing includes.
4272
4273 2008-03-14  Dan Williams  <dcbw@redhat.com>
4274
4275         * src/nm-manager.c
4276                 - (nm_device_interface_get_iface): g_object_get() will return an
4277                         allocated value, so this function must not return const
4278                 - (nm_device_interface_activate): free returned iface
4279
4280 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4281
4282         * libnm-util/Makefile.am: Add new files to build.
4283
4284         * libnm-util/nm-connection.c: Register NMSetting8021x.
4285
4286         * libnm-util/nm-setting-8021x.c
4287         * libnm-util/nm-setting-8021x.h: Implement.
4288
4289 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4290
4291         * libnm-util/Makefile.am: Add new files to build.
4292
4293         * libnm-util/nm-connection.c: Register NMSetting8021x.
4294
4295         * libnm-util/nm-setting-8021x.c
4296         * libnm-util/nm-setting-8021x.h: Implement.
4297
4298 2008-03-14  Tambet Ingo  <tambet@gmail.com>
4299
4300         * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4301         data.
4302
4303 2008-03-14  Dan Williams  <dcbw@redhat.com>
4304
4305         * include/wireless-helper.h
4306           include/Makefile.am
4307                 - One place for all the junk needed for #including wireless.h
4308
4309         * test/nm-tool.c
4310           src/NetworkManagerAP.c
4311           src/wpa.c
4312           src/Makefile.am
4313           libnm-util/nm-utils.c
4314           libnm-util/nm-setting-wireless.c
4315           libnm-glib/nm-device-802-11-wireless.c
4316           libnm-glib/nm-access-point.c
4317           libnm-glib/libnm-glib-test.c
4318                 - include wireless-helper.h, not iwlib.h
4319
4320         * configure.in
4321                 - Don't need libiw really, just need to check for wireless.h
4322
4323         * src/kernel-types.h
4324                 - Remove; used types moved into wpa.c
4325
4326         * src/nm-device-802-11-wireless.c
4327                 - (nm_device_802_11_wireless_update_signal_strength,
4328                    real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4329                    nm_device_802_11_wireless_set_mode,
4330                    nm_device_802_11_wireless_get_frequency,
4331                    nm_device_802_11_wireless_get_ssid,
4332                    nm_device_802_11_wireless_set_ssid,
4333                    nm_device_802_11_wireless_get_bitrate,
4334                    nm_device_802_11_wireless_get_bssid,
4335                    nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4336                         instead of iwlib functions
4337
4338 2008-03-14  Dan Williams  <dcbw@redhat.com>
4339
4340         * src/ppp-manager/nm-ppp-manager.c
4341                 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4342                         should only take the DBusGMethodInvocation argument, not user/pass
4343                         too.  With dbus-glib, async functions only take 2 C arguments since
4344                         the real dbus method arguments get passed back with
4345                         dbus_g_method_return()
4346
4347 2008-03-13  Tambet Ingo  <tambet@gmail.com>
4348
4349         * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes): 
4350         Adapt the changes of NMSettingIP4Config.
4351
4352 2008-03-13  Dan Williams  <dcbw@redhat.com>
4353
4354         * src/NetworkManagerUtils.c
4355           src/NetworkManagerUtils.h
4356                 - (nm_ether_ntop): replacement for iw_ether_ntop()
4357
4358         * src/NetworkManagerAP.c
4359           src/nm-device-802-11-wireless.c
4360           src/nm-device-802-3-ethernet.c
4361                 - s/iw_ether_ntop/nm_ether_ntop/g
4362
4363 2008-03-13  Dan Williams  <dcbw@redhat.com>
4364
4365         * src/NetworkManagerPolicy.c
4366                 - (update_routing_and_dns): never set the default route through an
4367                         IPv4LL addressed device
4368
4369 2008-03-13  Dan Williams  <dcbw@redhat.com>
4370
4371         * NetworkManagerUtils.c
4372           NetworkManagerUtils.h
4373                 - Remove NMSock stuff
4374                 - Remove the completion stuff
4375
4376         * nm-device.c
4377           nm-device.h
4378           NetworkManager.c
4379           NetworkManagerSystem.c
4380           autoip.c
4381           nm-device-802-11-wireless.c
4382           nm-device-802-3-ethernet.c
4383                 - Remove NMSock and completion stuff
4384                 - Remove nm_ioctl_info()
4385
4386 2008-03-12  Dan Williams  <dcbw@redhat.com>
4387
4388         * src/nm-device.c
4389                 - (merge_ip4_config): avoid duplicates
4390
4391 2008-03-12  Dan Williams  <dcbw@redhat.com>
4392
4393         * libnm-util/nm-setting-ip4-config.c
4394           libnm-util/nm-setting-ip4-config.h
4395                 - Remove 'manual' and 'autoip' properties
4396                 - Add 'method' property
4397                 - (verify): fix verification with 'method'
4398                 - (finalize): free 'method'
4399                 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4400                         up for 'method'
4401
4402         * src/nm-device.c
4403                 - (real_act_stage3_ip_config_start): check IP4Config method
4404                 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4405                         the future
4406                 - (merge_ip4_config): IP settings are valid with DHCP too
4407                 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4408                 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4409
4410         * src/nm-device-802-11-wireless.c
4411                 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4412                 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4413                         only on demand
4414
4415         * system-settings/plugins/ifcfg-fedora/parser.c
4416           system-settings/plugins/ifcfg-suse/parser.c
4417                 - (make_ip4_setting): fix up for 'method'
4418
4419 2008-03-12  Dan Williams  <dcbw@redhat.com>
4420
4421         * system-settings/plugins/ifcfg-fedora/parser.c
4422           system-settings/plugins/ifcfg-fedora/parser.h
4423                 - (get_ifcfg_name): ignore more file suffixes
4424                 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4425
4426 2008-03-12  Dan Williams  <dcbw@redhat.com>
4427
4428         * configure.in
4429                 - Bring in the bits of gnome-common we actually use (all 15 lines)
4430
4431 2008-03-12  Dan Williams  <dcbw@redhat.com>
4432
4433         * system-settings/plugins/ifcfg-fedora/plugin.c
4434                 - (write_auto_wired_connection): new function; write out an auto
4435                         wired connection file since the applet isn't doing it any more
4436                 - (reload_all_connections): write out the auto wired connection file
4437                         if there aren't any wired connections already
4438                 - (init): don't leak a GError
4439
4440 2008-03-12  Dan Williams  <dcbw@redhat.com>
4441
4442         * src/nm-device-interface.c
4443                 - (nm_device_interface_activate): print the ID of the connection
4444                         that's about to be activated
4445
4446 2008-03-12  Dan Williams  <dcbw@redhat.com>
4447
4448         Harmonize the 802.11 bitrate API
4449
4450         * introspection/nm-access-point.xml
4451                 - 'Rate' -> 'MaxBitrate'; clarify units
4452
4453         * introspection/nm-device-802-11-wireless.xml
4454                 - Clarify units of 'Bitrate'
4455
4456         * src/NetworkManagerAP.c
4457           src/NetworkManagerAP.h
4458                 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4459                         property to 'max-bitrate'
4460                 - (foreach_property_cb): convert rate to Kb/s
4461
4462         * src/nm-device-802-11-wireless.c
4463                 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4464
4465         * libnm-glib/nm-access-point.c
4466           libnm-glib/nm-access-point.h
4467                 - 'rate' -> 'max-bitrate'
4468
4469         * test/nm-tool.c
4470           libnm-glib/libnm-glib-test.c
4471                 - Fix up for these changes
4472
4473 2008-03-12  Dan Williams  <dcbw@redhat.com>
4474
4475         * src/nm-device.c
4476                 - (nm_device_set_ip4_config): don't send property notifications when
4477                         the ip4 config is set to NULL; it causes a PropertyChanged signal
4478                         which dbus-glib can't parse because the value is NULL, which isn't
4479                         a legal object path.  Setting the IP4 config to NULL is only
4480                         valid when deactivating a device anyway, so the device state change
4481                         will alert listeners that the ip4 config is invalid.
4482
4483 2008-03-12  Dan Williams  <dcbw@redhat.com>
4484
4485         * src/nm-properties-changed-signal.c
4486                 - (add_to_string): better handling of NULL objects
4487
4488 2008-03-12  Dan Williams  <dcbw@redhat.com>
4489
4490         Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4491         convert the libnm-glib NMDevice8023Ethernet to cached properties
4492
4493         * introspection/nm-device-802-3-ethernet.xml
4494                 - New 'Carrier' property
4495                 - New 'PropertiesChanged' signal
4496
4497         * introspection/nm-device.xml
4498                 - Remove 'Carrier' property
4499                 - Remove 'CarrierChanged' signal
4500
4501         * src/nm-device-interface.c
4502           src/nm-device-interface.h
4503                 - (nm_device_interface_init): remove 'carrier' property and
4504                         'carrier-changed' signal
4505
4506         * src/nm-device.c
4507           src/nm-device.h
4508                 - (nm_device_get_carrier, nm_device_set_carrier): remove
4509                 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4510                         the link here; wired device will handle that
4511                 - (handle_dhcp_lease_change): don't bother updating link here
4512                 - (get_property, nm_device_class_init): remove carrier property
4513
4514         * src/nm-device-802-11-wireless.c
4515                 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4516                         real_update_link(); wireless devices don't use carrier at all
4517                 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4518                    supplicant_iface_connection_state_cb_handler,
4519                    supplicant_mgr_state_cb_handler): remove anything to do with carrier
4520
4521         * src/nm-device-802-3-ethernet.c
4522           src/nm-device-802-3-ethernet.h
4523                 - (nm_device_802_3_ethernet_carrier_on,
4524                    nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4525                         instead of nm_device_set_carrier()
4526                 - (device_state_changed): update link from sysfs on activation;
4527                         replaces real_update_link()
4528                 - (real_update_link): remove, replaced by device_state_changed()
4529                 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4530                 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4531                 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4532                         new get_carrier function
4533                 - (get_property): add 'carrier' property
4534                 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4535                         hook into property-changed signal helper
4536
4537         * src/NetworkManagerPolicy.c
4538                 - (device_carrier_changed): will only ever be called with a wired device
4539                 - (device_added): only hook up to carrier-changed for wired devices
4540
4541         * libnm-glib/nm-device.c
4542           libnm-glib/nm-device.h
4543                 - (constructor, nm_device_class_init): remove carrier-changed signal
4544                 - (device_carrier_changed_proxy): remove; unused
4545                 - (nm_device_get_carrier): remove; carrier a property of wired devices
4546
4547         * libnm-glib/nm-device-802-3-ethernet.c
4548           libnm-glib/nm-device-802-3-ethernet.h
4549                 - Convert to cached properties like AP and Wireless objects
4550                 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4551                         instead of a 'char *', return value should not be freed
4552                 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4553                 - (constructor): hook into properties-changed helper
4554                 - (set_property, get_property): new functions
4555                 - (nm_device_802_3_ethernet_class_init): export GObject properties
4556
4557         * test/nm-tool.c
4558                 - (detail_device): strdup the wired hardware address too since it's
4559                         cached now
4560
4561         * libnm-glib/libnm-glib-test.c
4562                 - (dump_wired): strdup the wired hardware address too since it's
4563                         cached now
4564
4565 2008-03-12  Dan Williams  <dcbw@redhat.com>
4566
4567         * libnm-util/nm-setting-ip4-config.c
4568           libnm-util/nm-setting-ip4-config.h
4569                 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4570                         the 'autoip' property from the spec
4571
4572 2008-03-11  Dan Williams  <dcbw@redhat.com>
4573
4574         * src/backends/NetworkManagerGeneric.c
4575           src/backends/NetworkManagerGeneric.h
4576                 - (nm_generic_device_get_use_dhcp): remove
4577
4578 2008-03-11  Dan Williams  <dcbw@redhat.com>
4579
4580         * src/nm-device.c
4581                 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4582                         already in nm_device_set_ip4_config()
4583                 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4584                         due to a DHCP rebind fails
4585                 - (nm_device_set_ip4_config): send property notifications when the
4586                         ip4 config changes
4587                 - (get_property): only report IP4Config property during valid states
4588
4589         * src/NetworkManagerPolicy.c
4590                 - (update_routing_and_dns): ignore devices that don't have an ip4
4591                         config; add parameter 'force_update' to allow callers to specify
4592                         that changes should be made even if the default device doesn't change
4593                 - (device_ip4_config_changed): update DNS and routing when the device's
4594                         IP4Config changes, like for DHCP updates
4595                 - (device_added): listen for ip4-config property changes
4596
4597 2008-03-11  Dan Williams  <dcbw@redhat.com>
4598
4599         Fix address handling as a result of DHCP rebind/renew/reboot.
4600
4601         * src/NetworkManagerSystem.c
4602                 - (check_one_address): delete an address if it doesn't match a given
4603                         one for the same interface
4604                 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4605                         be smarter about flushing addresses (only flush ones that don't
4606                         match the one we're about to apply)
4607
4608         * src/backends/NetworkManagerDebian.c
4609           src/backends/NetworkManagerSuSE.c
4610           src/backends/NetworkManagerArch.c
4611           src/backends/NetworkManagerSlackware.c
4612           src/backends/NetworkManagerRedHat.c
4613           src/backends/NetworkManagerPaldo.c
4614           src/backends/NetworkManagerFrugalware.c
4615           src/backends/NetworkManagerGentoo.c
4616                 - (nm_system_delete_default_route): remove
4617
4618         * src/backends/NetworkManagerGeneric.c
4619           src/backends/NetworkManagerGeneric.h
4620                 - (nm_generic_enable_loopback): fix the loopback device label
4621                 - (nm_generic_delete_default_route): remove; no longer used
4622
4623 2008-03-11  Dan Williams  <dcbw@redhat.com>
4624
4625         * src/nm-device-interface.h
4626                 - Delimit property name words with '-', otherwise g_object_notify()
4627                         doesn't work the way we expect
4628
4629 2008-03-11  Tambet Ingo  <tambet@gmail.com>
4630
4631         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4632
4633 2008-03-11  Dan Williams  <dcbw@redhat.com>
4634
4635         * src/NetworkManagerPolicy.c
4636                 - (update_routing_and_dns): don't change anything if the default device
4637                         hasn't changed; print something out when switching the default route
4638                         and DNS
4639
4640 2008-03-10  Tambet Ingo  <tambet@gmail.com>
4641
4642         Implement PPPoE.
4643
4644         * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4645         setting. Use "nic-$eth".
4646
4647         * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4648         the device is activating here to fix a race condition.
4649
4650         * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4651
4652         * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4653         (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4654         (nm_ppp_manager_start): Take activation request instead of connection, we might
4655         need it for asking secrets.
4656         (nm_ppp_manager_update_secrets): Implement.
4657
4658         * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4659         ppp manager start. It might be needed for asking secrets.
4660
4661         * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4662         (ppp_state_changed): Handle pppd daemon disappearing.
4663         (pppoe_stage2_config): Send activation request to ppp manager start.
4664
4665         * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4666
4667         * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4668         username and password.
4669         
4670 2008-03-10  Dan Williams  <dcbw@redhat.com>
4671
4672         * src/nm-device.c
4673                 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4674                         response to a DHCP lease change
4675                 - (dhcp_state_changed): handle DHCP lease changes while activated
4676                 - (nm_device_set_ip4_config): remove a previously set named config
4677                         when setting an ip4 config
4678
4679 2008-03-10  Dan Williams  <dcbw@redhat.com>
4680
4681         * src/nm-serial-device.c
4682                 - (nm_serial_device_send_command): report errno on error
4683                 - (get_reply_got_data): limit the size of the overall buffer
4684                 - (wait_for_reply_info_destroy): destroy result string
4685                 - (wait_for_reply_got_data): append received data to an overall buffer
4686                         until timeout, filled buffer, or error instead of keeping a per-call
4687                         buffer.  Some devices send data slowly enough that this function
4688                         gets called multiple times for the same command stream.
4689                 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4690                         wait_for_reply_got_data() here
4691
4692 2008-03-10  Dan Williams  <dcbw@redhat.com>
4693
4694         * src/nm-cdma-device.c
4695                 - (do_dial, init_modem): handle errors from
4696                         nm_serial_device_send_command_string()
4697
4698         * src/nm-gsm-device.c
4699                 - (do_dial, manual_registration, automatic_registration_get_network,
4700                    automatic_registration, enter_pin, check_pin, init_modem): handle
4701                         errors from nm_serial_device_send_command_string()
4702
4703 2008-03-10  Dan Williams  <dcbw@redhat.com>
4704
4705         Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4706
4707         * src/named-manager/nm-named-manager.c
4708                 - (compute_searches): prefer searches before domains
4709                 - (compute_domain): new function
4710                 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4711                 - (merge_one_ip4_config): if there are no searches in the source config,
4712                         merge domains of the source config into the target config
4713                 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4714
4715 2008-03-10  Dan Williams  <dcbw@redhat.com>
4716
4717         * src/nm-serial-device.c
4718                 - (get_reply_got_data): clean up indentation, shrink serial buffer
4719                 - (wait_for_reply_got_data): try to handle slower serial devices where
4720                         the reply is broken up into multiple reads by concatenating replies
4721                         together until either an error is received or the search string is
4722                         found
4723
4724 2008-03-10  Dan Williams  <dcbw@redhat.com>
4725
4726         * src/nm-device.c
4727                 - (nm_device_bring_down): deactivate the device if it's activating too,
4728                         not just if it's already activated.  This makes sure that everything
4729                         from an association attempt is cleaned up (like DHCP for example)
4730
4731 2008-03-10  Dan Williams  <dcbw@redhat.com>
4732
4733         * src/nm-serial-device.c
4734                 - (config_fd): report error from TCSETA
4735                 - (nm_serial_device_open): fail when config_fd() fails
4736
4737 2008-03-10  Dan Williams  <dcbw@redhat.com>
4738
4739         * src/nm-ip4-config.c
4740                 - (nm_ip4_config_init): allocate searches list
4741                 - (finalize): free searches list
4742
4743 2008-03-09  Dan Williams  <dcbw@redhat.com>
4744
4745         Patch from Bas Zoetekouw <bas@debian.org>
4746
4747         * src/dhcp-manager/nm-dhcp-manager.c
4748                 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4749
4750 2008-03-09  Dan Williams  <dcbw@redhat.com>
4751
4752         Patch from Bas Zoetekouw <bas@debian.org>
4753
4754         * src/nm-ip4-config.c
4755           src/nm-ip4-config.h
4756                 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4757                    nm_ip4_config_get_num_searches): add 'searches' as distinct from
4758                         domains.  'searches' is the correct way to store multiple search
4759                         domains, whereas 'domains' is really just supposed to store one
4760                         domain.  Some sites abuse the DHCP 'domain-name' option to push
4761                         search domains to the client.
4762                 - (nm_ip4_config_add_domain): group with related functions (my patch)
4763
4764 2008-03-09  Dan Williams  <dcbw@redhat.com>
4765
4766         * src/dhcp-manager/nm-dhcp-manager.c
4767                 - (dhclient_run): send interface-specific config files to dhclient
4768
4769 2008-03-07  Dan Williams  <dcbw@redhat.com>
4770
4771         * system-settings/plugins/ifcfg-fedora/parser.c
4772                 - (is_wireless_device): new function; test a device for wireless
4773                         extensions
4774                 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4775                         test the device for wireless extensions to determine the type
4776
4777 2008-03-07  Dan Williams  <dcbw@redhat.com>
4778
4779         Change manager's StateChange signal to StateChanged for consistency.
4780
4781         * introspection/nm-manager.xml
4782                 - Add 'StateChanged' signal
4783                 - Move 'StateChange' down to the deprecated section
4784
4785         * src/nm-hal-manager.c
4786                 - (nm_hal_manager_new): connect to 'state-changed' instead
4787
4788         * src/NetworkManagerPolicy.c
4789                 - (nm_policy_new): connect to 'state-changed' instead
4790
4791         * src/nm-manager.c
4792           src/nm-manager.h
4793                 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4794                 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4795                         of 'state-change'
4796
4797         * libnm-glib/nm-client.c
4798           libnm-glib/nm-client.h
4799                 - (constructor, nm_client_class_init, client_state_changed_proxy):
4800                         track and proxy 'state-changed' instead of 'state-change'
4801
4802 2008-03-07  Dan Williams  <dcbw@redhat.com>
4803
4804         First pass of multiple active device support.  Expect bugs.
4805
4806         * src/nm-ip4-config.c
4807           src/nm-ip4-config.h
4808                 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4809                         there are better ways to do this in the named manager
4810
4811         * src/nm-device.c
4812           src/nm-device.h
4813                 - (nm_device_can_activate): return whether the device can activate a
4814                         connection right now; taking into account things like carrier state
4815                         and rfkill state
4816                 - (nm_device_get_best_auto_connection): renamed from
4817                         nm_device_get_best_connection
4818                 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4819                         device subclasses themselves, so that each device can override the
4820                         MTU from it's NMSetting subclass if needed
4821                 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4822                         in NetworkManagerSystem.c, not here
4823
4824         * src/named-manager/nm-named-manager.c
4825           src/named-manager/nm-named-manager.h
4826                 - (nm_named_manager_name_owner_changed,
4827                    nm_named_manager_dbus_connection_changed): fix for changes to
4828                         rewrite_resolv_conf()
4829                 - (compute_nameservers): don't need the NMNamedManager at all, remove
4830                         from parameter list
4831                 - (merge_one_ip4_config): new function; merge ip4 configs together
4832                 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4833                         ip4 configs; the VPN config takes precedence, then the best
4834                         device config, then the rest of the configs
4835                 - (get_domain_for_config): take the NMNamedManager as an argument
4836                         to check whether the config is the VPN config
4837                 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4838                         attribute from ip4 configs
4839                 - (add_all_ip4_configs_to_named): add all the configs in priority order
4840                 - (remove_ip4_config_from_named): fix for changes to
4841                         get_domain_for_config()
4842                 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4843                         based on its type; callers must pass in the type now
4844                 - (get_last_default_domain): remove, unused
4845                 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4846
4847         * src/nm-device-802-11-wireless.c
4848                 - (real_can_activate): new function
4849                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4850                 - (real_act_stage4_get_ip4_config): handle MTU override
4851
4852         * src/nm-device-802-3-ethernet.c
4853                 - (real_can_activate): new function
4854                 - (real_get_best_auto_connection): renamed from real_get_best_connection
4855                 - (real_act_stage4_get_ip4_config): new function; handle MTU override
4856
4857         * src/vpn-manager/nm-vpn-connection.c
4858                 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
4859                         attribute on the ip4 config
4860
4861         * src/NetworkManagerPolicy.c
4862                 - (nm_policy_auto_get_best_device): remove
4863                 - (nm_policy_device_change_check): remove
4864                 - (update_default_route): new function; set the default route via
4865                         the specified device
4866                 - (get_device_priority): new function; return the priority number of
4867                         a device type WRT which one should have the default route.  Order is
4868                         (highest to lowest)  wired, wireless, GSM, CDMA.
4869                 - (update_routing_and_dns): new function; determine which device should
4870                         have the default route, then update the routing table and DNS
4871                 - (maybe_auto_activate_device): new function; if a device is now
4872                         available for activation, find out what connection it would like to
4873                         activate and do it
4874                 - (schedule_activate_check): new function; if a device can be activated
4875                         now, schedule the activation.  Each device may have only one
4876                         pending activation at a given time.
4877                 - (device_state_changed): if activation was canceled, try again,
4878                         possibly with another connection; if the device was activated,
4879                         update routing and DNS; if the device was deactivated, try again
4880                         with another connection
4881                 - (device_carrier_changed): if there is no carrier, deactivate the
4882                         device; otherwise schedule an activation check for the device
4883                 - (wireless_networks_changed): schedule an activation check for the
4884                         device
4885                 - (device_added): keep track of the signal handler IDs so they can
4886                         be removed when the device goes away
4887                 - (device_removed): remove any signal handlers that might be attached
4888                         to the device; update routing and DNS
4889                 - (schedule_activate_all): new function
4890                 - (connections_added, connection_added, connection_updated): when
4891                         connections change, schedule all devices for an activation check
4892                 - (connection_removed): when a device is deactivated because its
4893                         connection was removed, schedule another activation check for it
4894                 - (nm_policy_destroy): destroy pending activations and disconnect
4895                         all device signal handlers
4896
4897         * src/nm-manager.c
4898                 - (nm_manager_activate_device): if the device was already actived,
4899                         deactivate it
4900                 - (deactivate_old_device): remove
4901                 - (connection_added_default_handler, impl_manager_activate_device):
4902                         don't deactivate other devices when activating this one
4903
4904         * src/backends/NetworkManagerGentoo.c
4905           src/backends/NetworkManagerFrugalware.c
4906           src/backends/NetworkManagerPaldo.c
4907           src/backends/NetworkManagerRedHat.c
4908           src/backends/NetworkManagerSlackware.c
4909           src/backends/NetworkManagerArch.c
4910           src/backends/NetworkManagerSuSE.c
4911           src/backends/NetworkManagerDebian.c
4912                 - (nm_system_get_mtu): remove; MTU should be provided through the
4913                         distro's system settings service plugin instead
4914                 - (nm_system_device_add_default_route_via_device): remove
4915                 - (nm_system_device_add_default_route_via_device_with_iface): remove
4916                 - (nm_system_device_replace_default_route): new function; call
4917                         generic implementation
4918
4919         * src/backends/NetworkManagerGeneric.c
4920           src/backends/NetworkManagerGeneric.h
4921                 - (nm_generic_device_add_default_route_via_device,
4922                    nm_generic_device_add_default_route_via_device_with_iface): remove
4923                 - (nm_generic_device_replace_default_route): replace the default route
4924                         with the given route via some gateway
4925
4926         * src/NetworkManagerSystem.c
4927           src/NetworkManagerSystem.h
4928                 - (nm_system_device_set_from_ip4_config): let the policy handle updates
4929                         to routing and DNS; but set the MTU here
4930                 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
4931                         ip_iface of the active device; use the standard MTU setting function
4932                 - (nm_system_set_mtu): remove
4933                 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
4934
4935 2008-03-07  Tambet Ingo  <tambet@gmail.com>
4936
4937         Rework the interaction between ppp manager and pppd plugin. Register a well
4938         known DBUS service in manager and let the plugin call it's methods instead
4939         of listening plugin's signals.
4940
4941         * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
4942         of emitting signals.
4943
4944         * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
4945
4946         * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
4947
4948         * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
4949         nm_ppp_manager_start().
4950
4951         * introspection/nm-ppp-manager.xml: New file.
4952
4953         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
4954         the case correctly where driver is trying to send -1 for the speed, which gets
4955         casted to u16 and thus is always > 0.
4956
4957 2008-03-07  Dan Williams  <dcbw@redhat.com>
4958
4959         * src/nm-hal-manager.c
4960                 - (nm_get_device_driver_name): use net.originating_device first, fall
4961                         back to physical device.  HAL has deprecated physical_device.
4962
4963         * libnm-glib/nm-device.c
4964                 - (get_product_and_vendor): use net.originating_device first, fall
4965                         back to physical device.  HAL has deprecated physical_device.
4966                 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
4967
4968 2008-03-07  Dan Williams  <dcbw@redhat.com>
4969
4970         * src/nm-netlink.c
4971                 - (nm_netlink_get_default_handle): mistakenly removed too much code in
4972                         last commit; fix that
4973                 - (get_link_cache): print error string
4974
4975 2008-03-07  Dan Williams  <dcbw@redhat.com>
4976
4977         * src/nm-netlink.c
4978                 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
4979                         don't need this hack any more (Benoit Boissinot)
4980
4981 2008-03-06  Dan Williams  <dcbw@redhat.com>
4982
4983         * autogen.sh
4984                 - Die gnome-common, die
4985
4986 2008-03-04  Dan Williams  <dcbw@redhat.com>
4987
4988         Patch from Michael Biebl <biebl@debian.org>
4989
4990         * NetworkManager.pc.in
4991                 - doesn't actually depend on dbus-1
4992
4993         * libnm-util/nm-utils.h
4994                 - remove unused #include <dbus/dbus.h>
4995
4996         * libnm-glib/libnm_glib.pc.in
4997                 - depends on glib and dbus-glib
4998
4999 2008-03-02  Dan Williams  <dcbw@redhat.com>
5000
5001         * src/NetworkManagerPolicy.c
5002                 - s/device_state_changed_idle_id/update_state_id/
5003
5004 2008-03-02  Dan Williams  <dcbw@redhat.com>
5005
5006         * src/nm-device.c
5007           src/nm-device.h
5008           src/nm-device-802-11-wireless.c
5009           src/nm-device-802-3-ethernet.c
5010           src/NetworkManagerPolicy.c
5011                 - s/link_active/carrier
5012                 - nm_device_set_active_link() -> nm_device_set_carrier()
5013                 - nm_device_has_active_link() -> nm_device_get_carrier()
5014
5015 2008-03-02  Dan Williams  <dcbw@redhat.com>
5016
5017         * system-settings/plugins/ifcfg-fedora/parser.c
5018                 - (make_wireless_setting): fail connection creation on missing SSID
5019
5020 2008-02-29  Dan Williams  <dcbw@redhat.com>
5021
5022         * src/NetworkManagerPolicy.c
5023                 - (nm_policy_device_change_check): ensure that a previously active
5024                         device with a system connection has a link before denying a switch
5025                         to a user connection
5026
5027 2008-02-29  Dan Williams  <dcbw@redhat.com>
5028
5029         * src/nm-device-802-11-wireless.c
5030                 - (link_timeout_cb): try again if scanning; deactivate the device when
5031                         activated if the link dies
5032                 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5033                         15 seconds
5034
5035 2008-02-29  Dan Williams  <dcbw@redhat.com>
5036
5037         * src/nm-device-802-11-wireless.c
5038           src/nm-device-802-11-wireless.h
5039                 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5040                         elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5041                 - (device_cleanup): reset the scan interval lower when the device
5042                         deactivates
5043                 - (can_scan): base decision mostly off device state, not supplicant
5044                         interface state since the supplicant interface state isn't a
5045                         great indicator of whether the device is active or not
5046                 - (request_wireless_scan): clean up; schedule the next scan here
5047                 - (schedule_scan): only back the scan interval off if a new scan
5048                         actually gets scheduled; and make scan intervals tighter when the
5049                         device is disconnected
5050                 - (supplicant_iface_state_cb_handler): fold in the bits of
5051                         nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5052                         interval to minimum
5053                 - (activation_success_handler): reset scan interval to something
5054                         reasonable 
5055
5056 2008-02-28  Saleem Abdulrasool  <compnerd@compnerd.org>
5057
5058         reviewed by: Steev <steev@steev.net>
5059
5060         * configure.in:
5061         * src/backends/NetworkManagerGentoo.c:
5062         (nm_system_restart_mdns_responder):
5063                 Howl is no longer a supported mDNS provider
5064
5065 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5066
5067         Get rid of a bunch of unused distro specific functions.
5068
5069 2008-02-28  Tambet Ingo  <tambet@gmail.com>
5070
5071         Implement suse plugin for system settings daemon.
5072
5073         * system-settings/plugins/ifcfg-suse/*: Implement.
5074
5075         * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5076         suse.
5077
5078         * configure.in: Check (without failing) for gio.
5079         Create ifcfg-suse plugin's Makefile.
5080
5081 2008-02-20  Dan Williams  <dcbw@redhat.com>
5082
5083         * libnm-util/nm-connection.c
5084           libnm-util/nm-connection.h
5085                 - (nm_connection_compare): accept compare flags and pass them to the
5086                         setting compare function
5087
5088         * libnm-util/nm-setting.c
5089           libnm-util/nm-setting.h
5090                 - (nm_setting_compare): accept compare flags; ignore properties that are
5091                         marked fuzzy
5092
5093         * libnm-util/nm-setting-connection.c
5094           libnm-util/nm-setting-wireless.c
5095           libnm-util/nm-setting-ppp.c
5096           libnm-util/nm-setting-wired.c
5097                 - Mark some setting properties as ignorable when doing a fuzzy compare
5098
5099         * src/nm-device.c
5100                 - (device_activation_precheck): use exact compare
5101
5102 2008-02-20  Dan Williams  <dcbw@redhat.com>
5103
5104         * src/NetworkManagerPolicy.c
5105                 - (nm_policy_device_change_check): get scope off the connection, not
5106                         using the manager helper
5107
5108         * src/nm-manager.c
5109           src/nm-manager.h
5110                 - (get_scope_for_proxy): rename from get_type_for_proxy()
5111                 - (connection_get_settings_cb): set scope and path on connection, not
5112                         using GObject data items
5113                 - (get_connection_for_proxy): don't need to return path, since that
5114                         can be gotten from the connection
5115                 - (get_connection_for_proxy): get path off the connection, not from
5116                         parameters
5117                 - (connection_removed_cb, connection_updated_cb): don't need to get
5118                         path from get_connection_for_proxy(); get scope off the connection
5119                         instead of using GObject data items
5120                 - (connection_added_default_handler, add_one_connection_element): use
5121                         nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5122                 - (nm_manager_get_connection_dbus_path): remove
5123                 - (nm_manager_get_connection_scope): remove
5124
5125 2008-02-20  Dan Williams  <dcbw@redhat.com>
5126
5127         * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5128                 on confusing names
5129
5130         * Add 'path' and 'scope' properties to NMConnection since both NM and the
5131                 applet were having to hack this in anyway.  Remove the 'path' stuff from
5132                 NMExportedConnection
5133
5134         * Internally rename NMConnectionType -> NMConnectionScope
5135
5136         * Provide default implementations of the 'get_id' and 'get_settings' methods
5137                 of NMExportedConnection
5138
5139 2008-02-15  Dan Williams  <dcbw@redhat.com>
5140
5141         * src/nm-device-802-11-wireless.c
5142                 - (device_cleanup): release the AP list here too so that the AP list
5143                         doesn't survive across suspend/resume and up/down.  There is some
5144                         room for optimization, for example blow the list away when the card
5145                         brought back up, but only if the device has only been down for a
5146                         minute or more.
5147
5148 2008-02-15  Dan Williams  <dcbw@redhat.com>
5149
5150         * src/nm-hal-manager.c
5151                 - (modem_device_creator): recognize new HAL modem capabilities
5152
5153 2008-02-12  Dan Williams  <dcbw@redhat.com>
5154
5155         * system-settings/plugins/ifcfg-fedora/plugin.c
5156                 - (watch_path): handle IN_DELETE_SELF too
5157                 - (handle_connection_changed): notify when removing a connection
5158                 - (stuff_changed): don't warn on unknown inotify watches; handle the
5159                         case of a file moving out of the profile directory
5160
5161 2008-02-12  Dan Williams  <dcbw@redhat.com>
5162
5163         * system-settings/plugins/ifcfg-fedora/parser.c
5164                 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5165
5166 2008-02-12  Dan Williams  <dcbw@redhat.com>
5167
5168         * libnm-util/nm-utils.c
5169                 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5170                         just any empty array
5171
5172 2008-02-12  Dan Williams  <dcbw@redhat.com>
5173
5174         * system-settings/src/nm-system-config-interface.c
5175           system-settings/src/nm-system-config-interface.h
5176                 - (load_connections): get_connections() should now return an allocated
5177                         GSList that the system settings service will free
5178
5179         * system-settings/plugins/ifcfg-fedora/plugin.c
5180           system-settings/plugins/ifcfg-fedora/parser.h
5181           system-settings/plugins/ifcfg-fedora/parser.c
5182                 - Fix up inotify issues; handle keys-* files, handle new files appearing
5183                         in the profile directory, handle resolv.conf file changes
5184
5185 2008-02-10  Dan Williams  <dcbw@redhat.com>
5186
5187         * src/nm-device-802-3-ethernet.c
5188                 - (real_bring_up): save the supplicant interface state signal id
5189                 - (real_bring_down): disconnect from the supplicant interface state
5190                         signal
5191
5192 2008-02-07  Dan Williams  <dcbw@redhat.com>
5193
5194         * initscript/RedHat/NetworkManager.in
5195           initscript/RedHat/NetworkManagerDispatcher.in
5196                 - Add new-style LSB init headers
5197
5198 2008-02-07  Dan Williams  <dcbw@redhat.com>
5199
5200         * system-settings/src/dbus-settings.c
5201           system-settings/src/dbus-settings.h
5202                 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5203                         table of secrets
5204                 - (connection_settings_get_secrets): consolidate error returns into
5205                         one place; use the new get_secrets() plugin interface function to
5206                         get secrets from the plugin itself rather than using GObject data
5207                         magic
5208
5209         * system-settings/src/main.c
5210                 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5211                    load_connections): keep a private list of the plugin-returned
5212                         connections, don't use the plugin's GSList
5213
5214         * system-settings/plugins/ifcfg-fedora/plugin.c
5215                 - (watch_path): watch the path, not the filename (duh)
5216                 - (reload_all_connections): use the direct hash/equal functions; the
5217                         ones for int aren't appropriate here
5218                 - (get_secrets, system_config_interface_init): implement the
5219                         get_secrets() function
5220                 - (build_one_connection, find_connection_by_path): ifcfg file path is
5221                         now in the connection's ConnectionData instead of being a GObject
5222                         data property
5223                 - (handle_profile_item_changed): ifcfg file path is now in the
5224                         connection's ConnectionData instead of being a GObject data property;
5225                         be sure to copy secrets over from the new connection to the existing
5226                         connection when updating the connection's settings
5227                 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5228                         file descriptor
5229
5230         * system-settings/plugins/ifcfg-fedora/parser.c
5231           system-settings/plugins/ifcfg-fedora/parser.h
5232                 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5233                    connection_data_copy_secrets, connection_data_free,
5234                    connection_data_add): new functions; connection data manipulation
5235                 - (make_wireless_security_setting): stuff secrets into the
5236                         connection data, not as GObject data items; make sure to close
5237                         the keys ifcfg file
5238                 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5239                         connection data to the connection
5240
5241 2008-02-07  Dan Williams  <dcbw@redhat.com>
5242
5243         * system-settings/src/nm-system-config-interface.c
5244           system-settings/src/nm-system-config-interface.h
5245                 - Add a get_secrets() interface function to retrieve secrets for a
5246                         specific setting of a specific connection.  Document the interface
5247                         a bit more too.
5248
5249 2008-02-07  Dan Williams  <dcbw@redhat.com>
5250
5251         * src/nm-device-802-11-wireless.c
5252                 - (handle_auth_or_fail): new function; consolidate device activation
5253                         failure check after a certain number of failures getting secrets
5254                 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5255                    real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5256                         the connection if secrets were requested more than a few times
5257                 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5258                         tries here; otherwise they are cleared before the IP configure
5259                         timeout, which happens with open system WEP when key is wrong
5260                 - (activation_success_handler): clear wireless secrets tries here too
5261
5262 2008-02-07  Dan Williams  <dcbw@redhat.com>
5263
5264         * src/NetworkManagerPolicy.c
5265                 - (connection_updated): clear invalid tag when connection gets updated
5266                         to allow that connection to be tried again
5267                 - (nm_policy_new): save signal ids so they can be disconnected when
5268                         the policy is destroyed
5269                 - (nm_policy_destroy): stop any in-progress state change idle handler,
5270                         and disconnect all signals from the manager object so that none
5271                         of the policy functions gets called after the policy is destroyed
5272
5273 2008-02-06  Dan Williams  <dcbw@redhat.com>
5274
5275         * src/nm-manager.c
5276                 - (finalize): remove devices a bit earlier; clean up system settings
5277                         poke
5278                 - (nm_manager_name_owner_changed): clean up system settings poke when
5279                         the service appears, and try to restart it if it fails
5280                 - (poke_system_settings_daemon_cb): try to get the system settings
5281                         service started through D-Bus service activation
5282                 - (initial_get_connections): start the system settings daemon if it's
5283                         not already running
5284
5285 2008-02-05  Dan Williams  <dcbw@redhat.com>
5286
5287         * src/supplicant-manager/nm-supplicant-config.c
5288                 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5289                         broadcast networks too
5290
5291 2008-02-04  Dan Williams  <dcbw@redhat.com>
5292
5293         * system-settings/plugins/ifcfg-fedora/parser.c
5294                 - (make_wireless_security_setting): fix spelling; unencrypted networks
5295                         need key_mgmt set too
5296                 - (parser_parse_file): validate ifcfg file name and don't try to parse
5297                         .bak files; ensure that an error is set whenever NULL gets returned
5298
5299 2008-02-04  Dan Williams  <dcbw@redhat.com>
5300
5301         * system-settings/src/Makefile.am
5302                 - Install D-Bus service activation file for the system settings
5303                         service
5304
5305         * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5306                 - D-Bus service activation file for system settings service
5307
5308 2008-02-04  Dan Williams  <dcbw@redhat.com>
5309
5310         * system-settings/src/main.c
5311                 - (parse_config_file): parse a config file
5312                 - (main): accept --config option and read plugins from config file
5313
5314 2008-02-04  Dan Williams  <dcbw@redhat.com>
5315
5316         * system-settings/plugins/ifcfg-fedora/plugin.c
5317                 - Change reported name to 'ifcfg-fedora'
5318                 - Use IFCFG_PLUGIN_NAME
5319
5320         * system-settings/plugins/ifcfg-fedora/plugin.c
5321                 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5322
5323 2008-02-04  Dan Williams  <dcbw@redhat.com>
5324
5325         * system-settings/plugins/ifcfg-fedora/parser.c
5326                 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5327                 - (make_connection_setting): use get_ifcfg_name()
5328                 - (make_wireless_security_setting): handle shadow key files
5329                 - (get_one_wep_key): treat empty string as NULL
5330
5331 2008-02-04  Dan Williams  <dcbw@redhat.com>
5332
5333         * src/supplicant-manager/nm-supplicant-manager.c
5334                 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5335                         glib automatically reschedule
5336                 - (nm_supplicant_manager_init): immediately try to start the supplicant
5337                 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5338                         the supplicant
5339
5340 2008-02-01  Dan Williams  <dcbw@redhat.com>
5341
5342         * src/NetworkManagerPolicy.c
5343                 - (device_state_changed): schedule a change check when a device gets
5344                         deactivated so something happens if you disconnect GSM/CDMA
5345
5346 2008-01-31  Dan Williams  <dcbw@redhat.com>
5347
5348         * src/nm-device-802-11-wireless.h
5349           src/nm-device-802-11-wireless.c
5350                 - (ap_list_get_ap_by_ssid, is_associated,
5351                    nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5352                    nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5353                 - (nm_device_802_11_wireless_get_activation_ap): collapse
5354                         nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5355                         function
5356
5357 2008-01-30  Dan Williams  <dcbw@redhat.com>
5358
5359         * system-settings/plugins/ifcfg
5360         * system-settings/plugins/ifcfg-fedora
5361                 - Move the ifcfg plugin to ifcfg-fedora
5362
5363 2008-01-24  Dan Williams  <dcbw@redhat.com>
5364
5365         * libnm-glib/nm-device-802-11-wireless.c
5366                 - (get_access_point): move the "/" check here; check for invalid path
5367                         too
5368                 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5369                         to get_access_point()
5370                 - (access_point_added_proxy, access_point_removed_proxy): don't try
5371                         to send signals for non-existent access points
5372
5373 2008-01-24  Dan Williams  <dcbw@redhat.com>
5374
5375         * libnm-glib/nm-device-802-11-wireless.c
5376                 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5377
5378 2008-01-23  Dan Williams  <dcbw@redhat.com>
5379
5380         * libnm-glib/libnm_glib.c
5381                 - (libnm_glib_init): make thread joinable
5382                 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5383
5384 2008-01-23  Dan Williams  <dcbw@redhat.com>
5385
5386         * test/libnm_glib_test.c
5387                 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5388                 - (main): set up signal handlers; call libnm_glib_shutdown
5389
5390 2008-01-21  Dan Williams  <dcbw@redhat.com>
5391
5392         * include/NetworkManager.h
5393                 - Add CDMA mobile broadband card device type
5394
5395         * src/nm-hal-manager.c
5396                 - (modem_device_creator): handle both CDMA and GSM modems; the device
5397                         must now be tagged with 'cdma' or 'gsm' capability
5398
5399         * src/nm-cdma-device.c
5400           src/nm-cdma-device.h
5401           src/Makefile.am
5402                 - Add the CDMA mobile broadband card device class
5403
5404         * libnm-util/nm-connection.c
5405                 - (register_default_settings): add NMSettingCdma
5406
5407         * libnm-util/nm-setting-cdma.c
5408           libnm-util/nm-setting-cdma.h
5409           libnm-util/Makefile.am
5410                 - Add the CDMA mobile broadband card setting class
5411
5412         * libnm-glib/nm-cdma-device.c
5413           libnm-glib/nm-cdma-device.h
5414           libnm-glib/Makefile.am
5415                 - Add the CDMA mobile broadband card GLib proxy class
5416
5417         * libnm-glib/nm-client.c
5418                 - (get_device): handle CDMA devices too
5419
5420 2008-01-21  Dan Williams  <dcbw@redhat.com>
5421
5422         * src/ppp-manager/nm-ppp-manager.c
5423                 - (ip4_config_get): set peer address too
5424
5425         * src/ppp-manager/nm-pppd-plugin.c
5426                 - (nm_ip_up): try harder to get the peer's address
5427
5428         * src/NetworkManagerSystem.c
5429                 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5430                         address, use that too.  Otherwise, some PPP connections won't work.
5431
5432 2008-01-19  Dan Williams  <dcbw@redhat.com>
5433
5434         * src/NetworkManagerPolicy.c
5435                 - (nm_policy_device_change_check): system connections override user
5436                         connections; don't activate a user connection if there's a currently
5437                         active system connection, and new, better system connections always
5438                         interrupt user connections
5439
5440 2008-01-19  Dan Williams  <dcbw@redhat.com>
5441
5442         * src/nm-manager.h
5443                 - (nm_manager_get_connection_type): new function
5444
5445 2008-01-19  Dan Williams  <dcbw@redhat.com>
5446
5447         * src/nm-device-802-11-wireless.c
5448                 - (real_get_best_connection): collapse find_best_connection() into this
5449                         function
5450
5451 2008-01-19  Dan Williams  <dcbw@redhat.com>
5452
5453         * src/nm-device-802-3-ethernet.c
5454                 - (real_get_best_connection): collapse find_best_connection() into this
5455                         function
5456
5457 2008-01-18  Dan Williams  <dcbw@redhat.com>
5458
5459         * src/nm-device-802-3-ethernet.c
5460                 - (find_best_connection): check MAC address too
5461                 - (real_get_best_connection): let autoconnect=True connections activate
5462                         for devices that don't have carrier detection
5463
5464         * src/nm-device-802-11-wireless.c
5465                 - (find_best_connection): check MAC address too
5466
5467 2008-01-18  Dan Williams  <dcbw@redhat.com>
5468
5469         * system-settings/plugins/ifcfg/parser.c
5470                 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5471
5472 2008-01-17  Dan Williams  <dcbw@redhat.com>
5473
5474         * src/nm-device-802-3-ethernet.c
5475                 - (nm_device_802_3_ethernet_carrier_on,
5476                    nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5477                         carrier events that might come in for devices that don't support
5478                         carrier detect
5479
5480 2008-01-17  Dan Williams  <dcbw@redhat.com>
5481
5482         * src/nm-device-interface.c
5483                 - (nm_device_interface_check_connection_conflicts): need to actually
5484                         get the interface, not cast to the object
5485
5486         * src/nm-device.c
5487                 - (nm_device_check_connection_conflicts): need to get the device class,
5488                         not cast the device to the device class
5489
5490 2008-01-17  Dan Williams  <dcbw@redhat.com>
5491
5492         * src/nm-device-802-11-wireless.c
5493                 - (real_check_connection_conflicts): ignore connections that aren't
5494                         wireless connections
5495
5496 2008-01-17  Dan Williams  <dcbw@redhat.com>
5497
5498         * src/NetworkManagerPolicy.c
5499                 - (nm_policy_device_change_check): clear change check idle here
5500                 - (device_change_check_done): remove
5501                 - (schedule_change_check): simplify
5502
5503 2008-01-17  Dan Williams  <dcbw@redhat.com>
5504
5505         * src/nm-manager.c
5506                 - (check_connection_allowed): take an NMDeviceInterface instead of
5507                         an NMDevice object as an argument
5508                 - (nm_manager_activate_device): pass an NMDeviceInterface to
5509                         check_connection_allowed()
5510
5511 2008-01-13  Dan Williams  <dcbw@redhat.com>
5512
5513         * libnm-glib/nm-device-802-11-wireless.c
5514                 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5515
5516 2008-01-12  Dan Williams  <dcbw@redhat.com>
5517
5518         * src/nm-device-802-11-wireless.c
5519                 - (activation_success_handler): if a match was found in the scan list
5520                         and that match is a hidden AP, update that AP's SSID
5521
5522 2008-01-11  Dan Williams  <dcbw@redhat.com>
5523
5524         * src/NetworkManagerAP.c
5525                 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5526
5527         * src/nm-device-802-11-wireless.c
5528                 - (get_active_ap): do two passes over the scan list if the caller
5529                         requests that hidden APs get matched too; during the second pass
5530                         when matching hidden APs, ignore the SSID since hidden APs in the
5531                         scan list don't have an SSID yet
5532                 - (periodic_update): move some checks to
5533                         nm_device_802_11_periodic_update() because not all callers need them
5534                 - (nm_device_802_11_periodic_update): move some checks here from
5535                         perodic_update()
5536                 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5537                         matching on incoming scan results, because the fake AP's flags
5538                         might be slightly different (yet still compatible) with the incoming
5539                         scan result's flags and they might actually be the same AP; update
5540                         the rate on merged APs too
5541                 - (activation_success_handler): update the frequency of the fake AP
5542                         on successful connection; match hidden APs too since if the
5543                         current AP is fake, there might already be a scan result in the
5544                         scan list for the desired AP, just without it's SSID filled in yet
5545
5546 2008-01-10  Dan Williams  <dcbw@redhat.com>
5547
5548         * src/NetworkManagerAP.c
5549                 - (foreach_property_cb): catch more hidden SSID formats
5550
5551 2008-01-10  Dan Williams  <dcbw@redhat.com>
5552
5553         Fix gnome.org #464215.  Requires the kernel patch titled
5554         "Introduce WEXT scan capabilities" but will handle the patch not being
5555         present, you'll just continue to have problems with hidden SSIDs when
5556         using mac80211-based drivers.
5557
5558         * src/supplicant-manager/nm-supplicant-config.h
5559           src/supplicant-manager/nm-supplicant-config.c
5560                 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5561                         whether the driver supports SSID scans or not.  If it does, and if
5562                         the AP is hidden, use ap_scan=1 instead of ap_scan=2
5563
5564         * src/nm-device-802-11-wireless.c
5565                 - (constructor): check whether or not the driver supports SSID scans
5566                 - (build_supplicant_config): pass driver SSID scan capability when
5567                         building the wireless bits of the supplicant config
5568
5569 2008-01-09  Dan Williams  <dcbw@redhat.com>
5570
5571         * src/nm-device.c
5572           src/nm-device.h
5573                 - (device_activation_precheck, check_connection_complete): remove this
5574                         virtual function; incomplete connections should be invalid by
5575                         definition, complete-ness should be checked in the setting's
5576                         verify function
5577
5578         * src/nm-serial-device.c
5579           src/nm-gsm-device.c
5580                 - (real_check_connection_complete): remove
5581
5582         * libnm-util/nm-setting-serial.c
5583                 - (verify): new function; ensure there is a PPP setting too
5584
5585         * libnm-util/nm-setting-gsm.c
5586                 - (verify): ensure there is a serial setting too
5587
5588 2008-01-06  Dan Williams  <dcbw@redhat.com>
5589
5590         * src/dhcp-manager/nm-dhcp-manager.c
5591                 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5592                         (gnome.org #332953)
5593
5594 2008-01-04  Dan Williams  <dcbw@redhat.com>
5595
5596         * src/named-manager/nm-named-manager.c
5597                 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5598                         nameservers if the secondary config doesn't have any
5599                         (gnome.org #346833)
5600
5601 2008-01-02  Tambet Ingo  <tambet@gmail.com>
5602
5603         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5604         with G_PARAM_CONSTRUCT so that they get the default values.
5605
5606         * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5607         the monitoring device and prints out the output for now. Or more precicely, doesn't
5608         do absolutely anything right now since the montoring device argument is never set.
5609
5610         * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5611         requires it's own knob to turn it on.
5612         (config_fd): Add NMSettingSerial to the arguments list.
5613         (nm_serial_device_open): Ditto.
5614         (get_reply_got_data): Ignore the terminators at the beginning of the output.
5615         (nm_serial_device_get_io_channel): Implement.
5616
5617         * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5618         a new reference every time (and forgetting to release it sometimes) is a pain and
5619         it's not like NMManager could work without dbus.
5620         (nm_manager_add_device): Register the added device on dbus here.
5621
5622         * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5623         device.
5624
5625         * src/nm-device.c (constructor): Don't export the device here, instead export
5626         it when it's added to the NMManager's device list.
5627
5628 2007-12-31  Dan Williams  <dcbw@redhat.com>
5629
5630         * src/nm-device-interface.c
5631           src/nm-device-interface.h
5632                 - (nm_device_interface_check_connection_conflicts): new function
5633
5634         * src/nm-device.c
5635           src/nm-device.h
5636                 - (nm_device_check_connection_conflicts): new function
5637                 - (device_activation_precheck): don't require subclasses to implement
5638                         check_connection_complete()
5639                 - check_connection() -> check_connection_complete()
5640
5641         * src/nm-device-802-11-wireless.c
5642                 - (real_check_connection): remove; unused
5643                 - (real_check_connection_conflicts): implement, handle lockdown for
5644                         system connections
5645
5646         * src/nm-device-802-3-ethernet.c
5647                 - (real_check_connection): remove; unused
5648
5649         * src/nm-manager.c
5650                 - (check_connection_allowed): new function
5651                 - (nm_manager_activate_device): ensure the connection being requested
5652                         is allowed to be activated
5653
5654         * src/nm-serial-device.c
5655           src/nm-gsm-device.c
5656                 - real_check_connection() -> real_check_connection_complete()
5657
5658 2007-12-27  Dan Williams  <dcbw@redhat.com>
5659
5660         * src/nm-device-interface.c
5661           src/nm-device-interface.h
5662                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5663                         normalize and expand errors
5664                 - (nm_device_interface_init): register errors so they can be marshalled
5665                         through dbus-glib
5666                 - (nm_device_interface_activate): ensure that failure of activation
5667                         returns an error
5668
5669         * src/nm-device.c
5670           src/nm-device.h
5671                 - (device_activation_precheck): implementations of check_connection()
5672                         now take a GError and must fill it in if the check fails.  Return
5673                         more descriptive error if the requested connection is already
5674                         activating
5675                 - (nm_device_activate): actually try to return descriptive errors on
5676                         failures
5677
5678         * src/nm-device-802-11-wireless.c
5679           src/nm-device-802-3-ethernet.c
5680           src/nm-serial-device.c
5681           src/nm-gsm-device.c
5682                 - (real_check_connection): return more descriptive errors on failure
5683
5684         * src/NetworkManagerPolicy.c
5685                 - (nm_policy_device_change_check): print activation errors in the logs
5686
5687         * src/nm-manager.c
5688                 - (nm_manager_error_quark, nm_manager_error_get_type,
5689                    nm_manager_class_init): new errors
5690                 - (nm_manager_activate_device): handle errors
5691                 - (nm_manager_error_new): removed
5692                 - (wait_for_connection_expired, connection_added_default_handler,
5693                    impl_manager_activate_device): better error handling
5694
5695 2007-12-27  Dan Williams  <dcbw@redhat.com>
5696
5697         Fixes gnome.org #466954
5698
5699         * src/supplicant-manager/nm-supplicant-settings-verify.c
5700                 - Allow 'frequency' network property
5701
5702         * src/supplicant-manager/nm-supplicant-config.c
5703           src/supplicant-manager/nm-supplicant-config.h
5704                 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5705                         for callers to specify the frequency an Ad-Hoc network should operate
5706                         on.  Some drivers require this to successfully create an Ad-Hoc
5707                         network.
5708
5709         * src/nm-device-802-11-wireless.c
5710                 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5711                         guint32 value in MHz
5712                 - (constructor, nm_device_802_11_wireless_get_frequency): use
5713                         iw_freq_to_uint32()
5714                 - (find_supported_frequency): new function; find a free supported
5715                         frequency for a user-created Ad-Hoc network
5716                 - (build_supplicant_config): if no frequency was specified for a user-
5717                         created Ad-Hoc network, find a free one to use
5718                 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5719                         a specific object as user-created
5720
5721 2007-12-27  Dan Williams  <dcbw@redhat.com>
5722
5723         * libnm-util/nm-utils.c
5724           libnm-util/nm-utils.h
5725                 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5726                         for adhoc networks
5727
5728 2007-12-24  Dan Williams  <dcbw@redhat.com>
5729
5730         * libnm-util/nm-setting-wireless.c
5731                 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5732                         185, 187, 188, 192, and 196
5733
5734 2007-12-24  Dan Williams  <dcbw@redhat.com>
5735
5736         * src/nm-device-802-11-wireless.c
5737                 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5738                         a channel # instead of a frequency
5739
5740 2007-12-24  Dan Williams  <dcbw@redhat.com>
5741
5742         * src/NetworkManagerAP.c
5743           src/NetworkManagerAP.h
5744                 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5745                 - (freq_to_channel): handle split band tables
5746                 - (channel_to_freq): handle split band tables, take a band argument
5747
5748 2007-12-24  Dan Williams  <dcbw@redhat.com>
5749
5750         * libnm-util/nm-setting-connection.h
5751           libnm-util/nm-setting-connection.c
5752                 - Add 'lockdown' member
5753
5754 2007-12-22  Dan Williams  <dcbw@redhat.com>
5755
5756         * libnm-util/nm-setting-wireless.c
5757                 - (nm_setting_wireless_class_init): add missing 'rate' property
5758                         specification
5759
5760 2007-12-18  Dan Williams  <dcbw@redhat.com>
5761
5762         Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5763
5764         * src/nm-netlink-monitor.c
5765           src/nm-netlink-monitor.h
5766                 - Remove handrolled netlink, use libnl instead
5767
5768         * src/nm-device-802-3-ethernet.c
5769                 - (constructor, nm_device_802_3_ethernet_carrier_off,
5770                    nm_device_802_3_ethernet_carrier_on): use new names
5771
5772 2007-12-17  Dan Williams  <dcbw@redhat.com>
5773
5774         * configure.in
5775                 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5776                         and fixes memory leaks)
5777
5778         * src/nm-netlink.c
5779                 - (nm_netlink_get_default_handle): handle new versions of libnl that
5780                         automatically handle the netlink PID
5781
5782 2007-12-17  Dan Williams  <dcbw@redhat.com>
5783
5784         Patch from Michael Biebl <biebl@debian.org>
5785
5786         * configure.in
5787           src/ppp-manager/Makefile.am
5788                 - fix up install dir of pppd plugin
5789                 - clean up configure.in a bit
5790
5791 2007-12-12  Dan Williams  <dcbw@redhat.com>
5792
5793         * system-settings/src/nm-system-settings.conf
5794                 - Allow non-root clients (like the applet) to read settings
5795
5796 2007-12-10  Tambet Ingo  <tambet@gmail.com>
5797
5798         * Replace all occurences of 'UMTS' with 'GSM'.
5799
5800 2007-12-07  Dan Williams  <dcbw@redhat.com>
5801
5802         * src/nm-serial-device.c
5803                 - (real_is_up): serial devices are always "up"
5804
5805 2007-12-07  Dan Williams  <dcbw@redhat.com>
5806
5807         * src/nm-netlink.c
5808           src/NetworkManagerSystem.c
5809                 - (new_nl_handle): ensure that the same netlink pid is never chosen
5810                         twice (gnome.org #491047)
5811                 - Make more robust against allocation-related failures should they occur
5812
5813 2007-12-07  Dan Williams  <dcbw@redhat.com>
5814
5815         Noticed by Christian Persch <chpe@gnome.org>
5816
5817         Always chain up to parent object in dispose and finalize handlers.
5818                 (gnome.org #433112)
5819
5820 2007-12-07  Dan Williams  <dcbw@redhat.com>
5821
5822         * src/nm-device-802-11-wireless.c
5823                 - Wrap #include of linux/mii.h to fix redefined structures due to
5824                         incorrect kernel headers (gnome.org #350061)
5825
5826 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5827
5828         * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5829         before doing anything else.
5830         (init_modem): Move modem initialization here.
5831
5832         * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5833         (nm_serial_device_flash): Implement.
5834
5835         * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5836         changes signal is "StateChanged" and not "Status".
5837         (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5838
5839 2007-12-06  Dan Williams  <dcbw@redhat.com>
5840
5841         * src/supplicant-manager/nm-supplicant-config.c
5842                 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5843                         to only send some options when they make sense; also send phase2
5844                         option to the supplicant (possible fix for rh #399631)
5845
5846 2007-12-06  Tambet Ingo  <tambet@gmail.com>
5847
5848         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5849         arguments: This whole file shouldn't really know anything about NMDevices, it
5850         should deal only with device interfaces. Devices might have different ifaces for
5851         different stuff and this place shouldn't know anything about it.
5852
5853         * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5854         (global_state_changed): Implement. In the current NM it's not really important,
5855         but will be required in the case of multiple active devices. (Or even better,
5856         if stuff like that gets moved out from NM).
5857
5858         * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
5859         nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config() 
5860         instead.
5861
5862         * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
5863         devices like serial devices (ttyS0 and ppp0 for example).
5864         (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
5865         set.
5866         (nm_device_set_ip_iface): Implement.
5867         (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
5868         after setting ip4_config from here ...
5869         (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
5870         than this function should call nm_system_device_set_from_ip4_config() because no
5871         other code has enough information on which arguments to use. So instead, other code
5872         could just set the new ip4 config using this function and everyone is happy.
5873
5874         * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
5875         if we happen to get deactivated while something is pending.
5876         (automatic_registration): Handle the response that indicates pending network
5877         registration and wait until the pending registration is done.
5878         (real_deactivate_quickly): If there's a pending operation, cancel it.
5879
5880         * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
5881         (real_deactivate_quickly): ... and remove it when it's down.
5882         (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
5883         it if needed.
5884         (nm_serial_device_wait_for_reply): Ditto.
5885
5886 2007-12-05  Tambet Ingo  <tambet@gmail.com>
5887
5888         * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
5889         (get_network_done): Remove newline, nm_info() does it already.
5890         (real_act_stage1_prepare): Turn the modem echo off.
5891
5892         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
5893         device, set the route to the device interface. This is a hack.
5894
5895         * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage 
5896         return, no need for a new-line.
5897         (ppp_ip4_config): Store the ip4 config to be set in the next stage.
5898         Change the device iface here (ugh).
5899         (real_act_stage4_get_ip4_config): Implement.
5900         (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
5901         Restore the device iface.
5902
5903         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
5904         device is not wired or wireless (eg, automatically upped) device.
5905
5906         * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
5907         it isn't.
5908         (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
5909
5910         * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
5911         before calling it's is_device_fn().
5912
5913 2007-12-05  Dan Williams  <dcbw@redhat.com>
5914
5915         * libnm-util/nm-utils.c
5916                 - (nm_utils_register_value_transformations,
5917                    nm_utils_convert_gvalue_hash_to_string): better debug output of
5918                         GHashTables of GValues too
5919
5920 2007-12-04  Dan Williams  <dcbw@redhat.com>
5921
5922         * initscript/RedHat/NetworkManager.in
5923                 - No longer start named; it's D-Bus interface is going away
5924
5925 2007-12-04  Dan Williams  <dcbw@redhat.com>
5926
5927         Patch from Michael Biebl <biebl@debian.org>
5928
5929         * system-settings/plugins/ifcfg/Makefile.am
5930           system-settings/src/main.c
5931           system-settings/src/Makefile.am
5932                 - Put system settings plugins in NM plugins dir
5933
5934         * src/ppp-manager/Makefile.am
5935           src/ppp-manager/nm-ppp-manager.c
5936                 - Move pppd plugin to NM plugins dir
5937
5938 2007-12-04  Dan Williams  <dcbw@redhat.com>
5939
5940         * libnm-util/nm-setting-vpn-properties.h
5941                 - Clarify usage of the 'data' member of the setting
5942
5943         * libnm-util/nm-setting-vpn-properties.c
5944                 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
5945                 - (set_property): just remove all the settings; don't recreate the has
5946                 - (update_one_secret): don't need to create the hash table here since
5947                         it should always be present
5948
5949 2007-12-03  Tambet Ingo  <tambet@gmail.com>
5950
5951         Implement PIN and PUK requesting.
5952
5953         * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
5954         (enter_pin): Handle PIN and PUK requests.
5955         (real_act_stage1_prepare): Clear the secret type.
5956         (real_connection_secrets_updated): Implement this class method to get
5957         notified when new secrets arrive.
5958         (nm_umts_device_class_init): Add private data back to the umts device class
5959         to store the required secret type.
5960
5961 2007-12-01  Dan Williams  <dcbw@redhat.com>
5962
5963         * system-settings/plugins/ifcfg/parser.c
5964                 - (parser_parse_file): don't try to verify NULL connections
5965
5966 2007-12-01  Dan Williams  <dcbw@redhat.com>
5967
5968         * system-settings/src/main.c
5969                 - (load_connections, add_connection_to_settings): actually export
5970                         plugin-provided connections over D-Bus so NM can get them
5971
5972 2007-12-01  Dan Williams  <dcbw@redhat.com>
5973
5974         * system-settings/plugins/ifcfg/parser.c
5975           system-settings/plugins/ifcfg/parser.h
5976           system-settings/plugins/ifcfg/plugin.c
5977                 - Hook up more inotify bits (untested)
5978
5979 2007-11-29  Dan Williams  <dcbw@redhat.com>
5980
5981         * system-settings/src/nm-system-config-interface.h
5982           system-settings/src/nm-system-config-interface.c
5983                 - (nm_system_config_interface_init,
5984                    nm_system_config_interface_get_connections): add
5985
5986         * system-settings/src/main.c
5987                 - (load_plugins, load_connections, main): use a GSList for plugins
5988                         to ensure priority ordering
5989
5990         * system-settings/plugins/ifcfg/parser.c
5991                 - (ifcfg_error_quark): move to plugin.c, and rename
5992
5993         * system-settings/plugins/ifcfg/plugin.h
5994           system-settings/plugins/ifcfg/plugin.c
5995                 - (ifcfg_plugin_error_quark): move here from parser.c
5996                 - rework connection loading and initialization
5997                 - Add preliminary inotify support for network profile config file
5998
5999 2007-11-28  Tambet Ingo  <tambet@gmail.com>
6000
6001         Merge the beginnings of the new GSM card support.
6002
6003         * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6004         ppp watch source before killing pppd - If this happens from g_object_unref()
6005         then the ppp manager is already destroyed by the time the watch callback runs.
6006
6007         * src/nm-hal-manager.c: Add a device_type_name string to the device
6008         creators, so that we can print a nice human readable string when a
6009         device is added.
6010
6011         * src/nm-umts-device.c (automatic_registration_get_network): Query
6012         for the activated network, not much is done with the result thought.
6013
6014         * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6015         (ppp_ip4_config): Change the device state to activated here for now.
6016         (real_check_connection): Make sure the connection includes ppp setting.
6017
6018         * libnm-glib/nm-client.c (get_device): Handle umts devices.
6019
6020         * libnm-glib/Makefile.am: Add the new files to build.
6021
6022         * libnm-glib/nm-umts-device.c: 
6023         * libnm-glib/nm-umts-device.h: Implement.
6024
6025 2007-11-26  Tambet Ingo  <tambet@gmail.com>
6026
6027         * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6028         immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6029
6030         * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6031         the timeout source - this function is only called when the timeout source has
6032         been removed.
6033         (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6034         to be big enough to contain the terminating zero element as well.
6035         The timeout argument is meant to be in seconds now.
6036         (real_deactivate_quickly): Implement.
6037
6038         * src/NetworkManager.conf: Allow root to own 
6039         "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6040
6041         * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6042         (not unsigned ints).
6043
6044         * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a 
6045         small issue with parity bounds - capital letters have lower ascii codes
6046         than lower case letters.
6047
6048         * libnm-util/nm-connection.c (register_default_settings): Register serial
6049         and umts settings.
6050
6051 2007-11-22  Tambet Ingo  <tambet@gmail.com>
6052
6053         Remove the "index" property from devices as not all device types have this.
6054
6055         * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6056
6057         * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6058         (wired_device_creator): Get the device interface from hal to create the device.
6059         (wireless_device_creator): Ditto.
6060
6061         * src/nm-device.c (nm_device_init): Remove the index member.
6062         (constructor): Remove the checks for index property, make interface property
6063         a require constructor property.
6064         Use the HAL udi for DBus path for devices.
6065         (nm_device_get_index): Remove.
6066         (set_property): Remove index handling.
6067         (get_property): Ditto.
6068         (nm_device_get_dbus_path): Remove.
6069
6070         * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6071         property.
6072
6073         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6074         Access the device index through it's interface.
6075         (nm_device_802_3_ethernet_link_deactivated): Ditto.
6076         (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6077         index argument. Add interface argument.
6078
6079         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6080         the useless test_dev argument. Remove index argument. Add interface arugment.
6081
6082         * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6083         device index through interface.
6084         (nm_system_set_mtu): Ditto.
6085
6086         * introspection/nm-device.xml: Remove the "Index" property.
6087
6088 2007-11-21  Tambet Ingo  <tambet@gmail.com>
6089
6090         * src/nm-serial-device.c: 
6091         * src/nm-serial-device.c: 
6092         * src/nm-umts-device.c:
6093         * src/nm-umts-device.h: Implement.
6094
6095         * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string 
6096         allocated by libhal.
6097         (modem_device_creator): Implement.
6098         (register_built_in_creators): Register the modem creator.
6099
6100         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): 
6101         Remove the unused test_dev argument.
6102
6103         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6104
6105         * src/Makefile.am: Add new files to build.
6106         Link in ppp-manager.
6107
6108         * libnm-util/nm-setting-umts.c: 
6109         * libnm-util/nm-setting-umts.h: 
6110         * libnm-util/nm-setting-serial.c: 
6111         * libnm-util/nm-setting-serial.h: Implement.
6112
6113         * libnm-util/Makefile.am: Add new files to build.
6114
6115 2007-11-28  Dan Williams  <dcbw@redhat.com>
6116
6117         Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6118
6119         Support DHCP-provided static routes.
6120
6121         * src/nm-ip4-config.h
6122           src/nm-ip4-config.c
6123                 - Add get/set functions for static routes
6124
6125         * src/dhcp-manager/nm-dhcp-manager.c
6126                 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6127                         DHCP response
6128
6129         * src/NetworkManagerSystem.c
6130                 - (nm_system_device_set_from_ip4_config): set any static routes on the
6131                         interface when applying the IP4Config
6132
6133 2007-11-28  Dan Williams  <dcbw@redhat.com>
6134
6135         * src/nm-device-802-11-wireless.c
6136                 - (real_act_stage1_prepare): mark APs created for hidden networks
6137                         as non-broadcasting
6138
6139 2007-11-27  Dan Williams  <dcbw@redhat.com>
6140
6141         * system-settings/src/nm-system-config-interface.h
6142                 - Note how to store secrets on NMSetting objects
6143
6144         * system-settings/src/dbus-settings.c
6145                 - (connection_settings_get_secrets): implement
6146
6147 2007-11-27  Dan Williams  <dcbw@redhat.com>
6148
6149         * system-settings/plugins/ifcfg/Makefile.am
6150           system-settings/plugins/ifcfg/parser.c
6151           system-settings/plugins/ifcfg/parser.h
6152           system-settings/plugins/ifcfg/plugin.c
6153                 - Parse wireless connections too
6154
6155         * system-settings/src/dbus-settings.c
6156           system-settings/src/dbus-settings.h
6157           system-settings/src/main.c
6158                 - Handle connection update/removal if the plugin supports it
6159
6160 2007-11-27  Dan Williams  <dcbw@redhat.com>
6161
6162         * src/nm-dbus-manager.h
6163           src/nm-hal-manager.c
6164                 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6165                         do it for them
6166
6167         * src/Makefile.am
6168           src/NetworkManagerDbusUtils.c
6169           src/NetworkManagerDbusUtils.h
6170                 - Remove these two source files; they are unused
6171
6172 2007-11-27  Dan Williams  <dcbw@redhat.com>
6173
6174         * src/vpn-manager/nm-vpn-manager.c
6175                 - (impl_vpn_manager_connect): fix system settings check (found by
6176                         James M. Leddy)
6177
6178 2007-11-26  Dan Williams  <dcbw@redhat.com>
6179
6180         * Fix warnings so everything compiles with --enable-more-warnings
6181
6182 2007-11-25  Dan Williams  <dcbw@redhat.com>
6183
6184         * system-settings/*
6185                 - Rework structure and code to use GModule-loaded plugins and a plugin
6186                         interface that plugins export to the system settings service
6187
6188 2007-11-21  Dan Williams  <dcbw@redhat.com>
6189
6190         * system-settings/*
6191                 - Add Soren's system settings service.  Needs work for distros other
6192                         than Fedora; the backends from NM should mostly migrate to here
6193                         and be converted to GObjects
6194
6195 2007-11-21  Dan Williams  <dcbw@redhat.com>
6196
6197         * libnm-util/nm-setting-vpn-properties.c
6198                 - (set_property): must deep-copy the given settings hash, otherwise
6199                         double-free errors occur when the setting is disposed of
6200
6201 2007-11-21  Dan Williams  <dcbw@redhat.com>
6202
6203         * src/vpn-manager/nm-vpn-act-request.h
6204           src/vpn-manager/nm-vpn-act-request.c
6205                 - Remove; unused
6206
6207 2007-11-20  Dan Williams  <dcbw@redhat.com>
6208
6209         * libnm-util/nm-utils.c
6210                 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6211                    nm_utils_convert_ip4_addr_struct_array_to_string,
6212                    nm_utils_register_value_transformations): print out the readable
6213                         values of more types of properties of NMSettings subclasses
6214
6215 2007-11-20  Dan Williams  <dcbw@redhat.com>
6216
6217         * libnm-util/nm-setting-ip4-config.c
6218                 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6219                    nm_setting_ip4_config_class_init): apparently dbus-glib can't
6220                         marshal GValueArrays inside collections, so switch to types that it
6221                         can actually marshal/demarshal
6222
6223 2007-11-16  Dan Williams  <dcbw@redhat.com>
6224
6225         * libnm-util/nm-setting-wireless-security.c
6226                 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6227                         minimal verification of EAP methods too
6228                 - (verify): verify phase1 eap methods too
6229
6230 2007-11-15  Dan Williams  <dcbw@redhat.com>
6231
6232         * libnm-glib/nm-device.h
6233           libnm-glib/nm-device.c
6234                 - (nm_device_get_product, nm_device_get_vendor): should be returning
6235                         const char *
6236
6237 2007-11-15  Dan Williams  <dcbw@redhat.com>
6238
6239         * libnm-glib/nm-device.c
6240                 - (get_product_and_vendor): don't try to free things that should be
6241                         freed
6242
6243 2007-11-15  Dan Williams  <dcbw@redhat.com>
6244
6245         * src/NetworkManagerUtils.c
6246                 - (nm_ethernet_address_is_valid): unbreak previous fix
6247
6248 2007-11-15  Dan Williams  <dcbw@redhat.com>
6249
6250         * src/supplicant-manager/nm-supplicant-config.c
6251                 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6252                         options
6253
6254 2007-11-15  Dan Williams  <dcbw@redhat.com>
6255
6256         * src/NetworkManagerUtils.c
6257                 - (nm_ethernet_address_is_valid): fix style, clarify
6258                 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6259
6260         * src/nm-device-802-11-wireless.c
6261                 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6262                 - (nm_device_802_11_wireless_get_ssid,
6263                    nm_device_802_11_wireless_get_bssid,
6264                    nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6265                         before calling the ioctl; fixes valgrind-reported jump depends on
6266                         uninitialized value errors
6267
6268 2007-11-15  Dan Williams  <dcbw@redhat.com>
6269
6270         * libnm-util/nm-setting.c
6271                 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6272                         unecessary to serialize 'name'
6273
6274         * src/nm-activation-request.c
6275                 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6276                         the GetSecrets call
6277
6278 2007-11-15  Dan Williams  <dcbw@redhat.com>
6279
6280         * libnm-util/nm-setting-connection.h
6281           libnm-util/nm-setting-connection.c
6282                 - Rename the 'name' property to 'id', because it conflicted with the
6283                         NMSetting superclass' 'name' property.
6284
6285         * libnm-util/nm-setting.c
6286                 - (nm_setting_to_hash): serialize the 'name' property
6287                 - (one_property_cb): ignore 'name' on deserialization of a connection
6288
6289         * src/nm-device-802-11-wireless.c
6290           src/vpn-manager/nm-vpn-connection.c
6291           src/NetworkManagerPolicy.c
6292                 - Fix up for NMSettingConnection 'name'->'id' changes
6293
6294 2007-11-13  Dan Williams  <dcbw@redhat.com>
6295
6296         * libnm-glib/nm-device-802-11-wireless.h
6297           libnm-glib/nm-device-802-11-wireless.c
6298                 - (nm_device_802_11_wireless_get_hw_address): return should be const
6299
6300         * test/nm-tool.c
6301           libnm-glib/libnm-glib-test.c
6302                 - Fixes for above change
6303
6304 2007-11-12  Dan Williams  <dcbw@redhat.com>
6305
6306         * src/supplicant-manager/nm-supplicant-settings-verify.c
6307                 - Allow fragment_size option
6308
6309         * src/supplicant-manager/nm-supplicant-settings-verify.c
6310                 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6311                         EAP fragment size than the default to help some TLS connections
6312
6313 2007-11-12  Dan Williams  <dcbw@redhat.com>
6314
6315         Make certs actually work.  The private key is now a secret, and should be
6316         decrypted when requested by NM.  The private key and phase2 private key
6317         passwords are no longer interesting to NM because they should be used by
6318         the settings service to decrypt the private key itself before passing it
6319         to NM, and hence have been removed as fields.
6320
6321         * libnm-util/nm-setting-wireless-security.h
6322           libnm-util/nm-setting-wireless-security.c
6323                 - Remove private-key-passwd and phase2-private-key-passwd from
6324                         properties
6325                 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6326                    need_secrets): use property #defines instead strings to keep things
6327                         consistent
6328                 - (need_secrets_tls): if a client certificate is present but no
6329                         private key, request the private key
6330                 - (set_property, get_property, nm_setting_wireless_security_class_init):
6331                         remove private key password stuff, mark private keys as secret
6332
6333         * src/supplicant-manager/nm-supplicant-settings-verify.c
6334                 - Remove private_key_passwd and private_key2_passwd from opt_table
6335
6336 2007-11-09  Dan Williams  <dcbw@redhat.com>
6337
6338         Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6339         Since the vpn-properties are managed and known by the VPN daemons themselves,
6340         libnm-util doesn't know what's secret and what's in the setting's 'data'
6341         member.
6342
6343         * libnm-util/nm-setting.h
6344           libnm-util/nm-setting.c
6345                 - Add the ability for subclasses to override update_one_secret
6346
6347         * libnm-util/nm-setting-vpn-properties.c
6348                 - Override update_one_secret and just copy the values into the
6349                         internal table
6350
6351 2007-11-09  Dan Williams  <dcbw@redhat.com>
6352
6353         * libnm-glib/nm-settings.h
6354           libnm-glib/nm-settings.c
6355                 - (nm_settings_new_error): remove
6356                 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6357                         clients should use g_set_error() with NM_SETTINGS_ERROR
6358
6359 2007-11-09  Dan Williams  <dcbw@redhat.com>
6360
6361         * src/supplicant-manager/nm-supplicant-config.c
6362                 - (nm_supplicant_config_add_setting_wireless_security): private key
6363                         passwords are never sent to wpa_supplicant, because the supplicant
6364                         should never be reading random files from the disk.  Clients like
6365                         the applet are required to decrypt the private keys and send NM
6366                         the decrypted blobs.
6367
6368 2007-11-08  Dan Williams  <dcbw@redhat.com>
6369
6370         * libnm-util/nm-setting-wireless-security.h
6371           libnm-util/nm-setting-wireless-security.c
6372                 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6373                         members to 802-11-wireless-security structure.  This should be used
6374                         to indicate that the values in private-key and phase2-private-key
6375                         are already decrypted by the user agent, and that no
6376                         private-key-passwd or phase2-private-key-passwd should be expected.
6377                         It is not meant to be a stored configuration value, but meant to
6378                         be set when the conneciton is sent to NM over dbus.
6379
6380 2007-11-08  Dan Williams  <dcbw@redhat.com>
6381
6382         * libnm-util/nm-connection.h
6383           libnm-util/nm-connection.c
6384                 - (nm_connection_need_secrets): add argument to return hints
6385
6386         * src/nm-device-802-11-wireless.c
6387                 - (link_timeout_cb, supplicant_connection_timeout_cb,
6388                    real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6389                         nm_connection_need_secrets() change
6390
6391 2007-11-07  Tambet Ingo  <tambet@gmail.com>
6392
6393         Rework NMSetting structures: Move each setting to it's own file.
6394         Convert to GObject. Remove home grown setting types and use GTypes.
6395         Use GObject property introspection for hash conversion, enumerating
6396         properties, etc.
6397
6398         * libnm-util/nm-setting-connection.[ch]
6399         * libnm-util/nm-setting-ip4-config.[ch]
6400         * libnm-util/nm-setting-ppp.[ch]
6401         * libnm-util/nm-setting-vpn.[ch]
6402         * libnm-util/nm-setting-vpn-properties.[ch]
6403         * libnm-util/nm-setting-wired.[ch]
6404         * libnm-util/nm-setting-wireless.[ch]
6405         * libnm-util/nm-setting-wireless-security.[ch]
6406
6407         New files, each containing a setting.
6408
6409         * libnm-util/nm-setting-template.[ch]: A template for creating new
6410         settings. To use it, just replace 'template' with the new setting
6411         name, and you're half-way done.
6412
6413         * libnm-util/nm-setting.c: Convert to GObject and use GObject
6414         introspection instead of internal types and tables.
6415
6416         * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6417
6418         * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6419         GValue types defined by dbus-glib for composed types like collections,
6420         structures and maps.
6421
6422         * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6423         a setting from connection takes the setting type now. Also, since
6424         the settings are in multiple files, include relevant settings.
6425
6426 2007-10-31  Saleem Abdulrasool <compnerd@compnerd.org>
6427
6428         * configure.in:
6429         * src/backends/NetworkManagerGentoo.c:
6430         (nm_system_restart_mdns_responder): Implement restarts for other mdns
6431         providers in Gentoo.
6432
6433 2007-10-31  Dan Williams  <dcbw@redhat.com>
6434
6435         * libnm-util/nm-connection.c
6436                 - (gvalue_to_string): handle UINT32 arrays
6437
6438 2007-10-31  Dan Williams  <dcbw@redhat.com>
6439
6440         * libnm-glib/nm-device.h
6441           libnm-glib/nm-device.c
6442                 - (nm_device_get_description): remove
6443                 - (nm_device_get_product, nm_device_get_vendor): add
6444                 - (nm_device_update_description): new function (private); walk HAL
6445                         devices to get product and vendor IDs for a specific device
6446
6447 2007-10-31  Dan Williams  <dcbw@redhat.com>
6448
6449         * src/nm-device-802-11-wireless.c
6450                 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6451
6452 2007-10-29  Dan Williams  <dcbw@redhat.com>
6453
6454         * src/nm-hal-manager.c
6455                 - (device_added, device_new_capability): ignore device additions while
6456                         asleep.  Fixes crash caused when NM goes to sleep, a network device
6457                         kernel module is unloaded and reloaded and recognized by NM again.
6458
6459 2007-10-26  Dan Williams  <dcbw@redhat.com>
6460
6461         Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6462
6463         * src/NetworkManagerAP.c
6464           src/NetworkManagerAP.h
6465           libnm-glib/nm-access-point.c
6466           libnm-glib/nm-access-point.h
6467                 - Make 'rate' property a guint32 to better match with WEXT and
6468                         wpa_supplicant and to allow representation of higher bitrates
6469
6470         * src/nm-device-802-11-wireless.c
6471           introspection/nm-device-802-11-wireless.xml
6472           libnm-glib/nm-device-802-11-wireless.c
6473           libnm-glib/nm-device-802-11-wireless.h
6474                 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6475
6476         * src/nm-device-802-3-ethernet.c
6477           src/nm-device-802-3-ethernet.h
6478           introspection/nm-device-802-3-ethernet.xml
6479           libnm-glib/nm-device-802-3-ethernet.c
6480           libnm-glib/nm-device-802-3-ethernet.h
6481                 - Make 'speed' property a guint32 to match other speed/rate types
6482                 - Make nm_device_802_3_ethernet_get_speed() static
6483
6484         * test/nm-tool.c
6485                 - Update for the changes above
6486
6487 2007-10-26  Dan Williams  <dcbw@redhat.com>
6488
6489         * src/named-manager/nm-named-manager.c
6490                 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6491                     not calling fclose() twice on some error conditions
6492
6493 2007-10-26  Dan Williams  <dcbw@redhat.com>
6494
6495         * src/nm-activation-request.c
6496                 - (dispose): clean up indentation; get the right DBusGProxy object to
6497                         cancel the GetSecrets pending call on.  Need to use the Secrets
6498                         proxy, not the regular connection proxy.  Otherwise the GetSecrets
6499                         pending call doesn't get canceled, and pressing Cancel in the
6500                         applet's password dialog could cause get_secrets_cb() to be called
6501                         after the activation request has already been destroyed
6502
6503 2007-10-24  Dan Williams  <dcbw@redhat.com>
6504
6505         * src/supplicant-manager/nm-supplicant-config.c
6506                 - (nm_supplicant_config_add_blob): pass blob data and length for
6507                         verification
6508                 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6509
6510 2007-10-24  Dan Williams  <dcbw@redhat.com>
6511
6512         * src/supplicant-manager/nm-supplicant-settings-verify.c
6513                 - (opt_table): max length for certificates should be 65536
6514
6515 2007-10-24  Dan Williams  <dcbw@redhat.com>
6516
6517         * src/supplicant-manager/nm-supplicant-interface.c
6518                 - (blob_free): correctly free blob data after use
6519                 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6520
6521 2007-10-24  Dan Williams  <dcbw@redhat.com>
6522
6523         * libnm-util/nm-setting.c
6524                 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6525                         EAP method need secrets
6526
6527 2007-10-24  Dan Williams  <dcbw@redhat.com>
6528
6529         * src/backends/NetworkManagerRedHat.c
6530                 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6531
6532 2007-10-23  Dan Williams  <dcbw@redhat.com>
6533
6534         * libnm-util/nm-setting.c
6535           libnm-util/nm-setting.c
6536                 - (nm_setting_compare): implement
6537                 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6538                    compare_one_hash_gvalue): compare the contents of a setting
6539
6540         * libnm-util/nm-connection.c
6541                 - (nm_connection_compare): implement
6542
6543 2007-10-23  Dan Williams  <dcbw@redhat.com>
6544
6545         * src/nm-activation-request.c
6546                 - (get_secrets_cb): handle getting a setting back that is more than
6547                         just secrets (ie, user changed auth or EAP method or something)
6548
6549 2007-10-23  Dan Williams  <dcbw@redhat.com>
6550
6551         * libnm-util/nm-setting.c
6552           libnm-util/nm-setting.h
6553                 - (nm_setting_verify): new function; verify one setting
6554                 - (nm_settings_verify_all): rename from nm_settings_verify()
6555                 - (setting_connection_verify, setting_wireless_verify): allow NULL
6556                         all_settings
6557
6558         * libnm-util/nm-connection.c
6559                 - (nm_connection_replace_settings, nm_connection_verify,
6560                    nm_connection_new_from_hash): handle nm_settings_verify() rename
6561
6562 2007-10-23  Dan Williams  <dcbw@redhat.com>
6563
6564         * src/nm-device-802-11-wireless.c
6565                 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6566                         desired behavior
6567
6568 2007-10-23  Dan Williams  <dcbw@redhat.com>
6569
6570         * src/supplicant-manager/nm-supplicant-settings-verify.c
6571                 - eap_allowed, phase2_allowed: harmonize with allowed values from
6572                         nm-settings.c
6573
6574 2007-10-23  Dan Williams  <dcbw@redhat.com>
6575
6576         * src/nm-device-802-11-wireless.c
6577                 - (real_act_stage2_config): after the first association failure,
6578                         if the connection still needs secrets ask the user for them
6579                         explicitly.  After the fourth association failure due to bad
6580                         secrets, fail the connection entirely.  Handles the GetSecrets
6581                         loop that NM gets into when the provided secrets don't match up
6582                         with the connection details.
6583
6584 2007-10-23  Dan Williams  <dcbw@redhat.com>
6585
6586         * src/supplicant-manager/nm-supplicant-config.c
6587                 - (nm_supplicant_config_add_setting_wireless_security): only add
6588                         WPA-specific options when WPA is in use
6589
6590 2007-10-23  Dan Williams  <dcbw@redhat.com>
6591
6592         * src/supplicant-manager/nm-supplicant-config.c
6593                 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6594                         secret doesn't need to be unhexified
6595
6596 2007-10-23  Dan Williams  <dcbw@redhat.com>
6597
6598         * libnm-util/nm-setting.c
6599                 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6600                         before trying to do something with it
6601
6602 2007-10-23  Dan Williams  <dcbw@redhat.com>
6603
6604         * src/nm-device-802-11-wireless.c
6605                 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6606
6607 2007-10-23  Dan Williams  <dcbw@redhat.com>
6608
6609         * src/nm-device-802-11-wireless.c
6610                 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6611                         non-SSID-broadcasting APs
6612
6613 2007-10-23  Dan Williams  <dcbw@redhat.com>
6614
6615         * src/NetworkManagerAP.c
6616                 - (match_cipher, security_compatible): remove
6617                 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6618                         libnm-util instead
6619
6620 2007-10-23  Dan Williams  <dcbw@redhat.com>
6621
6622         * libnm-util/nm-utils.c
6623           libnm-util/nm-utils.h
6624                 - (nm_utils_ap_security_compatible): common function for checking
6625                         whether a specific AP is compatible with an NMConnection
6626
6627 2007-10-23  Dan Williams  <dcbw@redhat.com>
6628
6629         * libnm-util/nm-setting.c
6630                 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6631                    need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6632                    need_secrets_password, setting_wireless_security_verify): fix
6633                         need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6634                         secrets logic for each supported EAP method
6635
6636 2007-10-23  Dan Williams  <dcbw@redhat.com>
6637
6638         * src/supplicant-manager/nm-supplicant-config.c
6639                 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6640                         config option name, should be "private_key2_passwd"
6641
6642 2007-10-22  Tambet Ingo  <tambet@gmail.com>
6643
6644         Implement support for static IP addresses, additional/overridden DNS and
6645         DNS domain search lists.
6646
6647         * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6648         (ip4_addresses_to_gvalue): Implement.
6649         (convert_array_to_byte_array): Implement.
6650         (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6651         NM_S_TYPE_IP4_ADDRESSES.
6652         (nm_setting_hash): Ditto.
6653         (default_setting_clear_secrets): Add a default case for the switch: IP address
6654         shouldn't be secret, ever.
6655         (setting_ip4_config_verify): Update, requires addresses in case of manual
6656         configurations.
6657         (setting_ip4_config_destroy): Free stuff.
6658
6659         * src/nm-device.c (merge_ip4_config): Implement.
6660         (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6661
6662 2007-10-22  Dan Williams  <dcbw@redhat.com>
6663
6664         * libnm-util/nm-setting.c
6665                 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6666                         pairwise cipher options for Dynamic WEP
6667
6668 2007-10-21  Dan Williams  <dcbw@redhat.com>
6669
6670         * src/NetworkManagerAP.c
6671           src/NetworkManagerAP.h
6672                 - Rename 'articifical' -> 'fake' since that's what they are until
6673                         noticed in scans
6674                 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6675                         from the attributes in an NMConnection object
6676                 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6677                         WPA Enterprise
6678                 - (nm_ap_match_in_list): find a matching AP in a scan list
6679
6680         * src/nm-device-802-11-wireless.c
6681                 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6682                         AP when searching the scan list; match on frequency and mode too
6683                 - (nm_device_802_11_wireless_get_frequency): implement
6684                 - (merge_scanned_ap): replace duplicate matching logic with
6685                         nm_ap_match_in_list()
6686                 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6687                         the user is trying to connect to a hidden network that is not yet
6688                         known from the scan list
6689                 - (activation_success_handler): now that the card knows the AP's BSSID,
6690                         there may already be a scanned AP in the scan list that is what
6691                         we really wanted to connect to, but didn't know at the time.  Use
6692                         that instead of the 'fake' AP created at activation start and get
6693                         rid of the 'fake' AP 
6694                 - (cull_scan_list): don't remove fake APs
6695
6696 2007-10-21  Dan Williams  <dcbw@redhat.com>
6697
6698         * src/nm-activation-request.h
6699           src/nm-activation-request.c
6700                 - (nm_act_request_set_specific_object): new function; allow setting the
6701                         specific object if one isn't set yet
6702
6703 2007-10-20  Dan Williams  <dcbw@redhat.com>
6704
6705         * src/supplicant-manager/nm-supplicant-config.h
6706           src/supplicant-manager/nm-supplicant-config.c
6707                 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6708                         table to store blobs
6709                 - (nm_supplicant_config_add_blob): new function; add blob to internal
6710                         blob hash table
6711                 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6712                 - (nm_supplicant_config_add_setting_wireless_security): handle
6713                         options that use certificates (ie, blobs)
6714
6715         * src/nm-device-802-11-wireless.c
6716                 - (build_supplicant_config): pass a UID (just use the connection path)
6717                         to the supplicant config as now required
6718
6719         * src/supplicant-manager/nm-supplicant-interface.c
6720                 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6721                         there are any blobs to send to wpa_supplicant, send those first
6722                         before sending the network configuration
6723
6724 2007-10-19  Dan Williams  <dcbw@redhat.com>
6725
6726         Split the GetSecrets() call off to a separate D-Bus interface so that it
6727         can be more easily locked down with D-Bus policy.  Only 'root' (ie, NM)
6728         should be able to call GetSecrets().
6729
6730         * include/NetworkManager.h
6731                 - Define the connection secrets D-Bus interface
6732
6733         * src/vpn-manager/nm-vpn-connection.c
6734                 - (clear_need_auth): get the right proxy object for the connection
6735                         secrets interface
6736                 - (get_connection_secrets): use the connection secrets proxy; send
6737                         empty hints in get secrets request
6738
6739         * src/nm-activation-request.c
6740                 - (nm_act_request_request_connection_secrets): use the connection
6741                         secrets proxy; send empty hints in get secrets request
6742
6743         * src/nm-manager.c
6744           src/nm-manager.h
6745                 - (connection_get_settings_cb): set the connection secrets proxy on
6746                         the connection object too
6747                 - (internal_new_connection_cb): create the connection secrets proxy
6748
6749         * introspection/nm-settings-connection.xml
6750                 - Define Connection.Secrets interface and move GetSecrets there
6751                 - Add a 'hints' argument to GetSecrets
6752
6753         * libnm-glib/nm-settings.c
6754           libnm-glib/nm-settings.h
6755                 - (impl_connection_settings_get_secrets): add 'hints' argument
6756
6757 2007-10-19  Dan Williams  <dcbw@redhat.com>
6758
6759         * src/nm-device.c
6760                 - (constructor): add message about what path a device is exported as
6761                         to help in debugging rh #339011
6762
6763 2007-10-17  Dan Williams  <dcbw@redhat.com>
6764
6765         * libnm-util/nm-utils.h
6766           libnm-util/nm-utils.c
6767                 - (nm_utils_security_valid): common function to help find the intersection
6768                         of capabilities of devices and (optionally) access points
6769
6770 2007-10-17  Dan Williams  <dcbw@redhat.com>
6771
6772         * src/nm-device-802-11-wireless.c
6773                 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6774                         don't get erroneously cleared
6775
6776 2007-10-17  Dan Williams  <dcbw@redhat.com>
6777
6778         * src/nm-manager.h
6779           src/nm-manager.c
6780           src/nm-hal-manager.c
6781                 - (device_removed, finalize, nm_manager_remove_device,
6782                    nm_manager_sleep): add a 'deactivate' argument to 
6783                    nm_manager_remove_device() to fully deactivate devices when necessary
6784                    (ie, always except when waking up)
6785
6786 2007-10-16  Dan Williams  <dcbw@redhat.com>
6787
6788         * libnm-util/nm-setting.c
6789                 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6790                         also isn't valid phase2 autheap method
6791
6792 2007-10-16  Dan Williams  <dcbw@redhat.com>
6793
6794         * libnm-glib/nm-client.c
6795                 - (update_wireless_status): consolidate updates of wireless status
6796                 - (constructor): use update_wireless_status()
6797                 - (manager_running): set wireless status off when NM goes away; requery
6798                         the wireless status when NM comes back
6799
6800 2007-10-16  Dan Williams  <dcbw@redhat.com>
6801
6802         * libnm-glib/nm-client.c
6803                 - (nm_client_activate_device): actually use the fixed-up specific
6804                         object path
6805
6806 2007-10-16  Dan Williams  <dcbw@redhat.com>
6807
6808         * src/nm-hal-manager.c
6809                 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6810                         killswitch error messages once
6811
6812 2007-10-16  Dan Williams  <dcbw@redhat.com>
6813
6814         * src/nm-manager.c
6815                 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6816                         if it's disabled in hardware; don't touch network devices while
6817                         NM is asleep
6818
6819 2007-10-16  Dan Williams  <dcbw@redhat.com>
6820
6821         * libnm-util/nm-client.c
6822                 - (nm_client_activate_device): convert NULL specific_object to "/",
6823                         which is used in place of NULL
6824
6825         * src/nm-manager.c
6826                 - (impl_manager_activate_device): convert "/" specific_object back into
6827                         NULL
6828
6829 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6830
6831         Implement a generic NMSetting creator from setting name.
6832         While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6833         add a virtual function 'populate_fn'.
6834
6835         * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6836         (register_default_creators): Register setting creators instead of functions
6837         that create and then populate.
6838         (parse_one_setting): Use the common setting creator and then setting specific
6839         poplulation function.
6840
6841         * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6842         they all looked exactly the same.
6843         Add a 'populate_fn' virtual function to NMSetting.
6844         Use default virtual functions in case they are not overriden.
6845         (nm_setting_populate_from_hash): Implement.
6846
6847         * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6848         name, use a defined string.
6849         (real_act_stage4_get_ip4_config): Ditto.
6850
6851 2007-10-16  Tambet Ingo  <tambet@gmail.com>
6852
6853         * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6854         HAL is int, not uint.
6855
6856 2007-10-15  Tambet Ingo  <tambet@gmail.com>
6857
6858         Implement killswitch polling through HAL.
6859
6860         * src/nm-manager.c: Add wireless hardware status property. Add 
6861         'properties-changed' signal for changes in wireless and wireless hardware
6862         state changes.
6863
6864         * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
6865         and update NMManager's wireless hardware state when it has changed.
6866         (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
6867         already does that.
6868
6869         * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
6870         values of wireless state and wireless hardware state. Listen for the
6871         'properties-changed' signals, update the cached values and emit notify.
6872
6873         * include/NetworkManager.h: Fix a typo in a comment.
6874
6875 2007-10-14  Dan Williams  <dcbw@redhat.com>
6876
6877         * libnm-util/nm-setting.c
6878                 - (setting_wireless_security_need_secrets): handle LEAP secrets
6879
6880 2007-10-13  Dan Williams  <dcbw@redhat.com>
6881
6882         * libnm-util/nm-setting.h
6883           libnm-util/nm-setting.c
6884           src/supplicant-manager/nm-supplicant-config.c
6885                 - Make the 'proto' field of the 802-11-wireless-security field a
6886                         string list
6887
6888 2007-10-12  Tambet Ingo  <tambet@gmail.com>
6889
6890         Rework the "properties-changed" signal listening implementation.
6891         Add a generic implementation to NMObject class that listens for
6892         the signal and calls property setters of the target NMObject.
6893
6894         * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
6895
6896         * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
6897         code to the end of file so that all the static functions are available
6898         without extra declarations.
6899         Remove the "properties-changed" signal handling and use the framework from
6900         NMObject.
6901         Implement property setters for properties that change with 
6902         "properties-changed" signal.
6903
6904         * libnm-glib/nm-access-point.c: Ditto.
6905
6906 2007-10-12  Tambet Ingo  <tambet@gmail.com>
6907
6908         Rework the "properties-changed" signal implementation.
6909         In classes that need to use it, just emit "GObject::notify" and the new
6910         framework takes care of the rest to make the signal available on dbus.
6911         The framework queues the notifications and tries to send as many together
6912         in one signal as possible.
6913
6914         * src/nm-properties-changed-signal.c:
6915         * src/nm-properties-changed-signal.h: Implement.
6916
6917         * src/Makefile.am: Add new files to build.
6918
6919         * src/NetworkManagerAP.c: Use the general framework for properties-changed
6920         signal.
6921
6922         * src/nm-device-802-11-wireless.c: Ditto.
6923
6924 2007-10-10  Dan Williams  <dcbw@redhat.com>
6925
6926         * src/nm-manager.c
6927                 - (wait_for_connection_expired): ensure info is valid
6928                 - (connection_added_default_handler): Should only remove pending
6929                         connection info when the manager has the connection that it's
6930                         waiting for.  Fixes segfault in wait_for_connection_info().  
6931
6932 2007-10-10  Dan Williams  <dcbw@redhat.com>
6933
6934         * libnm-util/nm-setting.c
6935           libnm-util/nm-setting.h
6936                 - Add a default 'user_name' field to the VPN setting, which VPN plugins
6937                         can use if they choose.  Should be filled in by the settings service
6938                         on-the-fly with the currently logged in user's username
6939
6940 2007-10-10  Dan Williams  <dcbw@redhat.com>
6941
6942         * src/nm-device-802-11-wireless.c
6943                 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
6944                         as such, because even if the manager fills in the SSID, NM still
6945                         has to indicate to wpa_supplicant that the AP isn't broadcasting
6946                         its SSID
6947
6948 2007-10-10  Tambet Ingo  <tambet@gmail.com>
6949
6950         Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
6951         code that used NM's own version of dbus signal handling and custom dictionary
6952         marshalling/unmarshalling. With this change, all that obsolete code can disappear
6953         and we get to maintain over 2000 lines less code.
6954
6955         * libnm-util/dbus-dict-helpers.c:
6956         * libnm-util/dbus-dict-helpers.h: Remove.
6957
6958         * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
6959
6960         * src/ppp-manager/nm-pppd-plugin.xml: Implement.
6961
6962         * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
6963         handlers.
6964
6965         * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
6966
6967         * configure.in: Remove test/libnm-util/Makefile creation.
6968
6969         * test/Makefile.am: Remove libnm-util from SUBDIRS.
6970
6971         * test/libnm-util/: Remove the whole directory.
6972
6973 2007-10-10  Tambet Ingo  <tambet@gmail.com>
6974
6975         * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the 
6976         device_state_changed_idle_id variable or it would contain some random value and the
6977         schedule_change_check calls would not do anything.
6978
6979 2007-10-09  Dan Williams  <dcbw@redhat.com>
6980
6981         * src/nm-device-802-11-wireless.c
6982                 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
6983                 - (merge_scanned_ap): only have the manager fill the SSID if the AP
6984                         isn't broadcasting its SSID; set the non-broadcast flag here; fix
6985                         merging of non-SSID-broadcasting APs
6986
6987 2007-10-09  Tambet Ingo  <tambet@gmail.com>
6988
6989         * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
6990         "guint8 *" since it's usually used with GByteArray->data.
6991         (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
6992
6993 2007-10-09  Tambet Ingo  <tambet@gmail.com>
6994
6995         * src/NetworkManagerUtils.c
6996         (nm_utils_is_empty_ssid):
6997         (nm_utils_escape_ssid):
6998         (nm_utils_same_ssid): Remove. These functions are copied and pasted in a 
6999         lot of places, so they belong to libnm-utils instead.
7000
7001         Now with 100% less compiler warnings:
7002
7003         * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7004         (nm_dbus_unescape_object_path): Ditto.
7005         (nm_utils_ssid_to_utf8): Ditto.
7006         (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7007         (nm_utils_escape_ssid): Ditto.
7008         (nm_utils_same_ssid): Ditto.
7009
7010         * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7011         (add_one_connection_element): Remove an unused variable.
7012         (impl_manager_get_active_connections): Ditto.
7013
7014         * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7015         variable.
7016
7017         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7018         from the previous commit.
7019
7020         * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7021         (real_act_stage1_prepare): Ditto.
7022         (activation_success_handler): Ditto.
7023         (get_property): Ditto.
7024
7025         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7026         variable.
7027
7028         * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7029         it's always set.
7030
7031         * src/supplicant-manager/nm-supplicant-config.c 
7032         (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7033         to expected "char *".
7034         (nm_supplicant_config_add_setting_wireless): Ditto.
7035         (nm_supplicant_config_remove_option): Remove, not used.
7036
7037         * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7038         not double.
7039         (test_wireless_enabled): Ifdef out unused function.
7040         (device_deactivate): Ditto.
7041         (device_state_changed): Ditto.
7042         (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7043         (nm_utils_escape_ssid): Ditto.
7044
7045         * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7046         (nm_utils_is_empty_ssid): Ditto.
7047
7048         * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7049         unused variable.
7050
7051         * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7052         (setting_vpn_properties_update_secrets): Ditto.
7053         (int_to_gvalue): Ifdef out for now, not used.
7054         (byte_to_gvalue): Ditto.
7055
7056         * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array): 
7057         Unused, remove.
7058
7059 2007-10-08  Tambet Ingo  <tambet@gmail.com>
7060
7061         * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7062         about dbus manager, not named manager.
7063         Make sure hal_manager and dbus_mgr are created before trying to unreference.
7064
7065         * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7066         handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7067         However, the same signal is emitted when we destroy it and there's 
7068         nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7069
7070         (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7071         releasing the DBusGConnection, since proxy needs a conneciton.
7072         (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7073
7074 2007-10-08  Dan Williams  <dcbw@redhat.com>
7075
7076         * src/NetworkManager.c
7077                 - (main): error on unknown command-line options
7078
7079 2007-10-08  Dan Williams  <dcbw@redhat.com>
7080
7081         Reimplement the invalid connection list.  Don't try to re-activate a
7082         connection that just failed or was canceled.
7083
7084         * src/nm-device.c
7085                 - (connection_secrets_failed_cb): fail device activation, don't just
7086                         deactivate the device.  Listeners have to know about the failure.
7087
7088         * src/NetworkManagerPolicy.c
7089                 - (nm_policy_auto_get_best_device): exclude invalid connections from
7090                         the connection list given to a device's get_best_connection()
7091                         method
7092                 - (device_state_changed): tag failed connections as invalid; clear the
7093                         tag from successful connections
7094
7095 2007-10-08  Dan Williams  <dcbw@redhat.com>
7096
7097         Fix problems with interrupted activation.  Previously, choosing an AP
7098         from the menu, then choosing another one before the first connection was
7099         successful wouldn't deactivate the device before starting the new connection
7100         on that same device.
7101
7102         * src/NetworkManagerPolicy.c
7103                 - (deactivate_old_device, device_state_changed, state_changed,
7104                    nm_policy_new): wrong place to deactivate old devices
7105
7106         * src/nm-manager.c
7107                 - (pending_connection_info_destroy, finalize,
7108                    wait_for_connection_expired): decouple destruction of the pending
7109                         connection info from the manager device
7110                 - (connection_added_default_handler): deactivate any active or
7111                         activating device before starting a new activation
7112                 - (impl_manager_activate_device): deactivate any active or activating
7113                         device before starting a new activation; be sure not to leak
7114                         pending connection info if a new activation request arrives but
7115                         there's already a pending one in-process
7116
7117 2007-10-08  Dan Williams  <dcbw@redhat.com>
7118
7119         * src/NetworkManagerAP.h
7120           src/NetworkManagerAP.c
7121                 - (nm_ap_has_manufacturer_default_ssid): remove, unused.  User clients
7122                         should handle default SSIDs and whether or not to autoconnect
7123                         to them
7124
7125 2007-10-08  Dan Williams  <dcbw@redhat.com>
7126
7127         * src/NetworkManagerPolicy.c
7128                 - (nm_policy_device_change_check): print out connection name where
7129                         possible
7130
7131 2007-10-08  Dan Williams  <dcbw@redhat.com>
7132
7133         * src/nm-device-802-11-wireless.c
7134           src/nm-device-802-11-wireless.h
7135                 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7136                         'hidden-ap-found' signal (for internal use only) that allows the
7137                         NMManager to fill in the AP's SSID if a connection has that AP's
7138                         BSSID in its seen-bssids list
7139
7140         * src/nm-manager.c
7141                 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7142                         wireless device's hidden-ap-found signal and fill in the APs SSID
7143                         if possible
7144
7145 2007-10-07  Dan Williams  <dcbw@redhat.com>
7146
7147         * src/nm-manager.c
7148           src/nm-manager.h
7149                 - Add a 'connections-added' signal to batch together updates of large
7150                         numbers of connections, like when reading from a settings service
7151                         the first time.  Otherwise, the policy would just activate the first
7152                         suitable connection it saw rather than waiting for the full list
7153                         to arrive.
7154                 - (nm_manager_class_init): register new signal
7155                 - (get_type_for_proxy, connection_get_settings_cb,
7156                    get_connection_for_proxy): centralize places where a proxy's setting
7157                         service is determined
7158                 - (free_get_settings_info): if the call being freed is the last call
7159                         in a pending call group, fire off the connections-added signal
7160                 - (internal_new_connection_cb): add call to a pending call group if
7161                         requested
7162                 - (list_connections_cb): always create a call group here, because this
7163                         call results in a batch of new connections
7164                 - (initial_get_connections): start getting system connections first
7165                 - (nm_manager_connections_destroy, emit_removed): actually emit the
7166                         removed signal when destroying connections
7167
7168         * src/NetworkManagerPolicy.c
7169                 - (nm_policy_new, connections_added): handle connections-added signal
7170                         from the manager
7171
7172 2007-10-06  Dan Williams  <dcbw@redhat.com>
7173
7174         * src/nm-device-802-11-wireless.c
7175                 - (constructor): fix leaked socket
7176
7177 2007-10-06  Dan Williams  <dcbw@redhat.com>
7178
7179         * src/NetworkManagerPolicy.c
7180                 - (nm_policy_auto_get_best_device): fix connection list reffing.  Each
7181                         connection in the list returned by nm_manager_get_connections() is
7182                         reffed, but they weren't getting unreffed before returning
7183
7184 2007-10-06  Dan Williams  <dcbw@redhat.com>
7185
7186         * src/nm-manager.c
7187                 - (connections_to_slist): sort connections first on autoconnect, then
7188                         on timestamp
7189
7190 2007-10-06  Dan Williams  <dcbw@redhat.com>
7191
7192         * libnm-util/nm-connection.c
7193                 - (gvalue_to_string): handle UINT64
7194
7195 2007-10-06  Dan Williams  <dcbw@redhat.com>
7196
7197         * src/NetworkManagerPolicy.c
7198                 - (connection_updated, nm_policy_new): recheck state when a connection
7199                         gets updated
7200
7201 2007-10-06  Dan Williams  <dcbw@redhat.com>
7202
7203         * src/nm-manager.c
7204           src/nm-manager.h
7205                 - (nm_manager_get_connection_dbus_path): make static
7206                 - (nm_manager_update_connections): remove; unused
7207                 - Add a connection-updated signal
7208                 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7209                         handle connection object updates
7210
7211 2007-10-06  Dan Williams  <dcbw@redhat.com>
7212
7213         * src/NetworkManagerPolicy.c
7214                 - (connection_removed): deactivate removed connections
7215
7216 2007-10-06  Dan Williams  <dcbw@redhat.com>
7217
7218         * libnm-util/nm-connection.c
7219           libnm-util/nm-connection.h
7220                 - (nm_connection_replace_settings): new function
7221
7222 2007-10-06  Dan Williams  <dcbw@redhat.com>
7223
7224         * libnm-glib/nm-device-802-11-wireless.c
7225                 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7226                         on error when getting the active access point over D-Bus from NM
7227
7228 2007-10-05  Dan Williams  <dcbw@redhat.com>
7229
7230         * libnm-util/nm-setting.c
7231                 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7232                         to the NMSettingWireless table; it's now a string array not an array
7233                         of byte arrays
7234
7235 2007-10-05  Dan Williams  <dcbw@redhat.com>
7236
7237         * libnm-glib/nm-device-802-11-wireless.c
7238                 - Cache properties and update cached properties on D-Bus signals from NM
7239
7240 2007-10-05  Dan Williams  <dcbw@redhat.com>
7241
7242         * src/nm-device-802-11-wireless.c
7243                 - (set_current_ap): consolidate current_ap handling code into one place
7244                         to ensure that PropertiesChanged signals are emitted in all cases
7245                 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7246                    nm_device_802_11_wireless_dispose): use set_current_ap()
7247
7248 2007-10-05  Dan Williams  <dcbw@redhat.com>
7249
7250         * libnm-glib/nm-access-point.c
7251           libnm-glib/nm-access-point.h
7252                 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7253                         because the value is cached internally now.  Callers should not
7254                         free the internal value.
7255                 - Make signal name defines private
7256
7257         * test/nm-tool.c
7258           libnm-glib/libnm-glib-test.c
7259                 - Don't free value returned from nm_access_point_get_hw_address()
7260
7261 2007-10-04  Dan Williams  <dcbw@redhat.com>
7262
7263         * introspection/nm-device-802-11-wireless.xml
7264           src/nm-device-802-11-wireless.h
7265           src/nm-device-802-11-wireless.c
7266                 - Add a PropertiesChanged signal for wireless device
7267                 - Store currently associated access point
7268                 - (periodic_update): generalize; update rate here too and emit the
7269                         correct PropertiesChanged signal when stuff changes
7270                 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7271                    real_activation_cancel_handler): clear current_ap when device is
7272                         deactivated
7273                 - (link_to_specific_ap, get_ap_blacklisted,
7274                    nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7275                         code
7276                 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7277                         outside this file
7278                 - (real_set_hw_address): emit property changed signal if the card's
7279                         MAC address changes
7280                 - (real_act_stage1_prepare): set the initial current_ap to the AP
7281                         the card is supposed to be connecting to
7282                 - (activation_success_handler): send out property updates on successful
7283                         activation
7284                 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7285                         for ACTIVE_ACCESS_POINT property because sometimes there won't be
7286                         one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7287                 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7288                         is now boxed; add PropertiesChanged signal
7289
7290 2007-10-04  Dan Williams  <dcbw@redhat.com>
7291
7292         * libnm-util/nm-connection.c
7293           libnm-util/nm-connection.h
7294                 - (nm_connection_verify): new function
7295
7296 2007-10-04  Dan Williams  <dcbw@redhat.com>
7297
7298         * libnm-util/nm-setting.c
7299                 - (nm_settings_verify): use #defines when possible rather than strings
7300                 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7301                 - (setting_vpn_verify): tighter validity check on 'service_type'
7302
7303 2007-10-04  Dan Williams  <dcbw@redhat.com>
7304
7305         * libnm-glib/nm-settings.c
7306                 - (nm_connection_settings_class_init): provide correct type for argument
7307                         to the Updated signal so that dbus-glib knows how to marshal it
7308
7309 2007-10-03  Dan Williams  <dcbw@redhat.com>
7310
7311         * src/nm-device-802-3-ethernet.c
7312                 - (real_get_best_connection): don't create automatic connections
7313                         internally; clients should provide a setting that applies to
7314                         the device with 'autoconnect: True'.  Problem was that these
7315                         internally auto-created connections don't have a proxy or service
7316                         name becuase they weren't created by a settings daemon, and therefore
7317                         clients have no idea what to do with them.
7318
7319 2007-10-03  Dan Williams  <dcbw@redhat.com>
7320
7321         * src/nm-device-802-11-wireless.c
7322           src/nm-device-802-11-wireless.h
7323           introspection/nm-device-802-11-wireless.xml
7324                 - GetActiveNetworks -> GetAccessPoints
7325                 - ActiveNetwork -> ActiveAccessPoint
7326                 - NetworkAdded -> AccessPointAdded
7327                 - NetowrkRemoved -> AccessPointRemoved
7328
7329         * libnm-glib/nm-device-802-11-wireless.c
7330           libnm-glib/nm-device-802-11-wireless.h
7331                 - network-added signal -> access-point-added
7332                 - network-removed signal -> access-point-removed
7333                 - nm_device_802_11_wireless_get_active_network() ->
7334                         nm_device_802_11_wireless_get_active_access_point()
7335                 - nm_device_802_11_wireless_get_network_by_path() ->
7336                         nm_device_802_11_wireless_get_access_point_by_path()
7337                 - nm_device_802_11_wireless_get_networks() ->
7338                         nm_device_802_11_wireless_get_access_points()
7339
7340         * libnm-glib/libnm-glib-test.c
7341           test/nm-tool.c
7342           src/NetworkManagerPolicy.c
7343                 - Fixups for Network -> AccessPoint
7344
7345 2007-10-03  Dan Williams  <dcbw@redhat.com>
7346
7347         Add a GetActiveConnections() method on the Manager object.
7348
7349         * src/nm-manager.c
7350           src/nm-manager.h
7351           introspection/nm-manager.xml
7352                 - (connection_get_settings_cb): keep connection type around too
7353                 - (impl_manager_get_active_connections, add_one_connection_element):
7354                         implement; returns all active connections and what devices they
7355                         apply to
7356
7357         * libnm-glib/nm-client.c
7358           libnm-glib/nm-client.h
7359           introspection/nm-manager-client.xml
7360                 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7361                         by the caller; free here to avoid memory leak
7362                 - (nm_client_get_active_connections): implement; return the list of
7363                         active connections
7364                 - (nm_client_free_active_connection_element): implement; free an element
7365                         of the GSList returned by nm_client_get_active_connections()
7366
7367 2007-10-03  Dan Williams  <dcbw@redhat.com>
7368
7369         * src/nm-device-802-11-wireless.c
7370                 - (nm_device_802_11_wireless_update_bssid): remove
7371                 - (get_active_ap): new function; find the AP in the scan list which
7372                         matches the current BSSID and SSID of the wireless device
7373                 - (nm_device_802_11_periodic_update): get current AP using
7374                         get_active_ap() and print AP roam messages
7375
7376 2007-10-01  Dan Williams  <dcbw@redhat.com>
7377
7378         * libnm-util/nm-setting.h
7379                 - Add a 'timestamp' option to NMSettingConnection
7380                 - Add a UINT64 type
7381
7382         * libnm-util/nm-setting.c
7383                 - (uint64_to_gvalue): new function
7384                 - (nm_setting_populate_from_hash, nm_setting_hash,
7385                    default_setting_clear_secrets): handle UINT64 type
7386                 - con_table: add 'timestamp' member
7387
7388 2007-10-01  Dan Williams  <dcbw@redhat.com>
7389
7390         * src/nm-manager.c
7391                 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7392                         value when the connection can be activated immediately
7393
7394 2007-10-01  Dan Williams  <dcbw@redhat.com>
7395
7396         * libnm-glib/nm-device.c
7397                 - (nm_device_class_init): actually tell glib about the carrier-changed
7398                         signal
7399
7400 2007-10-01  Dan Williams  <dcbw@redhat.com>
7401
7402         * configure.in
7403           src/marshallers/Makefile.am
7404           src/marshallers/nm-marshal.list
7405           src/marshallers/nm-marshal-main.c
7406                 - Consolidate glib marshallers into one place
7407
7408         * src/dhcp-manager/Makefile.am
7409           src/dhcp-manager/nm-dhcp-manager.c
7410           src/supplicant-manager/Makefile.am
7411           src/supplicant-manager/nm-supplicant-manager.c
7412           src/supplicant-manager/nm-supplicant-interface.c
7413           src/ppp-manager/Makefile.am
7414           src/ppp-manager/nm-ppp-manager.c
7415           src/vpn-manager/Makefile.am
7416           src/vpn-manager/nm-vpn-connection.c
7417           src/Makefile.am
7418                 - Use consolidated marshallers
7419
7420         * src/dhcp-manager/nm-dhcp-marshal.list
7421           src/dhcp-manager/nm-dhcp-marshal-main.c
7422           src/supplicant-manager/nm-supplicant-marshal-main.c
7423           src/supplicant-manager/nm-supplicant-marshal.list
7424           src/nm-marshal-main.c
7425           src/nm-marshal.list
7426           src/ppp-manager/nm-ppp-marshal-main.c
7427           src/ppp-manager/nm-ppp-marshal.list
7428           src/vpn-manager/nm-vpn-marshal-main.c
7429           src/vpn-manager/nm-vpn-marshal.list
7430                 - Remove
7431
7432 2007-10-01  Dan Williams  <dcbw@redhat.com>
7433
7434         * include/NetworkManagerVPN.h
7435                 - define VPN connection state change reason codes
7436
7437         * src/vpn-manager/Makefile.am
7438           src/vpn-manager/nm-vpn-marshal.list
7439           src/vpn-manager/nm-vpn-marshal-main.c
7440                 - Add marshallers for StateChanged signal
7441
7442         * introspection/nm-vpn-connection.xml
7443                 - New Banner property
7444                 - StateChanged signal now includes a 'reason' argument
7445
7446         * src/vpn-manager/nm-vpn-connection.c
7447           src/vpn-manager/nm-vpn-connection.h
7448                 - Add a "Banner" property that contains the returned VPN server login
7449                         banner (if any); valid only in the ACTIVATED state
7450                 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7451                         a 'reason' argument and emits that reason along with the
7452                         state-changed signal
7453                 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7454                 - (nm_vpn_connection_ip4_config_get): save banner for later
7455                 - (nm_vpn_connection_get_banner, get_property,
7456                    nm_vpn_connection_class_init): implement Banner property
7457
7458         * src/vpn-manager/nm-vpn-service.c
7459                 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7460                         connection list because elements may get added/removed from it
7461                         while iterating over the list
7462                 - (connection_state_changed): signal now includes the 'reason' argument
7463
7464         * libnm-glib/nm-vpn-connection.c
7465           libnm-glib/nm-vpn-connection.h
7466                 - (nm_vpn_connection_get_banner): new function
7467                 - (state_changed_proxy): handle reason argument
7468
7469 2007-09-28  Tambet Ingo  <tambet@gmail.com>
7470
7471         * src/nm-manager.c:
7472         * src/nm-manager.h:
7473         Implement device activation through NMManager.
7474         Implement "pending device activation" here - If the connection isn't found,
7475         we try to wait for up to 5 seconds for the connection to be provided.
7476         Add NMConnectionType argument to "connection-added" and "connection-removed"
7477         signals.
7478         (nm_manager_get): Remove. Finally.
7479
7480         * src/nm-activation-request.c: 
7481         * src/nm-activation-request.h: 
7482         Remove all the deferred activation code.
7483
7484         * src/nm-device.c: Remove all the deferred activation code. Once the device
7485         activation is started, it's started. Update the activation virtual function
7486         signature.
7487
7488         * src/nm-device-interface.c:
7489         * src/nm-device-interface.h:
7490         Device activation now takes only NMActRequest argument.
7491         Don't expose device activation directly on dbus, it's supposed to go through
7492         NMManager now.
7493
7494         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7495         a bit more compact.
7496         Use the new device activation methods through NMManager.
7497
7498         * introspection/nm-manager-client.xml: 
7499         * introspection/nm-manager.xml: 
7500         * libnm-glib/nm-client.c:
7501         * libnm-glib/nm-client.h:
7502         Add device activation method.
7503         
7504         * libnm-glib/nm-device.c: 
7505         * libnm-glib/nm-device.h: 
7506         * introspection/nm-device.xml: 
7507         Remove device activation method. It's done through NMManager now.
7508
7509         * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7510         new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7511
7512 2007-09-28  Dan Williams  <dcbw@redhat.com>
7513
7514         * libnm-glib/nm-vpn-connection.c
7515                 - (nm_vpn_connection_get_state): try to update state if the current
7516                         state is UNKNOWN
7517
7518 2007-09-27  Dan Williams  <dcbw@redhat.com>
7519
7520         Patch from Bill Nottingham
7521
7522         * src/supplicant-manager/nm-supplicant-config.c
7523                 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7524                         data to the supplicant
7525
7526 2007-09-27  Dan Williams  <dcbw@redhat.com>
7527
7528         * src/NetworkManagerSystem.c
7529                 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7530                         and all address manipulation here should be happening on the
7531                         _VPN_ device, not the active device
7532
7533 2007-09-26  Dan Williams  <dcbw@redhat.com>
7534
7535         * src/nm-manager.c
7536           src/nm-manager.h
7537           src/nm-activation-request.c
7538           src/nm-activation-request.h
7539                 - Move the GetSecrets stuff out of the NMManager instance because it
7540                         doesn't really need to be there and complicates things
7541
7542         * src/nm-device.c
7543                 - (connection_secrets_failed_cb, device_activation_go): connect to the
7544                         connection-secrets-failed signal and deactivate the device if
7545                         the GetSecrets call fails
7546
7547         * src/nm-device-802-11-wireless.c
7548                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7549                    real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7550                         secrets and give correct hints about whether new secrets should be
7551                         asked for by the client or not
7552
7553 2007-09-26  Dan Williams  <dcbw@redhat.com>
7554
7555         * src/vpn-manager/nm-vpn-connection.c
7556                 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7557                    connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7558                         to the secrets-updated signal of the NMConnection since updating
7559                         the secrets is done within the scope of the NMVPNConnection object
7560                         already
7561                 - (get_connection_secrets): fix an uninialized variable usage error
7562
7563 2007-09-26  Dan Williams  <dcbw@redhat.com>
7564
7565         * libnm-util/nm-setting.c
7566                 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7567                         actually get updated when the user enters them
7568
7569 2007-09-26  Dan Williams  <dcbw@redhat.com>
7570
7571         * libnm-glib/nm-vpn-plugin.c
7572                 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7573
7574 2007-09-26  Dan Williams  <dcbw@redhat.com>
7575
7576         * include/NetworkManagerVPN.h
7577                 - Add a NEED_AUTH state
7578
7579         * src/vpn-manager/nm-vpn-connection.c
7580                 - Implement the NEED_AUTH state.  First ask the VPN service plugin if
7581                         the connection needs secrets, and if so, then ask the settings
7582                         service to fill in the secrets.  Then start the connection.
7583
7584 2007-09-26  Dan Williams  <dcbw@redhat.com>
7585
7586         * src/vpn-manager/nm-vpn-manager.c
7587                 - (new_vpn_error, impl_vpn_manager_connect): set errors
7588
7589 2007-09-26  Dan Williams  <dcbw@redhat.com>
7590
7591         * introspection/nm-vpn-plugin.xml
7592           libnm-glib/nm-vpn-plugin.c
7593           libnm-glib/nm-vpn-plugin.h
7594                 - (impl_vpn_plugin_need_secrets): implement a call that should return
7595                         the name of the NMSetting in an NMConnection that may require
7596                         secrets specific to that VPN plugin
7597
7598 2007-09-26  Dan Williams  <dcbw@redhat.com>
7599
7600         * src/nm-manager.c
7601           src/nm-manager.h
7602                 - (nm_manager_get_connection_secrets): make static, unused outside
7603                         the file
7604                 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7605
7606 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7607
7608         * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7609         method.
7610         (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7611         unreference the connection.
7612
7613         * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7614         passing properties hash and routes string list, pass NMConnection (in hashed form).
7615
7616         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7617         as GSList, no need to copy stuff around anymore.
7618         (nm_vpn_connection_activate): Update the plugin activation method.
7619
7620         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7621         routes argument to GSList.
7622
7623 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7624
7625         * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7626         state and try to get the secrets.
7627
7628         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7629         connections from NMManager and let the device to choose the best from the list.
7630         Since the connection list is sorted by system ones first and user ones later,
7631         the devices still prefer system connections like they did before.
7632         (deactivate_old_device): Implement. When a device starts activation, we have a
7633         policy (for now at least) to deactivate any other device that might be either
7634         active or still activating.
7635
7636         * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7637         It's set on construction, there will be no other way to access it.
7638
7639         * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7640         device events and drive the device, not the other way around.
7641
7642         * src/nm-device-802-3-ethernet.c: Ditto.
7643
7644         * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7645         sent along, pass it on to virtual functions.
7646
7647         * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7648         for now, but should really be public instead of nm_device_get_iface() since iface
7649         is a property of the DeviceInterface, not Device.
7650         (impl_device_activate): Don't touch NMManager!
7651
7652 2007-09-26  Jürg Billeter  <j@bitron.ch>
7653
7654         * initscript/paldo/NetworkManager.in:
7655         * initscript/paldo/NetworkManagerDispatcher.in:
7656         * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7657         (nm_system_flush_loopback_routes): update paldo backend
7658
7659 2007-09-26  Tambet Ingo  <tambet@gmail.com>
7660
7661         * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7662         The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7663         which means none of the devices get brought down properly, which in turn leaves
7664         DHCP client running.
7665
7666         * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7667         (supplicant_connection_timeout_cb): Ditto.
7668
7669 2007-09-25  Dan Williams  <dcbw@redhat.com>
7670
7671         * src/nm-device.c
7672                 - (device_activation_go): small hack to work around race when
7673                         activating deferred connections; should solve this in a better way
7674
7675 2007-09-25  Dan Williams  <dcbw@redhat.com>
7676
7677         * introspection/nm-device.xml
7678           libnm-glib/nm-device.c
7679           libnm-glib/nm-device.h
7680                 - Add 'Carrier' property to exported NMDevice objects
7681
7682         * src/nm-device-interface.h
7683           src/nm-device-interface.c
7684           src/nm-device.c
7685                 - Add a 'carrier' property to internal NMDevice objects
7686
7687 2007-09-25  Dan Williams  <dcbw@redhat.com>
7688
7689         * src/nm-device-802-11-wireless.c
7690                 - (ap_auth_enforced): also return the encryption status of the AP so
7691                         that callers can differentiate easily between unencrypted APs
7692                         and encrypted ones, in addition to whether the AP has an
7693                         authenticator
7694                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7695                    real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7696                         previously would request secrets from unencrypted APs at times
7697
7698 2007-09-25  Dan Williams  <dcbw@redhat.com>
7699
7700         * src/nm-manager.c
7701                 - (nm_manager_update_state): new function; updates state and emits
7702                         appropriate signals ensuring a state-change signal for the same state
7703                         never gets emitted twice in a row.
7704                 - (manager_device_state_changed): handle more device state to get a
7705                         better picture of the overall NM state
7706
7707 2007-09-25  Dan Williams  <dcbw@redhat.com>
7708
7709         * libnm-glib/nm-settings.c
7710           libnm-glib/nm-settings.h
7711                 - (new_error -> nm_settings_new_error): make public so that subclasses
7712                         can use the same error domain.  Also pass a valid error code to
7713                         g_error_new_literal() so that libdbus doesn't assert when converting
7714                         the GError into a DBusError
7715                 - (impl_settings_list_connections, impl_connection_settings_get_id,
7716                    impl_connection_settings_get_settings,
7717                    impl_connection_settings_get_secrets): use new error creator
7718                         function
7719
7720 2007-09-25  Dan Williams  <dcbw@redhat.com>
7721
7722         * src/NetworkManager.c
7723                 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7724
7725 2007-09-25  Dan Williams  <dcbw@redhat.com>
7726
7727         * src/supplicant-manager/nm-supplicant-manager.c
7728                 - (poke_supplicant_cb, nm_supplicant_manager_init,
7729                    nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7730                    nm_supplicant_manager_startup): when the supplicant isn't running,
7731                         try to start it periodically via system bus activation.  Fixes
7732                         a problem where if wpa_supplicant goes away, NM gets stuck waiting
7733                         for the supplicant to come back
7734
7735 2007-09-25  Dan Williams  <dcbw@redhat.com>
7736
7737         Ensure that old activation requests are forgotten about; previously
7738         hitting Cancel in the password dialog would deactivate whatever device
7739         that password was requested for, even if that wasn't the currently
7740         activating connection.
7741
7742         * src/nm-manager.c
7743           src/nm-manager.h
7744                 - (nm_manager_get_connection_secrets): track the pending call
7745                         object so it can be canceled later if needed
7746                 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7747                         GetSecrets call for a particular connection
7748
7749         * src/nm-activation-request.c
7750                 - (dispose): cancel any outstanding GetSecrets calls on the
7751                         connection
7752
7753 2007-09-25  Dan Williams  <dcbw@redhat.com>
7754
7755         * src/NetworkManagerPolicy.c
7756                 - (nm_policy_device_change_check): handle devices that have a
7757                         deferred activation.  These devices are not really active _yet_,
7758                         but need to be treated as such here.  Don't interrupt them
7759                         automatically.
7760
7761         * src/nm-device-interface.c
7762                 - (impl_device_activate): handle devices that have a deferred activation
7763                         like activating or active devices.  When multiple active devices
7764                         get committed, the device shouldn't be deactivated until the
7765                         connection details are available to avoid DoS and such.  Currently,
7766                         any active, activating, or deferred activation device is deactivated
7767                         here before starting the new activation request.
7768
7769 2007-09-25  Dan Williams  <dcbw@redhat.com>
7770
7771         Properly re-query secrets from the settings daemon when stuff fails.
7772
7773         * src/nm-device-802-11-wireless.c
7774                 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7775                         between Shared Key and Open System auth modes
7776                 - (link_timeout_cb, supplicant_connection_timeout_cb,
7777                    real_act_stage4_ip_config_timeout): clear existing secrets and
7778                         request new ones when something fails due to a suspected wrong key
7779                 - (real_act_stage2_config): fix for new request_new argument to
7780                         nm_manager_get_connection_secrets()
7781
7782         * src/nm-manager.c
7783           src/nm-manager.h
7784                 - (nm_manager_get_connection_secrets): return error status; pass
7785                         new request_new argument on to the settings daemon
7786
7787         * introspection/nm-settings-connection.xml
7788                 - New 'request_new' argument to the GetSecrets call that hints to the
7789                         settings daemon to ask the user for completely new secrets
7790
7791         * libnm-glib/nm-settings.c
7792           libnm-glib/nm-settings.h
7793                 - (impl_connection_settings_get_secrets): handle new 'request_new'
7794                         argument
7795
7796 2007-09-25  Dan Williams  <dcbw@redhat.com>
7797
7798         * libnm-util/nm-connection.c
7799           libnm-util/nm-connection.h
7800                 - (nm_connection_clear_secrets): new function; clear secrets out of
7801                         each NMSetting in an NMConnection
7802
7803         * libnm-util/nm-setting.h
7804           libnm-util/nm-setting.c
7805                 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear 
7806                         secrets out of an NMSetting
7807                 - (nm_setting_connection_new, nm_setting_ip4_config_new, 
7808                    nm_setting_wired_new, nm_setting_wireless_new,
7809                    nm_setting_wireless_security_new, nm_setting_ppp_new,
7810                    nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7811                         to default handler default_setting_clear_secrets()
7812
7813 2007-09-25  Dan Williams  <dcbw@redhat.com>
7814
7815         * src/nm-activation-request.c
7816           src/nm-activation-request.h
7817                 - (nm_act_request_is_deferred): new function
7818
7819 2007-09-24  Dan Williams  <dcbw@redhat.com>
7820
7821         * src/nm-device-802-11-wireless.c
7822                 - (activation_success_handler): update signal strength immediately
7823                         after activation
7824
7825 2007-09-24  Dan Williams  <dcbw@redhat.com>
7826
7827         * libnm-util/nm-setting.c
7828                 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7829
7830 2007-09-24  Dan Williams  <dcbw@redhat.com>
7831
7832         * src/NetworkManagerPolicy.c
7833                 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7834                         device by deactivating it because it doesn't have a "best connection".
7835                         Since autoconnect=False connections aren't automatically chosen,
7836                         NM would interrupt activation of such a connection because it
7837                         would never be "best" due to autoconnect=False.
7838
7839 2007-09-24  Dan Williams  <dcbw@redhat.com>
7840
7841         * src/nm-manager.c
7842                 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7843                         actually has some time to enter a key before the GetSecrets call
7844                         times out
7845
7846 2007-09-24  Dan Williams  <dcbw@redhat.com>
7847
7848         * introspection/nm-manager.xml
7849           src/nm-manager.c
7850                 - (impl_manager_legacy_state): fix 'state' method call return value
7851
7852 2007-09-24  Matthias Clasen  <mclasen@redhat.com>
7853
7854         * test/Makefile.am: Install nm-tool
7855
7856 2007-09-24  Dan Williams  <dcbw@redhat.com>
7857
7858         Patch from Ross Burton <ross@burtonini.com>
7859
7860         * test/nm-tool.c
7861           callouts/nm-dhcp-client-action.c
7862           src/nm-netlink.c
7863           src/vpn-manager/nm-vpn-connection.c
7864           libnm-glib/libnm-glib-test.c
7865                 - warning fixes
7866
7867 2007-09-24  Dan Williams  <dcbw@redhat.com>
7868
7869         * libnm-util/nm-utils.h
7870           libnm-util/nm-utils.c
7871                 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
7872                         remove, unused
7873
7874 2007-09-23  Dan Williams  <dcbw@redhat.com>
7875
7876         * vpn-daemons/vpnc/properties/nm-vpnc.c
7877                 - Update for new VPN properties API bits; instead of passing around
7878                         a lot of random things, everything goes into the NMConnection
7879                         object.
7880
7881 2007-09-23  Dan Williams  <dcbw@redhat.com>
7882
7883         * libnm-util/nm-setting.c
7884                 - Correctly dispose of settings objects if creating them from a hash
7885                         table fails
7886
7887 2007-09-23  Dan Williams  <dcbw@redhat.com>
7888
7889         * libnm-util/nm-setting.c
7890                 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
7891                         the hash table in a standard manner.  Clients of libnm-util should
7892                         only call g_hash_table_remove_all(), never destroy the hash table
7893                         and recreate it.
7894
7895 2007-09-22  Dan Williams  <dcbw@redhat.com>
7896
7897         * src/nm-device-802-11-wireless.c
7898                 - (real_bring_up): update signal strength every 6 seconds, not 2.  No
7899                         real reason to do it so often, and reduces wakeups for clients.
7900
7901 2007-09-21  Dan Williams  <dcbw@redhat.com>
7902
7903         * src/nm-device-802-11-wireless.c
7904                 - (build_supplicant_config): wpa_supplicant requires the option
7905                         key_mgmt=NONE for unencrypted networks
7906                 - (real_act_stage2_config): clarify log message on activation
7907
7908 2007-09-21  Dan Williams  <dcbw@redhat.com>
7909
7910         * test/nm-supplicant-test.c
7911           test/Makefile.am
7912                 - Remove supplicant test binary; no longer applicable
7913
7914 2007-09-21  Dan Williams  <dcbw@redhat.com>
7915
7916         * src/supplicant-manager/nm-supplicant-manager.c
7917                 - (nm_supplicant_manager_init): poke the supplicant at startup to
7918                         activate it on the system bus
7919
7920 2007-09-20  Dan Williams  <dcbw@redhat.com>
7921
7922         * initscript/RedHat/NetworkManager.in
7923                 - dhcdbd is no longer used, so don't try to start it from the initscripts
7924
7925 2007-09-20  Dan Williams  <dcbw@redhat.com>
7926
7927         * src/nm-device.c
7928                 - (nm_device_is_activating): work around a race between auto-activation
7929                         and the user activating the same device that is being auto-activated
7930
7931 2007-09-20  Dan Williams  <dcbw@redhat.com>
7932
7933         * src/nm-device-interface.c
7934                 - (impl_device_activate): until multiple active device support lands,
7935                         ensure only one device can be active at a time
7936
7937 2007-09-20  Dan Williams  <dcbw@redhat.com>
7938
7939         * src/supplicant-manager/nm-supplicant-config.c
7940           src/supplicant-manager/nm-supplicant-config.h
7941                 - (nm_supplicant_config_add_option): hide secrets from system logs
7942
7943 2007-09-20  Dan Williams  <dcbw@redhat.com>
7944
7945         * src/NetworkManagerPolicy.c
7946                 - (nm_policy_device_change_check): re-enable the wireless device change
7947                         checking code; insted of checking for SSIDs, check for the same
7948                         connection instead
7949
7950 2007-09-20  Dan Williams  <dcbw@redhat.com>
7951
7952         * src/nm-device-802-11-wireless.c
7953                 - (supplicant_iface_connection_state_cb_handler): don't use the card's
7954                         composite link state when determining when to start the disconnection
7955                         timer; that link state is already based on the supplicant interface's
7956                         status which is exactly what's already being examined, plus the link
7957                         state is a conglomeration of various things that we don't want here
7958
7959 2007-09-20  Dan Williams  <dcbw@redhat.com>
7960
7961         * libnm-glib/nm-access-point.c
7962                 - (handle_property_changed): strength is a UCHAR
7963
7964 2007-09-20  Dan Williams  <dcbw@redhat.com>
7965
7966         * src/supplicant-manager/nm-supplicant-config.c
7967                 - (nm_supplicant_config_add_setting_wireless_security): uppercase
7968                         string list keywords too since that's what wpa_supplicant wants
7969
7970 2007-09-20  Dan Williams  <dcbw@redhat.com>
7971
7972         * libnm-util/nm-setting.c
7973                 - (convert_strv_to_slist): dupe the values in the list because since
7974                         the list is a boxed value, it'll get destroyed when it's container
7975                         (like a hash table or whatever) gets destroyed
7976
7977 2007-09-20  Tambet Ingo  <tambet@gmail.com>
7978
7979         * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
7980         GSList.
7981
7982         * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
7983
7984         * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
7985         just use (g_object_set_data_full).
7986
7987         * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
7988         that NMSettingVPN->routes is a GSList, convert it to char **.
7989         (nm_vpn_connection_ip4_config_get): Free routes when done.
7990         (nm_vpn_connection_activate): Ditto.
7991
7992         * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
7993         (real_act_stage2_config): Use defined setting names.
7994
7995 2007-09-20  Dan Williams  <dcbw@redhat.com>
7996
7997         * src/nm-device-802-11-wireless.c
7998           src/nm-manager.c
7999           src/nm-manager.h
8000                 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8001                         so that the device can be deactivated if secrets are wrong
8002
8003 2007-09-20  Dan Williams  <dcbw@redhat.com>
8004
8005         * introspection/nm-settings-connection.xml
8006           libnm-glib/nm-settings.c
8007           libnm-glib/nm-settings.h
8008                 - Make GetSecrets asynchronous on the server side
8009
8010 2007-09-20  Dan Williams  <dcbw@redhat.com>
8011
8012         * src/nm-manager.h
8013           src/nm-device.c
8014                 - (nm_device_activate): actually check if a given connection
8015                         exists before assuming it doesn't
8016
8017 2007-09-20  Tambet Ingo  <tambet@gmail.com>
8018
8019         * libnm-util/nm-connection.c (register_default_creators): Use defined
8020         setting names. Register NMSettingVPN and NMSettingVPNProperties.
8021
8022         * libnm-util/nm-setting.c: Define property name strings, use them.
8023         Implement NMSettingVPN and NMSettingVPNProperties settings.
8024         Implement NM_S_TYPE_GVALUE_HASH.
8025         (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8026         (setting_connection_verify): Rename 'devtype' property to 'type'.
8027
8028         * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8029         properties.
8030
8031         * src/vpn-manager/nm-vpn-service.c: Ditto.
8032
8033         * src/vpn-manager/nm-vpn-connection.c: Ditto.
8034
8035         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8036         (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8037
8038         * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8039         names. NMSettingConnection->devtype got renamed to 'type'.
8040
8041         * src/nm-device-802-3-ethernet.c (find_best_connection):
8042         (real_get_best_connection): Ditto.
8043
8044         * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8045
8046         * libnm-glib/nm-vpn-manager.[ch]: Update.
8047
8048 2007-09-19  Dan Williams  <dcbw@redhat.com>
8049
8050         * src/NetworkManagerAP.c
8051           src/NetworkManagerAP.h
8052           introspection/nm-access-point.xml
8053                 - Change strength-changed signal into a properties-changed signal
8054                         for all properties, not just strength.  Export that signal over dbus
8055                         so listeners don't have to poll NM for changes.
8056                 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8057                         get exported over D-Bus, so break up the logic and let other bits
8058                         decided when to export the AP
8059                 - (nm_ap_new_from_ap): remove, unused
8060
8061         * src/nm-device-802-11-wireless.c
8062                 - (merge_scanned_ap): only export APs that are actually on the device
8063                         list, not every AP created internally
8064
8065         * libnm-glib/nm-access-point.c
8066           libnm-glib/nm-access-point.h
8067                 - Cache properties internally and only hit DBus when needed.  Get
8068                         property updates from NM signals
8069
8070 2007-09-16  Dan Williams  <dcbw@redhat.com>
8071
8072         * libnm-util/nm-connection.c
8073           libnm-util/nm-connection.h
8074                 - (nm_connection_for_each_setting_value): new function; iterate over
8075                         each setting's value and call a user-provided function with details
8076                         about that value
8077
8078         * libnm-util/nm-setting.c
8079           libnm-util/nm-setting.h
8080                 - (nm_setting_enumerate_values): new function; enumerate the values
8081                         of a specific NMSetting subclass for a user-provided function with
8082                         details about that value
8083                 - Change wep_tx_keyidx to a uint32
8084                 - Create settings value tables for each setting defining their type,
8085                         key name, offset into the NMSetting subclass' structure, and whether
8086                         they are required and/or a secret
8087                 - (nm_setting_populate_from_hash): generic function to populate an
8088                         NMSetting from a GHash table, make all settings use it
8089                 - (nm_setting_hash): generic function to derive a GHashTable from
8090                         an NMSetting object, make all settings use it
8091
8092 2007-09-14  Dan Williams  <dcbw@redhat.com>
8093
8094         Remove unused stuff in libnm-util
8095
8096         * configure.in
8097           libnm-util/Makefile.am
8098           libnm-util/cipher-private.h
8099           libnm-util/cipher-wep-ascii.c
8100           libnm-util/cipher-wep-ascii.h
8101           libnm-util/cipher-wep-hex.c
8102           libnm-util/cipher-wep-hex.h
8103           libnm-util/cipher-wep-passphrase.c
8104           libnm-util/cipher-wep-passphrase.h
8105           libnm-util/cipher-wpa-psk-hex.c
8106           libnm-util/cipher-wpa-psk-hex.h
8107           libnm-util/cipher-wpa-psk-passphrase.c
8108           libnm-util/cipher-wpa-psk-passphrase.h
8109           libnm-util/cipher.c
8110           libnm-util/cipher.h
8111           libnm-util/dbus-helpers.c
8112           libnm-util/dbus-helpers.h
8113           libnm-util/gnome-keyring-md5.c
8114           libnm-util/gnome-keyring-md5.h
8115           libnm-util/sha1.c
8116           libnm-util/sha1.h
8117           src/nm-device-802-11-wireless.c
8118           test/libnm-util/Makefile.am
8119           test/libnm-util/test-ciphers.c
8120           test/libnm-util/test-dbus-helpers.c
8121           test/libnm-util/test-inputs.h
8122                 - Removed
8123
8124 2007-09-14  Dan Williams  <dcbw@redhat.com>
8125
8126         * libnm-util/dbus-method-dispatcher.c
8127           libnm-util/dbus-method-dispatcher.h
8128                 - Remove, unused
8129
8130 2007-09-14  Dan Williams  <dcbw@redhat.com>
8131
8132         Implement deferred activation support in the device class.
8133
8134         * src/nm-device-interface.c
8135           src/nm-device-interface.h
8136                 - (nm_device_interface_activate): take more arguments to support
8137                         deferred activation; callers must pass one of (connection) OR
8138                         (service_name, connection_path)
8139                 - (impl_device_activate): connection validation is punted to the device
8140                         to be able to handle deferred activation.  Yes, this means errors
8141                         don't get returned from the Activate() dbus call, and yes, that
8142                         should be fixed somehow later.
8143
8144         * src/nm-device.c
8145           src/nm-device.h
8146                 - (clear_act_request): clear additional deferred activation stuff too
8147                 - (deferred_activation_timeout_cb): new function; clean up when
8148                         deferred activation times out.
8149                 - (deferred_activation_start_cb): new function; when the connection
8150                         finally becomes available, start device activation
8151                 - (nm_device_activate): attach to the right signals of the activation
8152                         request if we need to defer activation until the connection is valid
8153
8154         * src/NetworkManagerPolicy.c
8155                 - (nm_policy_device_change_check): update for additional arguments
8156                         required for nm_device_interface_activate().  Pass NULL for these
8157                         though because this function already knows exactly which
8158                         NMConnection to use
8159
8160 2007-09-14  Dan Williams  <dcbw@redhat.com>
8161
8162         Implement deferred activation handling in the NMActRequest class.  When a
8163         client wants to activate a device but must create the NMConnection details
8164         on the fly, there likely hasn't been enough time yet for NM to receive the
8165         new connection signal and grab all the connection details.  So the
8166         activation is deferred (and bounded by a timer) for a while, and if the
8167         connection appears within the window, it is activated.
8168
8169         * src/nm-activation-request.c
8170           src/nm-activation-request.h
8171                 - (nm_act_request_class_init): two new signals to support deferred
8172                         activation, to allow the listener to handle both timeout and success
8173                 - (nm_act_request_new_deferred): new function, starts the deferred
8174                         activation timeout handler and listens to the NMManager for
8175                         new-connection signals to notice when the connection comes in
8176
8177 2007-09-14  Dan Williams  <dcbw@redhat.com>
8178
8179         * src/nm-manager.h
8180           src/nm-manager.c
8181                 - (nm_manager_get_connection_service_name,
8182                    nm_manager_get_connection_dbus_path): get details about a connection
8183                         known internally by the NMManager
8184                 - (nm_manager_class_init): fix connection add/remove signal marshalers
8185                         because NMConnection is now a GObject subclass
8186                 - Use constant for the gobject data tag used on NMConnection objects for
8187                         storing the associated DBusGProxy
8188
8189 2007-09-14  Dan Williams  <dcbw@redhat.com>
8190
8191         * utils/Makefile.am
8192           utils/nm-utils.c
8193           utils/nm-utils.h
8194           src/supplicant-manager/Makefile.am
8195           src/dhcp-manager/Makefile.am
8196           src/backends/Makefile.am
8197           src/named-manager/Makefile.am
8198           src/ppp-manager/Makefile.am
8199           src/vpn-manager/Makefile.am
8200           test/libnm-util/Makefile.am
8201           test/test-common/Makefile.am
8202                 - Remove utils/; it was unused
8203
8204 2007-09-13  Dan Williams  <dcbw@redhat.com>
8205
8206         * libnm-glib/nm-vpn-manager.h
8207           libnm-glib/nm-vpn-manager.c
8208                 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8209
8210 2007-09-13  Dan Williams  <dcbw@redhat.com>
8211
8212         * src/nm-device-802-3-ethernet.c
8213                 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8214                         netlink monitor carrier signals on dispose, not bring down.  The
8215                         carrier signals should be handled over the entire lifetime of the
8216                         device anyway, not created/destroyed on up or down.
8217
8218 2007-09-13  Dan Williams  <dcbw@redhat.com>
8219
8220         * libnm-glib/nm-device.c
8221           libnm-glib/nm-device.h
8222                 - (nm_device_activate): take a connection object path rather than an
8223                         NMConnection because NMConnection isn't exported over D-Bus and
8224                         therefore it dbus-glib can't automatically get an object path from it
8225
8226 2007-09-13  Dan Williams  <dcbw@redhat.com>
8227
8228         * libnm-util/nm-setting.c
8229                 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8230
8231 2007-09-13  Tambet Ingo  <tambet@gmail.com>
8232
8233         * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8234
8235 2007-09-12  Tambet Ingo  <tambet@gmail.com>
8236
8237         * src/vpn-manager/nm-vpn-connection.[ch]: 
8238         * src/vpn-manager/nm-vpn-manager.[ch]:
8239         * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using 
8240         dbus-glib, GObjects, signals etc.
8241
8242         * libnm-glib/nm-vpn-manager.[ch]: 
8243         * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8244         so much, rewrite these too.
8245
8246         * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8247         the new introspection files.
8248
8249         * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8250
8251         * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8252         the header with the same name from libnm-utils.
8253
8254         * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8255
8256         * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8257
8258         * introspection/nm-vpn-plugin.xml: Implement.
8259
8260         * introspection/nm-vpn-connection.xml: Implement.
8261
8262         * introspection/nm-vpn-manager.xml: Implement.
8263
8264         * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8265         the named manager argument, it can just as easily get it as the caller.
8266         (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8267
8268         * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8269
8270         * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8271
8272         * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8273         libnm-utils.
8274
8275         * libnm-util/nm-connection.c: Ditto.
8276
8277         * src/NetworkManagerMain.h: Remove, it's finally empty.
8278
8279         * configure.in: Remove utils/ from build.
8280
8281         * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8282         of hard-coded strings.
8283
8284         * utils/: Move it over to libnm-util.
8285
8286         * test/Makefile.am: Link against libnm-util now that util/ is gone.
8287
8288         * dispatcher-daemon/Makefile.am: Ditto.
8289
8290         * src/Makefile.am: Ditto.
8291
8292 2007-09-12  Dan Williams  <dcbw@redhat.com>
8293
8294         Wireless connections can be made with config data from the applet now.
8295         
8296         Yay.
8297
8298         * src/supplicant-manager/nm-supplicant-config.h
8299           src/supplicant-manager/nm-supplicant-config.c
8300                 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8301                 - (nm_supplicant_config_add_setting_wireless,
8302                    nm_supplicant_config_add_setting_wireless_security): new functions;
8303                         add key/value pairs from the settings objects to the supplicant
8304                         config
8305
8306         * src/nm-device-802-11-wireless.c
8307                 - (cull_scan_list): fix check to not prune currently associated AP
8308                 - (build_supplicant_config, real_act_stage2_config): call the functions
8309                         of the NMSupplicantConfig that parse settings objects rather than
8310                         doing it manually here
8311
8312 2007-09-12  Dan Williams  <dcbw@redhat.com>
8313
8314         * src/supplicant-manager/nm-supplicant-interface.c
8315           src/supplicant-manager/nm-supplicant-marshal.list
8316                 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8317                         "connection-error" signal arguments should be STRING not CHAR
8318
8319 2007-09-12  Dan Williams  <dcbw@redhat.com>
8320
8321         * src/NetworkManagerUtils.c
8322           src/NetworkManagerUtils.h
8323                 - (nm_utils_hexstr2bin): new function
8324
8325 2007-09-11  Dan Williams  <dcbw@redhat.com>
8326
8327         * src/nm-manager.c
8328                 - (connection_get_settings_cb): emit connection-added signal
8329                 - (connection_removed_cb): uncomment bits for system settings service,
8330                         send connection-removed when appropriate
8331                 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8332                         the stack by trying to g_object_set_data() on something that's
8333                         not a GObject; handle case where settings service returns
8334                         empty settings hash table
8335
8336 2007-09-11  Dan Williams  <dcbw@redhat.com>
8337
8338         * src/NetworkManagerPolicy.c
8339                 - (connection_added, connection_removed): trigger device change checks
8340                         on connection changes
8341
8342 2007-09-11  Dan Williams  <dcbw@redhat.com>
8343
8344         * src/nm-activation-request.c
8345                 - (connection_secrets_updated_cb): fix c&p error in signal emission
8346
8347 2007-09-11  Dan Williams  <dcbw@redhat.com>
8348
8349         * src/nm-device-802-11-wireless.c
8350                 - (real_connection_secrets_updated): fix erroneous check
8351
8352 2007-09-11  Dan Williams  <dcbw@redhat.com>
8353
8354         * introspection/nm-device.xml
8355           libnm-glib/nm-device.c
8356           libnm-glib/nm-device.c
8357                 - Fix Activate call argument borkage; Activate takes 3 arguments
8358
8359 2007-09-11  Dan Williams  <dcbw@redhat.com>
8360
8361         * libnm-glib/nm-access-point.c
8362           libnm-glib/nm-access-point.c
8363                 - (nm_access_point_get_frequency): now returns guint32 to match
8364                         property change on 2007-09-10
8365
8366 2007-09-11  Dan Williams  <dcbw@redhat.com>
8367
8368         * src/nm-device-802-11-wireless.c
8369                 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8370                         somewhere defines 'index' and I missed this one when I fixed the
8371                         shadow declaration errors earlier
8372
8373 2007-09-11  Dan Williams  <dcbw@redhat.com>
8374
8375         * libnm-util/nm-connection.c
8376                 - (nm_connection_update_secrets, need_secrets_check): move
8377                         802-11-wireless-security need_secrets checks to the setting object
8378                         itself, where it belongs
8379
8380         * libnm-util/nm-setting.c
8381           libnm-util/nm-setting.h
8382                 - (nm_setting_need_secrets): new function
8383                 - (setting_wireless_security_verify,
8384                    nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8385                 - (setting_wireless_security_need_secrets): mostly copy code over
8386                         from nm-connection.c
8387
8388 2007-09-11  Dan Williams  <dcbw@redhat.com>
8389
8390         * libnm-util/nm-setting.c
8391           libnm-util/nm-setting.h
8392                 - (nm_setting_update_secrets): new function; add a virtual function that
8393                         subclasses can implement to update their secrets
8394                 - (setting_wireless_security_update_secrets): implement that function
8395                         for the 802-11-wireless-security subclass
8396
8397         * libnm-util/nm-connection.c
8398           libnm-util/nm-connection.h
8399                 - (nm_connection_update_secrets): update secrets for a Setting and
8400                         emit a signal on success
8401
8402         * src/nm-manager.c
8403           src/nm-manager.h
8404           src/nm-marshal.list
8405                 - (connection_get_settings_cb): enable system settings bits
8406                 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8407                         to request secrets from the settings dbus service and to
8408                         push those secrets to the NMConnection itself
8409
8410         * src/nm-activation-request.c
8411           src/nm-activation-request.h
8412                 - Attach to the 'secrets-updated' signal of the NMConnection that's
8413                         currently being activated, and proxy that signal to other listeners.
8414                         Goes through the activation request because the activation request
8415                         is the thing that manages the lifetime of the NMConnection that's
8416                         being activated.
8417
8418         * src/nm-device-802-11-wireless.c
8419                 - (real_connection_secrets_updated): implement the connection secrets
8420                         updated notification and restart activation when secrets are
8421                         received
8422                 - (real_act_stage2_config): request secrets from the settings dbus
8423                         service if secrets are needed
8424
8425         * src/nm-device.c
8426           src/nm-device.h
8427                 - (clear_act_request, nm_device_activation_cancel,
8428                    nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8429                         where the activation request is cleared
8430                 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8431                         updated secrets signal of activation request and add a function
8432                         that subclasses can override to handle it easily
8433
8434 2007-09-11  Tambet Ingo  <tambet@gmail.com>
8435
8436         * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8437         removal of NetworkManagerAPList.
8438
8439 2007-09-10  Dan Williams  <dcbw@redhat.com>
8440
8441         * src/NetworkManagerAP.c
8442           src/NetworkManagerAP.h
8443           introspection/nm-access-point.xml
8444                 - Change 'freq' property to a guint32 instead of a double since we
8445                         weren't using the floating point bits anyway
8446
8447 2007-09-10  Dan Williams  <dcbw@redhat.com>
8448
8449         * NetworkManagerAP.c
8450           NetworkManagerAP.h
8451           NetworkManagerPolicy.c
8452           NetworkManagerSystem.c
8453           NetworkManagerUtils.c
8454           NetworkManagerUtils.h
8455           nm-device-802-11-wireless.c
8456           nm-device-802-3-ethernet.c
8457           nm-hal-manager.c
8458           nm-manager.c
8459           vpn-manager/nm-dbus-vpn.c
8460                 - Warning fixes; casts and removal of unused variables
8461
8462 2007-09-10  Dan Williams  <dcbw@redhat.com>
8463
8464         * include/NetworkManager.h
8465                 - Kill NMNetworkType; AP types don't matter any more
8466
8467         * src/NetworkManagerAPList.c
8468           src/NetworkManagerAPList.h
8469           src/Makefile.am
8470                 - Kill; NMAccessPointList has outlived it's usefulness
8471
8472         * src/NetworkManagerAP.c
8473           src/NetworkManagerAP.h
8474                 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8475                         functions; check if an NMConnection object is compatible with the
8476                         settings of this AP
8477                 - (freq_to_channel, channel_to_freq): utility functions for
8478                         channel <-> frequency conversion
8479
8480         * src/nm-device.c
8481           src/nm-device.h
8482                 - (nm_device_get_best_connection): pass the specific object around
8483                          (which might be the object path of a specific AP to connect to).
8484                          The get_best_connection() call should populate this on return
8485                          if needed (wireless does).
8486
8487         * src/nm-device-802-3-ethernet.c
8488                 - (real_get_best_connection): handle specific_object argument
8489
8490         * src/NetworkManager.c
8491           src/NetworkManagerMain.h
8492                 - Remove unused includes
8493
8494         * src/nm-device-802-11-wireless.c
8495           src/nm-device-802-11-wireless.h
8496                 - Convert the ap_list into a GSList from an NMAccessPointList
8497                 - No need for caching the 'activation_ap' since this is now determined
8498                         from the specific_object of the activation request, which is
8499                         populated from the get_best_connection() call or from a user request
8500                 - (nm_device_802_11_wireless_update_bssid): fix warning
8501                 - (get_wireless_capabilities): fix error message format arguments
8502                 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8503                 - (find_best_connection, real_get_best_connection): implement
8504                 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8505                         move here from NetworkManagerAPList
8506                 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8507                 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8508                         already verified earlier
8509                 - (real_act_stage2_config): use nm_connection_need_secrets()
8510
8511         * src/NetworkManagerPolicy.c
8512                 - (nm_policy_auto_get_best_device): handle specific objects
8513                 - (create_connection): remove; automatic connection creation functionality
8514                         is handled by the Connection objects
8515                 - (nm_policy_device_change_check): handle specific_object
8516
8517         * libnm-util/nm-connection.c
8518                 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8519
8520 2007-09-10  Dan Williams  <dcbw@redhat.com>
8521
8522         * src/nm-manager.c
8523                 - (query_connections): fix uninitialized variable problem that caused
8524                         segfault
8525                 - (nm_manager_add_device): take devices down on startup so that we can
8526                         be assured that nm_device_is_up() won't short-circuit the init
8527                         process.  Hack until the is_up check gets split into two pieces
8528                         that aren't behaviorally confusing.
8529
8530 2007-09-09  Dan Williams  <dcbw@redhat.com>
8531
8532         * introspection/nm-device.xml
8533                 - The 'Activate' method now takes 3 arguments, a service name for the
8534                 settings service (user or system), the object path of the connection
8535                 to activate, and the specific object to activate, if any
8536
8537         * src/nm-device-interface.c
8538                 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8539                 Add error bits
8540                 - (impl_device_activate): adapt to new Activate arguments; validate
8541                 the service name and get the Connection object from the NMManager
8542                 before starting to activate the device with the specified connection
8543
8544         * src/nm-device-802-3-ethernet.c
8545                 - (real_get_best_connection): find the best connection, or create a
8546                 default one if no existing connections can be used
8547
8548         * src/NetworkManagerPolicy.c
8549                 - (nm_policy_auto_get_best_device): Get the device's best connection
8550                 and only pick the device if it has one
8551                 - (nm_policy_device_change_check): disable wireless bits for now until
8552                 wireless get_best_connection() can be implemented (replacing "best_ap");
8553                 don't create a default connection here as the device subclass will do
8554                 that if needed
8555
8556         * src/nm-manager.h
8557           src/nm-manager.c
8558                 - (nm_manager_get): make NMManager a singleton and expose the getter
8559                 internally
8560                 - Rework internal NMManager connection handling to use the same
8561                 routines for both the system and user settings services.  Most calls
8562                 take a new NMConnectionType argument specifying either system or user
8563                 connections
8564                 - (nm_manager_get_connection_by_object_path): new function; get a
8565                 connection keyed on its object path
8566
8567         * src/NetworkManager.c
8568                 - (main): use nm_manager_get()
8569
8570 2007-09-09  Dan Williams  <dcbw@redhat.com>
8571
8572         * src/nm-device.h
8573           src/nm-device.c
8574                 - (nm_device_get_best_connection): new function; get best connection
8575                         for the device at that time
8576
8577 2007-09-09  Dan Williams  <dcbw@redhat.com>
8578
8579         * src/nm-device-interface.h
8580                 - Add NMDeviceInterfaceError with an UnknownConnection error
8581
8582 2007-09-09  Dan Williams  <dcbw@redhat.com>
8583
8584         Stupid mistake on my part; object path and interface for settings service
8585         and connection objects can be the same, only the service name must be
8586         different for the system and user settings services.
8587
8588         * include/NetworkManager.h
8589           src/nm-manager.c
8590           introspection/nm-settings-connection.xml
8591           introspection/nm-settings.xml
8592           libnm-glib/nm-settings.c
8593                 - (nm_connection_settings_init, query_user_connections,
8594                    new_connection_cb): Unify NetworkManagerSettings and Connection
8595                    interface name and object path
8596
8597 2007-09-06  Dan Williams  <dcbw@redhat.com>
8598
8599         * libnm-glib/nm-object.c
8600                 - (nm_object_get_string_property, nm_object_get_object_path_property,
8601                    nm_object_get_int_property, nm_object_get_uint_property,
8602                    nm_object_get_boolean_property, nm_object_get_byte_property,
8603                    nm_object_get_double_property, nm_object_get_byte_array_property):
8604                         clear GValues after copying their contents, fixes memory leaks
8605                         after every property access because dbus-glib copies the values
8606                         from the DBusMessage into the GValue already.
8607
8608 2007-09-06  Dan Williams  <dcbw@redhat.com>
8609
8610         * introspection/nm-access-point.xml
8611                 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8612                         them to be.  There's some magic property name parsing going on in
8613                         dbus-glib that breaks up property names based on studly-caps and
8614                         puts - between words.
8615
8616         * libnm-glib/nm-access-point.c
8617                 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8618                         Fix property names
8619
8620 2007-09-06  Dan Williams  <dcbw@redhat.com>
8621
8622         * src/nm-manager.c
8623                 - (nm_manager_user_connections_destroy): clear the user connections hash
8624                         table, don't destroy it
8625                 - (finalize): only destroy the hash table on NMManager finalization
8626
8627 2007-09-02  Dan Williams  <dcbw@redhat.com>
8628
8629         * include/NetworkManager.h
8630           libnm-glib/nm-settings.c
8631                 - defines for the user settings daemon D-Bus bits
8632
8633         * src/NetworkManager.c
8634                 - Remove stuff that referred to the old NetworkManagerInfo service
8635
8636         * src/vpn-manager/nm-dbus-vpn.h
8637                 - Move old NMI defines to the only place they are used still
8638
8639         * libnm-util/nm-connection.c
8640           libnm-util/nm-connection.h
8641           src/nm-activation-request.c
8642                 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8643
8644         * src/nm-manager.c
8645           src/nm-manager.h
8646                 - Get connections and their settings from the user settings daemon
8647                         at the appropriate times
8648
8649 2007-09-02  Dan Williams  <dcbw@redhat.com>
8650
8651         * libnm-util/nm-setting.c
8652                 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8653                 - (setting_wireless_hash): set the right value on the item
8654
8655 2007-09-02  Dan Williams  <dcbw@redhat.com>
8656
8657         * test/Makefile.am
8658           test/nminfotest.c
8659                 - Remove, no longer useful
8660
8661 2007-08-30  Dan Williams  <dcbw@redhat.com>
8662
8663         * src/Makefile.am
8664           src/NetworkManagerDbus.c
8665           src/NetworkManagerDbus.h
8666           src/vpn-manager/nm-dbus-vpn.c
8667                 - Remove, no longer necessary.  Move last bits to the only place its
8668                 used, in nm-dbus-vpn.c
8669
8670         * src/NetworkManagerAPList.c
8671           src/nm-device.c
8672           src/NetworkManager.c
8673           src/nm-device-802-11-wireless.c
8674           src/vpn-manager/nm-vpn-manager.c
8675           src/vpn-manager/nm-vpn-service.c
8676           src/NetworkManagerPolicy.c
8677           src/nm-manager.c
8678                 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8679                 that was message_is_error()
8680
8681 2007-08-30  Dan Williams  <dcbw@redhat.com>
8682
8683         * libnm-util/sha1.c
8684                 - Include config.h to get defines for endiannes (gnome.org #420216)
8685
8686 2007-08-30  Dan Williams  <dcbw@redhat.com>
8687
8688         Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8689
8690         * src/ppp-manager/Makefile.am
8691                 - use -fPIC (gnome.org #471825)
8692
8693 2007-08-29  Dan Williams  <dcbw@redhat.com>
8694
8695         * include/NetworkManager.h
8696                 - Keep NMConnection object path in sync
8697
8698         * libnm-glib/nm-settings.c
8699           libnm-glib/nm-settings.h
8700                 - Break D-Bus object registration out of the init function, because
8701                 every object that's exported over D-Bus needs to use the _same_
8702                 DBusConnection.  Otherwise, each object would get a different object
8703                 path tree and wouldn't be callable.
8704
8705 2007-08-29  Dan Williams  <dcbw@redhat.com>
8706
8707         * libnm-util/nm-setting.h
8708           libnm-util/nm-setting.c
8709           libnm-util/nm-connection.c
8710           src/NetworkManagerPolicy.c
8711                 - 'info' settings object should be 'connection' says the spec
8712                 at NetworkManagerConfigurationSpecification
8713
8714 2007-08-29  Dan Williams  <dcbw@redhat.com>
8715
8716         * libnm-glib/nm-settings.c
8717           libnm-glib/nm-settings.h
8718                 - make the dbus path a property of the object, and autogenerate it.
8719                 It can't be composed of the 'id' field becuase that's not available
8720                 yet during the GObject creation in nm_connection_settings_init()
8721
8722 2007-08-29  Dan Williams  <dcbw@redhat.com>
8723
8724         * introspection/nm-settings-connection.xml
8725           introspection/nm-settings.xml
8726                 - Service name -> NetworkManagerUserSettings because two services
8727                 can't share part of the same path.  I'm not really sure how we'll use
8728                 the same code with the system-settings daemon...
8729
8730 2007-08-28  Dan Williams  <dcbw@redhat.com>
8731
8732         * src/nm-device-interface.c
8733           src/nm-device-interface.h
8734                 - Kill one more bit of NMData
8735
8736 2007-08-28  Dan Williams  <dcbw@redhat.com>
8737
8738         * src/NetworkManagerSystem.h
8739           src/nm-device.c
8740           src/nm-device.h
8741           src/nm-hal-manager.c
8742           src/NetworkManager.c
8743           src/nm-device-802-11-wireless.c
8744           src/nm-hal-manager.h
8745           src/nm-device-802-3-ethernet.c
8746           src/vpn-manager/nm-vpn-service.h
8747           src/vpn-manager/nm-vpn-manager.c
8748           src/vpn-manager/nm-vpn-manager.h
8749           src/vpn-manager/nm-vpn-service.c
8750           src/nm-device-802-11-wireless.h
8751           src/NetworkManagerMain.h
8752           src/nm-device-802-3-ethernet.h
8753           src/backends/NetworkManagerGentoo.c
8754           src/backends/NetworkManagerPaldo.c
8755           src/backends/NetworkManagerFrugalware.c
8756           src/backends/NetworkManagerRedHat.c
8757           src/backends/NetworkManagerSlackware.c
8758           src/backends/NetworkManagerGeneric.c
8759           src/backends/NetworkManagerArch.c
8760           src/backends/NetworkManagerSuSE.c
8761           src/backends/NetworkManagerGeneric.h
8762           src/backends/NetworkManagerDebian.c
8763                 - Kill NMData
8764
8765 2007-08-28  Dan Williams  <dcbw@redhat.com>
8766
8767         * src/NetworkManagerMain.h
8768           src/nm-device-802-11-wireless.c
8769           src/NetworkManager.c
8770                 - Remove invalid AP list from NMData; need to rework this somewhat, but
8771                 for now we should set the 'invalid' property on individual APs, and when
8772                 we need to invalidate a whole ESS, set the 'invalid' on every member of
8773                 that ESS
8774
8775 2007-08-28  Dan Williams  <dcbw@redhat.com>
8776
8777         * src/NetworkManagerAP.c
8778           src/NetworkManagerAP.h
8779                 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8780                         'autoconnect' property instead
8781
8782         * src/NetworkManager.c
8783           src/NetworkManagerMain.h
8784           src/NetworkManagerPolicy.c
8785           src/NetworkManagerPolicy.h
8786                 - Remove the 'allowed_ap_list', which should be replaced by 
8787                         NMConnection/NMSettings instead, since _those_ are the allowed
8788                         things that NM can connect to
8789
8790         * src/nm-device-802-11-wireless.c
8791                 - Remove both allowed_ap_list usage and 'fallback' checking
8792
8793 2007-08-28  Dan Williams  <dcbw@redhat.com>
8794
8795         * src/nm-device.c
8796           src/named-manager/nm-named-manager.c
8797           src/named-manager/nm-named-manager.h
8798           src/NetworkManager.c
8799           src/vpn-manager/nm-vpn-manager.c
8800           src/NetworkManagerMain.h
8801           src/NetworkManagerSystem.c
8802                 - Remove the named-manager object from NMData structure in preparation
8803                 for NMData's timely death.  Make the NMNamedManager the singleton that
8804                 it really is
8805
8806 2007-08-28  Dan Williams  <dcbw@redhat.com>
8807
8808         Remove NMAPSecurity objects, they are replaced with flags on the APs for
8809         each AP's capabilities, and by NMConnection/NMSettings objects for user
8810         defined connections.
8811
8812         * include/NetworkManager.h
8813                 - Redefine 802.11 security properties.  There are now device capabilities
8814                         and AP flags and AP security flags.  It was way to unclear before.
8815
8816         * src/Makefile.am
8817           src/nm-ap-security-leap.h
8818           src/nm-ap-security-leap.c
8819           src/nm-ap-security-wpa-eap.c
8820           src/nm-ap-security-wpa-eap.h
8821           src/nm-ap-security-private.h
8822           src/nm-ap-security-wpa-psk.c
8823           src/nm-ap-security-wpa-psk.h
8824           src/nm-ap-security-wep.c
8825           src/nm-ap-security-wep.h
8826           src/nm-ap-security.c
8827           src/nm-ap-security.h
8828                 - Removed, to be replaced with NMConnection/NMSettings objects
8829
8830         * src/nm-dbus-nmi.c
8831           src/nm-dbus-nmi.h
8832                 - Removed, to be replaced by code that talks to the new info daemon
8833                         interface and gets NMConnection/NMSettings objects
8834
8835         * src/backends/NetworkManagerSuSE.c
8836                 - Remove usage of NMAPSecurity; should be replaced by a system-level
8837                         info-daemon that does the same thing but talks the new info-daemon
8838                         D-Bus interface
8839
8840         * src/NetworkManagerAP.h
8841           src/NetworkManagerAP.c
8842           src/NetworkManagerAPList.c
8843           libnm-glib/libnm-glib-test.c
8844                 - Remove usage of NMAPSecurity objects and adjust to new flags for
8845                         WPA/RSN
8846
8847         * libnm-glib/nm-access-point.c
8848           libnm-glib/nm-access-point.h
8849           introspection/nm-access-point.xml
8850           test/nm-tool.c
8851                 - Adjust to new flags for AP security
8852
8853         * utils/nm-utils.c
8854           utils/nm-utils.h
8855           src/vpn-manager/nm-dbus-vpn.c
8856                 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
8857                         stuff which is the only place it's used
8858
8859         * src/nm-device-interface.c
8860           src/nm-device-interface.h
8861           introspection/nm-device.xml
8862           src/nm-activation-request.c
8863           src/nm-activation-request.h
8864           src/nm-device.c
8865                 - Add a new 'specific_object' argument that hints to NM what actual
8866                         AP or other device-specific thing the connection should apply to.
8867                         NMConnection objects can apply to more than one actual device/AP.
8868
8869         * libnm-util/nm-connection.c
8870         * libnm-util/nm-connection.h
8871                 - Add 'have_secrets" call stubs
8872
8873         * libnm-util/cipher.h
8874                 - Move NM_AUTH_TYPE_* defines here for now
8875
8876         * src/nm-device-802-11-wireless.c
8877                 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
8878                         NMSettings objects
8879
8880         * src/NetworkManagerDbus.c
8881         * src/NetworkManagerPolicy.c
8882                 - Remove usage of update_allowed_networks, should be pushing data in
8883                         a different manner
8884
8885 2007-08-27  Tambet Ingo  <tambet@gmail.com>
8886
8887         * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path, 
8888         dbus-glib frees it when the call is done.
8889
8890 2007-08-26  Dan Williams  <dcbw@redhat.com>
8891
8892         * introspection/nm-device.xml
8893                 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
8894
8895 2007-08-26  Dan Williams  <dcbw@redhat.com>
8896
8897         * src/nm-device-802-3-ethernet.c
8898                 - (constructor): move connection of interface-connected/disconnected
8899                         signals here from real_bring_up().  Should be listening to netlink
8900                         for carrier events no matter what the initial state of the device
8901                         is.
8902
8903 2007-08-26  Dan Williams  <dcbw@redhat.com>
8904
8905         * src/nm-netlink-monitor.c
8906                 - (nm_netlink_monitor_class_init): fix marshalling types for
8907                         interface-connected/interface-disconnected
8908                 - (nm_netlink_monitor_event_handler): clean up carrier on/off
8909                         check
8910
8911 2007-08-26  Dan Williams  <dcbw@redhat.com>
8912
8913         Convert to using interface indexes as the primary method of identifying
8914         devices inside NetworkManager.  Indexes are (?) stable, but devices can
8915         be renamed at any time.  Device object paths now refer to the device
8916         index rather than the name, and you can map those two manually if you like
8917         by looking in the /sys/class/net/<name>/ifindex file.  Also moves most
8918         netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
8919         to use interface indexes rather than names.
8920
8921 2007-08-26  Dan Williams  <dcbw@redhat.com>
8922
8923         * src/nm-netlink-monitor.h
8924                 - Remove one last bit of wireless-event signal
8925
8926 2007-08-26  Dan Williams  <dcbw@redhat.com>
8927
8928         * src/nm-netlink-monitor.c
8929                 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
8930                         don't need the 'wireless-event' signal anymore since that's all
8931                         handled by wpa_supplicant
8932
8933 2007-08-25  Dan Williams  <dcbw@redhat.com>
8934
8935         It's 2007. Remove support for drivers that don't support wireless scanning.
8936
8937         * test/nm-tool.c
8938           include/NetworkManager.h
8939           src/NetworkManagerUtils.c
8940           src/NetworkManagerPolicy.c
8941           src/nm-device-802-11-wireless.c
8942                 - Remove special handling for non-scanning devices and mark them
8943                         as unsupported/unhandled
8944
8945 2007-08-20  Dan Williams  <dcbw@redhat.com>
8946
8947         * src/nm-device-802-11-wireless.c
8948           src/nm-device-802-3-ethernet.c
8949                 - (real_is_up): move device-specific tests before generic IFF_UP test,
8950                         because when the card is pulled or the module removed, the device
8951                         is already !IFF_UP and then device-specific cleanup (removing
8952                         the supplicant interface, periodic checks, etc) never gets done
8953
8954 2007-08-20  Dan Williams  <dcbw@redhat.com>
8955
8956         * src/nm-manager.c
8957                 - (nm_manager_remove_device): bring device down before disconnecting
8958                         signal handlers, so that the 'state' signal will get broadcast when
8959                         the device enters the DOWN state
8960                 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
8961                         of states that cause the NMManager to recheck its state
8962
8963 2007-08-20  Dan Williams  <dcbw@redhat.com>
8964
8965         * src/supplicant-manager/nm-supplicant-interface.c
8966                 - (interface_disconnect_done): don't try to dispose of the net proxy
8967                         when it may already have been disposed of
8968
8969 2007-08-20  Dan Williams  <dcbw@redhat.com>
8970
8971         * src/nm-device-802-11-wireless.c
8972                 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
8973                         the SSID isn't available; this can happen when the card is pulled
8974                         or the module unloaded, during the post-removal deactivation
8975                         paths, when the ioctl returns ENODEV
8976
8977 2007-08-20  Dan Williams  <dcbw@redhat.com>
8978
8979         * src/nm-device-802-11-wireless.c
8980                 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
8981                         frequency, and mode match.  Applets are now responsible for grouping
8982                         access points
8983
8984 2007-08-20  Dan Williams  <dcbw@redhat.com>
8985
8986         * src/NetworkManagerAP.c
8987         * src/NetworkManagerAP.h
8988                 - (nm_ap_print_self): new function
8989
8990         * src/NetworkManagerAPList.c
8991                 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
8992                         to do it all here
8993         
8994 2007-08-17  Dan Williams  <dcbw@redhat.com>
8995
8996         * src/nm-device-802-3-ethernet.c
8997                 - (real_bring_down): don't try to dispose of stuff that might not
8998                         exist
8999
9000 2007-08-17  Dan Williams  <dcbw@redhat.com>
9001
9002         * src/NetworkManagerAP.c
9003                 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9004                         applet.  This ensures that the case between the seen-bssids and
9005                         the bssids reported by the driver match.
9006
9007 2007-08-17  Dan Williams  <dcbw@redhat.com>
9008
9009         * src/nm-device-802-11-wireless.c
9010                 - (device_cleanup): disconnect the interface in wpa_supplicant before
9011                         we dispose of the interface proxy in NM
9012
9013 2007-08-16  Dan Williams  <dcbw@redhat.com>
9014
9015         * libnm-glib/nm-client.c
9016                 - (nm_client_init): create VPN connections hash table with key free
9017                         function
9018                 - (proxy_vpn_connection_added): VPN connections hash table key should
9019                         be a duplicated value, not the same memory address as the VPN
9020                         connection name.  This is because the VPN connection name could
9021                         potentially be freed and set to something else during the lifetime
9022                         of the NMVPNConnection object.
9023
9024 2007-08-16  Tambet Ingo  <tambet@gmail.com>
9025
9026         * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9027         (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9028         with the file descriptors. Send a child setup function to change the pppd
9029         progress group.
9030
9031 2007-08-15  Dan Williams  <dcbw@redhat.com>
9032
9033         * src/supplicant-manager/nm-supplicant-interface.c
9034                 - (try_remove_iface): new function, ask wpa_supplicant to remove
9035                         an interface
9036                 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9037                         disposing of the NMSupplicantInterface.  Otherwise weird stuff
9038                         happens on hotplug if wpa_supplicant doesn't tear down and readd
9039                         the interface internally
9040
9041 2007-08-15  Dan Williams  <dcbw@redhat.com>
9042
9043         * src/nm-device-802-11-wireless.c
9044                 - (real_bring_down): move most of this function into device_cleanup()
9045                         so that it can be called from elsewhere
9046                 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9047                         and stuff on dispose.  These would normally get cleaned up when
9048                         the device is marked down and deactivated, but when the device is
9049                         hot-unplugged, it's already down and real_down() never gets run
9050
9051 2007-08-15  Dan Williams  <dcbw@redhat.com>
9052
9053         * src/nm-dbus-nmi.c
9054                 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9055                         caused a reference leak on device for which NM requested a key
9056
9057 2007-08-15  Dan Williams  <dcbw@redhat.com>
9058
9059         * libnm-glib/nm-client.c
9060                 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9061
9062 2007-08-15  Tambet Ingo  <tambet@gmail.com>
9063
9064         * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9065         nothing is using it at the moment, but it'll be all useful and stuff later on.
9066
9067         * libnm-util/nm-setting.h: Define NMSettingPPP.
9068
9069         * libnm-util/nm-setting.c: Implement NMSettingPPP.
9070
9071         * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9072
9073         * src/Makefile.am: Add ppp-manager to SUBDIRS.
9074
9075         * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9076
9077         * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9078
9079 2007-08-14  Tambet Ingo  <tambet@gmail.com>
9080
9081         * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9082
9083         * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9084         an issue with dbus-glib bindings generator. The issue is, the generated C caller
9085         functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9086         name and different arguments and it won't compile anymore. To fix this, we now have
9087         two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9088         that is new API + compatibility API and used by the daemon. The other, 
9089         nm-manager-client.xml is only the new API without compatibility bits and is used
9090         by libnm-glib to make it compile.
9091
9092         * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9093
9094         * src/nm-manager.c (impl_manager_legacy_sleep)
9095         (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9096         interface functions for 0.6 branch.
9097
9098 2007-08-14  Dan Williams  <dcbw@redhat.com>
9099
9100         * src/NetworkManagerAP.c
9101                 - (nm_ap_new_from_properties): fix mistaken check of return value
9102                         from memcmp (should expect 0)
9103
9104 2007-08-14  Dan Williams  <dcbw@redhat.com>
9105
9106         (force-commit to fix wrong comment and partial commit of r2685; this
9107          commit actually applies to r2685)
9108
9109         * src/NetworkManagerUtils.c
9110                 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9111                         ignores trailing nulls in the SSID to work around mismatches in
9112                         expectations between WEXT and what the info-daemon passes back.  The
9113                         info-daemon would pass back the correct length, but due to the
9114                         ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9115                         the device would always have an SSID + 1 depending on what versions
9116                         of wpa_supplicant, the kernel, and NM you have.  This was most often
9117                         visible by just quitting the applet and relaunching, which caused
9118                         NM to reassociated to the same network over again when reloading
9119                         the save networks.
9120
9121         * src/NetworkManagerPolicy.c
9122           src/NetworkManagerUtils.h
9123           src/nm-device-802-11-wireless.c
9124                 - Update for new parameter to nm_utils_same_ssid()
9125
9126 2007-08-14  Dan Williams  <dcbw@redhat.com>
9127
9128         * src/NetworkManagerAP.c
9129                 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs.  Today
9130                         I encountered a BSS that wasn't just hiding it's ESSID, it was
9131                         setting the BSSID to all 0s.  That confused the heck out of NM,
9132                         plus it's useless and probably out-of-spec.
9133
9134 2007-08-14  Dan Williams  <dcbw@redhat.com>
9135
9136         * callouts/Makefile.am
9137           src/dhcp-manager/nm-dhcp-manager.c
9138           src/dhcp-manager/nm-dhcp-manager.h
9139           src/dhcp-manager/Makefile.am
9140                 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9141
9142 2007-08-14  Dan Williams  <dcbw@redhat.com>
9143
9144         * src/dhcp-manager/nm-dhcp-manager.c
9145                 - (dhclient_run): don't pass -x to dhclient until we figure out if
9146                         it's really needed, get rid of unused xtra_args parameter
9147
9148 2007-08-14  Dan Williams  <dcbw@redhat.com>
9149
9150         * include/NetworkManagerVPN.h
9151           src/vpn-manager/nm-dbus-vpn.c
9152           src/vpn-manager/nm-dbus-vpn.h
9153           src/vpn-manager/nm-vpn-act-request.c
9154           src/vpn-manager/nm-vpn-act-request.h
9155           src/vpn-manager/nm-vpn-service.c
9156           src/vpn-manager/nm-vpn-service.h
9157           libnm-glib/nm-vpn-connection.c
9158           libnm-glib/nm-vpn-connection.h
9159           libnm-glib/nm-client.h
9160                 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState -> 
9161                         NMVPNServiceState to clarify what they apply to
9162                 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9163                         NMVPNActStage -> NMVPNConnectionState for the same reason
9164
9165         * libnm-glib/nm-client.c
9166                 - Constant + type renames from above
9167                 - Properly handle NameOwnerChanged/manager_running signals
9168                         for NM service; only emit when state really changes
9169                 - Use hash tables correctly so that the key (which was previously owned
9170                         by the D-Bus message) now has the same lifetime as the value, since
9171                         the key is now taken from the the NMVPNConnection itself.  This
9172                         really fixes the double-VPN names in the applet
9173
9174 2007-08-13  Dan Williams  <dcbw@redhat.com>
9175
9176         Patch from Michael Biebl <biebl@debian.org>
9177
9178         * po/POTFILES.in
9179           po/POTFILES.skip
9180                 - Update for vpn-properties move
9181
9182 2007-08-13  Dan Williams  <dcbw@redhat.com>
9183
9184         * libnm-glib/nm-client.c
9185                 - Convert internal VPN connection tracking from a list to a hash table
9186                         to easily avoid duplicates
9187                 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9188                         must be freed by the caller, like nm_client_get_devices()
9189                 - (nm_client_remove_vpn_connection): don't let the removal signal
9190                         leak through for NMVPNConnection objects that aren't actually
9191                         tracked.
9192                 - (manager_running): throw away VPN connection list when NM goes away,
9193                         like with the device list
9194
9195 2007-08-13  Dan Williams  <dcbw@redhat.com>
9196
9197         * src/dhcp-manager/nm-dhcp-manager.c
9198                 - Stop any dhclient instance that might be already running for a
9199                         particular interface before starting an NM spawned dhclient.  Fixes
9200                         dhclient processes left over if NM crashes, stuff like that.
9201
9202 2007-08-13  Dan Williams  <dcbw@redhat.com>
9203
9204         * src/NetworkManagerAP.c
9205                 - (finalize): don't try to g_array_free (NULL, ...), which happened
9206                         when the AP wasn't broadcasting it's SSID
9207
9208 2007-08-13  Rodrigo Moya <rodrigo@gnome-db.org>
9209
9210         * include/NetworkManager.h: added DBus path for connection settings.
9211
9212         * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9213         nm_connection_settings_signal_updated,
9214         nm_connection_settings_signal_removed): new functions to wrap the
9215         objects' signals.
9216         (nm_connection_settings_init): register GObject with DBus.
9217         (nm_connection_settings_get_dbus_object_path): new function.
9218
9219         * libnm-glib/Makefile.am: added libnmutil to link flags.
9220
9221 2007-08-13  Tambet Ingo  <tambet@gmail.com>
9222
9223         * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9224
9225         * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9226         libnm_glib directory got merged with libnm-glib/.
9227
9228         * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9229
9230         * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9231         Rename the library from libnm-glib to libnm_glib to maintain the library API
9232         compatibility with 0.6 branch.
9233
9234         * Makefile.am: Remove gnome/ SUBDIR.
9235
9236         * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9237
9238         * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9239
9240         * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9241
9242         * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9243         anymore.
9244         Remove checks for wpa_supplicant binary, it's used over dbus.
9245         Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9246
9247         * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9248         Link the binaries with libnm_glib.la.
9249
9250 2007-08-12  Dan Williams  <dcbw@redhat.com>
9251
9252         * src/NetworkManagerPolicy.c
9253                 - (nm_policy_device_change_check): fix policy to deactivate old device
9254                         before activating new one, at least until the multiple active
9255                         device support lands
9256
9257 2007-08-12  Dan Williams  <dcbw@redhat.com>
9258
9259         * src/NetworkManagerPolicy.c
9260                 - (nm_policy_new): hook up to connection-added / connection-removed
9261                         signals instead of connections-changed
9262
9263 2007-08-12  Dan Williams  <dcbw@redhat.com>
9264
9265         Kill dhcdbd until it's dead, dead, dead.  Based on a patch from
9266         Robert Frank <rfrank@redhat.com>
9267
9268         * src/dhcp-manager/nm-dhcp-manager.c
9269           src/dhcp-manager/nm-dhcp-manager.c
9270           src/nm-device.c
9271                 - Spawn and communicate with dhclient directly, through means of a
9272                 custom dhclient callout script.  Process callout D-Bus signals
9273                 with dbus-glib instead of hand-rolled dbus.  DHCP timeouts are now
9274                 sent via gobject signals rather than being driven by the dhcp manager
9275                 directly.
9276
9277 2007-08-12  Dan Williams  <dcbw@redhat.com>
9278
9279         * callouts/nm-dhcp-client-action.c
9280                 - (build_message): ignore non-DHCP-related environment variables
9281
9282 2007-08-12  Dan Williams  <dcbw@redhat.com>
9283
9284         * Makefile.am
9285           configure.in
9286           callouts/Makefile.am
9287           callouts/nm-dhcp-client-action.c
9288           callouts/nm-dhcp-client.conf
9289                 - Add dhclient-executed callout that takes the place of dhclient-script
9290                 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9291                 NM then listens for
9292
9293 2007-08-09  Tambet Ingo  <tambet@gmail.com>
9294
9295         [Based on patch by Helmut Schaa <hschaa@suse.de>]
9296
9297         * libnm-glib/nm-client.h:
9298         * libnm-glib/nm-object.h:
9299         * libnm-glib/nm-vpn-connection.h:
9300         * libnm-glib/nm-settings.h:
9301         * libnm-glib/nm-device.h:
9302         * libnm-glib/nm-ip4-config.h:
9303         * libnm-glib/nm-access-point.h:
9304         * libnm-glib/nm-device-802-3-ethernet.h:
9305         * libnm-util/nm-setting.h: 
9306         * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9307
9308         * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9309
9310         * libnm-glib/nm-access-point.c: Strength has type char.
9311
9312         * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9313         to fix build. GnomeDruid is deprecated in recent libgnomeui.
9314
9315         * introspection/nm-access-point.xml: Strength property is char, not int.
9316
9317         * src/NetworkManagerAP.c (set_property): Set strength from char.
9318         (get_property): Handle hidden APs (with empty SSID).
9319         Get strength value from char.
9320         (nm_ap_class_init): Strength property has char type.
9321
9322 2007-08-03  Rodrigo Moya <rodrigo@gnome-db.org>
9323
9324         * introspection/Makefile.am:
9325         * introspection/nm-settings.xml:
9326         * introspection/nm-settings-connection.xml: added Settings interfaces.
9327
9328         * libnm-glib/nm-settings.[ch]:
9329         * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9330         containing the DBus implementation.
9331
9332 2007-07-26  Dan Williams  <dcbw@redhat.com>
9333
9334         Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9335
9336         * src/NetworkManagerSystem.c
9337                 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9338                         same subnet (#437396)
9339
9340 2007-07-26  Dan Williams  <dcbw@redhat.com>
9341
9342         Patch from Kelemen Gábor <kelemeng@gnome.hu>
9343
9344         * gnome/vpn-properties/nm-vpn-properties.c
9345                 - Fix translatable strings (#445865)
9346
9347 2007-07-26  Dan Williams  <dcbw@redhat.com>
9348
9349         Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9350
9351         * configure.in
9352                 - Remove useless junk (#412530)
9353
9354 2007-07-10  Christopher Aillon  <caillon@redhat.com>
9355
9356         Patch from Robert Buchholz <rbu@gentoo.org>:
9357
9358         * configure.in:
9359         * Makefile.am:
9360         * introspection/Makefile.am:
9361         Make make distcheck work again.
9362
9363 2007-06-27  Dan Williams  <dcbw@redhat.com>
9364
9365         * Make SSIDs GByteArrays everywhere
9366         * Rename "essid" -> "ssid" everywhere that's appropriate
9367         * Refcount activation_ap member of the 802.11 wireless device class
9368
9369 2007-06-27  Tambet Ingo  <tambet@ximian.com>
9370
9371         * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9372
9373 2007-06-22  Tambet Ingo  <tambet@ximian.com>
9374
9375         * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9376         that we got a new AP when we just update existing AP properties.
9377
9378 2007-06-21  Tambet Ingo  <tambet@ximian.com>
9379
9380         * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9381
9382         * nm-utils.[ch]: Remove.
9383
9384         * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9385         objects for easy property access and dbus connection handling.
9386
9387         * libnm-glib/nm-client.c: Derive from NMObject.
9388
9389         * libnm-glib/nm-device.c: Ditto.
9390
9391         * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9392
9393         * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9394
9395         * libnm-glib/nm-ip4-config.c: Ditto.
9396
9397         * libnm-glib/nm-access-point.c: Ditto.
9398
9399         * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9400         comparision. Currently used by the device activation code to determine if the new
9401         activation is the same as the old one.
9402
9403         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9404         wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9405         able to ask password for the AP.
9406
9407         * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9408         up if the device is already connected, tear down it's connection (if it isn't the
9409         same as new one) and start the activation.
9410
9411         * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9412
9413         * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9414         the issue where all APs are always listed as encrypted.
9415
9416         * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9417         their own registered paths.
9418
9419         * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9420         device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9421
9422 2007-06-13  Tambet Ingo  <tambet@ximian.com>
9423
9424         * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9425         (0 & 0 == 0, doh)
9426
9427         * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9428         because the handling code will cause the next state change and signal listeners
9429         get the signals in wrong order.
9430
9431         * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9432         correctly in case of pending activation.
9433
9434         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9435         Convert the essid byte array to string correctly, including the terminating NULL.
9436
9437         * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9438         mode with correct types.
9439
9440         * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9441         constructed info to dbus call instead of the activation request.
9442
9443 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9444
9445         Patch from Christian Persch <chpe@gnome.org>
9446
9447         * libnm-glib/Makefile.am:
9448         * dispatcher-daemon/Makefile.am:
9449         Use the correct variables, the correct paths, and correct ordering. (446315)
9450
9451 2007-06-11  Tambet Ingo  <tambet@ximian.com>
9452
9453         * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9454         argument. The activation request is easy to retrieve.
9455
9456         * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9457         just to be a convenient location for devices to store random stuff.
9458
9459 2007-06-11  Christopher Aillon  <caillon@redhat.com>
9460
9461         Patch from Alex Smith <alex@alex-smith.me.uk>
9462
9463         * src/backends/NetworkManagerFrugalware.c:
9464         Update the FrugalWare backend to fix a few segfaults. (#392642)
9465
9466 2007-06-08  Tambet Ingo  <tambet@ximian.com>
9467
9468         * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9469
9470         * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9471         setting.
9472         (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9473
9474 2007-06-06  Tambet Ingo  <tambet@ximian.com>
9475
9476         * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9477         automagically.
9478         Implement NMSettingIP4Config.
9479         Finish NMSettingWired by adding all known members.
9480         (setting_wired_verify): Implement.
9481         Finish NMSettingWireless by adding all known members.
9482         (setting_wireless_verify): Implement.
9483
9484         * libnm-util/nm-connection.c: Register "ipv4" setting.
9485         (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9486         dump function, we can introspect the GHashTable which is used for sending connections
9487         over dbus.
9488
9489         * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9490         Take GByteArray for essid, it's really not a string.
9491
9492         * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9493         Start DHCP request if setting is not passed or if it states that DHCP should be used.
9494         (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9495         means overriding the values we got from DHCP.
9496         (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9497         (nm_device_deactivate_quickly): Ditto.
9498
9499         * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9500         for debugging.
9501
9502 2007-05-07  Tambet Ingo  <tambet@ximian.com>
9503
9504         * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9505         NMConnection.
9506
9507         * libnm-glib/nm-device-802-11-wireless.c:
9508         (nm_device_802_3_ethernet_activate): Remove.
9509
9510         * libnm-glib/nm-device-802-3-ethernet.c
9511         (nm_device_802_3_ethernet_activate): Remove.
9512
9513         * libnm-glib/nm-device.c (nm_device_activate): Implement.
9514
9515         * src/nm-device-802-3-ethernet.c: Implement the new activation using
9516         NMConnection.
9517
9518         * src/nm-device-802-11-wireless.c: Store an activation AP once the
9519         activation has started.
9520         Implement the new activation using NMConnection.
9521
9522         * src/nm-activation-request.c: Store a generic connection object instead
9523         of a wireless-specific AP.
9524
9525         * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9526         on device type, create a device specific connection object suitable for
9527         device activation.
9528
9529         * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9530         specific check to validate the connection and on success start the
9531         activation.
9532
9533         * src/nm-device-interface.h: Add a activate virtual function to the
9534         interface definition.
9535
9536         * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9537         (impl_device_activate): Implement.
9538
9539         * introspection/nm-device.xml: Add a generic device activation interface
9540         that accepts an abstract NMConnection structure that has device-specific
9541         information in it.
9542
9543         * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9544         activation interface.
9545
9546         * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9547         activation interface.
9548
9549         * libnm-util/nm-connection.c: 
9550         * libnm-util/nm-connection.h: 
9551         * libnm-util/nm-setting.c:
9552         * libnm-util/nm-setting.h: Add.
9553
9554         * libnm-util/Makefile.am: Build the added files.
9555
9556         * src/nm-dbus-manager.c
9557         (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9558         DbusConnection argument from 'name-owner-changed' signal. The manager
9559         is already passed as a first argument to the signal and the connection
9560         is easy enough to get from it.
9561
9562         * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9563         Update the signature of the function.
9564
9565         * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9566         Ditto.
9567
9568         * src/NetworkManager.c: Ditto.
9569
9570         * src/named-manager/nm-named-manager.c
9571         (nm_named_manager_name_owner_changed): Ditto.
9572
9573         * src/supplicant-manager/nm-supplicant-manager.c
9574         (nm_supplicant_manager_name_owner_changed): Ditto.
9575
9576         * src/nm-hal-manager.c (name_owner_changed): Ditto.
9577
9578         * src/dhcp-manager/nm-dhcp-manager.c
9579         (nm_dhcp_manager_name_owner_changed): Ditto.
9580
9581         * src/nm-hal-manager.c: Add a list of device detectors and creators
9582         to make it easier to add new devices. Each device type has it's own
9583         entry in the table so adding new device types is only a matter of
9584         implementing a couple of functions, one for device detection and the
9585         other for device creation.
9586
9587 2007-04-25  Dan Williams  <dcbw@redhat.com>
9588
9589         * initscript/RedHat/NetworkManager.in: remove trailing backslash
9590                 (gnome.org #432401)
9591
9592 2007-03-30  Dan Williams  <dcbw@redhat.com>
9593
9594         * src/NetworkManagerSystem.c
9595                 - (nm_system_device_set_ip4_route): clean up and fix argument
9596                         to nm_dev_sock_open()
9597
9598 2007-03-28  Tambet Ingo  <tambet@ximian.com>
9599
9600         * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9601         data to correct types instead of always using string.
9602
9603         * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9604         _not_ have NM_802_11_CAP_PROTO_NONE.
9605         (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9606         is not set.
9607
9608 2007-03-27  Tambet Ingo  <tambet@ximian.com>
9609
9610         * libnm-glib/Makefile.am: Fix the build issue.
9611
9612 2007-03-26  Tambet Ingo  <tambet@ximian.com>
9613
9614         * libnm-glib/nm-vpn-connection.h: 
9615         * libnm-glib/nm-vpn-connection.c: Implement.
9616
9617         * libnm-glib/nm-client.c: Add VPN support.
9618
9619         * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9620         handler for VPN.
9621
9622         * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9623         on DBUS again.
9624
9625 2007-03-26  Dan Williams  <dcbw@redhat.com>
9626
9627         * src/NetworkManagerAPList.c
9628         * src/nm-device-802-11-wireless.c
9629         * src/NetworkManagerAP.c:
9630                 - Store last seen as glong instead of GTimeVal.
9631                 - Fix the upper bound of capabilities, it's a bitfield.
9632
9633 2007-03-16  Tambet Ingo  <tambet@ximian.com>
9634
9635         * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9636
9637         * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9638         "manager-running" signal that notifies the appearance/disappearance of NM.
9639         (nm_client_sleep): Implement.
9640
9641         * libnm-glib/nm-device.c:
9642         * libnm-glib/nm-device-802-11-wireless.c: 
9643         * libnm-glib/nm-device-802-3-ethernet.c: 
9644
9645         Don't inherit from DBusGProxy, add a proxy to private
9646         data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9647         for anything but their own dbus interface. DBusGProxy objects support only one
9648         interfaces and to work around this, NMDevice has spearate proxy for each dbus
9649         interface. The nice side effect of this change is that we do not create a new
9650         DBusGProxy object for each property access.
9651
9652 2007-03-15  Tambet Ingo  <tambet@ximian.com>
9653
9654         * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9655         with zeroes before passing them to functions - the functions never do that and
9656         reading the values back may produce wrong values.
9657         (real_bring_up): Store the signal handler id ...
9658         (real_bring_down): ... So that it can be removed here.
9659         Disconnect the supplicant interface here as well.
9660         (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9661         from the access point instead of old $device/Networks/$essid.
9662
9663         * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9664         device state is connected (instead of just having link/carrier).
9665
9666         * src/nm-activation-request.c: Don't store NMData in activation request, it's
9667         already easily accessible through the device.
9668
9669         * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9670         store it within the object.
9671         (nm_ap_get_dbus_path): Export it to public as well.
9672
9673         * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9674         of the singleton.
9675
9676 2007-03-12  Dan Williams  <dcbw@redhat.com>
9677
9678         Get rid of 2 second poll of sysfs 'carrier' file for wired devices.  Useless
9679         for non-carrier-detect capable devices, and useless for carrier-detect
9680         devices since we get notifications from netlink about carrier status anyway.
9681
9682         * src/nm-device-802-3-ethernet.c
9683                 - remove 'link_source_id' member from private data
9684                 - (probe_link): remove and collapse into real_update_link()
9685                 - (nm_device_802_3_periodic_update): remove
9686                 - (real_is_up): check for sup_iface rather than link_source_id
9687                 - (real_bring_up): return gboolean for success/fail; require that
9688                         sup_iface be valid for device bringup to succeed
9689                 - (real_bring_down): zero out link signal ids
9690
9691         * src/nm-device.c
9692                 - (nm_device_activate_stage2_device_config): fail activation if device
9693                         bringup fails
9694                 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9695                         fails
9696                 - (nm_device_bring_up): return success/fail
9697
9698         * src/nm-device.h
9699                 - bring_up now returns success/fail
9700
9701         * src/nm-device-802-11-wireless.c
9702                 - (real_bring_up): return success from bringup
9703
9704 2007-03-07  Dan Williams  <dcbw@redhat.com>
9705
9706         Patch from Simon Geard <delgarde@ihug.co.nz>  (Gnome.org #394956)
9707         * src/nm-ap-security-wpa-psk.c
9708                 - (real_write_supplicant_config): work with PSKs that may contain
9709                         zeros in the binary format rather than treating it as a string
9710
9711 2007-03-02  Tambet Ingo  <tambet@ximian.com>
9712
9713         * libnm-glib/nm-device-802-11-wireless.c
9714         (nm_device_802_11_wireless_get_capabilities): Implement.
9715
9716         * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9717
9718         * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9719
9720         * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9721         reply only if it's not NULL. Not sure why this started happening right now.
9722
9723         * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9724         code paths for when devices get removed on shutdown or when a device is just
9725         removed.
9726         (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9727         gets freed so any signal from a device (disconnected for instance) would invoke
9728         NMState update which would crash.
9729         (nm_manager_remove_device): Bring the device down when it gets removed.
9730
9731         * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9732         the unused dev_type.
9733
9734         * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9735         reference to the added device, NMManager will own it (if it wants).
9736
9737         * test/nm-tool.c: Rewrite using libnm-glib.
9738
9739         * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9740         We get signalled when it changes.
9741
9742         * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9743         when it changes.
9744
9745         * libnm-glib/nm-device.c: Cache the device state property.
9746
9747         * libnm-glib/nm-access-point.c: Cache the strength property.
9748
9749         * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9750         The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9751         and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9752         until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9753         the device is down, activating, or activated (in case of A/B/G cards).
9754         Remove some old dead ifdef'ed out code that used to configure wireless devices,
9755         it's all done through supplicant now.
9756
9757         * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9758         counting issues with pending calls which caused leaks and crashes when
9759         interface was removed (now that the interface actually gets removed).
9760
9761         * src/nm-call-store.c: Make a copy of data before running a foreach
9762         with user callback on it - The most common usage pattern is to cancel
9763         (and thus remove) all pending calls with foreach which would modify
9764         the hash table we're iterating over.
9765
9766         * src/nm-manager.c: When a device is added, make sure it is "up". When
9767         it's removed or disabled due to disabling wireless or networking, bring
9768         it down.
9769
9770         * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9771
9772         * src/nm-device-802-11-wireless.c: 
9773         * src/nm-device-802-3-ethernet.c: 
9774         * src/nm-device.c:
9775                 - Remove "init" virtual function, all gobjects have a place for that
9776                   already (constructor).
9777                 - Replace "start" virtual function with "bring_up", devices can be
9778                   brought up and down more than just on startup now.
9779                 - Add "is_up" virtual function.
9780                 - Implement one way to bring a device down instead of previous 4 different
9781                   ways, each of witch did something different.
9782
9783         * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9784         all it needs is the device interface.
9785
9786         Get rid of NMData.dev_list (3 members to go).
9787         Get rif of NMData in a lot of places.
9788
9789         * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9790
9791 2007-02-23  Dan Williams  <dcbw@redhat.com>
9792
9793         Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9794
9795         * src/NetworkManagerAP.c
9796                 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9797                         OR-ing rather than AND-ing
9798
9799 2007-02-20  Tambet Ingo  <tambet@ximian.com>
9800
9801         * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9802         "network-removed" signals.
9803
9804         * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9805
9806         * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9807         when receiving the signal from dbus.
9808
9809         * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9810         property.
9811
9812         * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9813         deactivation of the previously activated device working again.
9814
9815         * src/nm-activation-request.c: Remove NMActStage property and it's getter
9816         and setter.
9817
9818         * src/nm-device.c (nm_device_is_activated): Remove.
9819         state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9820
9821         * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9822         NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9823         NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9824         NM_DBUS_SIGNAL_STATE_CHANGE signal.
9825         Remove NMNetworkStatus and NMActStage enums.
9826
9827 2007-02-19  Tambet Ingo  <tambet@ximian.com>
9828
9829         * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9830         Handle device state changes and disconnect VPN if it's device deactivates.
9831
9832         * src/nm-dbus-nm.c: 
9833         * src/nm-dbus-nm.h: 
9834         * src/nm-dbus-device.c: 
9835         * src/nm-dbus-device.c: 
9836         * src/nm-dbus-net.c: 
9837         * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9838
9839         * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9840
9841         * src/nm-device.c (nm_device_get_by_udi):
9842         (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9843         implemented in the correct location (NMManager).
9844         Rip out all the test_device stuff.
9845
9846         * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9847         failure handlers, it's all done by NMDevice already.
9848
9849         * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9850         Remove the iochannel hack to route the unix signals to the main thread since
9851         we're not threaded anymore.
9852
9853         * src/NetworkManagerAP.c: Implement HWAddress property.
9854
9855         * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
9856         automatically with dbus-glib.
9857
9858         * src/nm-netlink-monitor.c: 
9859         * src/nm-netlink-monitor.h:
9860                 - Move it low in the class hierarchy, don't reference any NM types.
9861                 - Remove private data from the header.
9862                 - Use type safe checks in public API methods.
9863                 - Make it a singleton so we don't have to pass the single reference around.
9864
9865 2007-02-16  Tambet Ingo  <tambet@ximian.com>
9866
9867         * introspection/nm-ip4-config.xml: Implement.
9868
9869         * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
9870
9871         * libnm-glib/nm-ip4-config.c:
9872         * libnm-glib/nm-ip4-config.c: Implement.
9873
9874         * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
9875         securities. APs reference security.
9876
9877         * src/nm-device-802-11-wireless.c: Implement missing properties that need to
9878         be exported over DBUS.
9879
9880         * src/nm-device-802-3-ethernet.c: Ditto.
9881
9882         * src/NetworkManagerAP.c:
9883         * src/NetworkManagerAP.h:
9884                 - Convert to GObject, export over DBUS.
9885
9886         * src/nm-ip4-config.h:
9887         * src/nm-ip4-config.h:
9888                 - Convert to GObject, export over DBUS.
9889
9890 2007-02-12  Dan Williams  <dcbw@redhat.com>
9891
9892         Patch from Helmut Schaa <hschaa@suse.de>
9893
9894         * vpn-daemons/pptp/configure.in
9895           vpn-daemons/pptp/Makefile.am
9896           vpn-daemons/openvpn/configure.in
9897           vpn-daemons/openvpn/Makefile.am
9898           vpn-daemons/vpnc/configure.in
9899           vpn-daemons/vpnc/Makefile.am
9900                 - Add --without-gnome switch which disables building gnome bits
9901
9902 2007-02-12  Tambet Ingo  <tambet@ximian.com>
9903
9904         * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
9905
9906         * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
9907
9908         * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
9909         'HwAddress'.
9910
9911         * introspection/nm-device.xml: Remove 'UseDhcp' property.
9912
9913         * introspection/nm-access-point.xml: Remove 'Broadcast' property.
9914
9915         Totally break NetworkManager. Please use 0.6 branch until futher notice.
9916
9917         * src/:
9918                 - Remove old low-level dbus interface implementations and replace them
9919                   with dbus-glib one.
9920
9921         * configure.in:
9922                 - Require dbus-glib >= 0.72.
9923                 - Plug in new sources to build.
9924
9925         * libnm-glib/:
9926                 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
9927                   to make it more convenient to use from GObject based programs.
9928
9929         * introspection/:
9930                 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
9931
9932 2007-02-09  Tambet Ingo  <tambet@ximian.com>
9933
9934         * src/nm-device-802-11-wireless.c:
9935                 - Add "network-added" and "network-removed" signals.
9936                 - Use gobject boilerplate macros to define the GObject.
9937                 - Implement wireless device activation.
9938                 - Remove activation_failure_handler and activation_success_handler
9939                   and instead listen on state-changed signals and run the same code
9940                   from there.
9941
9942         * src/nm-device.c:
9943                 - Implment NMDeviceInterface::deactivate.
9944                 - Remove activation_failure_handler and activation_success_handler
9945                   virtual methods. Each device which is interested in these events
9946                   can just listen on it's state changed signals.
9947
9948         * src/NetworkManagerPolicy.c:
9949                 - Move a bit more NMData usage to NMManager.
9950                 - Remove activation scheduling bits.
9951                 - Add listeners for wireless device's "network-added" and
9952                   "network-removed" signals.
9953                 - Listen device changed signals and deactivate currently activated
9954                   device when another device start activating (for now).
9955                 - Remove (nm_policy_schedule_device_change_check): There's never a need
9956                   for calling this, the policy code knows exactly when this should happen,
9957                   by listening on events from NMManager and NMDevices.
9958
9959         * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
9960         Implement.
9961
9962         * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
9963         method on the specific device instead of going to through policy code
9964         and determining the device type by passed in AP's existance.
9965
9966         * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
9967         abstract NMDevice deactivation.
9968
9969 2007-02-08  Tambet Ingo  <tambet@ximian.com>
9970
9971         * src/NetworkManager.c:
9972                 - Set up all the shiny new managers.
9973
9974         * src/NetworkManagerPolicy.c:
9975                 - Add the beginnings of new NMPolicy code. Instead of requireing all
9976                   classes to call into policy code, make the policy code kind of like
9977                   a supervisor that monitors what's going on and drives the whole NM.
9978
9979         * src/nm-hal-manager.c: 
9980         * src/nm-hal-manager.h:
9981                 - Collect all libhal code scattered around NM to this one class.
9982                 - Listen libhal and NMManager events and add/remove devices to
9983                   NMManager.
9984
9985         * src/nm-manager.c:
9986         * src/nm-manager.h:
9987                 - Implment a replacement for NMData. NMData is now officially
9988                 deprecated.
9989
9990 2007-02-05  Tambet Ingo  <tambet@ximian.com>
9991
9992         * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb): 
9993         * src/supplicant-manager/nm-supplicant-interface.h
9994         * src/supplicant-manager/nm-supplicant-interface.c
9995         (nm_supplicant_interface_class_init): Change the "scan-result" signal's
9996         argument to boolean from enum.
9997
9998         Make NMDevice abstract class, remove almost all references to it's
9999         subclasses (the last place gets removed with new policy manager). Add
10000         NMDeviceInterface (which NMDevice implements) so that when we have
10001         NMDevice exported over DBUS, there's a common NMDevice interface which
10002         all instances have, plus there's a device specific interface for each
10003         specific type.
10004         Remove functions (nm_device_is_802_3_ethernet) and
10005         (nm_device_is_802_11_wireless). There are already standard GObject macros
10006         for type safe checks.
10007         Use the updated supplican manager API.
10008
10009         * src/nm-device-interface.h: 
10010         * src/nm-device-interface.c: 
10011         * src/nm-call-store.h: 
10012         * src/nm-call-store.c: Implement.
10013
10014         * src/supplicant-manager/nm-supplicant-interface.c:
10015         * src/supplicant-manager/nm-supplicant-interface.h:
10016         * src/supplicant-manager/nm-supplicant-manager.c:
10017         * src/supplicant-manager/nm-supplicant-manager.h:
10018                 - Remove all private data type references from public header files.
10019                 - Remove all references to other NM classes, this class is just a
10020                   proxy between wpa_supplicant and NM so it doesn't have to know
10021                   any internals.
10022                 - Convert to dbus-glib bindings.
10023                 - Type safe checks for public methods' arguments.
10024                 - Store pending DBUS call ids to NMCallStore.
10025
10026         * src/supplicant-manager/nm-supplicant-config.c:
10027                 - Store config values in a GHashTable instead of GSList.
10028
10029         * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10030
10031         * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10032         singleton now.
10033
10034         * src/nm-device.c: Use the new DHCP manager API.
10035
10036         * src/nm-activation-request.c:
10037         * src/nm-activation-request.h:
10038                 - Remove all dhcp related properties and methods.
10039
10040         * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10041
10042         * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10043
10044         * src/dhcp-manager/nm-dhcp-manager.c:
10045         * src/dhcp-manager/nm-dhcp-manager.h:
10046                 - Convert it to GObject since we need to signal state changes.
10047                 - Remove all references to other NM classes, this class is one
10048                   of the lowest classes in our hierarchy.
10049                 - One less class to use NMActRequest.
10050                 - Make it singleton, one less user of NMData.
10051                 - Remove a couple of sleep() calls.
10052                 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10053                   One less class to use the NM's custom tailored signal handlig.
10054
10055         * Makefile.am: Generate marshallers, add them to build.
10056
10057 2007-02-02  Dan Williams  <dcbw@redhat.com>
10058
10059         * configure.in
10060           gnome/Makefile.am
10061           nm-applet.desktop
10062           Makefile.am
10063                 - Remove last bits referencing gnome applet
10064
10065 2007-02-02  Dan Williams  <dcbw@redhat.com>
10066
10067         * src/vpn-manager/nm-vpn-service.c
10068                 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10069                         and NBNS server addresses
10070
10071 2007-02-02  Tambet Ingo  <tambet@ximian.com>
10072
10073         * src/nm-dbus-manager.c:
10074         * src/nm-dbus-manager.h:
10075                 - Convert all internal DBUS code to use dbus-glib bindings.
10076                 - Remove GObject properties, we don't need them here.
10077                 - Don't explicitly set things to NULL after freeing, glib is
10078                   happy to do it if asked nicely (G_DEBUG=gc-friendly).
10079                 - Make public API argument checks type safe.
10080                 - Remove unnecessary (and wrong) cast to GObject for the first
10081                   argument to g_signal_* calls - The first argument is a gpointer.
10082                 - Export DBusGConnection to other cool classes that (are going to)
10083                   use dbus-glib.
10084
10085 2007-01-26  Dan Williams  <dcbw@redhat.com>
10086
10087         * libnm-util/dbus-dict-helpers.c
10088           libnm-util/dbus-dict-helpers.h
10089                 - Coordinate style with wpa_supplicant version to minimize diff
10090                 - Add uint32 array support
10091                 - (nmu_dbus_dict_append_uint32_array): new function
10092                 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10093                    nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10094                         version; allow adding string array elements individually
10095
10096         * test/libnm-util/test-dbus-dict-helpers.c
10097                 - Test uint32 arrays
10098
10099 2007-01-27  Jürg Billeter  <j@bitron.ch>
10100
10101         * src/backends/NetworkManagerPaldo.c
10102                 - (nm_system_update_dns): clear nscd hosts cache
10103
10104 2007-01-04  Dan Williams  <dcbw@redhat.com>
10105
10106         Threading removal related cleanups:
10107
10108         - Use the glib default main context.  Remove the device main context
10109                 member from NMDevice, and the main_context member from NMData.  Change
10110                 all the idle and timeout scheduler functions to use plain
10111                 g_idle_add() and g_timeout_add().
10112
10113         - As a side-effect of the first change, nm_dbus_manager_get() no longer
10114                 takes an argument; fix that up too.
10115
10116         - Remove all locking, which is useless since we no longer use threads.  For
10117                 example, nm_get_device_by_iface_locked() has been removed.  The global
10118                 device list lock, the AP List lock, and all static locks in
10119                 NetworkManagerPolicy.c have been removed.  The locking utility functions
10120                 in NetworkManagerUtils.c have also been removed.
10121
10122         - Other cleanups in spacing and code style
10123
10124 2007-01-01  Dan Williams  <dcbw@redhat.com>
10125
10126         Found by Bill Moss:
10127
10128         * src/supplicant-manager/nm-supplicant-interface.c
10129                 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10130                         the supplicant interface wasn't already disconnected.  Always
10131                         call removeNetwork and disconnect unless the supplicant interface
10132                         is in the DISCONNECTED or INACTIVE state.
10133
10134 2006-12-28  Dan Williams  <dcbw@redhat.com>
10135
10136         Use a single thread for everything.  With the move to wpa_supplicant
10137         and communication over D-Bus, there's no reason for multiple threads.
10138         Almost all of the blocking code has been removed, with one exception in
10139         the DHCP manager and a few in the VPN manager.  This commit removes the
10140         per-device worker thread and fixes activation cancellation in the absence
10141         of threads.  Further removal of thread-related code would be removing
10142         any locking code (like the device list lock) and simplification of logic
10143         around areas of code or data structures that are currently locked.
10144
10145         * autoip.c
10146           dhcp-manager/nm-dhcp-manager.c 
10147           nm-device-802-11-wireless.c
10148           nm-device-802-3-ethernet.c
10149           nm-device.c
10150           nm-device.h
10151                 - Remove usage of multiple threads
10152
10153 2006-12-19  Dan Williams  <dcbw@redhat.com>
10154
10155         Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10156         plus a few other patches from wpa_supplicant bugzilla.
10157
10158         * src/Makefile.am
10159           src/NetworkManagerPolicy.c
10160           src/NetworkManagerUtils.c
10161           src/NetworkManagerUtils.h
10162           src/nm-ap-security-leap.c
10163           src/nm-ap-security-wep.c
10164           src/nm-ap-security-wpa-eap.c
10165           src/nm-ap-security-wpa-psk.c
10166           src/nm-ap-security.c
10167           src/nm-ap-security.h
10168           src/nm-device-802-11-wireless.c
10169           src/nm-device-802-11-wireless.h
10170           src/supplicant-manager/nm-supplicant-config.c
10171           src/supplicant-manager/nm-supplicant-config.h
10172           src/supplicant-manager/nm-supplicant-interface.c
10173           src/supplicant-manager/nm-supplicant-interface.h
10174           src/supplicant-manager/nm-supplicant-marshal.list
10175           src/supplicant-manager/nm-supplicant-settings-verify.c
10176           src/supplicant-manager/nm-supplicant-settings-verify.h
10177                 - Move all connection management and association handling to
10178                         wpa_supplicant over dbus, rather than spawning a private copy
10179
10180 2006-12-19  Dan Williams  <dcbw@redhat.com>
10181
10182         * src/NetworkManagerPolicy.c
10183                 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10184                         better locking of the device change check handler ID.  Incorrect
10185                         locking was causing lost device change requests
10186
10187 2006-12-18  Dan Williams  <dcbw@redhat.com>
10188
10189         * libnm-util/dbus-dict-helpers.c
10190                 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10191                    _nmu_dbus_dict_entry_get_byte_array): replace usage of
10192                    dbus_message_iter_get_array_len()  (Gnome.org #382898)
10193
10194 2006-12-18  Dan Williams  <dcbw@redhat.com>
10195
10196         * gnome/libnm_glib/libnm_glib.c
10197                 - Change dbus_connection_close() -> dbus_connection_unref()
10198
10199 2006-12-11  Dan Williams  <dcbw@redhat.com>
10200
10201         * src/supplicant-manager/nm-supplicant-interface.c
10202                 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10203                         wpa_supplicant interface state
10204                 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10205                         state before transitioning to READY state
10206
10207 2006-12-04  Dan Williams  <dcbw@redhat.com>
10208
10209         * src/nm-device-802-11-wireless.c
10210                 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10211                         odd length of ESSID returned from ieee80211 stack-based drivers
10212
10213 2006-12-04  Dan Williams  <dcbw@redhat.com>
10214
10215         * src/nm-device-802-11-wireless.c
10216                 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10217                         IE handling blocks that cause mis-parsing of the IE
10218
10219 2006-12-04  Dan Williams  <dcbw@redhat.com>
10220
10221         * src/nm-device-802-11-wireless.c
10222                 - (init_supplicant_interface): new function; pull supplicant interface
10223                         setup code out into standalone function since it must be called from
10224                         two different places
10225                 - (real_init): sup_mgr is now in private object data; get and track
10226                         the supplicant manager object over the NMDevice subclass' lifetime
10227                         and register a signal handler for its state signals; only try to
10228                         initialize the supplicant interface if the supplicant manager is in
10229                         the IDLE state (and therefore is ready for requests)
10230                 - (request_wireless_scan): reschedule the scan request if (a) there is
10231                         no supplicant interface yet (meaning wpa_supplicant isn't running
10232                         or isn't ready yet), or (b) if the supplicant interface isn't ready
10233                         for requests yet
10234                 - (supplicant_iface_connection_state_cb): new function; stub for
10235                         handling supplicant interface connection state signals
10236                 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10237                         comes and goes
10238                 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10239                         supplicant manager object that's being tracked starting with this
10240                         commit
10241
10242 2006-12-04  Dan Williams  <dcbw@redhat.com>
10243
10244         * src/supplicant-manager/nm-supplicant-interface.c
10245                 - (nm_supplicant_interface_set_property): track signal handler ID
10246                 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10247
10248 2006-12-04  Dan Williams  <dcbw@redhat.com>
10249
10250         * src/supplicant-manager/nm-supplicant-interface.[ch]
10251                 - (nm_supplicant_interface_get_state): new function
10252
10253 2006-12-04  Dan Williams  <dcbw@redhat.com>
10254
10255         * src/supplicant-manager/nm-supplicant-interface.c
10256                 - (bssid_properties_cb): don't treat DBus errors as valid
10257                         scanned AP messages
10258
10259 2006-12-04  Dan Williams  <dcbw@redhat.com>
10260
10261         * src/supplicant-manager/nm-supplicant-interface.[ch]
10262                 - (nm_supplicant_interface_get_connection_state): new function
10263                 - define new supplicant connection states
10264                 - send a signal when the supplicant connection state changes
10265
10266 2006-12-03  Dan Williams  <dcbw@redhat.com>
10267
10268         * src/supplicant-manager/Makefile.am
10269           src/supplicant-manager/nm-supplicant-connection.h
10270           src/supplicant-manager/nm-supplicant-connection.c
10271           src/supplicant-manager/nm-supplicant-config.h
10272           src/supplicant-manager/nm-supplicant-config.c
10273           src/supplicant-manager/nm-supplicant-types.h
10274           src/supplicant-manager/nm-supplicant-interface.h
10275           src/supplicant-manager/nm-supplicant-interface.c
10276                 - Rename NMSupplicantConnection -> NMSupplicantConfig
10277
10278 2006-12-03  Dan Williams  <dcbw@redhat.com>
10279
10280         Patch from Gabor Kelemen <kelemeng@gnome.hu>  (Gnome.org #381890)
10281
10282         * po/POTFILES.in
10283           po/POTFILES.skip
10284                 - Move VPN-related translatables to .skip
10285
10286         * vpn-daemons/pptp/po/POTFILES.in
10287                 - Update with new translatables
10288
10289 2006-12-02  Dan Williams  <dcbw@redhat.com>
10290
10291         Patch from Christian Persch <chpe@gnome.org>
10292
10293         * gnome/applet/Makefile.am
10294           gnome/applet/applet-dbus-devices.c
10295           gnome/applet/applet-notifications.c
10296           gnome/applet/applet.c
10297           gnome/applet/applet.h
10298           gnome/applet/main.c
10299                 - Be a GtkStatusIcon on GTK+ >= 2.10
10300
10301 2006-12-02  Dan Williams  <dcbw@redhat.com>
10302
10303         * gnome/applet/applet.c
10304                 - (nma_update_info): fix two unecessary allocations
10305
10306 2006-12-02  Dan Williams  <dcbw@redhat.com>
10307
10308         Patch from Michael Biebl <biebl@teco.edu>
10309         * configure.in
10310           man/NetworkManager.1.in
10311           man/NetworkManagerDispatcher.1.in
10312           man/NetworkManager.8.in
10313           man/NetworkManagerDispatcher.8.in
10314                 - Add .SH NAME stanzas
10315                 - Move NM & NM Dispatcher manpages to section 8 (admin)
10316
10317 2006-12-02  Dan Williams  <dcbw@redhat.com>
10318
10319         Patch from Christian Persch <chpe@gnome.org>
10320
10321         * configure.in
10322                 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10323
10324 2006-11-29  Tambet Ingo  <tambet@ximian.com>
10325
10326         Patch by Timo Hoenig <thoenig@suse.de>:
10327         * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10328         DBUS-1.0.
10329
10330         * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10331         we can't use the one from the main source directory.
10332
10333 2006-11-27  Dan Williams  <dcbw@redhat.com>
10334
10335         Patch from Christian Persch <chpe@gnome.org>
10336
10337         * gnome/applet/applet-dbus-devices.c
10338                 - (hal_info_product_cb): fix memleak; free duped string.
10339                         Gnome.org #379908
10340
10341 2006-11-27  Dan Williams  <dcbw@redhat.com>
10342
10343         Patch from Christian Persch <chpe@gnome.org>
10344
10345         * gnome/applet/menu-items.c
10346                 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10347                         as gtk_progress_set_percentage is deprecated.  Should
10348                         work as far back as GTK+ 2.4.  Gnome.org #379780
10349
10350 2006-11-26  Dan Williams  <dcbw@redhat.com>
10351
10352         Scan using wpa_supplicant over DBus.
10353
10354         * src/nm-device-802-11-wireless.c
10355                 - remove wireless extensions netlink event handler bits
10356                         (wireless_event_helper, nm_device_802_11_wireless_event)
10357                 - remove wireless extensions scan event handler bits
10358                         (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10359                         hex2byte, hex2num, request_and_convert_scan_results,
10360                         free_process_scan_cb_data, scan_results_timeout,
10361                         schedule_scan_results_timeout, cancel_scan_results_timeout)
10362                 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10363                         and request scans from the supplicant interface rather than directly
10364                 - Move functionality of convert_scan_results() to cull_scan_list() and
10365                         supplicant_iface_scanned_ap_cb()
10366                 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10367                         at the scan interval when the current scan has finished
10368                 - (supplicant_iface_state_cb): start scanning when the supplicant
10369                         interface enters the READY state, and stop scanning when it
10370                         enters the DOWN state
10371                 - (cull_scan_list): weed out old access points from the scan list
10372                 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10373                         point into an NMAccessPoint and merge it into the device's scan list
10374
10375         * src/supplicant-manager/nm-supplicant-interface.c
10376           src/supplicant-manager/nm-supplicant-interface.h
10377                 - Add a new signal "scan-result" which is issued when the supplicant
10378                         notifies NM that a scan has completed
10379                 - Add a new signal "scanned-ap" that notifies listeners of a new access
10380                         point found in the scan.  Called once for each access point that
10381                         the supplicant interface object receives from the supplicant as a
10382                         result of the "scanResults" method call
10383                 - (wpas_iface_query_scan_results): don't wait 4s before querying
10384                         for the initial scan results
10385                 - (scan_request_cb): new function; send listeners the result
10386                         (success, error) of a wireless scan request
10387                 - (nm_supplicant_interface_request_scan): new function; ask the
10388                         supplicant to perform an immediate wireless scan
10389
10390 2006-11-25  Dan Williams  <dcbw@redhat.com>
10391
10392         * src/supplicant-manager/Makefile.am
10393                 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10394                         add HAL cflags/includes and named-manager includes directory
10395
10396         * src/supplicant-manager/nm-supplicant-interface.h
10397                 - New state STARTING to handle transition from INIT to READY where
10398                         the addInterface pending call is still outstanding
10399
10400         * src/supplicant-manager/nm-supplicant-interface.c
10401                 - track pending calls differently since we may have more than one
10402                         going on at any given time
10403                 - request scan results from wpa_supplicant; but don't do it more often
10404                         than every 4 seconds.  Drivers that do background scanning
10405                         (like the 'ipw' drivers) send a continuous stream of scan completion
10406                         notifications, so we don't want to hammer the supplicant or dbus
10407                         with requests for all scan results every time we get a completion
10408                         notification.
10409
10410 2006-11-25  Dan Williams  <dcbw@redhat.com>
10411
10412         * src/supplicant-manager/nm-supplicant-types.h
10413                 - new file; move all supplicant manager object typedefs here for
10414                         #include sanity
10415
10416         * src/supplicant-manager/nm-supplicant-interface.c
10417           src/supplicant-manager/nm-supplicant-interface.h
10418                 - new file; an object that interfaces an NMDevice object to the
10419                         supplicant and handles signals from the supplicant.  This object
10420                         does all necessary DBus communication with wpa_supplicant.
10421
10422         * src/supplicant-manager/nm-supplicant-manager.c
10423           src/supplicant-manager/nm-supplicant-manager.h
10424                 - Actually do something.  Track the state of the wpa_supplicant service
10425                         and deal with its comings & goings.  Handle life events of
10426                         supplicant interfaces too.
10427                 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10428
10429         * src/supplicant-manager/nm-supplicant-connection.h
10430                 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10431
10432         * src/supplicant-manager/Makefile.am
10433                 - Add new files to build, and add libnm-util to includes
10434
10435         * src/nm-marshal.list
10436                 - New marshaler type: VOID:UINT,UINT
10437
10438         * src/nm-device-802-3-ethernet.c
10439                 - (real_init): grab a supplicant interface
10440                 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10441                 - (supplicant_iface_state_cb): new function, stub for handling
10442                         supplicant interface state changes
10443
10444         * src/nm-device-802-11-wireless.c
10445                 - (real_init): grab a supplicant interface
10446                 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10447                 - (supplicant_iface_state_cb): new function, stub for handling
10448                         supplicant interface state changes
10449
10450         * src/NetworkManager.c
10451                 - (main): create and keep the supplicant manager around for the lifetime
10452                         of NetworkManager
10453
10454         * src/Makefile.am
10455                 - Link to the supplicant manager sub-library and use the supplicant
10456                         manager includes
10457
10458 2006-11-25  Dan Williams  <dcbw@redhat.com>
10459
10460         Rework DBus manager signal handling to be more flexible.  Previously,
10461         only one signal handler could be registered for a particular interface.
10462         The DBus manager now reference counts DBus bus matches and allows multiple
10463         clients to register signal handlers for the same interface and sender.
10464
10465         * src/NetworkManager.c
10466                 - (main): track NMI signal handler ID and remove it when we quit
10467
10468         * src/NetworkManagerMain.h
10469                 - Keep track of NMI signal handler ID
10470
10471         * src/nm-dbus-manager.c
10472           src/nm-dbus-manager.h
10473                 - rework signal handling; each signal handler references one signal
10474                         match, but a signal match may be referenced by one or more
10475                         signal handlers.  Matches are refcounted and are destroyed when the
10476                         last signal handler that references the match is removed.  This is
10477                         necessary because two signal handlers may end up requiring the same
10478                         dbus bus match, so the match must live until the last signal handler
10479                         is destroyed (for example, with the wpa_supplicant network interface
10480                         dbus interface).
10481
10482         * src/dhcp-manager/nm-dhcp-manager.c
10483                 - (nm_dhcp_manager_new): track DHCP signal handler id
10484                 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10485
10486         * src/vpn-manager/nm-vpn-service.c
10487                 - (nm_vpn_service_add_watch): track VPN service signal handler id
10488                 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10489
10490 2006-11-25  Dan Williams  <dcbw@redhat.com>
10491
10492         Suggested by Helmut Schaa <hschaa@suse.de>
10493
10494         * src/vpn-daemons/nm-vpn-service.c
10495                 - (supplicant_child_setup): new function
10496                 - (supplicant_exec): make child process use a new process group id
10497
10498         * src/nm-device-802-11-wireless.c
10499                 - (nm_vpn_service_child_setup): new function
10500                 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10501                         process group id
10502
10503 2006-11-19  Dan Williams  <dcbw@redhat.com>
10504
10505         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377262
10506         * gnome/vpn-properties/nm-vpn-properties.c
10507                 - clean up after renamed VPN connection
10508
10509 2006-11-19  Dan Williams  <dcbw@redhat.com>
10510
10511         Patch from Dan Berrange <dan@berrange.com>  Gnome.org #377205
10512         * gnome/applet/applet-dbus-vpn.c
10513                 - (nma_dbus_vpn_properties_cb): sort VPN connections
10514
10515         * gnome/vpn-properties/nm-vpn-properties.c
10516                 - (init_app): sort VPN connections
10517
10518 2006-11-09  Dan Williams  <dcbw@redhat.com>
10519
10520         * src/NetworkManagerAPList.c
10521                 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10522                 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10523                 from the nm_ap_list_get_ap_by_address() call was incorrect and
10524                 broke hidden SSID matching.  Found by Bill Moss.
10525
10526 2006-10-25  Dan Williams  <dcbw@redhat.com>
10527
10528         * src/nm-dbus-nm.c
10529                 - (nm_dbus_nm_set_active_device): return an empty success message on
10530                         success, rather than falling through to the error case.
10531
10532 2006-10-25  Dan Williams  <dcbw@redhat.com>
10533
10534         * src/NetworkManagerUtils.c
10535                 - (nm_utils_supplicant_request_with_check): suppress messages for the
10536                         "SCAN" command
10537
10538 2006-10-24  Dan Williams  <dcbw@redhat.com>
10539
10540         Reduce the number of times the Gnome applet wakes up, especially when
10541         it's doing absolutely nothing and is hidden.  Initial patch by
10542         Chris Aillon.
10543
10544         * gnome/applet/applet-dbus.c
10545                 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10546                         kill the redraw timeout.  When NM starts up, start the redraw
10547                         timeout.  Also, if we get kicked off the bus for some reason,
10548                         start the reconnection timeout if one's not already running.
10549                 - (nma_dbus_init): better handling of error conditions, don't leak
10550                         a half-initialized dbus connection
10551                 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10552                         the applet's data, just call nm_dbus_init_helper()
10553                 - (nma_start_dbus_connection_watch): new function, starts a periodic
10554                         timeout that calls nma_dbus_connection_watcher()
10555                 - (nma_dbus_init_helper): if we get a successful connection, kill the
10556                         reconnection timeout, and don't start the reconnection timeout
10557                         unconditionally anymore
10558
10559         * gnome/applet/applet-dbus.h
10560                 - Expose nma_start_dbus_connection_watch()
10561
10562         * gnome/applet/applet.c
10563                 - (nma_update_state): no longer static, called from applet-dbus.c for
10564                         immediate UI updates on certain events
10565                 - (nma_set_running): new function; take over setting applet->running,
10566                         when not running (ie, NM is not active), don't activate the redraw
10567                         timeout because we're not showing the applet anyway.  When we are
10568                         running (ie, NM is active), and only when we're running, start the
10569                         redraw timeout.
10570                 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10571                         kill any reconnection timeout
10572                 - (nma_get_instance): move one-off dbus initialization code here since
10573                         nm_dbus_init_helper() gets called more than once, possibly by the
10574                         reconnection timeout function too.  And, when we start up, if we
10575                         can't get a connection to the bus, start the reconnection timeout.
10576                         But don't start the redraw timeout yet, only do that when we get
10577                         NM's state and find out if it's running or not.
10578
10579         * gnome/applet/applet.h
10580                 - Add the reconnection GSource ID
10581                 - Add prototypes for nma_set_running() and the no-longer-static
10582                         nma_update_state()
10583
10584 2006-10-24  Dan Williams  <dcbw@redhat.com>
10585
10586         * src/vpn-daemons/nm-dbus-vpnc.c
10587                 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10588                         pending call tracker
10589                 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10590                         pending call tracker; register one-vpn-connection update pending
10591                         call in pending call tracker
10592                 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10593                         update pending call in pending call tracker
10594                 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10595                         update pending call in pending call tracker; don't block waiting
10596                         for call to return
10597
10598 2006-10-19  Robert Love  <rml@novell.com>
10599
10600         * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10601           refresh the cache.
10602
10603 2006-10-14  Dan Williams  <dcbw@redhat.com>
10604
10605         * src/dhcp-manager/nm-dhcp-manager.c
10606                 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10607                 the dbus connection and the device object path rather than
10608                 constructing it inside both functions.  Saves a bit of memory
10609                 and clarifies a failure path.
10610                 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10611                 and allocate device path here rather than each of the two
10612                 functions above.
10613
10614 2006-10-13  Dan Williams  <dcbw@redhat.com>
10615
10616         * src/NetworkManager.c
10617                 - (nm_name_owner_changed_handler): handle NMI coming and going,
10618                 this somehow droppout in the refactor
10619
10620 2006-10-13  Dan Williams  <dcbw@redhat.com>
10621
10622         * Huge DBus refactor:
10623                 - Create a "DBus Manager" object which manages the connection and
10624                 sends signals on NameOwnerChanged and connection/disconnection events,
10625                 handles reconnection to the bus if NM gets kicked off, and abstracts
10626                 signal handling
10627                 - Remove DBusConnection members from places where they are no
10628                 longer needed due to the refactor, like the dbus-connection
10629                 property of the named manager, and from NMData
10630                 - Reformats a bunch of the code to gnome style
10631                 (8-space tabs, braces on same line as statement, 80-col width).
10632                 Consider it open season to reformat any bits to gnome style.
10633                 style that aren't already.
10634
10635 2006-10-13  Dan Williams  <dcbw@redhat.com>
10636
10637         * src/supplicant-manager/Makefile.am
10638                 - Add new files
10639
10640         * src/supplicant-manager/nm-supplicant-manager.[ch]:
10641                 - Make it a minimal GObject
10642
10643         * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:    
10644                 - Verify settings destined for wpa_supplicant
10645
10646         * src/supplicant-manager/nm-supplicant-connection.[ch]: 
10647                 - Minimal GObject to track wpa_supplicant controlled device
10648                 connections
10649
10650 2006-10-13  Wouter Bolsterlee  <wbolster@gnome.org>
10651
10652         * gnome/applet/applet.c: (nma_update_info),
10653         (nma_act_stage_to_pixbuf), (nma_update_state):
10654         Mark missing strings for translation. Fixes bug #343306.
10655
10656 2006-10-01  Dan Williams  <dcbw@redhat.com>
10657
10658         * src/vpn-manager/nm-vpn-manager.c
10659                 - (nm_vpn_manager_load_services): split and clean up
10660                 for readability and correctness.  Restrict VPN service
10661                 files to ending in ".name", as was meant from the
10662                 beginning (but not coded in).  Better error reporting.
10663
10664 2006-10-01  Dan Williams  <dcbw@redhat.com>
10665
10666         * utils/nm-utils.h
10667                 - Clean up formatting of debug/info/warning log messages
10668
10669 2006-09-27  Robert Love  <rml@novell.com>
10670
10671         Patch by Tambet Ingo <tambet@ximian.com>:
10672         * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10673           actually work.
10674
10675 2006-09-07  Dan Williams <dcbw@redhat.com>
10676
10677         * test/Makefile.am
10678           test/libnm-util/Makefile.am
10679           test/nm-supplicant-test.c
10680                 - Add test program emulating the way NM drives wpa_supplicant
10681                 to help debug supplicant issues
10682
10683 2006-08-24  Dan Williams <dcbw@redhat.com>
10684
10685         * configure.in
10686           src/Makefile.am
10687           src/supplicant-manager/Makefile.am
10688           src/supplicant-manager/nm-supplicant-manager.c
10689           src/supplicant-manager/nm-supplicant-manager.h
10690                 - Add skeleton bits of the wpa_supplicant manager
10691
10692 2006-08-24  Dan Williams <dcbw@redhat.com>
10693
10694         Patch from Ed Catmur:
10695         * src/NetworkManagerUtils.c
10696                 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10697                 if netmask is 0 (Gnome #352634)
10698
10699 2006-08-17  Robert Love  <rml@novell.com>
10700
10701         * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10702           package is now DBUS-enabled and listens for the NM signals.
10703
10704 2006-08-14  Dan Williams  <dcbw@redhat.com>
10705
10706         * Patch from Christian Persch <chpe gnome org>
10707         * configure.in
10708           po/LINGUAS
10709           vpn-daemons/openvpn/po/LINGUAS
10710           vpn-daemons/openvpn/configure.in
10711           vpn-daemons/pptp/po/LINGUAS
10712           vpn-daemons/pptp/configure.in
10713           vpn-daemons/vpnc/po/LINGUAS
10714           vpn-daemons/vpnc/configure.in
10715                 - Convert to LINGUAS method so translators don't have to modify
10716                 configure.in, just stuff in po/.  Gnome #343132, requires intltool
10717                 0.35 or higher
10718
10719 2006-08-14  Dan Williams  <dcbw@redhat.com>
10720
10721         Patch from Alex Smith <alex.extreme2@gmail.com>
10722         * configure.in
10723           src/backends/Makefile.am
10724           src/backends/NetworkManagerFrugalware.c
10725                 - Add support for Frugalware
10726
10727 2006-08-13  Dan Williams  <dcbw@redhat.com>
10728
10729         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10730         * src/nm-device-802-11-wireless.c
10731                 - (supplicant_exec): spawn wpa_supplicant without debug spew
10732                 Gnome #346875
10733
10734 2006-08-13  Dan Williams  <dcbw@redhat.com>
10735
10736         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10737         * src/nm-ap-security.c
10738           src/nm-ap-security.h
10739                 - Add authentication_required bits for subclasses to specify whether
10740                 or not real authentication is required for connections, i.e. whether
10741                 the AP rejects us when an encryption key is wrong or not.
10742
10743         * src/nm-ap-security-wep.c
10744           src/nm-ap-security-wpa-eap.c
10745           src/nm-ap-security-wpa-psk.c
10746           src/nm-ap-security-leap.c
10747                 - Implement authentication_required appropriately for each method
10748
10749         * src/nm-device-802-11-wireless.c
10750                 - Be smarter about when to request a key; for example, using a wrong key
10751                 in WEP shared key mode previously just timed out and did not request
10752                 a new key
10753
10754 2006-08-13  Dan Williams  <dcbw@redhat.com>
10755
10756         * gnome/libnm_glib/libnm_glib.c
10757                 - dbus_connection_disconnect() -> dbus_connection_close() for
10758                 dbus >= 0.90
10759
10760 2006-08-07  Dan Williams  <dcbw@redhat.com>
10761
10762         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10763         * src/NetworkManagerSystem.c
10764                 - Respect specified MTU.  Gnome #344967
10765
10766 2006-08-07  Dan Williams  <dcbw@redhat.com>
10767
10768         * src/vpn-manager/nm-vpn-service.c
10769                 - Simplify print_vpn_config() arguments
10770
10771         Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10772         * src/vpn-manager/Makefile.am
10773           src/vpn-manager/nm-vpn-service.c
10774                 - Add new API for passing VPN config options as a dict. Gnome #344967
10775
10776 2006-08-06  Dan Williams  <dcbw@redhat.com>
10777
10778         * gnome/applet/applet-dbus-devices.c
10779           gnome/applet/applet-dbus-vpn.c
10780           gnome/applet/applet-dbus.c
10781           gnome/applet/applet-dbus.h
10782           src/nm-dbus-nmi.c
10783           utils/nm-utils.c
10784           utils/nm-utils.h
10785                 - Make pending call tracking code generic,
10786                 so we can use it in NM as well as the applet
10787
10788 2006-08-06  Dan Williams  <dcbw@redhat.com>
10789
10790         * src/nm-activation-request.c
10791                 - Refcount pending call objects
10792
10793 2006-08-06  Dan Williams  <dcbw@redhat.com>
10794
10795         Patch from Christan Chiesa <christanc@gmail.com>
10796         * configure.in
10797                 - Tell sha1.c to use bigendian mode on PPC
10798
10799 2006-08-04  Robert Love  <rml@novell.com>
10800
10801         Glib Memory Slices!
10802         * configure.in: Require glib 2.10 or later.
10803         * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10804           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10805           src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10806           src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10807           g_new calls to g_slice_new.  Likewise for g_free to g_slice_free.
10808           Memory Slices are the greatest thing since bread slices.
10809         * src/NetworkManagerAP.c: Also, fix memory leak.
10810
10811 2006-08-01  Robert Love  <rml@novell.com>
10812
10813         * gnome/applet/main.c: Shutdown all VPN connections on logout.
10814
10815 2006-07-31  Robert Love  <rml@novell.com>
10816
10817         * src/backends/interface_parser.c: Declarations must begin the block.
10818
10819 2006-07-24  Dan Williams  <dcbw@redhat.com>
10820
10821         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10822         * src/backends/Makefile.am
10823           src/backends/NetworkManagerArch.c
10824           src/backends/NetworkManagerDebian.c
10825           src/backends/NetworkManagerGeneric.c
10826           src/backends/NetworkManagerGeneric.h
10827           src/backends/NetworkManagerGentoo.c
10828           src/backends/NetworkManagerPaldo.c
10829           src/backends/NetworkManagerRedHat.c
10830           src/backends/NetworkManagerSlackware.c
10831           src/backends/NetworkManagerSuSE.c
10832                 - Genericize common backend functions
10833
10834 2006-07-18  Robert Love  <rml@novell.com>
10835
10836         * configure.in: Add "--with-notify" option to allow disabling of
10837           libnotify support.
10838
10839 2006-07-13  Dan Williams  <dcbw@redhat.com>
10840
10841         Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10842         * gnome/applet/applet.glade
10843           gnome/applet/Makefile.am
10844           gnome/applet/nm-gconf-wso.c
10845           gnome/applet/nm-gconf-wso-leap.c
10846           gnome/applet/nm-gconf-wso-leap.h
10847           gnome/applet/wireless-security-manager.c
10848           gnome/applet/wso-leap.c
10849           gnome/applet/wso-leap.h
10850           include/NetworkManager.h
10851           libnm-util/dbus-helpers.c
10852           libnm-util/dbus-helpers.h
10853           src/Makefile.am
10854           src/NetworkManagerAP.c
10855           src/nm-ap-security.c
10856           src/nm-ap-security-leap.c
10857           src/nm-ap-security-leap.h
10858                 - Add LEAP authentication support
10859
10860 2006-07-13  Dan Williams  <dcbw@redhat.com>
10861
10862         Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10863         * configure.in
10864           src/backends/NetworkManagerArch.c
10865           src/backends/NetworkManagerDebian.c
10866           src/backends/NetworkManagerGentoo.c
10867           src/backends/NetworkManagerPaldo.c
10868           src/backends/NetworkManagerRedHat.c
10869           src/backends/NetworkManagerSlackware.c
10870           src/backends/NetworkManagerSuSE.c
10871                 - Convert hardcoding of 'ip' path to configure-time
10872                         detected one
10873
10874 2006-07-12  Leonid Kanter <leon@asplinux.ru>
10875
10876         * configure.in: added ru to ALL_LINGUAS
10877
10878 2006-07-10  Dan Williams  <dcbw@redhat.com>
10879
10880         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10881         * src/nm-device.c
10882                 - (real_act_stage3_ip_config_start): don't infinite loop when
10883                         dhcdbd isn't running (Gnome #346845)
10884
10885 2006-07-09  Dan Williams  <dcbw@redhat.com>
10886
10887         * gnome/applet/applet.c
10888                 - (nma_destroy): don't pass NULL to notify_notification_close
10889                         (RH #197917)
10890
10891 2006-07-09  Dan Williams  <dcbw@redhat.com>
10892
10893         * gnome/applet/applet.c
10894                 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
10895
10896 2006-07-04  Tor Krill  <tor@krill.nu>
10897
10898         Patch from Valentine Sinitsyn <e_val@inbox.ru>
10899         * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
10900         (nm_system_restart_mdns_responder), (ArchReadConfig),
10901         (nm_system_device_get_system_config):
10902                 - Explicitly check for DHCP configuration
10903                 - Check if daemons are running before starting them
10904
10905 2006-06-25  Dan Williams  <dcbw@redhat.com>
10906
10907         * libnm-util/dbus-dict-helpers.[ch]
10908           test/libnm-util/test-dbus-dict-helpers.c
10909                 - Add string array support
10910
10911 2006-06-24  Dan Williams  <dcbw@redhat.com>
10912
10913         * src/dhcp-manager/nm-dhcp-manager.c
10914                 - (nm_dhcp_manager_process_signal): clean up spacing
10915
10916 2006-06-21  Dan Williams  <dcbw@redhat.com>
10917
10918         * src/nm-dbus-device.c
10919                 - (nm_dbus_device_get_driver): don't try to stuff a NULL
10920                         through dbus
10921
10922 2006-06-21  Raivis Dejus  <orvils@gmail.com>
10923
10924         * configure.in: Added 'lv' to ALL_LINGUAS
10925
10926 2006-06-19  Dan Williams  <dcbw@redhat.com>
10927
10928         * src/NetworkManagerAP.c
10929                 - Clarify usage of user_created
10930
10931         * src/nm-ap-security-wep.c
10932           src/nm-ap-security-wpa-eap.c
10933           src/nm-ap-security-wpa-psk.c
10934           src/nm-ap-security.c
10935           src/nm-ap-security.h
10936                 - s/user_created/adhoc, because we really do mean adhoc
10937
10938         Patch from Bernard Blackham <bernard@blackham.com.au>
10939         * src/nm-device-802-11-wireless.c         
10940                 - (supplicant_send_network_config): instead of user_created,
10941                         use adhoc, and do AP_SCAN 2 for adhoc networks
10942
10943 2006-06-18  Robert Love  <rml@novell.com>
10944
10945         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
10946           we have a value to set.  Gconf generates a warning if `val' is NULL.
10947         * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
10948           unless we actually received a valid private key file passphrase or
10949           password.  Otherwise, we don't know to later ask the applet to pull
10950           the key from the keyring.
10951
10952 2006-06-17  Dan Williams  <dcbw@redhat.com>
10953
10954         * libnm-util/dbus-dict-helpers.[ch]
10955           test/libnm-util/test-dbus-dict-helpers.c
10956                 - Fixes for zero-length byte arrays
10957                 - Replace return values of 0 with FALSE for clarity
10958                 - Test zero-length byte arrays
10959
10960 2006-06-17  Dan Williams  <dcbw@redhat.com>
10961
10962         * libnm-util/dbus-dict-helpers.[ch]
10963           test/libnm-util/test-dbus-dict-helpers.c
10964                 - Add helpers for byte arrays
10965                 - Rework bits of the testcase
10966
10967 2006-06-16  Dan Williams  <dcbw@redhat.com>
10968
10969         * libnm-util/Makefile.am
10970         * libnm-util/dbus-dict-helpers.[ch]
10971                 - Add some helpers to take the pain out of using dict types in
10972                         dbus.
10973
10974         * test/libnm-util/Makefile.am
10975         * test/libnm-util/test-dbus-dict-helpers.c
10976                 - Test cases for the dict helper functions
10977
10978 2006-06-15  Robert Love  <rml@novell.com>
10979
10980         * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
10981           is a non-empty key to set.  Elsewhere, pass an empty string via DBUS
10982           if there is no key to pass.
10983         * libnm-util/dbus-helpers.c: Given the above, we can trust always
10984           receiving a non-NULL key.
10985
10986 2006-06-14  Robert Love  <rml@novell.com>
10987
10988         * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
10989           copy the strings.
10990
10991
10992 2006-06-14  Dan Williams  <dcbw@redhat.com>
10993
10994         Patch from Lorenzo Colitti <lorenzo@colitti.com>  gnome.org #344825
10995         * src/nm-device-802-11-wireless.c
10996                 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
10997                         or ones where the driver is unknown
10998                 - (supplicant_exec): don't wait for supplicant startup here
10999                 - (supplicant_interface_init): finer grained polling for supplicant
11000                         startup
11001
11002 2006-06-13  Robert Love  <rml@novell.com>
11003
11004         * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11005           if it is currently set to TRUE.  Otherwise, we will reset the value
11006           when we connect normally.
11007         * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11008           the old BSSID is valid, too.  The recently added ESSID check may not be
11009           sufficient (we can remove it?).  What we really want to catch is the
11010           case of going from all-zeros to the BSSID of some other network, which
11011           happens on failure.
11012
11013 2006-06-09  Dan Williams  <dcbw@redhat.com>
11014
11015         * src/NetworkManagerSystem.[ch]
11016                 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11017                         it was unused and pointless
11018                 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11019                         fix for set_up_down_with_iface change
11020
11021         * src/vpn-manager/nm-vpn-connection.c
11022                 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11023
11024         * src/backends/NetworkManagerPaldo.c
11025           src/backends/NetworkManagerRedHat.c
11026           src/backends/NetworkManagerSuSE.c
11027           src/backends/NetworkManagerArch.c
11028           src/backends/NetworkManagerDebian.c
11029           src/backends/NetworkManagerGentoo.c
11030                 - (nm_system_enable_loopback): use set_up_down_with_iface where
11031                         appropriate
11032                 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11033                         where appropriate
11034
11035 2006-06-09  Dan Williams  <dcbw@redhat.com>
11036
11037         Patch from Peter Jones:
11038         * src/nm-device-802-11-wireless.c
11039                 - (nm_device_802_11_wireless_update_bssid): make sure that the
11040                         SSID hasn't changed from what we expect before automatically
11041                         updating the saved BSSID from a new AP
11042
11043 2006-06-08  Robert Love  <rml@novell.com>
11044
11045         Add 'fallback' support.  NetworkManager will attempt to brute-force
11046         connect to networks marked as fallback if there are no better wireless
11047         connections available.  This is useful as a method of last resort, to
11048         work around driver problems, and for use with hidden networks.
11049         * gnome/applet/applet-dbus-devices.c,
11050           gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11051         * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11052           pass it on via DBUS.
11053         * gnome/applet/applet.c: No fallback by default.
11054         * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11055           Update other-network-dialog to add UI checkbox toggling fallback.
11056         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11057           propery from AP object.  Add "fallback" property to AP object.
11058         * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11059         * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11060         * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11061           separate function.  Add get_best_fallback_ap() for returning an AP
11062           on which to attempt fallback.
11063         * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11064         * test/nm-set-fallback: New file.  Sets a given network as fallback.
11065
11066 2006-06-07  Robert Love  <rml@novell.com>
11067
11068         * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11069           checked that the return type was GCONF_VALUE_STRING, not the correct
11070           GCONF_VALUE_BOOL, and thus it never worked.
11071         * src/NetworkManagerAPList.c: Before concluding that two networks are
11072           identical based on their BSSID, make sure that the BSSID in question
11073           is actually valid.  Specifically, an empty or all zero BSSID does not
11074           cut it.
11075         * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11076           src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11077           similar invariant clean up.
11078
11079 2006-06-02  Robert Love  <rml@novell.com>
11080
11081         * gnome/applet/applet.c: Update copyright years.  Add Novell.
11082
11083 2006-05-28  Dan Williams  <dcbw@redhat.com>
11084
11085         * gnome/applet/applet.glade
11086           gnome/vpn-properties/nm-vpn-properties.glade
11087                 - Set window icons on dialogs  (Gnome.org #333420)
11088
11089 2006-05-28  Christian Persch  <chpe@cvs.gnome.org>
11090
11091         * gnome/vpn-properties/nm-vpn-properties.glade:
11092         * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11093         * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11094         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11095                 - Make the VPN properties pages prettier and more HIG
11096                   compliant. Gnome Bug #336913.
11097
11098 2006-05-28  Dan Williams  <dcbw@redhat.com>
11099
11100         Patch from Christian Persch <chpe@gnome.org>
11101         * gnome/vpn-properties/nm-vpn-properties.c
11102         * gnome/vpn-properties/nm-vpn-properties.glade
11103                 - HIG-ification love  (Gnome.org #336846)
11104
11105 2006-05-28  Dan Williams  <dcbw@redhat.com>
11106
11107         Patch from Christian Persch <chpe@gnome.org>
11108         * configure.in
11109           gnome/vpn-properties/nm-vpn-properties.c
11110                 - (main): Fix option parsing.  Gnome.org #336847
11111
11112 2006-05-28  Dan Williams  <dcbw@redhat.com>
11113
11114         * gnome/vpn-properties/nm-vpn-properties.c
11115                 - (find_vpn_ui_by_service_name): protect against NULL service names
11116                 - (update_edit_del_sensitivity): protect against NULL service names
11117                         Gnome.org #341306
11118
11119 2006-05-28  Dan Williams  <dcbw@redhat.com>
11120
11121         Patch from Chris Fuller <crf@grandecom.net>:
11122         * src/nm-device-802-11-wireless.c
11123                 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11124                         don't dispose of wireless-specific stuff unless it is actually
11125                         initialized.  Gnome.org #341263
11126
11127 2006-05-28  Dan Williams  <dcbw@redhat.com>
11128
11129         * src/NetworkManagerPolicy.c
11130                 - (nm_policy_device_change_check): don't switch devices if the "best"
11131                         AP is essentially the same as the current activation request, but
11132                         the current activation request isn't done activating yet.  Fixes
11133                         multiple requests for keyring password on startup for Gnome applet.
11134                         Gnome.org #341297
11135
11136 2006-05-26  Nicolas Trangez  <eikke@eikke.com>
11137
11138         * src/NetworkManager.c: use GOptions instead of getopt
11139         * configure.in: bump glib required version to >= 2.6 for GOption
11140           support
11141
11142 2006-05-25  Robert Love  <rml@novell.com>
11143
11144         * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11145           nm_info() if IOCTL_DEBUG is set and a no-op if not.  We can use this
11146           instead of dumping ifdef's throughout the code.
11147         * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11148           src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11149           use nm_ioctl_info() in lieu.
11150
11151 2006-05-25  Robert Love  <rml@novell.com>
11152
11153         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11154         * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11155           not using gcrypt.  Otherwise, we get a linker error.
11156
11157 2006-05-25  Robert Love  <rml@novell.com>
11158
11159         Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11160         * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11161           configure flag to disable building of the GNOME-based applet.
11162
11163 2006-05-25  Robert Love  <rml@novell.com>
11164
11165         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11166           parameter from link, because it shadows a global variable with some
11167           older versions of glibc.  Yes, glibc is now fixed and, yes, glibc
11168           should never have exported to the entire system a common four letter
11169           word.  But we here at NetworkManager are team players.  Fixes
11170           GNOME bug #336532.
11171
11172 2006-05-25  Arangel Angov <ufo@linux.net.mk>
11173
11174         * configure.in: Added mk.po, Macedonian translation.
11175
11176 2006-05-24  Robert Love  <rml@novell.com>
11177
11178         * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11179           gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11180           src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11181
11182 2006-05-24  Robert Love  <rml@novell.com>
11183
11184         * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11185           libnm-util/Makefile.am, src/Makefile.am,
11186           vpn-daemons/openvpn/auth-dialog/Makefile.am,
11187           vpn-daemons/openvpn/properties/Makefile.am,
11188           vpn-daemons/pptp/auth-dialog/Makefile.am,
11189           vpn-daemons/pptp/properties/Makefile.am,
11190           vpn-daemons/vpnc/auth-dialog/Makefile.am,
11191           vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11192           user passed for --datadir, if anything, when setting the GNOME locale
11193           directory.  It should be a function of the specified datadir and not
11194           the prefix.
11195
11196 2006-05-24  Robert Love  <rml@novell.com>
11197
11198         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11199           src/NetworkManager.c: Take care to call bindtextdomain with the
11200           location of msgid files.
11201         * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11202           files.
11203
11204 2006-05-22  Robert Love  <rml@novell.com>
11205
11206         * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11207           stage4_timeout on failure unless the wireless network is Ad-Hoc.
11208           99% of the time there is a real problem with wireless, and a
11209           seemingly successful connection via Zeroconf just confuses the user.
11210           And that 1% of the time the network is probably Ad-Hoc, anyhow.
11211
11212 2006-05-22  Robert Love  <rml@novell.com>
11213
11214         * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11215           autofs on interface up if NIS is configured.  On interface down, do
11216           nothing.
11217
11218 2006-05-22  Robert Love  <rml@novell.com>
11219
11220         * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11221           to avoid calling g_object_unref() on stale pointers on error in
11222           nma_icons_free().  This happens because we short-circuit loaded the
11223           icons on the first failure but then free all icons.  Normally we have
11224           no issue because the icons were zero'ed out malloc, but we have stale
11225           pointer data after nma_icon_theme_changed().
11226         * gnome/applet/main.c: Return error code if nma_new() failed.
11227
11228 2060-05-21  Dan Williams  <dcbw@redhat.com>
11229
11230         * initscript/NetworkManager.in
11231                 - Ensure both dhcdbd and named are started before NM
11232
11233 2006-05-21  Dan Williams  <dcbw@redhat.com>
11234
11235         * configure.in
11236                 - Bump version to 0.7 to signify we are in 0.7 development
11237
11238 2006-05-21  Dan Williams  <dcbw@redhat.com>
11239
11240         Patch from Adam Schreiber <sadam@clemson.edu>
11241         * gnome/vpn-properties/nm-vpn-properties.c
11242                 - (main): correct Gnome program name  (gnome.org #342498)
11243
11244 2006-05-21  Dan Williams  <dcbw@redhat.com>
11245
11246         Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11247
11248         * src/NetworkManagerDbus.[ch]
11249                 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11250                         clarify that function's argument should be an escaped dbus object
11251                         path, and look for path segment end before returning a match
11252         * src/nm-dbus-nm.c:
11253                 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11254
11255 2006-05-17  Robert Love  <rml@novell.com>
11256
11257         Functionality to differentiate Ad-Hoc networks from infrastructure
11258         networks in the applet, by displaying a special icon:
11259         * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11260         * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11261         * gnome/applet/menu-items.c: Set a special icon in the scan list for
11262           ad-hoc networks.  TODO: Add a third icon representing "encrypted and
11263           Ad-Hoc".  Right now, we display the same icon for all Ad-Hoc wireless
11264           networks, encrypted or not.
11265         * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11266           accessor functions to get and set the mode of a given network,
11267           wireless_network_get_mode() and wireless_network_set_mode().
11268
11269 2006-05-17  Robert Love  <rml@novell.com>
11270
11271         Functionality to automatically add BSSIDs to the allowed-MAC list as
11272         one roams from access point to access point on a given network:
11273         * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11274           helper function to compare two ether_addr structures and return TRUE
11275           if they contain the same MAC address.
11276         * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11277           prototype.
11278         * src/nm-device-802-11-wireless.c: New function to update the BSSID
11279           stored with the current AP.  If the BSSID has indeed changed, we
11280           send it out to the applet, allowing the allowed-MAC list to grow
11281           automatically in response to roaming.
11282
11283 2006-05-16  Robert Love  <rml@novell.com>
11284
11285         * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11286           unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11287
11288 2006-05-13  Dan Williams  <dcbw@redhat.com>
11289
11290         * src/nm-device-802-3-ethernet.c
11291                 - (real_get_generic_capabilities): Don't ignore devices that can't do
11292                         carrier detect (Debian bug #366373)
11293
11294 2006-05-11  Dan Williams  <dcbw@redhat.com>
11295
11296         Patch from Michael Biebl <biebl@teco.edu>
11297         * src/backends/NetworkManagerDebian.c
11298                 - Debian backend fixups
11299
11300 2006-05-10  Robert Love  <rml@novell.com>
11301
11302         * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11303
11304 2006-05-09  Robert Love  <rml@novell.com>
11305
11306         * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11307           private certificate passphrase, if any, in the GNOME Keyring.
11308         * libnm-utils/dbus-helpers.c: Update.
11309
11310 2006-05-05  Dan Williams  <dcbw@redhat.com>
11311
11312         * src/nm-device-802-11-wireless.c
11313                 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11314                         nm_device_802_11_wireless_disable_encryption() since that's all
11315                         we use it for anymore; we don't ever set WEP keys ourselves.
11316                 - (real_deactivate_quickly): reset SSID and encryption keys
11317                 - (real_deactivate): move SSID and encryption key reset to
11318                         real_deactivate_quickly(), which gets run before us anyway
11319
11320 2006-05-05  Robert Love  <rml@novell.com>
11321
11322         * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11323           root has a wacky default of its own (or, more common, a user has a
11324           bad umask and uses su/sudo to restart NetworkManager).  Anything
11325           other than 0022 does not do what we want with, for example,
11326           resolv.conf.  This problem is amplified by our judicious use of
11327           fopen(), which uses mode 0666 -- implying that the only way to get
11328           the permissions we want is with a umask of 0022.
11329
11330 2006-05-05  Dan Williams  <dcbw@redhat.com>
11331
11332         * gnome/libnm_glib/libnm_glib.c
11333                 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11334                         to reconnect; instead wait a bit more with each reconnect attempt
11335                         up to a max of one minute.
11336
11337 2006-05-04  Ryan Lortie  <desrt@desrt.ca>
11338
11339         * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11340           the WirelessNetwork structure using the proper function instead of
11341           just casting it directly to (const char *) (gnome.org #336991)
11342
11343 2006-05-03  Robert Love  <rml@novell.com>
11344
11345         * src/backends/NetworkManagerSuSE.c: Respect the variable
11346           dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11347           config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11348           to dynamically update /etc/resolv.conf.
11349
11350 2006-05-02  Peter Jones  <pjones@redhat.com>
11351
11352         * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11353
11354 2006-05-02  Robert Love  <rml@novell.com>
11355
11356         Patch by Timo Hoenig;
11357         * tests/nm-online.c: Print pretty status indicator as timeout winds
11358           down.  Also fix possible race between DBUS startup and failure
11359           return.
11360
11361 2006-05-01  Robert Love  <rml@novell.com>
11362
11363         * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11364           empty, too.
11365
11366 2006-04-27  Jeremy Katz  <katzj@redhat.com>
11367
11368         * src/nm-device.c (discover_device_type): Actually use the hal
11369         device type instead of ioctl poking
11370
11371 2006-04-26  Robert Love  <rml@novell.com>
11372
11373         * tests/nm-online.c: New file.  Simple utility that returns exit status
11374           noting whether the connection is offline or online.  If offline on
11375           start, it waits 30 seconds (or a command-line given value) for an
11376           online signal.  If it times out, it again returns offline.  This is
11377           useful for scripts that want to wait for network connections.
11378
11379 2006-04-25  Robert Love  <rml@novell.com>
11380
11381         * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11382           key mode (the authentication algorithm), e.g. open or shared, when we
11383           moved to using wpa_supplicant.  wpa_supplicant defaults to open, so
11384           only shared was broken.  If the user specified a shared key, set it
11385           explicitly, otherwise let wpa_supplicant go with the default.
11386
11387 2006-04-24  Dan Williams  <dcbw@redhat.com>
11388
11389         * src/nm-device-802-11-wireless.c
11390                 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11391
11392 2006-04-24  Dan Williams  <dcbw@redhat.com>
11393
11394         Commit the async scanning patch
11395
11396         * src/nm-device-802-11-wireless.c
11397                 - get rid of scan_mutex
11398                 - (wireless_event_helper): act on wireless scan events
11399                 - (real_start): schedule a pending scan
11400                 - (link_to_specific_ap): fake the link to the AP during a scan
11401                 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11402                         strength during scans
11403                 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11404                         nm_device_set_bitrate): unused with new scanning code, disable
11405                 - (nm_device_wireless_schedule_scan): removed
11406                 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11407                 - (request_and_convert_scan_results): new function; retrieve scan
11408                         results from the driver and schedule the processing function
11409                 - (scan_results_timeout): timeout triggered when card doesn't send
11410                         a scan results wireless event during a certain interval
11411                 - (schedule_scan_results_timeout): new function; schedule the scan
11412                         results timeout
11413                 - (cancel_scan_results_timeout): new function; cancel the scan
11414                         results timeout
11415                 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11416                         to do the scanning.  Otherwise, just request a scan but don't
11417                         grab results here; instead schedule a timeout for scan results and
11418                         let netlink notify us of scan completion events
11419                 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11420                 - (cancel_pending_scan): new function; cancel a pending wireless scan
11421                 - (supplicant_status_cb): ignore disconnect events while scanning
11422                 - (supplicant_exec): wait a bit longer for the supplicant to start up
11423                 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11424                         timeouts
11425                 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11426
11427 2006-04-24  Dan Williams  <dcbw@redhat.com>
11428
11429         * gnome/applet/applet-dbus.c
11430                 - Disable the pending call debug stuff, seems under control now
11431
11432 2006-04-20  Robert Love  <rml@novell.com>
11433
11434         Fix bug where hidden ESSID's would not show up in the applet, even
11435         if NMI provided a BSSID -> ESSID mapping from Gconf.  This occurred
11436         because nm_policy_device_list_update_from_allowed_list() would merge
11437         the data, putting a name to the hidden networks, but never notify NMI
11438         of the changes.  Simple fix is to invoke the function
11439         nm_dbus_signal_wireless_network_change() if we make a mapping.
11440         * src/NetworkManagerAPList.c: Call the function
11441           nm_dbus_signal_wireless_network_change() if we made a successful
11442           BSSID to ESSID mapping, notifying the applet of the "new" network.
11443         * src/NetworkManagerAPList.h: Update the prototypes for both
11444           nm_ap_list_copy_essids_by_address() and
11445           nm_ap_list_copy_one_essid_by_address().
11446
11447 2006-04-20  Robert Love  <rml@novell.com>
11448
11449         * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11450           not set.  Just return zero.
11451
11452 2006-04-20  Robert Love  <rml@novell.com>
11453
11454         * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11455           only one copy of nm-vpn-properties is running at a time via the 'ol
11456           X selection trick.  This prevents the user from opening two "VPN
11457           Connections" windows from within the applet, which leads to mass
11458           hysteria.
11459         * clipboard.c: New file, implementing simple X selection logic.
11460         * clipboard.h: New file.
11461         * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11462
11463 2006-04-18  Nicolas Trangez  <eikke@eikke.com>
11464
11465         * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11466         * configure.in
11467           initscript/Gentoo/Makefile.am
11468           initscript/Gentoo/NetworkManagerDispatcher.in
11469                 - New script
11470         * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11471           Gentopia
11472
11473 2006-04-16  Dan Williams  <dcbw@redhat.com>
11474
11475         Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11476         * configure.in
11477           initscript/Slackware/Makefile.am
11478           initscript/Slackware/rc.networkmanager-dispatcher.in
11479           initscript/Slackware/rc.networkmanager.in
11480                 - Update slackware initscripts
11481
11482 2006-04-10  Robert Love  <rml@novell.com>
11483
11484         * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11485           the "delete_event" signal on the druid's parent window and handle it
11486           our way, lest using the WM to close the druid results in a series of
11487           bloody and ultimately lethal errors.
11488
11489 2006-04-10  Robert Love  <rml@novell.com>
11490
11491         * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11492           'Back' too or else the 'Forward' option is initially disabled despite
11493           valid input.
11494
11495 2006-04-06  Robert Love  <rml@novell.com>
11496
11497         Fix bad but simple bug where an active modem connection did not update
11498         NM's connection state, breaking any app that did online/offline:
11499         * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11500           represented whether a dial up connection is active, or not.
11501         * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11502           to modem activation and deactivation.
11503         * src/NetworkManagerDbus.c: When asked our state, do not return
11504           disconnected if the modem is active.
11505
11506 2006-04-04  Robert Love  <rml@novell.com>
11507
11508         * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11509           applet.  It just confuses the crap out of people and does not make a
11510           lot of sense, as the daemon still runs.
11511
11512 2006-04-02  Tor Krill  <tor@krill.nu>
11513
11514         * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11515           in start of service.
11516         * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11517           get Archlinux backend up to date.
11518
11519 2006-03-29  Robert Love  <rml@novell.com>
11520
11521         Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11522         to add support for per-route MSS and improve support for per-interface
11523         MTU:
11524         * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11525           optionally take an MSS parameter and set it for the given route.
11526           Remove nm_system_device_set_ip4_route_with_iface.  Pass in the
11527           NMIP4Config's stored MSS, if any.
11528         * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11529           the interface's MTU and the route's MSS, respectively.  Add functions
11530           nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11531           and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11532           MSS.
11533         * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11534           nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11535           nm_ip4_config_set_mss.
11536         * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11537           VPN daemon.
11538         * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11539           Change the retval of nm_system_get_mtu to guint32.
11540         * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11541           NMIP4Config to the MTU provided by the system, if any.  TODO: If DHCP
11542           servers can specify MTU's, we should set it here if the MTU was not
11543           provided.
11544
11545 2006-03-27  Jürg Billeter  <j@bitron.ch>
11546
11547         * configure.in:
11548         * initscript/Makefile.am:
11549         * initscript/paldo/Makefile.am:
11550         * initscript/paldo/NetworkManager.in:
11551         * initscript/paldo/NetworkManagerDispatcher.in:
11552         * src/backends/Makefile.am:
11553         * src/backends/NetworkManagerPaldo.c:
11554                 - Add paldo support
11555
11556 2006-03-27  Dan Williams  <dcbw@redhat.com>
11557
11558         Patch from Christian Persch <chpe@gnome.org>
11559         * gnome/applet/applet.glade
11560                 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11561
11562 2006-03-27  Dan Williams  <dcbw@redhat.com>
11563
11564         Patch from Diffe <diffie@blazebox.homeip.net>
11565         * src/backends/NetworkManagerSlackware.c
11566                 - Don't restart howl, since it's been replaced by Avahi
11567                         in most distributions
11568
11569 2006-03-27  Dan Williams  <dcbw@redhat.com>
11570
11571         Patch from Tor Krill <bugzilla@krill.nu>
11572         * configure.in
11573           initscript/Makefile.am
11574           src/backends/Makefile.am
11575           src/backends/NetworkManagerArch.c
11576           initscript/Arch/Makefile.am
11577           initscript/Arch/networkmanager-dispatcher.in
11578           initscript/Arch/networkmanager.in
11579                 - Add Arch Linux support, fixes gnome.org #335147
11580
11581 2006-03-27  Dan Williams  <dcbw@redhat.com>
11582
11583         Patch from Diffe <diffie@blazebox.homeip.net>
11584      * initscript/Slackware/rc.networkmanager
11585         - update, fixed gnome.org #333368
11586
11587 2006-03-27  Robert Love  <rml@novell.com>
11588
11589         * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11590           create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11591
11592 2006-03-27  Robert Love  <rml@novell.com>
11593
11594         Patch by Jürg Billeter <j@bitron.ch>:
11595         * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11596           systems.
11597         * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11598           as we prefer glibc over kernel headers, if possible.
11599
11600 2006-03-27  Robert Love  <rml@novell.com>
11601
11602         Patch by Jon Escombe <list@dresco.co.uk>:
11603         * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11604         * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11605           fail, don't bail out.  We don't expect all of the various WPA-EAP
11606           values to be present.
11607         * src/nm-ap-security.c: We need to match all capabilities for each
11608           encryption type, not any one of them.
11609
11610 2006-03-27  Robert Love  <rml@novell.com>
11611
11612         * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11613           restart, not reload, ypbind.  Unfortunately there is no superior
11614           solution.
11615
11616 2006-03-24  Christopher Aillon  <caillon@redhat.com>
11617
11618         * gnome/applet/applet-notifications.c:
11619         When displaying a notification, make sure to get rid of the
11620         previous notification so as to not have competing bubbles,
11621         and stop leaking the old one.
11622
11623         * gnome/applet/applet.c:
11624         * gnome/applet/applet.h:
11625         Add a new 'notification' member to the applet, and zero it out
11626         and free it appropriately.
11627
11628 2006-03-23  Robert Love  <rml@novell.com>
11629
11630         Patch by j <j@bootlab.org>:
11631         * gnome/applet/applet.glade: Don't set the invisible_char property,
11632           which simply overrides the GTK default.  By and by, this behavior
11633           ought to be fixed in Glade.
11634
11635 2006-03-22  Robert Love  <rml@novell.com>
11636
11637         * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11638
11639 2006-03-22  Robert Love  <rml@novell.com>
11640
11641         Bug fix by Timo Hoenig <thoenig@suse.de>:
11642         * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11643           disconnect.  Otherwise, we have the daemon surviving DBUS restarts
11644           and the applet going AWOL.
11645
11646 2006-03-22  Robert Love  <rml@novell.com>
11647
11648         * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11649           preprocessor define and use it instead of open-coded the DHCP
11650           timeout, which is currently 25 seconds, everywhere.
11651
11652 2006-03-22  Robert Love  <rml@novell.com>
11653
11654         Implement "Dynamic WEP", which is basically WPA authentication and WEP
11655         key exchange via WPA, ostensibly providing good security without
11656         requiring hardware that supports full WPA.  Also, add UI elements to
11657         allow the user to select the pairwise & group cipher for WPA Enterprise
11658         networks, too:
11659         * gnome/applet/applet.glade: Update glade file.
11660         * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11661           key type, too, to and from gconf.
11662         * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11663           wso_wpa_create_key_type_model(), noting whether we are handling PSK
11664           or EAP configuration, and in the latter case add in "Dynamic WEP" if
11665           the capabilities match.
11666         * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11667           prototype.
11668         * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11669           serialize from UI to DBUS.
11670         * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11671           one element.
11672         * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11673           nmu_security_serialize_wpa_eap_with_cipher(), and
11674           nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11675           serialize/deserialize the key type via DBUS as the new third DBUS
11676           parameter.
11677         * libnm-util/dbus-helpers.h: Update prototypes.
11678         * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11679           too.  If the key type is WEP104, do Dynamic WEP, which means
11680           "IEEE8021X" for "key_mgmt".  Also add support for user-specified
11681           pairwise and group ciphers (fixes a FIXME).
11682
11683 2006-03-21  Robert Love  <rml@novell.com>
11684
11685         * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11686           nm_system_get_mtu(), which returns a user-provided or system-mandated
11687           MTU value for a given device, if any, or zero if no such value
11688           exists.  Add nm_system_set_mtu() to set the MTU for a given device
11689           if we have a provided value.
11690         * src/nm-device.c: Set the MTU of devices.
11691         * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11692         * src/backends/NetworkManagerDebian.c,
11693           src/backends/NetworkManagerGentoo.c,
11694           src/backends/NetworkManagerRedHat.c,
11695           src/backends/NetworkManagerSlackware.c: Implement stub functions.
11696
11697 2006-03-21  Robert Love  <rml@novell.com>
11698
11699         * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11700           configuration file.
11701
11702 2006-03-17  Robert Love  <rml@novell.com>
11703
11704         * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11705           signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11706           it, in case it is not running in the first place.  We just want its
11707           configuration reloaded.  Also, do not "rcypbind stop" on device down.
11708
11709 2006-03-15  Robert Love  <rml@novell.com>
11710
11711         * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11712           gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11713           label "WEP 40/128-bit" is inconsistent because the physical key size
11714           is 40 or 104-bits, to which a 24-bit initialisation vector is
11715           appended, forming a 64 or 128-bit traffic key.  Thus, the label ought
11716           to read "40/104" or "64/128".  I do not care much which, but most
11717           users think of "silver" and "gold" encryption as 64 and 128-bits, so
11718           let's stick with that.  Thus, s/"40/128"/"64/128"/g.  Also, since our
11719           WEP passphrase support only handles 128-bit keys, and any future
11720           64-bit passphrase support will require a new option (no way to auto-
11721           detect the target key size), explicitly label our passphrase support
11722           "WEP 128-bit Passphrase".
11723
11724 2006-03-15  Robert Love  <rml@novell.com>
11725
11726         * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11727           the system init scripts (or some other mechanism) starting it (or a
11728           compatible DBUS service) before NetworkManager runs.  This means that
11729           distributions might need to update their init scripts.  This fixes
11730           possible races and is quite a bit cleaner.
11731         * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11732           starting the NetworkManager daemon.
11733
11734
11735 2006-03-14  Robert Love  <rml@novell.com>
11736
11737         * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11738           before adding anything.
11739
11740 2006-03-13  Robert Love  <rml@novell.com>
11741
11742         * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11743           widgets, too, if they exist, in case the user hit the back button.
11744           Fixes a bug where the details page contains the widgets of multiple
11745           VPN modules (Novell bug #157048).
11746
11747 2006-03-13  Robert Love  <rml@novell.com>
11748
11749         Patch by Timo Hoenig <thoenig@suse.de>:
11750         * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11751           daemon survive DBUS restarts, too.
11752
11753 2006-03-10  Robert Love  <rml@novell.com>
11754
11755         * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11756           passphrase or key.
11757         * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11758           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11759           gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11760           in response to "toggled" signal on new toggle.
11761
11762 2006-03-10  Robert Love  <rml@novell.com>
11763
11764         * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11765           serialization if strings are NULL, lest DBUS get angry.
11766
11767 2006-03-10  Robert Love  <rml@novell.com>
11768
11769         * src/nm-ap-security-wpa-eap.c: Don't log the password.
11770
11771 2006-03-09  Robert Love  <rml@novell.com>
11772
11773         * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11774           configurations.
11775
11776 2006-03-09  Dan Williams  <dcbw@redhat.com>
11777
11778         Track pending call requests in the applet, and report how many are
11779         outstanding, and how long each completed one takes.
11780         
11781         * gnome/applet/applet-dbus-devices.c
11782           gnome/applet/applet-dbus-vpn.c
11783                 - Track pending calls
11784
11785         * gnome/applet/applet-dbus.[ch]
11786                 - Remove some unused enums
11787                 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11788                         new functions to track dbus pending calls and spit out some
11789                         statistics about them
11790
11791 2006-03-09  Robert Love  <rml@novell.com>
11792
11793         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11794           nm_ap_set_timestamp() take the second and micro-second parameters as
11795           direct arguments, which avoids both a dynamic memory allocation and a
11796           structure-to-structure copy!  Add a new interface, the aptly named
11797           nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11798           existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11799           the return from nm_ap_get_timestamp().  New users should use the new
11800           nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11801           the extreme benefit to performance.
11802         * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11803           src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11804
11805 2006-03-08  Robert Love  <rml@novell.com>
11806
11807         * gnome/applet/applet.glade: Hide the password entry text with
11808           asterisks.
11809
11810 2006-03-08  Robert Love  <rml@novell.com>
11811
11812         * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11813           NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11814           NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11815           a second argument, NMData.
11816         * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11817         * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11818           config files as trusted.
11819
11820 2006-03-06  Robert Love  <rml@novell.com>
11821
11822         * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11823         * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11824           to exit the applet.  As a sweet side-effect, idea courtesy of Chris
11825           Rivera, detect if the applet was auto-started.  If so, ask the user
11826           if he or she would like to stop automatically running the applet on
11827           login.  If so, disable autostart.
11828
11829 2006-03-06  Robert Love  <rml@novell.com>
11830
11831         * NetworkManager.pc.in:  Provide an -I to the NetworkManager include
11832           directory in CFLAGS so developers can actually use NetworkManager.h.
11833
11834 2006-03-06  Robert Love  <rml@novell.com>
11835
11836         * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11837           open-coded integer constants.  Add state_to_string() to map a given
11838           state to a textual description, and provide that when notifying of
11839           state change.
11840         * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11841           states, copied and cleaned up from dhcdbd.d.  Ideally, we would use
11842           this header directly, but it is currently not installed on most
11843           systems.
11844
11845 2006-03-05  Dan Williams  <dcbw@redhat.com>
11846
11847         Process netlink messages in device subclasses rather than in
11848         NetworkManager.c.  Also add support for recognizing Wireless Events.
11849         
11850         * configure.in
11851                 - Find GLIB_GENMARSHAL
11852
11853         * src/Makefile.am
11854                 - Since we're marshalling custom types for wireless event signals,
11855                         we get to create our own marshallers using GLIB_GENMARSHAL
11856
11857         * src/NetworkManager.c
11858                 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
11859                 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
11860                         cut down somewhat.  We no longer process signals here.
11861                 - (nm_data_new): create the netlink monitor here, and remove a
11862                         useless call to nm_policy_schedule_device_change_check()
11863                 - (nm_data_free): get rid of the netlink monitor here
11864                 - (nm_device_link_activated, nm_device_link_deactivated): removed
11865                 - (main): don't create the netlink monitor here, let nm_data_new
11866                         do that.  Call nm_policy_schedule_device_change_check() right
11867                         before we jump to the mainloop to figure out which device
11868                         to use first
11869
11870         * src/NetworkManagerSystem.[ch]
11871                 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
11872                         convert back and forth from interface names to interface
11873                         indexes
11874
11875         * src/nm-device-802-11-wireless.c
11876                 - (real_init): connect to wireless-event signals from the netlink
11877                         monitor object
11878                 - (nm_device_802_11_wireless_event): new function, schedule handler
11879                         for wireless event signals from the netlink monitor object.  We
11880                         want the handler to run in the device's context
11881                 - (wireless_event_helper): handle wireless-event signals from netlink
11882                 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
11883                         signal handler
11884
11885         * src/nm-device-802-11-wireless.h
11886                 - remove unused prototype for nm_device_802_11_wireless_new
11887
11888         * src/nm-device-802-3-ethernet.c
11889                 - (real_init): new function; set up signal handlers for link events
11890                 - (nm_device_802_3_ethernet_link_activated): new function, schedule
11891                         handler for netlink link activated events on device's main loop
11892                 - (link_activated_helper): when we get a link activated event, set
11893                         the device's link to be active
11894                 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
11895                         handler for netlink link deactivated events on device's main loop
11896                 - (link_deactivated_helper): when we get a link deactivated event, set
11897                         the device's link to be inactive
11898                 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
11899                         dispose
11900
11901         * src/nm-device-802-3-ethernet.h
11902                 - remove unused prototype for nm_device_802_3_ethernet_new
11903
11904         * src/nm-device.[ch]
11905                 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
11906                         but locks the device list
11907                 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
11908
11909         * src/nm-netlink-monitor.[ch]
11910                 - (nm_netlink_monitor_class_install_signals): New signal
11911                         "wireless-event"
11912                 - (nm_netlink_monitor_new): keep reference to NMData so we can get
11913                         at the device list
11914                 - (nm_netlink_monitor_event_handler): expand for wireless events too
11915
11916         * src/nm-marshal-main.c
11917                 - Include generated nm-marshal.c and nm-marshal.h
11918
11919         * src/nm-marshal.list
11920                 - List of custom marshal functions
11921
11922 2006-03-05  Dan Williams  <dcbw@redhat.com>
11923
11924         * gnome/applet/applet-notifications.h
11925                 - Protect prototype of nma_send_event_notification() because it
11926                         includes libnotify-specific types
11927                 - Include libnotify/libnotify.h too, since we technically need it
11928
11929         * gnome/applet/applet.c
11930                 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
11931                 - (nma_show_vpn_login_banner_dialog): add some error checking
11932
11933 2006-03-04  Dan Williams  <dcbw@redhat.com>
11934
11935         Clean up activation cancellation.  Should be a lot faster now.  Observed
11936         an issue with wireless devices between stage 2 and 3 of activation, where
11937         activation would be cancelled, but the device thread wouldn't notice until
11938         the supplicant association timed out.  Reorganize activation such that
11939         a cancellation handler gets immediately scheduled in the device's thread,
11940         and devices have a chance to perform any custom cleanup too.
11941
11942         * src/nm-device.[ch]
11943                 - (activation_cancel_handler): new device-type-specific function
11944                         for cleaning up device-type-specific stuff on cancellation
11945                 - (cancel_activation): removed
11946                 - (nm_device_activation_cancel): subsume functionality of
11947                         real_cancel_activation, but instead of doing anything, punt
11948                         operation to a handler that's run in device-thread context
11949                 - (nm_device_schedule_activation_handle_cancel): fix spelling of
11950                         a warning message
11951                 - (activation_handle_cancel_helper): cancellation handler run in
11952                         device-thread context, calls device-type-specific cancelation,
11953                         then tears down the activation request
11954                 - (real_activation_cancel_handler): generic cancellation handler,
11955                         deals with cancelling any in-process DHCP request
11956                 - (nm_device_activate_stage1_device_prepare,
11957                    nm_device_activate_stage2_device_config,
11958                    nm_device_activate_stage3_ip_config_start,
11959                    nm_device_activate_stage4_ip_config_get,
11960                    nm_device_activate_stage4_ip_config_timeout,
11961                    nm_device_activate_stage5_ip_commit): don't call
11962                         nm_device_schedule_activation_handle_cancel() any more, since
11963                         cancellation will have been already scheduled for us by
11964                         nm_device_activation_cancel().  Just exit the function and
11965                         assume that the cancel handler will be called next.
11966
11967         * src/nm-device-802-3-ethernet.c
11968                 - (real_act_stage2_config): remove; didn't do anything anyway
11969
11970         * src/nm-device-802-11-wireless.c
11971                 - (supplicant_status_cb): ensure we don't do anything if the activation
11972                         got cancelled
11973                 - (real_activation_cancel_handler): implement; cancel user key request
11974                         on activation cancellation
11975
11976 2006-03-04  Dan Williams  <dcbw@redhat.com>
11977
11978         * src/nm-device-802-11-wireless.c
11979                 - (supplicant_send_network_config): assume that drivers that don't
11980                         support WPA pretty much suck, and can't handle NM scanning
11981                         along with wpa_supplicant.
11982
11983 2006-03-03  Robert Love  <rml@novell.com>
11984
11985         * configure.in: Bump version to 0.6.0.
11986         * NEWS: Update.
11987
11988 2006-03-03  Robert Love  <rml@novell.com>
11989
11990         * configure.in: Require DBUS 0.60 or later.
11991
11992 2006-03-03  Dan Williams  <dcbw@redhat.com>
11993
11994         Fix a crash if an "Other wireless network" was chosen, failed, then
11995         chosen again from the applet's menu.  If the other network wasn't
11996         noticed in a scan, it wouldn't have any capabilities, but would still
11997         be listed because the user forced the network.  To fix this, we set
11998         sensible capabilities on the forced network, which will get overwritten
11999         with the correct ones if the network shows up later in a scan.
12000         
12001         * src/nm-ap-security.h
12002                 - Add a new "get_default_capabilities_func" member to the
12003                         NMAPSecurity class
12004
12005         * src/nm-ap-security.c
12006                 - (nm_ap_security_get_default_capabilities): new function
12007
12008         * src/nm-ap-security.c
12009           src/nm-ap-security-wep.c
12010           src/nm-ap-security-wpa-psk.c
12011           src/nm-ap-security-wpa-eap.c
12012                 - Implement get_default_capabilities_func() for all, which
12013                         uses the information contained in a specific NMAPSecurity
12014                         object to determine default AP capabilites necessary
12015                         to support that object
12016
12017         As a secondary measure, we now prune artificial access points that fail
12018         to be activated right away.  The thing failed, and we have no scan data for
12019         it, so it's pretty much useless since security information is only saved
12020         in the applets when a connection is successful.
12021
12022         * src/NetworkManagerAPList.c
12023                 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12024                         not artificial.  If we see it, it's no longer a figment of the
12025                         user's imagination :)
12026
12027         * src/NetworkManagerPolicy.c
12028                 - (nm_policy_activation_failed): send along the failed AP if we
12029                         have it
12030
12031         * src/nm-device-802-11-wireless.c
12032                 - (real_activation_failure_handler): remove artificial APs from
12033                         the device list, because activation failed
12034
12035 2006-03-02  Robert Love  <rml@novell.com>
12036
12037         Add support for retrieving both the per-device speed and the
12038         per-network maximum supported rate.  Then change the getProperties
12039         DBUS API for both networks and devices to report this informaiton.
12040         Finally, display the information via both nm-applet and nm-tool:
12041         * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12042           and set it.
12043         * gnome/applet/applet.c: Display the device's speed in the 'Connection
12044           Information' dialog.
12045         * gnome/applet/applet.glade: Update the UI to show per-device speed.
12046         * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12047           network_device_get_speed() and network_device_set_speed() for
12048           retrieving and setting, respectively, a network device's current
12049           speed.
12050         * src/nm-dbus-device.c: Send the device's speed on getProperties.
12051         * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12052           in the function nm_device_802_11_wireless_get_bitrate() -- it does
12053           not matter (yet) what the units are, because we only feed it its own
12054           output.  Implement SIOCGIRATE and set the per-network maximum
12055           supported rate during scanning.
12056         * src/nm-device-802-11-wireless.h: Export the function
12057           nm_device_802_11_wireless_get_bitrate().
12058         * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12059           function nm_device_802_3_ethernet_get_speed() for returning an
12060           802.3's current speed, in Mb/s.
12061         * test/nm-tool.c: Display the per-device current speed, if available,
12062           and the per-network maximum rate.
12063
12064 2006-03-02  Dan Williams  <dcbw@redhat.com>
12065
12066         * src/nm-device-802-11-wireless.c
12067                 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12068                         card when it gets initialized.  Since devices don't get added to
12069                         the scan list until they are initialized, this function wasn't
12070                         setting the intitial scan interval correctly, and was leaving
12071                         it at 0.  This caused cards to get many scan requests in a short
12072                         amount of time when they were initialized
12073
12074 2006-03-02  Robert Love  <rml@novell.com>
12075
12076         * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12077           active device.  But do not do what we used to do and override the
12078           state, which caused the dreaded icon race of '05.
12079
12080 2006-03-02  Robert Love  <rml@novell.com>
12081
12082         Commit Dan's update of my previous commit:
12083         * src/nm-device-802-11-wireless.c: Always set the mode, because the
12084           set_mode() function itself does the check.  But do only set the
12085           frequency if in Ad-Hoc mode.
12086
12087 2006-03-02  Robert Love  <rml@novell.com>
12088
12089         Patch by Brian Magnuson <magnuson@rcn.com>:
12090         * src/nm-device-802-11-wireless.c: During scanning, only set the
12091           wireless mode to infrastructure if it is not currently in
12092           infrastructure mode.  For some driver, setting the mode is a costly
12093           operation, apparently.
12094
12095 2006-03-01  Rodrigo Moya <rodrigo@novell.com>
12096
12097         * Makefile.am: use the correct dir for autostart mechanism.
12098
12099 2006-02-28  Dan Williams  <dcbw@redhat.com>
12100
12101         Patch from Brian Magnuson <magnuson@rcn.com>
12102         * gnome/applet/applet.c
12103                 - (nma_show_vpn_failure_dialog): fix errors left over from
12104                         libnotify support changes
12105
12106 2006-02-28  Dan Williams  <dcbw@redhat.com>
12107
12108         * src/vpn-manager/nm-vpn-act-request.[ch]
12109                 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12110                         just one value
12111                 - (nm_vpn_act_request_is_failed): new function; return whether or
12112                         not the vpn activation request has failed
12113
12114         * src/vpn-manager/nm-vpn-manager.c 
12115                 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12116                         daemon to kill the connection when the activation request fails.
12117                         Fixes issue where NM would get confused if the VPN activation
12118                         request timed out, and would not allow further VPN connections
12119                         on that service.
12120
12121 2006-02-28  Dan Williams  <dcbw@redhat.com>
12122
12123         * gnome/applet/applet.c
12124                 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12125                         overlapping connection requests, disable all VPN menu items
12126                         but the active VPN connection
12127
12128 2006-02-28  Dan Williams  <dcbw@redhat.com>
12129
12130         * src/vpn-manager/nm-vpn-connection.c
12131                 - (nm_vpn_connection_set_parent_device): fix C&P error which
12132                         called g_object_unref() on the connection's parent device
12133                         when it should have been ref-ed instead.  Fixes crash with
12134                         repeated vpn connect requests
12135
12136 2006-02-28  Christopher Aillon  <caillon@redhat.com>
12137
12138         * gnome/applet/applet.glade:
12139         Mark a few strings non-translatable, since they shouldn't be.
12140
12141 2006-02-28  Dan Williams  <dcbw@redhat.com>
12142
12143         * src/vpn-manager/nm-vpn-service.c
12144                 - (nm_vpn_service_start_connection): if the vpn service daemon is
12145                         already running, don't blindly ask it to connect, but wait until
12146                         it's in the STOPPED state first.  Fixes an assertion when user
12147                         starts a second vpn connection without stopping the first.
12148                 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12149                         dbus service exists before continuing with the connection
12150                         process, and reduce latency while waiting for it to become
12151                         available
12152                 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12153                         waiting for the vpn service daemon to become available
12154                 - General log message cleanups; show progress via "Stage x of 4"
12155                         rather than not telling anyone how many stages there are
12156
12157 2006-02-28  Robert Love  <rml@novell.com>
12158
12159         * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12160         * src/backends/NetworkManagerSuSE.c: Implement the interface
12161           nm_system_should_modify_resolv_conf() for SUSE.
12162         * src/backends/NetworkManagerDebian.c,
12163           src/backends/NetworkManagerGentoo.c,
12164           src/backends/NetworkManagerRedHat.c,
12165           src/backends/NetworkManagerSlackware.c: Add stub.
12166         * src/named-manager/Makefile.am: Grab includes from src.
12167         * src/named-manager/nm-named-manager.c: Allow backends to disable the
12168           automatic updating of resolv.conf.  This is useful for testing,
12169           broken static configurations, and administrator lock-down.
12170
12171 2006-02-28  Dan Williams  <dcbw@redhat.com>
12172
12173         * src/nm-device-802-11-wireless.c
12174                 - Move all the wpa_supplicant-related management stuff into its
12175                         own struct, just for oranization's sake
12176                 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12177                         to a GIOChannel/GSource
12178                 - (supplicant_log_stdout): new function; grab output from the
12179                         wpa_supplicant stdout pipe and write it to our logs.
12180
12181 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12182
12183         * src/nm-device-802-11-wireless.c:
12184         Err, fix thinko in my previous commit.
12185
12186 2006-02-28  Robert Love  <rml@novell.com>
12187
12188         * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12189
12190 2006-02-28  Robert Love  <rml@novell.com>
12191
12192         * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12193           src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12194           gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12195           deserializers are responsible for freeing the returned DBUS strings.
12196
12197 2006-02-27  Christopher Aillon  <caillon@redhat.com>
12198
12199         * src/nm-device-802-11-wireless.c:
12200         The scan list is being pruned prematurely.  We should prune after
12201         the device has gone MIA for three scans, not one.  Split out the
12202         interval to realtime seconds function to better serve this.
12203
12204 2006-02-27  Robert Love  <rml@novell.com>
12205
12206         * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12207           Open the pid file O_TRUNC, so if it already exists we truncate it to
12208           zero length.  Also, be more verbose about warnings generated during
12209           writing out the pid file.  Finally, always write out the pid file if
12210           in daemon mode.  Use "--pid-file" to override the default.
12211
12212 2006-02-27  Robert Love  <rml@novell.com>
12213
12214         Patch by R. Vinay <rvinay@novell.com>:
12215         * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12216           'last_attempt_success' when removing a VPN connection, too.  (Fixes
12217           Novell bug #153628).
12218           
12219 2006-02-27  Robert Love  <rml@novell.com>
12220
12221         * gnome/applet/applet.glade: Set "activates_default" on passphrase
12222           entry so user can hit <ENTER> after entering passphrase (Novell bug
12223           #153738).
12224
12225 2006-02-27  Dan Williams  <dcbw@redhat.com>
12226
12227         * gnome/applet/*
12228                 - Mass search/replace of:
12229                         nmwa -> nma
12230                         NMWirelessApplet -> NMApplet
12231                         NM_*_WIRELESS_APPLET -> NM_*_APPLET
12232                    (it ain't just for wireless anymore, ma!)
12233                 - Fix duplicate function name printing when using nm_warning
12234                 - wireless-applet.glade -> applet.glade
12235
12236 2006-02-27  Dan Williams  <dcbw@redhat.com>
12237
12238         * dispatcher-daemon/NetworkManagerDispatcher.c
12239                 - Accept --pid-file with a path to a pidfile, write it out on
12240                         startup, and delete it on shutdown
12241
12242         * src/NetworkManager.c
12243                 - Accept --pid-file with a path to a pidfile, write it out on
12244                         startup, and delete it on shutdown
12245                 - Move nm_print_usage() lower
12246
12247         * initscripts/RedHat/NetworkManager.in
12248                 - Use new --pid-file option
12249                 - Fix service stopping to wait a bit for NM to quit
12250
12251         * initscripts/RedHat/NetworkManagerDispatcher.in
12252                 - Use new --pid-file option
12253
12254 2006-02-26  Dan Williams  <dcbw@redhat.com>
12255
12256         * src/Makefile.am
12257                 - make and install nm-crash-logger
12258
12259         * src/nm-logging.[ch]
12260                 - New files; consolidate logging and crash handling
12261
12262         * src/nm-crash-logger.c
12263           src/gdb-cmd
12264                 - Standalong crashlogger for NM, grab a backtrace
12265                         using GDB
12266
12267         * src/NetworkManager.[ch]
12268                 - Remove signal handling and put it into nm-logging.c
12269
12270 2006-02-26  Dan Williams  <dcbw@redhat.com>
12271
12272         * configure.in
12273           gnome/applet/Makefile.am
12274                 - Conditionalize all the notify stuff
12275
12276         Merge most of Chris Aillon's notification patch:
12277         
12278         * gnome/applet/applet-notifications.[ch]
12279                 - New files; show a notification
12280         
12281         * gnome/applet/applet-dbus-devices.[ch]
12282                 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12283                    nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12284                         new functions, do the right thing when a device change occurs
12285
12286         * gnome/applet/applet-dbus.c
12287                 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12288                         signals, so we can handle them specially
12289
12290         * gnome/applet/applet.[ch]
12291                 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12292                 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12293                 - (nmwa_notify_state): remove
12294                 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12295                         notification work is now done when the appropriate dbus signals
12296                         are received.
12297                 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12298                         defer execution of the notification/dialog stuff.  That was an
12299                         artifact of the previous multi-threaded nature of the applet
12300                         and is now pointless.
12301                 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12302                         no longer needed.  Function folded into applet-notifications.c
12303
12304         * src/NetworkManagerPolicy.c
12305                 - (nm_policy_activation_finish): send the AP along with the device
12306                         status change signal, if the connection is wireless.  Should
12307                         fix the race where applet would show a connection to "unknown"
12308
12309 2006-02-25  Robert Love  <rml@novell.com>
12310
12311         Add WPA Enterprise support:
12312         * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12313           nm-gconf-wso-wpa-eap.h.
12314         * gnome/applet/nm-gconf-wso-wpa-eap.c,
12315           gnome/applet/nm-gconf-wso-wpa-eap.h:  Add WPA Enterprise Gconf
12316           serialization and deserialization.
12317         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12318           gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12319           gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12320         * gnome/applet/wireless-applet.glade: Add UI for configurating security
12321           settings related to WPA Enterprise.
12322         * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12323           instantiate WPA Enterprise wireless-security-option.
12324         * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12325           Implement WPA Enterprise wireless-security-option object.
12326         * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12327           defines.  Cleanup.
12328         * libnm-util/cipher-wpa-psk-hex.c,
12329           libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12330         * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12331           nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12332           nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12333           including the cipher to DBUS method, and
12334           nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12335           to output.
12336         * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12337           nm-ap-security-wpa-eap.h
12338         * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12339           NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12340         * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12341           files.  Implement NMAPSecurityWPA_EAP object.
12342         * src/nm-ap-security-wpa-psk.c: Cleanup.
12343         * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12344           an NMAPSecurityWPA_EAP object via the method
12345           nm_ap_security_wpa_eap_new_deserialize().
12346         * src/nm-dbus-nm.c: Cleanup.
12347         * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12348           WPA Enterprise support.
12349
12350 2006-02-24  Robert Love  <rml@novell.com>
12351
12352         Patch from Timo Hoenig <thoenig@suse.de>:
12353         * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12354
12355 2006-02-24  Robert Love  <rml@novell.com>
12356
12357         Patch from Dan Winship <danw@novell.com>:
12358         * gnome/applet/eggtrayicon.c: Update EggTrayIcon code.  Set the gdk
12359           area to transparent.
12360
12361 2006-02-21  Dan Williams  <dcbw@redhat.com>
12362
12363         * gnome/applet/applet.[ch]
12364           gnome/applet/applet-dbus.c
12365                 - Implement notification support for VPN messages too
12366
12367 2006-02-21  Dan Williams  <dcbw@redhat.com>
12368
12369         * gnome/applet/applet-dbus-info.c
12370                 - Clean up warning messages to not double-print the function
12371
12372 2006-02-21  Dan Williams  <dcbw@redhat.com>
12373
12374         * gnome/applet/applet-compat.c
12375                 - (convert_one_entry): accept entries without a key_type and
12376                         convert them to unencrypted networks
12377
12378 2006-02-21  Dan Williams  <dcbw@redhat.com>
12379
12380         * gnome/libnm_glib/libnm_glib.c
12381                 - Use __func__ everywhere we can
12382                 - Code cleanups
12383                 - Use dbus pending calls rather than blocking
12384                 - Reduce busywaits for our thread to start and stop
12385                         (gnome.org #330562)
12386                 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12387                         stomp on others using the default shared dbus connection.
12388                         Fixes #rh177546# and gnome.org #326572
12389
12390 2006-02-21  Dan Williams  <dcbw@redhat.com>
12391
12392         Patch from Rodney Dawes <dobey@novell.com>
12393         * configure.in
12394           gnome/applet/Makefile.am
12395           gnome/applet/applet.c
12396                 - Add libnotify support if '--enable-notify=yes' is passed
12397                   at configure time
12398
12399 2006-02-16  Kang Jeong-Hee  <keizie@gmail.com>
12400
12401         * configure.in (ALL_LINGUAS): ko added. (Korean)
12402
12403 2006-02-15  Robert Love  <rml@novell.com>
12404
12405         * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12406           define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12407           and WPA_SUPPLICANT_CONTROL_SOCKET.
12408         
12409 2006-02-15  Robert Love  <rml@novell.com>
12410
12411         * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12412           information about what connection stage we are at, provide the total
12413           number of stages, e.g. "Stage 2 of 5", so users know how far along
12414           they are if they experience problems.
12415
12416 2006-02-15  Robert Love  <rml@novell.com>
12417
12418         * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12419           define to $sysconfdir.
12420         * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12421           editing dialog, vpn_edit_widget, which fixes a bug where editing one
12422           type of VPN and then editing another results in a mangled dialog
12423           box containing the widgets from both VPNs (fixes Novell #150854).
12424           Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12425
12426 2006-02-14  Robert Love  <rml@novell.com>
12427
12428         * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12429           syslog's file descriptor.
12430
12431 2006-02-14  Robert Love  <rml@novell.com>
12432
12433         Fix bug around since the change to "deal with APs changing settings on
12434         us," checked in on the fifth of February in the year of the dog, 
12435         wherein connecting to non-broadcast encrypted networks always fails
12436         because nm_ap_get_encrypted() always returns FALSE, even when the user
12437         provided a key, because the newly-created fake AP does not have any
12438         capabilities set, which is a sypmtom of security settings not matching
12439         capabilities (Novell bug #150784):
12440         * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12441           nm_ap_add_capabilities_from_security(), which sets the given AP's
12442           capabilities off the given security settings.  Also improve our
12443           handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12444           NM_AUTH_CIPHER_AUTO.
12445         * src/nm-device-802-11-wireless.c: Call the function
12446           nm_ap_add_capabilities_from_security() to ensure that capabilities
12447           match newly updated security settings.
12448
12449 2006-02-14  Robert Love  <rml@novell.com>
12450
12451         * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12452           error as a string, not an integer, if possible; do not print the
12453           function name twice; always give the interface, if possible; misc.
12454           cleanup.
12455
12456 2006-02-12  Dan Williams  <dcbw@redhat.com>
12457
12458         Patch from Tom Parker <palfrey@tevp.net>
12459         * src/NetworkManagerSystem.h
12460                 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12461                         no longer used
12462
12463         * src/backends/NetworkManagerDebian.c
12464                 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12465                         unused variables
12466
12467 2006-02-12  Dan Williams  <dcbw@redhat.com>
12468
12469         * vpn-daemons/openvpn/intltool-extract.in
12470           vpn-daemons/openvpn/intltool-merge.in
12471           vpn-daemons/openvpn/intltool-update.in
12472           vpn-daemons/pptp/intltool-extract.in
12473           vpn-daemons/pptp/intltool-merge.in
12474           vpn-daemons/pptp/intltool-update.in
12475                 - Remove from CVS, they should get created by intltoolize,
12476                         shouldn't they?
12477
12478 2006-02-12  Dan Williams  <dcbw@redhat.com>
12479
12480         * vpn-daemons/pptp/src/pppd/patchlevel.h
12481         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12482                 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12483                         Makefile-defined VERSION
12484
12485 2006-02-09  Dan Williams  <dcbw@redhat.com>
12486
12487         Patch from: Vinay A R <rvinay@novell.com>
12488         * src/vpn-manager/nm-vpn-act-request.[ch]
12489                 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12490                         IPSec VPNs require them for std gateway.
12491                 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12492                         and 'user_routes_count'
12493                 - (nm_vpn_act_request_get_user_routes): new function; gets user
12494                         defined routes  from NMVPNActRequest object, returns the string
12495                         array of routes.
12496
12497         * src/vpn-manager/nm-vpn-manager.[ch]
12498                 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12499                         for 'user_routes' and 'user_routes_count'
12500         
12501         * src/vpn-manager/nm-dbus-vpn.c
12502                 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12503                         nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12504         
12505         * src/vpn-manager/nm-vpn-service.c
12506                 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12507                         the vpn daemon
12508
12509         Modifications by Dan:
12510         * src/vpn-manager/nm-vpn-service.c
12511                 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12512                         arrays into dbus
12513
12514         * vpn-daemons/vpnc/src/nm-vpnc-service.c
12515         * vpn-daemons/pptp/src/nm-pptp-service.c
12516         * vpn-daemons/openvpn/src/nm-openvpn-service.c
12517                 - Grab user routes from dbus message
12518                 - Free all string arrays we got from dbus
12519
12520 2006-02-07  Robert Love  <rml@novell.com>
12521
12522         Patch by Stefan Seyfried <seife@suse.de>:
12523         * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12524
12525 2006-02-06  Robert Love  <rml@novell.com>
12526
12527         * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12528
12529 2006-02-06  Robert Love  <rml@novell.com>
12530
12531         * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12532           test ">=" is never false.  If no newline is found, we loop forever.
12533           We can just check for ">" because the following if() will see the
12534           zero-th argument if the while() gets that far.
12535
12536 2006-02-05  Dan Williams  <dcbw@redhat.com>
12537
12538         Refine handling of non-broadcast networks.
12539
12540         * src/NetworkManagerAPList.c
12541                 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12542                         property from scanned AP to the AP from the device list
12543
12544         * src/nm-device-802-11-wireless.c
12545                 - (supplicant_send_network_config): use ap_scan=1 for all networks
12546                         except non-SSID-broadcasting and Ad-Hoc networks.  Use
12547                         ap_scan=2 for those.  Also, don't set scan_ssid for Ad-Hoc
12548                         networks since those don't have APs.
12549                 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12550                         AP as non-SSID-broadcasting
12551                 - (process_scan_results): don't handle non-SSID-broadcasting here
12552
12553 2006-02-05  Dan Williams  <dcbw@redhat.com>
12554
12555         * src/nm-device-802-11-wireless.c
12556                 - (get_supplicant_timeout): new function; return
12557                         NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12558                         14 channels.  These are likely a/b/g cards, like Atheros, and
12559                         slow as hell to scan.
12560                 - (supplicant_timeout_cb, supplicant_monitor_start): use
12561                         get_supplicant_timeout()
12562
12563 2006-02-05  Dan Williams  <dcbw@redhat.com>
12564
12565         * src/dhcp-manager/nm-dhcp-manager.c
12566                 - Loose a commit race with Robert; make sure size check
12567                         uses size of DHCP_SERVICE_LEN, not hardcoded 15
12568
12569 2006-02-05  Robert Love  <rml@novell.com>
12570
12571         Patch by Christoph Brill <chrisbrill@gmx.net>:
12572         * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12573           with DHCP_SERVICE_NAME.
12574
12575 2006-02-05  Dan Williams  <dcbw@redhat.com>
12576
12577         Remove anything having to do with device_setup_func from the
12578         AP security objects, since it's no longer used.
12579
12580         * src/nm-ap-security.h
12581                 - Kill device_setup_func and nm_ap_security_device_setup()
12582
12583         * src/nm-ap-security-wep.c
12584           src/nm-ap-security-wpa-psk.c
12585                 - (real_device_setup): remove
12586
12587         * src/nm-ap-security.c
12588                 - (real_device_setup): remove
12589                 - (nm_ap_security_device_setup): remove
12590
12591         * src/nm-device-802-11-wireless.[ch]
12592                 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12593                 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12594                         and done by wpa_supplicant now anyway
12595
12596 2006-02-05  Dan Williams  <dcbw@redhat.com>
12597
12598         * src/nm-device-802-11-wireless.c
12599                 - (ap_need_key, real_act_stage2_config): deal with APs changing
12600                         settings on us.  Previously NM would loop asking for the
12601                         key but getting the same one back.  Now, if the NMI-supplied
12602                         cipher doesn't overlap with the scanned AP capabilities,
12603                         we request a completely new key from the user.
12604
12605 2006-02-05  Dan Williams  <dcbw@redhat.com>
12606
12607         * src/NetworkManagerUtils.c
12608                 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12609                         Handle newline killing better
12610
12611 2006-02-05  Dan Williams  <dcbw@redhat.com>
12612
12613         * gnome/applet/nm-gconf-wso.c
12614                 - (real_serialize_dbus): return TRUE, not 0.  Fixes serialization
12615                         of unencrypted access point security info.
12616
12617 2006-02-03  Robert Love  <rml@novell.com>
12618
12619         * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12620           user's encryption key, so we print the err_msg_cmd not the command,
12621           if available.  So long as SUPPLICANT_DEBUG is default, this makes
12622           sense.
12623
12624 2006-02-03  Christopher Aillon  <caillon@redhat.com>
12625
12626         * initscript/RedHat/NetworkManagerDispatcher.in:
12627         * initscript/RedHat/NetworkManager.in: modify the pidfile location
12628         Patch from Dan Walsh <dwalsh@redhat.com>
12629
12630 2006-02-03  Robert Love  <rml@novell.com>
12631
12632         * dispatcher-daemon/NetworkManagerDispatcher.c,
12633           dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12634           but use the sysconfdir.
12635
12636 2006-02-03  Robert Love  <rml@novell.com>
12637
12638         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12639           Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12640           'char *'.
12641         * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12642           nm_ip4_config_get_hostname() and
12643           nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12644         * src/backends/NetworkManagerSuSE.c: Fix up for above.  Also, do not
12645           leak g_strdup() result.
12646
12647 2006-02-03  Robert Love  <rml@novell.com>
12648
12649         * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12650           broadcast == TRUE.  Also, copy broadcast and artificial properties
12651           from source network to destination in nm_ap_copy().
12652         * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12653           since we now default new networks to non-hidden.
12654
12655 2006-02-03  Dan Williams  <dcbw@redhat.com>
12656
12657         * gnome/applet/main.c
12658                 - (main): change the NEVER->ALWAYS so we start at the
12659                         beginning of the session, if being session-managed
12660
12661 2006-02-03  Dan Williams  <dcbw@redhat.com>
12662
12663         * gnome/applet/main.c
12664                 - (main): in a variation on Robert's patch, change
12665                         RESTART_IMMEDIATELY -> RESTART_NEVER.  Should do what
12666                         he wants.
12667
12668 2006-02-02  Robert Love  <rml@novell.com>
12669
12670         * src/Makefile.am: If we aren't going to create the run directory at,
12671           uh, run-time, create it during install.  Then users just doing
12672           'make install' are cool, too.  While we are here, create the
12673           dispatcher.d directory, too.
12674         * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12675           the exact run directory.
12676         * Makefile.am: Install nm-applet.desktop.
12677
12678 2006-02-02  Robert Love  <rml@novell.com>
12679
12680         * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12681           structure, which denotes whether or not the AP is hidden.  This is a
12682           superset of 'artificial' -- we need 'broadcast' because a hidden AP
12683           can show up in the scan list.  Add nm_ap_get_broadcast() and
12684           nm_ap_set_broadcast() accessor interfaces.
12685         * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12686           nm_ap_set_broadcast().
12687         * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12688           "getProperties" method, which denotes whether or not the given
12689           network is hidden.
12690         * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12691           an artificial network.  Set broadcast to TRUE when scanning returns
12692           an ESSID and FALSE when not.
12693         * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12694           from "getProperties" method on a network.  Possible TODO is to
12695           somehow display this.
12696         * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12697
12698 2006-02-02  Dan Williams  <dcbw@redhat.com>
12699
12700         * src/nm-device-802-11-wireless.c
12701                 - (supplicant_interface_init): don't try to create
12702                         /var/run/NetworkManager, since that should be done by
12703                         the distro package.  Causes problems for stuff like SELinux
12704
12705 2006-02-02  Robert Love  <rml@novell.com>
12706
12707         Patch by Sureshkumar T <tsureshkumar@novell.com>:
12708         * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12709           Check for and handle empty string for iface.
12710
12711 2006-02-01  Robert Love  <rml@novell.com>
12712
12713         * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12714           manpage.
12715
12716 2006-01-31  Dan Williams  <dcbw@redhat.com>
12717
12718         * nm-applet.desktop
12719                 - Add --sm-disable to Exec arguments, presuming that when
12720                         using autostart, we don't want session management
12721
12722 2006-01-31  Robert Love  <rml@novell.com>
12723
12724         * src/NetworkManagerAP.c: Add two new manufacturer default network
12725           names: linksys-a and linksys-g.  These are found (at least) on the
12726           Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12727           own ESSID.
12728
12729 2006-01-31  Robert Love  <rml@novell.com>
12730
12731         * src/NetworkManagerAP.c: Optimize the function
12732           nm_ap_has_manufacturer_default_essid().  I did not like its resulting
12733           machine code.  This is the first in a series of code tweaks aiming to
12734           generate better machine code and make NetworkManager all the better.
12735           Just kidding.  Who has time to go through the assembly generated for
12736           every function?  I certainly don't.  I have a wife, a kid, a job,
12737           a mortgage, a mistress.  But this function was so bad, I was called
12738           to arms.  Like the book.
12739
12740 2006-01-31  Robert Love  <rml@novell.com>
12741
12742         * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12743           AP is not broadcasting, to scan with probe request frames.  Required
12744           for non-broadcast networks.
12745
12746 2006-01-31  Robert Love  <rml@novell.com>
12747
12748         * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12749           preprocessor define (still 20s).  Fix message text in nm_info()
12750           s/too too/took too/.
12751
12752 2006-01-30  Dan Williams  <dcbw@redhat.com>
12753
12754         * src/nm-device-802-11-wireless.c
12755                 - (supplicant_monitor_start): increase connect/auth timeout to
12756                         20 seconds from 10 seconds
12757
12758 2006-01-30  Dan Williams  <dcbw@redhat.com>
12759
12760         * src/Makefile.am
12761                 - Define LOCALSTATEDIR
12762
12763         * src/nm-device-802-11-wireless.c
12764                 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12765                         socket where we want it to
12766
12767         * src/wpa_ctrl.[ch]
12768                 - (wpa_ctrl_open): accept location to put local control socket
12769
12770 2006-01-30  Robert Love  <rml@novell.com>
12771
12772         * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12773           get_ip4_string() for "domain_name".
12774
12775 2006-01-30  Robert Love  <rml@novell.com>
12776
12777         * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12778           gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12779           libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12780           libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12781           support for "Automatic" pairwise and group cipher configuration by
12782           letting wpa_supplicant handle the details.  Add UI elements, new
12783           cipher type NM_AUTH_CIPHER_AUTO, and backend support.  Works like a
12784           charm.  Note this does more than add a nice feature, it fixes a bug.
12785           Apparently, some people have AP's where the pairwise cipher does not
12786           match the group cipher.  Insane, but true.
12787
12788 2006-01-30  Dan Williams  <dcbw@redhat.com>
12789
12790         * gnome/applet/applet-dbus-devices.c
12791                 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12792                         functions, grab device driver name from NetworkManager
12793                 - (nmwa_dbus_device_properties_cb): call functions to get driver
12794
12795         * gnome/applet/applet.c
12796                 - (nmwa_update_info): show driver name in Connection Information
12797                         dialog
12798
12799         * gnome/applet/nm-device.[ch]
12800                 - (network_device_get_driver, network_device_set_driver): add
12801                         accessors for driver name
12802
12803         * gnome/applet/wireless-applet.glade
12804                 - Add line for driver name to Connection Information dialog
12805
12806         * src/nm-dbus-device.c
12807                 - (nm_dbus_device_get_driver): new function to return driver name
12808                 - (nm_dbus_device_methods): hook up driver name function to dbus
12809
12810         * test/nm-tool.c
12811                 - (get_driver_name): new function
12812                 - (detail_device): grab and show driver name
12813
12814 2006-01-30  Robert Love  <rml@novell.com>
12815
12816         * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12817           does not parse the markup if it is not part of the format.
12818
12819 2006-01-30  Robert Love  <rml@novell.com>
12820
12821         * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12822           FALSE, we have no security options for this dialog, so we throw up
12823           an error dialog instead of a broken passphrase dialog.  Fixes
12824           Novell #138404.
12825         * gnome/applet/wireless-security-manager.c,
12826           gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12827           does not add any security options, not even NONE, print a warning
12828           and return FALSE.  This let's functions constructing a dialog bail
12829           out if the device's capabilities and the network's requirements have
12830           zero overlap.
12831
12832 2006-01-27  Robert Love  <rml@novell.com>
12833
12834         * configure.in: Require wpa_supplicant.  Detect location of binary and
12835           use it.  Override with "--with-wpa_supplicant=foo".
12836         * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12837           path to wpa_supplicant but use the auto-detected or user-provided
12838           value from configure.
12839
12840 2006-01-27  Robert Love  <rml@novell.com>
12841
12842         * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12843           but the DHCP server did not return a hostname, try to look up our
12844           name via DNS and set the system hostname to that.
12845
12846 2006-01-27  Dan Williams  <dcbw@redhat.com>
12847
12848         * src/backends/NetworkManagerRedHat.c
12849                 - Add NM_CONTROLLED system network script support for RH/Fedora
12850
12851 2006-01-27  Dan Williams  <dcbw@redhat.com>
12852
12853         * src/backends/NetworkManagerGentoo.c
12854                 - (nm_system_device_get_disabled): add missing function.
12855                         Gnome BZ #328780
12856
12857 2006-01-27  Clytie Siddall <clytie@riverland.net.au>
12858
12859         * configure.in: Added vi in ALL_LINGUAS line.
12860         
12861 2006-01-26  Robert Love  <rml@novell.com>
12862
12863         * src/Makefile.am, src/kernel-types.h: Now that two different source
12864           files are feeling the crack-addled leakage of kernel types such as
12865           u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
12866           types in user-space -- define a header and include it as needed.
12867         * src/nm-device-802-3-ethernet.c: Include kernel-types.h
12868         * src/nm-device-802-3-ethernet.h: Remove defines.
12869         * src/wpa.c: Remove defines and include kernel-types.h.
12870
12871 2006-01-26  Robert Love  <rml@novell.com>
12872
12873         * TODO: Update.  WPA support is in the bag and HAL restarts (should)
12874           work.
12875
12876 2006-01-26  Robert Love  <rml@novell.com>
12877
12878         * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
12879         * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
12880           gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
12881           gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
12882           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
12883           gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
12884           gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
12885           gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
12886           gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
12887           gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
12888           gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12889           gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
12890           libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
12891           src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
12892           src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
12893           src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
12894           Kill unused variables, labels, and static functions.  Don't pass
12895           string literals as the format string for printf-like functions.
12896
12897 2006-01-25  Dan Williams  <dcbw@redhat.com>
12898
12899         * gnome/applet/wireless-applet.glade
12900                 - Remove WPA2 Checkbox
12901
12902         * gnome/applet/wireless-security-manager.c
12903                 - (wsm_set_capabilities): split up sections for wpa and wpa2.
12904                         This means the Wireless Security menu now has two WPA options,
12905                         one for "WPA Personal" and one for "WPA2 Personal"
12906
12907         * gnome/applet/wso-wpa-psk.[ch]
12908                 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
12909                         'wpa2' argument to determine WPA version to use
12910                 - (append_dbus_params_func): pass stored WPA version to cipher
12911                         rather than using the (removed) checkbox
12912
12913 2006-01-24  Robert Love  <rml@novell.com>
12914
12915         * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
12916           before we g_strdup(), not the ultimate string.
12917
12918 2006-01-23  Dan Williams  <dcbw@redhat.com>
12919
12920         * src/NetworkManagerAP.[ch]
12921                 - (nm_ap_new_from_ap): copy original essid too
12922                 - (nm_ap_unref): free original essid
12923                 - (nm_ap_get_orig_essid): new function
12924                 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
12925                         but keep original essid around too
12926
12927         * src/nm-device-802-11-wireless.c
12928                 - (supplicant_send_network_config): send wpa_supplicant the
12929                         _original_ essid, and not as a string, but in hex.  Should
12930                         allow us to connect to more APs that use wierd character
12931                         encodings for their essids
12932
12933         * utils/nm-utils.[ch]
12934                 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
12935                         to UTF-8.  If it's not already valid UTF-8, we check LANG and
12936                         use the current locale as a hint for what encoding the essid
12937                         might be in.  Obviously not 100% accurate, but the idea here is
12938                         that if a user's locale is ex. ja_JP, they are more likely than
12939                         not to be in Japan, where access points will likely be in some
12940                         Japanese encoding.
12941
12942 2006-01-23  Dan Williams  <dcbw@redhat.com>
12943
12944         * libnm-util/cipher-private.h
12945           libnm-util/cipher.c
12946           libnm-util/cipher.h
12947                 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
12948
12949 2006-01-23  Robert Love  <rml@novell.com>
12950
12951         Patch by Timo Hoenig <thoenig@suse.de>:
12952         * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
12953           nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
12954           by DHCP and pass it to the backends, allowing distribution-specific
12955           behavior with respect to the DHCP-supplied hostname (if nothing else,
12956           some distributions might not want to set the hostname).
12957         * backends/NetworkManagerSuSE.c: Set the hostname if the variable
12958           DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
12959           Also update our NIS behavior.
12960         * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
12961           backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
12962           Add stub functions.
12963
12964 2006-01-23  Robert Love  <rml@novell.com>
12965
12966         * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
12967           gnome-session does autostart.  TODO: We need to install this to
12968           $prefix/share/autostart/.
12969
12970 2006-01-22  Dan Williams  <dcbw@redhat.com>
12971
12972         * src/NetworkManagerAP.[ch]
12973           src/nm-dbus-nmi.c
12974           src/nm-device-802-11-wireless.c         
12975                 - Make nm_ap_get_essid return "const char *"
12976
12977 2006-01-22  Dan Williams  <dcbw@redhat.com>
12978
12979         * src/NetworkManagerAP.[ch]
12980                 - (nm_ap_get_matched, nm_ap_set_matched): remove
12981
12982         * src/NetworkManagerAPList.[ch]
12983                 - (nm_ap_list_diff): removed
12984                 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
12985                         deal with access points changing essids on us
12986
12987         * src/nm-device-802-11-wireless.c
12988                 - (add_new_ap_to_device_list): move AP dbus signal logic to
12989                         src/NetworkManagerAPList.c
12990                 - (real_can_interrupt_activation): new function; allow interruption
12991                         of device activation if we are waiting for a network key
12992
12993         * src/NetworkManagerPolicy.c
12994                 - (nm_policy_device_change_check): allow interruption of currently
12995                         activating devices if the device allows it.  Previous behavior
12996                         would refuse to activate a just-plugged wired device if a
12997                         wireless device was waiting for a key.
12998
12999         * src/nm-device.[ch]
13000                 - (nm_device_can_interrupt_activation): new function; ask devices
13001                         whether their activation can be interrupted
13002
13003 2006-01-20  Robert Love  <rml@novell.com>
13004
13005         * Makefile.am, configure.in: Add new man subdirectory.
13006         * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13007           man/Makefile.am: Add man pages for NetworkManager and its
13008           crime-solving bumbling buddy, NetworkManagerDispatcher.
13009         * man/.cvsignore: Add.
13010         * initscript/Debian/NetworkManager,
13011           initscript/Gentoo/NetworkManager.in,
13012           initscript/RedHat/NetworkManager.in,
13013           initscript/RedHat/NetworkManagerDispatcher.in,
13014           initscript/SUSE/networkmanager-dispatcher.in,
13015           initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13016
13017 2006-01-20  Robert Love  <rml@novell.com>
13018
13019         * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13020           instead of queuing.  This prevents the running of multiple NM
13021           daemons concurrently, which does not work whatsoever and results in
13022           neither daemon working correctly.  Also, we don't handle queuing and
13023           name-owner-changes, anyhow.
13024
13025 2006-01-20  Robert Love  <rml@novell.com>
13026
13027         * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13028         * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13029           to sbin, not bin.
13030
13031 2006-01-19  Robert Love  <rml@novell.com>
13032
13033         * configure.in: Require hal 0.5.0 or later.
13034
13035 2006-01-18  Robert Love  <rml@novell.com>
13036
13037         * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13038           Allow backends to flag a device (in whatever distro-dependent way
13039           they so desire) as disabled.  NM will ignore any such device.
13040         * src/backends/NetworkManagerDebian.c,
13041           src/backends/NetworkManagerRedHat.c,
13042           src/backends/NetworkManagerSlackware.c: Add stub function
13043           nm_system_device_get_disabled() that always returns FALSE (enabled).
13044         * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13045           SUSE-specific configuration structure.  Fill it in from the
13046           NM_CONTROLLED variable in the system networking scripts.  If this var
13047           exists and is "no", we ignore the device.
13048
13049 2006-01-17  Robert Love  <rml@novell.com>
13050
13051         * configure.in: Remove 'no' language.  Replaced by 'nb', which is
13052           identical for NM.  For a full discussion, see the thread at
13053           http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13054
13055 2006-01-17  Dan Williams  <dcbw@redhat.com>
13056
13057         * src/nm-device.c
13058                 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13059                         function.  Fixes crash when wired DHCP fails.
13060
13061 2006-01-16  Robert Love  <rml@novell.com>
13062
13063         * src/Makefile.am: Don't install NMLoadModules
13064         * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13065           from src/ to test/ as no one uses it anymore.  Note that I would be
13066           fine with removing it altogether.
13067
13068 2006-01-16  Robert Love  <rml@novell.com>
13069
13070         * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13071           gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13072           gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13073           gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13074           src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13075           src/nm-netlink-monitor.c: Don't miss any initializers on structure
13076           declarations, ever.
13077         * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13078           NM_STATE_DISCONNECTED is zero).
13079
13080 2006-01-16  Robert Love  <rml@novell.com>
13081
13082         * src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
13083           uninitialized parameter and buffer overflow.  Novell #143496.
13084
13085 2006-01-16  Dan Williams  <dcbw@redhat.com>
13086
13087         Apply the PtP Address bits of a patch from Tim Niemueller
13088
13089         * src/nm-ip4-config.[ch]
13090                 - Add ip4_ptp_address member to object
13091                 - (nm_ip4_config_copy): copy ptp address too
13092                 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13093                         new functions
13094                 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13095                         rather than local tunnel ip address
13096
13097         * src/vpn-manager/nm-vpn-service.c
13098                 - (print_vpn_config): update for PtP address
13099                 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13100                         DBusMessageIters in preparation for getting routes from the VPN
13101                         service daemons too
13102
13103         * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13104                 - (send_config_info): update for PtP address, clean up code
13105                 - (main): update for PtP address, clean up code, fix typo
13106
13107         * vpn-daemons/openvpn/src/nm-openvpn-service.c
13108                 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13109
13110         * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13111                 - (pptp_ip_up): update for PtP address
13112
13113         * vpn-daemons/pptp/src/nm-pptp-service.c
13114                 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13115
13116         * vpn-daemons/vpnc/src/nm-vpnc-service.c
13117                 - (print_vpn_config): update for PtP address
13118                 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13119
13120 2006-01-16  Dan Williams  <dcbw@redhat.com>
13121
13122         * gnome/applet/applet.c
13123                 - (nmwa_add_networks_helper): don't indicate an active network
13124                         if NM is disconnected or asleep
13125
13126 2006-01-16  Dan Williams  <dcbw@redhat.com>
13127
13128         * src/NetworkManagerPolicy.c
13129                 - (nm_policy_device_change_check): switch devices if we lose the link
13130                         on an ethernet device. 
13131
13132 2006-01-16  Dan Williams  <dcbw@redhat.com>
13133
13134         * gnome/applet/wso-wpa-psk-hex.[ch]
13135                 - Renamed -> wso-wpa-psk.[ch]
13136
13137         * gnome/applet/wso-wpa-psk.[ch]
13138                 - New files
13139
13140         * gnome/applet/wso-wpa-psk-passphrase.[ch]
13141                 - Removed, rolled into wso-wpa-psk.[ch]
13142
13143         * gnome/applet/Makefile.am
13144                 - Updated for above changes
13145
13146         * gnome/applet/wireless-applet.glade
13147                 - Consolidate WPA-PSK options into one notebook
13148                         widget, and make dialogs invisible by default
13149                         to fix screen oddities
13150
13151         * gnome/applet/wireless-security-manager.c
13152                 - (wsm_set_capabilities): create the new wpa-psk widget rather
13153                         than both the old hex & passphrase ones
13154
13155 2006-01-16  Dan Williams  <dcbw@redhat.com>
13156
13157         * gnome/applet/other-network-dialog.c
13158                 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13159
13160 2006-01-16  Dan Williams  <dcbw@redhat.com>
13161
13162         * gnome/applet/applet.c
13163                 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13164                    nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13165                         prevention to realize window before trying to get server
13166                         time
13167
13168         * gnome/applet/other-network-dialog.c
13169                 - (nmwa_other_network_dialog_run): fix up focus-stealing
13170                         prevention to realize window before trying to get server
13171                         time
13172
13173         * gnome/applet/passphrase-dialog.c
13174                 - (nmi_passphrase_dialog_new): fix up focus-stealing
13175                         prevention to realize window before trying to get server
13176                         time
13177
13178 2006-01-16  Robert Love  <rml@novell.com>
13179
13180         Patch from Timo Hoenig  <thoenig@suse.de:
13181         * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13182           libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13183           libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13184           libnm-util/dbus-helpers.h: add checks whether headers are used
13185           within a C++ build.
13186
13187 2006-01-16  Dan Williams  <dcbw@redhat.com>
13188
13189         * gnome/applet/wireless-security-option.c
13190                 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13191
13192 2006-01-16  Dan Williams  <dcbw@redhat.com>
13193
13194         * libnm-util/cipher-wpa-psk-passphrase.c
13195                 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13196                         be 8 - 63 characters inclusive
13197
13198 2006-01-16  Dan Williams  <dcbw@redhat.com>
13199
13200         * src/nm-dbus-nm.c
13201                 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13202
13203 2006-01-13  Robert Love  <rml@novell.com>
13204
13205         Patch by T Sureshkumar <tsureshkuman@novell.com>:
13206         * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13207           modules that do not use an interface.
13208
13209 2006-01-13  Dan Williams  <dcbw@redhat.com>
13210
13211         * src/nm-device.c
13212           src/nm-device.h
13213                 - Allow subclasses to implement deactivate_quickly()
13214                 - (nm_device_deactivate_quickly): call subclass
13215                         deactivate_quickly() methods
13216                 - (nm_device_set_active_link): small cleanups, and don't
13217                         deactivate the device right away because we risk a deadlock
13218                         when called from device thread, waiting for the device
13219                         thread to cancel activation
13220
13221         * src/nm-device-802-11-wireless.c
13222                 - (real_deactivate_quickly): new function
13223                 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13224                 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13225                         so that we kill the supplicant when we sleep too
13226                 - (supplicant_interface_init): work around naive naming attempts of
13227                         wpa_ctrl when naming sockets
13228
13229 2006-01-13  Dan Williams  <dcbw@redhat.com>
13230
13231         * src/nm-device-802-11-wireless.c
13232                 - (supplicant_cleanup): delete old device control sockets too
13233                 - (supplicant_get_device_socket_path): new function to consolidate
13234                         locations that need a path to a device's control socket
13235
13236 2006-01-12  Robert Love  <rml@novell.com>
13237
13238         * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13239           description so that the description is unique for each
13240           pair (device,provider).  Fixes Novell #142773.
13241
13242 2006-01-12  Dan Williams  <dcbw@redhat.com>
13243
13244         * src/nm-device-802-11-wireless.c
13245                 - (supplicant_exec): ensure GError is correctly initialized
13246                         Reported by Diego González (gnome.org #326708)
13247
13248 2006-01-11  Robert Love  <rml@novell.com>
13249
13250         * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13251           define if_mii(), open code the same results, and do so without any
13252           type punning.
13253
13254 2006-01-11  Robert Love  <rml@novell.com>
13255
13256         * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13257           that wso_foo_new() returned non-NULL.  Instead, only append the new
13258           wso to wsm->options if the wso is non-NULL.  The crux is that we
13259           assume that the relevant key types are implied by WEP and WPA as
13260           appropriate.  To be sure, they should be, but we should not expect
13261           drivers to not be oozing piles of wolf fecal matter.
13262
13263 2006-01-11  Robert Love  <rml@novell.com>
13264
13265         * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13266         * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13267           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13268           src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13269           src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13270           src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13271           test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13272         * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13273           comparing values within DBL_EPSILON.  Also fix shadowed variable
13274           usage.
13275
13276 2006-01-11  Dan Williams  <dcbw@redhat.com>
13277
13278         Add options for WPA2 and WPA1+CCMP (AES).
13279
13280         * gnome/applet/wireless-applet.glade
13281                 - Add UI bits for WPA+CCMP
13282
13283         * gnome/applet/other-network-dialog.c
13284                 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13285                         and don't allow creation of WPA2 Ad-Hoc networks since
13286                         wpa_supplicant doesn't support them
13287
13288         * gnome/applet/wireless-security-manager.c
13289                 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13290                         on to the specific wireless security option being created
13291
13292         * gnome/applet/wireless-security-option.[ch]
13293                 - (wso_wpa_create_key_type_model): new utility function to create
13294                         the model required for WPA Key Type combo box
13295
13296         * gnome/applet/wso-private.h
13297           gnome/applet/wireless-security-option.h
13298                 - Move private function prototypes into wso-private.h
13299
13300         * gnome/applet/wso-wpa-psk-hex.[ch]
13301           gnome/applet/wso-wpa-psk-passphrase.[ch]
13302                 - (append_dbus_params_func): get WPA version from checkbox and pass
13303                         it to the dbus serialization helper
13304                 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13305                         key type combo changes
13306                 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13307                         model and options
13308
13309         * libnm-util/cipher-wpa-psk-hex.c
13310           libnm-util/cipher-wpa-psk-passphrase.c
13311                 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13312                         new function; allow the cipher to be changed after object creation
13313
13314         * src/nm-ap-security-wpa-psk.c
13315                 - (set_description): Do WPA2 descriptions too
13316
13317         * src/nm-ap-security.c
13318                 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13319
13320 2006-01-11  Robert Love  <rml@novell.com>
13321
13322         * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13323           is defined in <linux/mii.h> to return the mii_ioctl_data structure
13324           from the ifreq structure in lieu of an open coded solution.  Removes
13325           a life-threatening type-punning.
13326         * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13327           types, ever, whatsoever, baby.
13328
13329 2006-01-11  Robert Love  <rml@novell.com>
13330
13331         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13332           gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13333           assignments to applet->nm_state into a new nmwa_set_state() function
13334           for both cleanliness and to help debugging.
13335
13336 2006-01-10  Robert Love  <rml@novell.com>
13337
13338         * src/autoip.c: Fix FIXME.  In performing the link-local zeroconf IP
13339           assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13340           seconds, exclusive.  That is, we want to sleep x seconds such that
13341           1 < x < 2.
13342
13343 2006-01-10  Robert Love  <rml@novell.com>
13344
13345         * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13346           the attr fields according to the example in the email available at
13347           mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13348           Conversely, we do have to free 'name', so we do so, fixing a leak.
13349
13350 2006-01-10  Robert Love  <rml@novell.com>
13351
13352         * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13353           sure that we close the socket!
13354
13355 2006-01-10  Robert Love  <rml@novell.com>
13356
13357         * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13358           src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13359           src/nm-device.c: Fix a FIXME!  Reimplement the function
13360           nm_device_update_hw_address() in device subclass variants,
13361           nm_device_802_3_ethernet_set_address() and
13362           nm_device_802_11_wireless_set_address(), hook them up, and use them.
13363           This fixes the existing bug where MAC addresses are all zeros.
13364
13365 2006-01-10  Robert Love  <rml@novell.com>
13366
13367         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13368           gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13369           option to give users ability to globally disconnect and put NM to
13370           sleep.  This is useful as a 'lockdown mode' for flying, security, and
13371           clean disconnect.
13372
13373 2006-01-09  Robert Love  <rml@novell.com>
13374
13375         * src/nm-device-802-3-ethernet.h:  The kernel headers <linux/mii.h> and
13376           <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13377           User-space does not supply these types, so we have to define them
13378           ourselves.  The relevant kernel maintainer refused to accept a patch
13379           switching these headers to the proper C99 types.
13380
13381 2006-01-09  Dan Williams  <dcbw@redhat.com>
13382
13383         Apply Robert's 'tray icon redo' patch with fixes
13384         * gnome/applet/applet.c
13385           gnome/applet/applet.h
13386                 - Instead of using a menu bar + menu item, simulate menu
13387                         behavior using a popup menu.  Highlight the area around
13388                         the icon more like a menu too, by playing with the
13389                         applet's size requisition
13390
13391 2006-01-09  Timo Hoenig   <thoenig@suse.de>
13392         * libnm-util/dbus-helpers.c
13393           libnm-util/dbus-helpers.h
13394                 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13395                         to 'exception_namespace' (:namespace is a keyword in
13396                         C++)
13397
13398 2006-01-09  Dan Williams  <dcbw@redhat.com>
13399
13400         * src/NetworkManagerPolicy.c
13401                 - (nm_policy_device_change_check): don't autoswitch away from
13402                         Ad-Hoc networks, since there's really no concept of
13403                         "link"
13404
13405         * src/nm-dbus-nm.c
13406                 - (nm_dbus_nm_create_wireless_network): mark created networks
13407                         as Ad-Hoc networks
13408
13409         * src/nm-device-802-11-wireless.c
13410                 - (real_activation_success_handler): add user-created Ad-Hoc
13411                         networks to the device's scan list
13412
13413 2006-01-08  Dan Williams  <dcbw@redhat.com>
13414
13415         We now require a patch for wpa_supplicant to support Ad-Hoc
13416         networks:
13417           http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13418
13419         * src/nm-device-802-11-wireless.c
13420                 - (supplicant_send_network_config): turn off wpa_supplicant's
13421                         scanning.  Fixes Ad-Hoc networks.
13422
13423 2006-01-08  Dan Williams  <dcbw@redhat.com>
13424
13425         * src/nm-ap-security.c
13426           src/nm-ap-security.h
13427                 - Add a user_created argument to the write_supplicant_config
13428                         functions
13429
13430         * src/nm-ap-security-wep.c
13431           src/nm-ap-security-wpa-psk.c
13432           src/nm-device-802-11-wireless.c
13433                 - Make Ad-Hoc mode somewhat work, at least write the
13434                         correct options to wpa_supplicant
13435
13436 2006-01-08  Dan Williams  <dcbw@redhat.com>
13437
13438         * src/nm-device-802-11-wireless.c
13439                 - Remove unused code from the old device activation path
13440
13441 2006-01-08  Dan Williams  <dcbw@redhat.com>
13442
13443         * libnm-util/dbus-helpers.c
13444                 - (nmu_security_serialize_wpa_psk): pass a blank key through
13445                         dbus when key == NULL
13446
13447 2006-01-08  Dan Williams  <dcbw@redhat.com>
13448
13449         * gnome/applet/nm-gconf-wso-wpa-psk.c
13450                 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13451                         correct arguments to nmu_security_deserialize_wpa_psk()
13452
13453         * src/nm-ap-security-wpa-psk.c
13454                 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13455                         arguments to nmu_security_deserialize_wpa_psk()
13456
13457 2006-01-08  Dan Williams  <dcbw@redhat.com>
13458
13459         * gnome/applet/wso-wpa-psk-hex.c
13460           gnome/applet/wso-wpa-psk-passphrase.c
13461                 - Hook up the append_dbus_params_func() function
13462
13463 2006-01-08  Dan Williams  <dcbw@redhat.com>
13464
13465         * src/nm-device-802-11-wireless.c
13466                 - (get_wireless_capabilities): correctly detect driver WPA
13467                         capabilities
13468
13469 2006-01-08  Dan Williams  <dcbw@redhat.com>
13470
13471         * gnome/applet/Makefile.am
13472           gnome/applet/wso-wpa-psk-hex.c
13473           gnome/applet/wso-wpa-psk-hex.h
13474                 - New files, implement WPA-PSK Hex key input
13475
13476         * gnome/applet/wireless-applet.glade
13477                 - Change existing wpa-psk stuff to wpa-psk-hex
13478                 - Add new widgets for wpa-psk-passphrase
13479
13480         * gnome/applet/wireless-security-manager.c
13481                 - (wsm_set_capabilities): enable WPA options
13482
13483         * gnome/applet/wso-wpa-psk-passphrase.c
13484                 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13485                         for WPA-PSK passphrase
13486
13487 2006-01-08  Dan Williams  <dcbw@redhat.com>
13488
13489         * include/NetworkManager.h
13490                 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13491                         applet/info-daemons
13492
13493         * gnome/applet/passphrase-dialog.c
13494                 - Use the constant.  Fixes a bug where the arguments to
13495                         dbus_message_new_error() were incorrect
13496
13497         * src/nm-dbus-nmi.c
13498                 - Use the constant
13499
13500 2006-01-07  Dan Williams  <dcbw@redhat.com>
13501
13502         * src/nm-device-802-11-wireless.c
13503                 - Add a link timeout so we allow the supplicant time to
13504                         reassociate if it can, before we deactivate the card
13505                 - Fix up link status and link updating so things work better
13506
13507 2006-01-07  Dan Williams  <dcbw@redhat.com>
13508
13509         * src/nm-device-802-11-wireless.c
13510                 - Switch over to using wpa_supplicant
13511                 - Add a timeout of 10s for association of the supplicant
13512                 - Start the monitor callback of the supplicant
13513
13514 2006-01-07  Dan Williams  <dcbw@redhat.com>
13515
13516         * src/NetworkManagerUtils.c
13517                 - (nm_utils_supplicant_request,
13518                   nm_utils_supplicant_request_with_check):
13519                         pass correct buffer length to wpa_ctrl_request()
13520
13521 2006-01-07  Dan Williams  <dcbw@redhat.com>
13522
13523         * src/nm-device-private.h
13524           src/nm-device.c
13525                 - (nm_device_activate_schedule_stage3_ip_config_start): make
13526                         this function available to subclasses
13527
13528 2006-01-06  Robert Love  <rml@novell.com>
13529
13530         * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13531           user plugging in a network cable signals their preference for to
13532           switch, unless the user explicitly selected a wireless network and
13533           therefore signaled their preference for said wireless network over
13534           wired.  In other words, do exactly what makes sense.
13535
13536 2006-01-06  Robert Love  <rml@novell.com>
13537
13538         * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13539           src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13540           src/NetworkManagerWireless.h: Remove, no longer used and they keep
13541           showing up in my greps.
13542
13543 2006-01-06  Robert Love  <rml@novell.com>
13544
13545         * gnome/applet/applet-dbus-devices.c,
13546           gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13547           libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13548           src/nm-dbus-nm.c: Fix several issues.  'Connect to Other' and 'Create
13549           New Network' both failed in the non-encrypted case because we were
13550           not appending the security options to the DBUS message.  And
13551           'Connect to Other' was also failing in the encrypted case because
13552           we were not incrementing to the next DBUS parameter.  All fixed.
13553           Thanks to dcdw for some debugging help.
13554
13555 2006-01-06  Robert Love  <rml@novell.com>
13556
13557         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13558           gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13559           hangup code and add per-device hangup.  Tie last commit into the
13560           GNOME applet.  TODO:  Save, understand, and respond to the state of
13561           each dialup device.
13562
13563 2006-01-06  Robert Love  <rml@novell.com>
13564
13565         Patch by Timo Hoenig <thoenig@suse.de>:
13566         * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13567           hangup specific dialup devices.
13568         * src/backends/NetworkManagerDebian.c,
13569           src/backends/NetworkManagerGentoo.c,
13570           src/backends/NetworkManagerRedHat.c,
13571           src/backends/NetworkManagerSlackware.c: Add stub backend.
13572         * src/backends/NetworkManagerRedHat.c,
13573           src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13574           hangup specific dialup devices.
13575
13576 2006-01-04  Robert Love  <rml@novell.com>
13577
13578         * gnome/applet/applet-dbus-devices.c,
13579           gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13580           src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13581           connections.
13582
13583 2006-01-04  Dan Williams  <dcbw@redhat.com>
13584
13585         First dump of wpa_supplicant-related code.  It's not hooked up to
13586         anything yet though.  Thanks to Kay Sievers for
13587         wpa_supplicant_wrapper.c, which formed the basis for this work,
13588         and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13589
13590         * src/Makefile.am
13591           src/wpa_ctrl.[ch]
13592                 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13593
13594         * src/NetworkManagerUtils.[ch]
13595                 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13596                         Add convenience functions for talking to wpa_supplicant
13597
13598         * src/nm-ap-security.[ch]
13599           src/nm-ap-security-wep.c
13600           src/nm-ap-security-wpa-psk.[ch]
13601                 - Update and implement real_write_supplicant_config functions
13602                         in all security types
13603                 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13604                         nm-ap-security-wpa-psk.c
13605
13606         * src/nm-device-802-11-wireless.c
13607                 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13608                    wpa_supplicant_start, wpa_supplicant_interface_init,
13609                    wpa_supplicant_send_network_config): add functions to talk to
13610                         wpa_supplicant and write network config to it
13611
13612 2006-01-04  Robert Love  <rml@novell.com>
13613
13614         * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13615           values so that distribution-backends can differentiate between the
13616           various types (modem, ISDN, et cetera) of dialup device that they
13617           support.
13618         * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13619           needed.
13620
13621 2006-01-03  Dan Williams  <dcbw@redhat.com>
13622
13623         * src/NetworkManagerPolicy.c
13624           src/nm-device.[ch]
13625           src/nm-device-802-11-wireless.c
13626                 - Move wireless-specific activation failure and success code
13627                         into wireless device class
13628
13629 2006-01-03  Robert Love  <rml@novell.com>
13630
13631         Patch by Preggna S:
13632         * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13633           IPsec does not require that a VPN client be bound to an interface,
13634           due to the use of the in-kernel IPSec bits.  So make the tunnel
13635           device optional.
13636
13637 2006-01-03  Dan Williams  <dcbw@redhat.com>
13638
13639         * src/NetworkManagerAP.c
13640                 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13641                         the WPA IE specifies that WEP is supported
13642
13643         * src/nm-device-802-11-wireless.c
13644                 - (process_scan_results): don't mark an AP as supporting WEP
13645                         if there's already other encryption capability info
13646
13647 2006-01-03  Dan Williams  <dcbw@redhat.com>
13648
13649         * src/dhcp-manager/nm-dhcp-manager.c
13650                 - Recognize activation cancellation when waiting for DHCP
13651                         configuration from dhcdbd
13652                 - Ignore non-dhcdbd messages
13653
13654         * src/nm-device.c
13655                 - (real_act_stage3_ip_config_start): return to correct behavior
13656                         of letting the dhcp-manager notify us of failure or
13657                         success rather than incorrectly doing that ourselves
13658                 - (nm_device_activate_stage4_ip_config_get): deal with
13659                         activation cancellation a bit earlier
13660
13661 2006-01-03  Dan Williams  <dcbw@redhat.com>
13662
13663         * src/nm-device-802-11-wireless.c
13664           src/nm-device.[ch]
13665                 - Add hooks to subclasses for stage3_ip_config_start and
13666                         stage4_ip_config_timeout
13667
13668         * src/nm-device-802-3-ethernet.c
13669                 - (real_get_generic_capabilities): make devices NM-supported
13670                         by default
13671
13672 2006-01-03  Robert Love  <rml@novell.com>
13673
13674         * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13675           nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13676           latter cannot differentiate between error and the address -1; misc.
13677           clean up.
13678
13679 2006-01-03  Dan Williams  <dcbw@redhat.com>
13680
13681         * src/NetworkManager.c
13682                 - Move link-checking/probing into the device subclasses
13683                         themselves
13684
13685         * src/nm-device.[ch]
13686           src/nm-device-802-11-wireless.c
13687           src/nm-device-802-3-ethernet.c
13688                 - Do periodic link checking in device subclasses rather
13689                         than being triggered from NetworkManager.c
13690                 - discover_wireless_capabilities -> get_wireless_capabilities
13691                 - discover_generic_capabilities -> get_generic_capabilities
13692                 - Device subclass activation routines now return a value of type
13693                         NMActStageReturn to indicate what step to perform next
13694                 - Devices now override stage4_get_ip4_config if they choose
13695
13696 2006-01-01  Dan Williams  <dcbw@redhat.com>
13697
13698         * src/nm-device-802-11-wireless.c
13699                 - (real_init): don't chain up to parent init because we don't
13700                         need to do that anymore
13701
13702         * src/nm-device.c
13703                 - (discover_device_type): fix arguments to ioctl() to correctly
13704                         pass interface name
13705                 - (nm_device_new): consolidate generic device initialization into
13706                         nm_device_new()
13707                 - (real_init): remove, consolidated to nm_device_new()
13708                 - (nm_device_deactivate, real_deactivate): consolidate
13709
13710 2006-01-01  Dan Williams  <dcbw@redhat.com>
13711
13712         * src/nm-activation-request.c
13713                 - Change dhcp_state member of the NMActRequest structure
13714                         from guint8 to guint32
13715
13716         * src/dhcp-manager/nm-dhcp-manager.[ch]
13717                 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13718                         than guint8 to match the dbus argument.  Turns out we were
13719                         overwriting memory since we were passing in only a guint8
13720
13721 2005-12-31  Dan Williams  <dcbw@redhat.com>
13722
13723         * refactor NMDevice into a GObject-based framework with separate
13724                 objects for wired and wireless.  The following files are no
13725                 longer used but should stick around for a bit so we don't
13726                 loose code through the cracks:
13727                         NetworkManagerDevice.c
13728                         NetworkManagerDevice.h
13729                         NetworkManagerWireless.c
13730                         NetworkManagerWireless.h
13731
13732         The intent here is to allow each device type to manage its own
13733         connection & activation life-cycle, ie to allow wireless devices
13734         to interface with wpa_supplicant, etc.  There's a fair bit of
13735         encapsulation breakage right now that should gradually get pulled
13736         back into each device, along with things like periodic property
13737         updates and link probing.
13738
13739 2005-12-29  Dan Williams  <dcbw@redhat.com>
13740
13741         * include/NetworkManager.h
13742                 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13743                         between networks that don't have any encryption at all
13744
13745 2005-12-29  Dan Williams  <dcbw@redhat.com>
13746
13747         * test/test-common.c
13748           test/test-common.h
13749           test/Makefile.am
13750                 - Move to a test-common subdirectory
13751
13752         * test/libnm-util/test-ciphers.c
13753                 - Move test data to test-inputs.h
13754                 - Test WPA ciphers too
13755
13756         * test/libnm-util/test-dbus-helpers.c
13757                 - Test serialization/deserialization of ciphers
13758
13759 2005-12-29  Dan Williams  <dcbw@redhat.com>
13760
13761         * gnome/applet/applet-dbus-devices.c
13762                 - Replace 'enc' parameter with 'capabilities' for wireless networks
13763                         in dbus calls to NM
13764                 - Set capabilities on WirelessNetwork objects
13765                 - Receive and save type-specific device capabilities too
13766
13767         * gnome/applet/applet-dbus-info.c
13768           gnome/applet/applet-dbus.c
13769                 - Passphrase dialog no longer a singleton; new instance gets created
13770                         on each request.  Updates to deal with that.
13771
13772         * gnome/applet/applet.c
13773                 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13774                         than single 'encrypted' flag
13775                 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13776                         menu items
13777                 - Passphrase dialog updates per above
13778
13779         * gnome/applet/menu-items.c
13780                 - (network_menu_item_update): use AP capabilities to determine
13781                         encryption
13782
13783         * gnome/applet/nm-device.[ch]
13784                 - Add accessors for type-specific device capabilities
13785
13786         * gnome/applet/other-network-dialog.c
13787                 - Rework to respect device capabilities.  i.e., if the device doesn't
13788                         support WPA, remove that option from the security dropdown
13789
13790         * gnome/applet/passphrase-dialog.c
13791                 - Massive rework so that a new instance is created each time
13792                         it's used, to support wireless network capabilities
13793
13794         * gnome/applet/wireless-network.[ch]
13795                 - Add accessors and members for wireless network capabilities
13796
13797         * gnome/applet/wireless-security-manager.[ch]
13798                 - (wsm_set_capabilities): called after creation to set which
13799                         security options get shown to the user
13800
13801 2005-12-29  Dan Williams  <dcbw@redhat.com>
13802
13803         * libnm-util/cipher-wpa-psk-passphrase.c
13804                 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13805                         like other ciphers
13806
13807 2005-12-23  Dan Williams  <dcbw@redhat.com>
13808
13809         * gnome/applet/applet-dbus-info.c
13810                 - (nmi_dbus_get_key_for_network): if there's no entry in
13811                         GConf for a network, assume we want a new key
13812                 - (nmi_save_network_info): serialize wireless security info
13813                         into GConf so its saved
13814
13815         * src/nm-dbus-nm.c
13816                 - Fix warning as we may not be passed security info when
13817                         connecting to a wireless network
13818
13819 2005-12-23  Dan Williams  <dcbw@redhat.com>
13820
13821         * gnome/applet/applet-compat.c
13822                 - Fix bugs in GConf entry conversion
13823
13824         * gnome/applet/applet-dbus-info.c
13825                 - (nmi_dbus_get_network_properties): handle case of the BSSID
13826                         list being zero-length
13827
13828         * libnm-util/cipher-*
13829           libnm-util/dbus-helpers.c
13830                 - All ciphers must now return hashed keys as UTF-8 valid
13831                         hexadecimal strings, ie "8f3dae4023".  They are pushed
13832                         through dbus as strings too.
13833                 - Consolidate various functions that do bin->hex and hex->bin
13834                         conversion into cipher.c
13835
13836         * src/nm-ap-security-wep.c
13837           src/nm-ap-security-wpa-psk.c
13838                 - Handle NULL keys since we may not know keys right away
13839
13840         * src/nm-dbus-nmi.c
13841                 - (nm_dbus_get_network_data_cb): actually advance to the start
13842                         of the wireless security info before we try to deserialize it
13843
13844         * libnm-util/test-ciphers.c
13845                 - Update cipher tests for the change to UTF-8 hexadecimal strings
13846
13847 2005-12-22  Dan Williams  <dcbw@redhat.com>
13848
13849         * gnome/applet/applet-compat.[ch]
13850                 - Convert old-format GConf and keyring entries
13851                         when the applet starts up.
13852
13853         * gnome/applet/applet.c
13854                 - (nmwa_get_instance): Call the conversion function
13855                         on startup before dbus is initialized
13856
13857 2005-12-22  Dan Williams  <dcbw@redhat.com>
13858
13859         * gnome/applet/applet-dbus-info.c
13860                 - Remove nmi_dbus_create_error_message() in favor of
13861                         nmu_create_dbus_error_message()
13862                 - (nmi_dbus_get_network_properties): Error message cleanups
13863                 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
13864                         gconf key rather than 'addresses', since they really are BSSIDs
13865                 - (nmi_dbus_get_network_properties): Dispose of the security
13866                         object when we're done with it
13867
13868 2005-12-21  Dan Williams  <dcbw@redhat.com>
13869
13870         * Consolidate the info-daemon's "updateNetworkInfo" and
13871                 "addNetworkAddress" calls into just "updateNetworkInfo"
13872
13873 2005-12-21  Dan Williams  <dcbw@redhat.com>
13874
13875         * Make connection after key retrieval work again
13876
13877 2005-12-21  Dan Williams  <dcbw@redhat.com>
13878
13879         * gnome/applet/nm-gconf-wso*
13880                 - Make the serialize functions return gboolean
13881                         rather than int
13882
13883         * gnome/applet/nm-gconf-wso.c
13884                 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
13885                         parent class handling so we don't segfault
13886
13887         * src/NetworkManagerAP.[ch]
13888                 - (nm_ap_get_capabilities): new function, return capabilities
13889                         now that something can use them
13890                 - (nm_ap_set_encrypted): assume that an access point supports
13891                         both WEP104 and WEP40 if its set encrypted.  FIXME: can
13892                         we even tell whether it just supports WEP40?
13893
13894         * src/NetworkManagerDevice.c
13895                 - (ap_need_key): resurrect and update for the New World Order
13896                 - (nm_device_wireless_get_activation_ap): if we're not given
13897                         security info to use, create some based on access point
13898                         capabilities
13899
13900         * src/nm-ap-security-wep.c
13901                 - (nm_ap_security_wep_new_from_ap): create a new object
13902                         based on a certain access point's capabilities
13903
13904         * src/nm-ap-security.c
13905                 - (nm_ap_security_new_from_ap): delegate creation of a new
13906                         object based on access point capabilities to a subclass
13907                 - (nm_ap_security_copy_properties): don't segfault if we
13908                         don't have a key yet
13909
13910         * src/nm-dbus-nm.c
13911                 - (nm_dbus_nm_set_active_device): provide more informative
13912                         output when errors occur.  Also construct security info
13913                         for a given access point if we weren't given any
13914
13915 2005-12-21  Žygimantas Beručka  <zygis@gnome.org>
13916
13917         * configure.in: Added Lithuanian to ALL_LINGUAS.
13918
13919 2005-12-21  Dan Williams  <dcbw@redhat.com>
13920
13921         * test/libnm-util
13922                 - Add some testcases for WEP ciphers
13923
13924 2005-12-17  Dan Williams  <dcbw@redhat.com>
13925
13926         * Fix bugs
13927
13928 2005-12-17  Dan Williams  <dcbw@redhat.com>
13929
13930         * include/NetworkManager.h
13931                 - Finally kill NMEncKeyType
13932
13933         * gnome/applet/applet-dbus-info.c
13934                 - (nmi_save_network_info): convert to NMGConfWSO
13935
13936         * gnome/applet/nm-gconf-wso-*.c
13937                 - Implement gconf serialization functions
13938
13939         * src/NetworkManagerPolicy.c
13940                 - (nm_policy_activation_finish): fix up meaning of
13941                         automatic/user_requested
13942
13943 2005-12-17  Dan Williams  <dcbw@redhat.com>
13944
13945         * gnome/applet/*
13946                 - More applet cleanups
13947                 - Use the dbus-method-dispatcher
13948
13949         * libnm-util/dbus-method-dispatcher.[ch]
13950                 - Generalize the implementation from NM in
13951                         NetworkManagerUtils.c
13952
13953 2005-12-16  Dan Williams  <dcbw@redhat.com>
13954
13955         * gnome/applet/*
13956                 - Fix up the passphrase dialog to use all the
13957                         WirelessSecurityOption stuff (untested)
13958
13959 2005-12-16  Dan Williams  <dcbw@redhat.com>
13960
13961         * Move nm_gconf_get_*_helper() functions to separate files,
13962                 gconf-helpers.c & gconf-helpers.h
13963
13964         * New NMGConfWSO objects for managing the gconf side of things.
13965                 Eventually these should be merged with the
13966                 WirelessSecurityOption objects and a common base (that can
13967                 serialize/deserialize from dbus & gconf) should be
13968                 refactored out, but for now they are separate.
13969
13970 2005-12-16  Robert Love  <rml@novell.com>
13971
13972         * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
13973           binaries unless they exist (nm_spawn_process() emits a warning if
13974           asked to spawn a non-existant process).
13975
13976 2005-12-16  Dan Williams  <dcbw@redhat.com>
13977
13978         * gnome/applet/applet-dbus-info.c
13979                 - Clean up lots of gconf-related code
13980
13981 2005-12-16  Robert Love  <rml@novell.com>
13982
13983         * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
13984
13985 2005-12-16  Dan Williams  <dcbw@redhat.com>
13986
13987         * nm_device_set_enc_key -> nm_device_set_wep_enc_key
13988
13989         * Fix up NM -> NMI get-user-key dbus calls in NM (applet
13990                 bits still to be done)
13991
13992 2005-12-16  Dan Williams  <dcbw@redhat.com>
13993
13994         * Finally move info-daemon related stuff out of
13995                 NetworkManagerDbus.c to nm-dbus-nmi.c
13996
13997 2005-12-16  Dan Williams  <dcbw@redhat.com>
13998
13999         * Kill auth_method for access points, since that's now done
14000                 by NMAPSecurity objects
14001
14002         * Add a copy-constructor of sorts to NMAPSecurity
14003                 (how do you do this properly in glib???)
14004
14005 2005-12-15  Dan Williams  <dcbw@redhat.com>
14006
14007         * Exorcise encryption key hashing on APs
14008         * Use libnm-util's serialization/deserialization in both the
14009                 applet and NM
14010         * Random other stuff
14011
14012 2005-12-15  Robert Love  <rml@novell.com>
14013
14014         * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14015           is being added to the icon naming spec, so let's use that (Tango CVS
14016           has the icon).  Because it is new, however, we fall back to the
14017           current "gnome-lockscreen" if the new icon is not around, thus
14018           behavior is the same.
14019         * gnome/applet/applet.c: Remove setup_stock().  We do not need the
14020           factory junk.
14021
14022 2005-12-15  Robert Love  <rml@novell.com>
14023
14024         * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14025           well, help to give.  Couple other misc. bits.
14026
14027 2005-12-15  Dan Williams  <dcbw@redhat.com>
14028
14029         * libnm-util/dbus-helpers.[ch]
14030                 - Make this the one-stop-shop for serializing/deserializing
14031                         AP & connection security settings over dbus.  Both NM
14032                         and applets should use this to ensure consistent dbus
14033                         API going forwared.
14034
14035 2005-12-15  Robert Love  <rml@novell.com>
14036
14037         Patch by Timo Hoenig  <thoenig@suse.de>:
14038         * src/NetworkManagerDbus.c
14039                 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14040                         if HAL jumps off the system bus.  Otherwise libdbus
14041                         (dbus_connection_dispatch) will try to run the filter
14042                         function of our libhal context which is already freed.
14043
14044 2005-12-15  Alexander Shopov  <ash@contact.bg>
14045
14046         * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14047
14048 2005-12-14  Dan Williams  <dcbw@redhat.com>
14049
14050         * include/NetworkManager.h
14051           src/NetworkManagerWireless.c
14052                 - Rearrange 802.11 wireless-specific capabilities again
14053
14054         * src/Makefile.am
14055                 - Forgot to add wpa.c/wpa.h to the makefiles
14056
14057         * src/NetworkManagerAP.[ch]
14058                 - Implement access point capabilities and parse the
14059                         WPA/RSN IEs into the capability bitfield
14060                 - Switch the "encrypted" attribute to utilize the bitfield
14061                         and capabilities rather than being independent
14062
14063         * src/NetworkManagerDevice.c
14064                 - (nm_device_wireless_get_activation_ap): break it horribly
14065                         until we can push NMAPSecurity objects into access point
14066                         objects and through the activation chain
14067                 - Stuff WPA & RSN IEs into AP capabilities
14068
14069         * src/nm-dbus-nm.c
14070                 - Take a shot at actually making setActiveDevice work
14071
14072         * src/wpa.[ch]
14073                 - Make the API a bit saner
14074
14075 2005-12-14  Dan Williams  <dcbw@redhat.com>
14076
14077         * include/NetworkManager.h
14078                 - Add 802.11-specific capability for 802.1x key
14079                         management
14080
14081         * src/wpa.[ch]
14082                 - Pull in WPA IE and RSN IE parsing code from
14083                         wpa_supplicant so we can determine access point
14084                         capabilities
14085                 - Move WPA-related constants here from NetworkManagerAP.h
14086                         and NetworkManagerDevice.c
14087
14088         * src/NetworkManagerDevice.c
14089           src/NetworkManagerAP.[ch]
14090                 - Use WPA-related constants from wpa.h
14091
14092 2005-12-14  Dan Williams  <dcbw@redhat.com>
14093
14094         * include/NetworkManager.h
14095                 - Update and split 802.11 wireless-specific capabilities from
14096                         generic device capabilities
14097
14098         * src/NetworkManagerDevice.c
14099           src/NetworkManagerDevicePrivate.h
14100                 - (nm_device_wireless_discover_capabilities): Move 802.11
14101                         wireless-specific capability checks to
14102                         NetworkManagerWireless.c
14103                 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14104                 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14105
14106         * src/NetworkManagerWireless.[ch]
14107                 - (nm_802_11_wireless_discover_capabilities): Check extended
14108                         802.11 wireless-specific capabilities of the driver
14109
14110 2005-12-14  Robert Love  <rml@novell.com>
14111
14112         Patch from Stefan Scheler <sscheler@suse.de>:
14113         * src/NetworkManagerDevice.c: call backend code to activate and
14114           deactivate NIS.
14115         * src/NetworkManagerSystem.h: add new NIS interfaces.
14116         * src/backends/NetworkManagerDebian.c,
14117           src/backends/NetworkManagerGentoo.c,
14118           src/backends/NetworkManagerRedHat.c,
14119           src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14120           support.
14121         * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14122
14123 2005-12-14  Dan Williams  <dcbw@redhat.com>
14124
14125         * src/nm-ap-security*.[ch]
14126                 - Add AP security abstractions to NetworkManager
14127
14128         * src/nm-dbus-device.c
14129                 - Begin to parse new format dbus messages from the applet
14130                         and construct an AP security object from the message
14131
14132         * libnm-util/dbus-helpers.c
14133                 - Use message iters so we can append the key as a fixed
14134                         array of bytes, which actually works rather than
14135                         using dbus_message_append_args() as we were before
14136
14137 2005-12-14  Dan Williams  <dcbw@redhat.com>
14138
14139         * src/NetworkManagerDbus.c
14140           gnome/applet/applet-dbus.c
14141                 - Fix up dbus service replacement options.  The applet
14142                         should allow replacement, NM itself should not.
14143
14144 2005-12-13  Robert Love  <rml@novell.com>
14145
14146         * src/named-manager/nm-named-manager.c: Revert earlier commit.
14147           Instead, fail silently if config is NULL by not asserting and not
14148           returning FALSE.  Also, make sure we always fclose() the file.
14149
14150 2005-12-13  Robert Love  <rml@novell.com>
14151
14152         Patch by Stefan Scheler <sscheler@suse.de>:
14153         *  src/nm-ip4-config.h, src/nm-ip4-config.c,
14154            src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14155            via DHCP.  Still need the backends to commit the NIS domain name and
14156            and servers to yp.conf as needed.
14157
14158 2005-12-13  Robert Love  <rml@novell.com>
14159
14160         * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14161           nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14162
14163 2005-12-13  Robert Love  <rml@novell.com>
14164
14165         * src/named-manager/nm-named-manager.c: Don't unref the config until
14166           after we call rewrite_resolv_conf(), because get_last_default_domain()
14167           needs to access the config.  Fixes "rewrite_resolv_conf: assertion
14168           `config != NULL' failed" assertion failures and "Could not commit DNS
14169           changes" warnings.
14170
14171 2005-12-12  Dan Williams  <dcbw@redhat.com>
14172
14173         * libnm-util/dbus-helpers.[ch]
14174           libnm-util/Makefile.am
14175                 - new helper calls to consolidate locations where
14176                         NM's setDevice method is called
14177
14178         * gnome/applet/applet-dbus-devices.c
14179           gnome/applet/wireless-security-option.c
14180           gnome/applet/wso-*
14181                 - Implement dbus message param append function for
14182                         all wireless security options
14183
14184 2005-12-12  Robert Love  <rml@novell.com>
14185
14186         * libnm-util/cipher-wep-passphrase.c,
14187           libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14188           src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14189           src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14190           all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14191           When handling keys, we don't care what the sign is.  The compiler
14192           guarantees us that we get our 8-bits, which is all we care about.
14193         * configure.in: Remove "-Wno-pointer-sign" flag.  We are sign-aware!
14194
14195 2005-12-12  Dan Williams  <dcbw@redhat.com>
14196
14197         * gnome/applet/applet-dbus-devices.[ch]
14198           gnome/applet/applet.c
14199           gnome/applet/other-network-dialog.c
14200           gnome/applet/wireless-security-manager.[ch]
14201           gnome/applet/wireless-security-option.[ch]
14202           gnome/applet/wso-*
14203                 - Push the wireless security options further into the applet
14204
14205 2005-12-12  Robert Love  <rml@novell.com>
14206
14207         * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14208           return any name servers.  That is perfectly valid.  (Novell #134369).
14209
14210 2005-12-11  Dan Williams  <dcbw@redhat.com>
14211
14212         * gnome/applet/wso-*
14213           gnome/applet/wireless-security-option.*
14214           gnome/applet/Makefile.am
14215                 - split each security option out so we can eventually
14216                         have each one build up their own dbus message
14217                         arguments to send to NM
14218
14219 2005-12-11  Dan Williams  <dcbw@redhat.com>
14220
14221         * Make validation of the key work correctly
14222
14223 2005-12-11  Dan Williams  <dcbw@redhat.com>
14224
14225         * Hook more bits of the Other Network Dialog up to the
14226                 wireless security manager stuff, and restructure
14227                 bits of the dialog so there's less code.
14228
14229 2005-12-10  Dan Williams  <dcbw@redhat.com>
14230
14231         * gnome/applet/Makefile.am
14232                 - Add libnm-util to includes
14233                 - Add libnm-util to link list
14234                 - Add wireless-security-common.* to compile list
14235
14236         * gnome/applet/other-network-dialog.c
14237                 - Convert to using the WirelessSecurityManager code and
14238                         widgets
14239
14240         * gnome/applet/passphrase-dialog.c
14241                 - Comment out references to stuff in the glade file that
14242                         cause runtime errors until it can be fixed up
14243                         to use the WirelessSecurityManager code
14244
14245         * gnome/applet/wireless-applet.glade
14246                 - Rename some widgets
14247                 - Add widgets for the WirelessSecurityManager code
14248                 - Remove passphrase-related stuff since that's now
14249                         handled by the WirelessSecurityManager code
14250
14251 2005-12-10  Dan Williams  <dcbw@redhat.com>
14252
14253         * gnome/applet/applet-dbus-devices.c
14254                 - Print out error message details for dbus pending call callbacks
14255                 - Move nmwa_dbus_update_devices() up
14256
14257         * gnome/applet/applet-dbus-vpn.c
14258                 - Print out error message details for dbus pending call callbacks
14259
14260 2005-12-10  Dan Williams  <dcbw@redhat.com>
14261
14262         * libnm-util/*
14263                 - More fixups
14264                 - Remove cipher-manager.* because we don't need it
14265                 - Forgot to add gnome-keyring-md5 files to compile list
14266
14267 2005-12-09  Dan Williams  <dcbw@redhat.com>
14268
14269         * libnm-util/*
14270           configure.in
14271           Makefile.am
14272                 - Add a utility library for clients of NetworkManager.  It's
14273                         only targetted at applets for the moment, and contains
14274                         a generalized 802.11 cipher framework for different
14275                         types of keys (WEP & WPA Hex, ASCII, Passphrase)
14276
14277 2005-12-09  Robert Love  <rml@novell.com>
14278
14279         * src/NetworkManagerDevice.c: handle error better in
14280           nm_device_set_mode().
14281
14282 2005-12-08  Robert Love  <rml@novell.com>
14283
14284         * include/NetworkManager.h: add WPA capabilities constants
14285         * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14286           or WPA2 and add the capabilities bits as appropriate.
14287
14288 2005-12-08  Robert Love  <rml@novell.com>
14289
14290         * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14291           NetworkManagerDispatcher.
14292         * configure.in, initscript/SUSE/.cvsignore,
14293           initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14294           initscript.
14295
14296 2005-12-08  Robert Love  <rml@novell.com>
14297
14298         * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14299
14300 2005-12-08  Robert Love  <rml@novell.com>
14301
14302         * src/NetworkManagerDevice.c: We want to fall back on and default to
14303           IW_MODE_AUTO, not -1, which is more in line with our previous
14304           behavior.  Otherwise, we try to set the wireless mode to -1 in
14305           nm_device_set_mode().
14306
14307 2005-12-07  Robert Love  <rml@novell.com>
14308
14309         * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14310           src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14311           src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14312           src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14313           src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14314           wireless-tools constants directly.  UNKNOWN is now -1 and NONE is
14315           zero.
14316
14317 2005-12-07  Robert Love  <rml@novell.com>
14318
14319         * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14320           supplied IP is invalid, fall back to DHCP.
14321
14322 2005-12-07  Dan Williams  <dcbw@redhat.com>
14323
14324         * Convert NETWORK_MODE_* constants to IW_MODE_*
14325         * Make all the get_mode/set_mode functions take and return 'int'
14326         * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14327
14328 2005-12-07  Robert Love  <rml@novell.com>
14329
14330         * src/NetworkManagerDevice.c: strncpy() buffer check.
14331         * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14332
14333 2005-12-06  Dan Williams  <dcbw@redhat.com>
14334
14335         * gnome/applet/applet-dbus.c
14336                 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14337
14338         * gnome/applet/applet-dbus-vpn.c
14339                 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14340                 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14341                         to TRUE here if stage was ACTIVATED
14342
14343 2005-12-06  Dan Williams  <dcbw@redhat.com>
14344
14345         * Change nm_device_is_* functions to better names:
14346                 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14347                 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14348
14349 2005-12-06  Dan Williams  <dcbw@redhat.com>
14350
14351         * Change naming of NMDeviceType to something more sensible:
14352                 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14353                 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14354                 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14355
14356 2005-12-06  Dan Williams  <dcbw@redhat.com>
14357
14358         * Move NetworkManager.h -> include/NetworkManager.h
14359         * Split out VPN stuff into include/NetworkManagerVPN.h
14360         * Fix up makefiles to include new location
14361         * Fix up sources to include NetworkManagerVPN.h
14362
14363 2005-12-06  Dan Williams  <dcbw@redhat.com>
14364
14365         Various changes in the applet to move VPN connection "state" -> "stage",
14366         which it actually is.  I'd like to change the signal as well when we
14367         break compat in the near future.
14368
14369 2005-12-06  Dan Williams  <dcbw@redhat.com>
14370
14371         Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14372         * initscript/Slackware/rc.networkmanager
14373                 - Cosmetic fix
14374
14375         * src/backends/NetworkManagerSlackware.c
14376                 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14377                         interfaces
14378
14379 2005-12-05  Robert Love  <rml@novell.com>
14380
14381         * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14382           to free, particularly here as it just barfs.
14383
14384 2005-12-05  Dan Williams  <dcbw@redhat.com>
14385
14386         * gnome/applet/applet-dbus.c
14387                 - Work with dbus 0.6 too
14388
14389 2005-12-03  Dan Williams  <dcbw@redhat.com>
14390
14391         * src/NetworkManagerUtils.[ch]
14392           src/nm-ip4-config.c
14393                 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14394                 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14395
14396 2005-12-01  Robert Love  <rml@novell.com>
14397
14398         * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14399           need a NULL for the '...' parameter, too, to fill the so-called
14400           sentinel.
14401
14402 2005-12-01  Robert Love  <rml@novell.com>
14403
14404         * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14405           interface is already gone, so don't call rtnl_link_change() to down
14406           it (which will segfault, anyhow).
14407
14408 2005-11-22  Robert Love  <rml@novell.com>
14409
14410         * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14411           gateway is not set, just print a little note.  Configurations without
14412           gateways are valid.
14413
14414 2005-11-22  Robert Love  <rml@novell.com>
14415
14416         * README: update
14417
14418 2005-11-20  Ilkka Tuohela  <hile@iki.fi>
14419
14420         * configure.in: Added Finnish translation to ALL_LINGUAS
14421
14422 2005-11-14  Robert Love  <rml@novell.com>
14423
14424         * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14425           Niemueller <tim@niemueller.de>.
14426
14427 2005-11-08  Dan Williams  <dcbw@redhat.com>
14428
14429         Patch from Bill Moss <bmoss@clemson.edu>
14430         * src/NetworkManagerDevice.c
14431                 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14432                         of nm_policy_schedule_activation_finish() to prevent a
14433                         race condition that causes the link to be dropped
14434
14435 2005-11-08  Dan Williams  <dcbw@redhat.com>
14436
14437         Patch from Bill Moss <bmoss@clemson.edu>
14438         * src/NetworkManagerAPList.c
14439           src/NetworkManagerDevice.c
14440           src/NetworkManagerDbus.c
14441                 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14442                         we get more readable ether/mac addresses
14443
14444 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14445
14446         * gnome/applet/main.c: Don't set the restart command.  This fixes
14447         the issue where the restart command was getting copies of all its
14448         arguments for each time the applet was restarted.
14449
14450 2005-11-02  Robert Love  <rml@novell.com>
14451
14452         * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14453           if the widget state differs from our saved state.  This ensures we
14454           do not enter an endless loop of death and destruction.  Also, this
14455           guarantees us that we enforce the widget state.
14456
14457 2005-11-02  Robert Love  <rml@novell.com>
14458
14459         * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14460         * gnome/applet/applet-dbus-devices.c: invoke the new function
14461           nmwa_enable_wireless_set_active() to ensure that the state of the
14462           'Enable Wireless' checkbox matches the daemon's state.  This is a
14463           concern because the daemon remembers the state.
14464
14465 2005-11-02  Robert Love  <rml@novell.com>
14466
14467         * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14468           Enabled", as checkboxes should be actions/commands not positive
14469           statements, otherwise they are confusing in the unselected case.  See
14470           examples in GNOME HIG, Chapter 6.
14471
14472 2005-11-02  Robert Love  <rml@novell.com>
14473
14474         * gnome/applet/applet.c: When wireless is disabled, act it.  Do not
14475           show a list of wireless networks or the wireless devices or the
14476           "Create Wireless ..." menus.  Aside from this cosmetics, this fixes
14477           a bad bug: If wireless is disabled and the user picks a wireless
14478           network, NM will switch to the network, only to immediately switch
14479           back, as wireless is disabled.  This also reassures people that NM
14480           is not scanning (it is not -- I verified).  Fixes Novell bug #130041.
14481
14482 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14483
14484         * gnome/applet/applet.c:
14485         * gnome/applet/applet.h:
14486         Partial backout of Dan's timeout animation patch.
14487         Timeout IDs cannot legally be 0, so revert the code in place to handle
14488         a timeout ID of 0 to denote the timeout isn't running.
14489
14490 2005-11-02  Christopher Aillon  <caillon@redhat.com>
14491
14492         * src/NetworkManagerPolicy.c:
14493         (nm_policy_device_change_check) Clarify wireless switch nm_info text
14494
14495 2005-10-28  Robert Love  <rml@novell.com>
14496
14497         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14498           "Import Saved Configuration..." to make it clear that importing is
14499           not the next step, but an option.  As an aside, a nice TODO would be
14500           to move Importing out of the vpn-specific dialog and into the main
14501           property editor, as Importing goes with Adding, but that will require
14502           some rearchitecting of the VPN stuff I suspect.
14503
14504 2005-10-27  Dan Williams  <dcbw@redhat.com>
14505
14506         Start using libnl.  You need 1.0-pre3 or higher.  Eventually
14507         we should replace most of the distro-specific backend code
14508         with libnl stuff.
14509
14510         Get it here:  http://people.suug.ch/~tgr/libnl/
14511
14512         * configure.in
14513           src/Makefile.am
14514                 - Add checks for libnl pkgconfig file
14515                 - Use LIBNL_LIBS & LIBNL_CFLAGS
14516
14517         * src/NetworkManagerSystem.c
14518           src/nm-ip4-config.[ch]
14519                 - Use libnl rather than ioctl() for most things
14520                 - Remove unused functions
14521
14522 2005-10-27  Robert Love  <rml@novell.com>
14523
14524         * src/backends/NetworkManagerSuSE.c: fix warning message text
14525
14526 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14527
14528         * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14529
14530 2005-10-27  Christopher Aillon  <caillon@redhat.com>
14531
14532         * gnome/applet/applet.c: The applet's about dialog can advertise our 
14533         project page <http://www.gnome.org/projects/NetworkManager/>
14534
14535 2005-10-26  Christopher Aillon  <caillon@redhat.com>
14536
14537         * gnome/applet.c: Also use translator credits if we don't have
14538         the new GtkAboutDialog (older versions of GTK+)
14539
14540 2005-10-26  Robert Love  <rml@novell.com>
14541
14542         * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14543           failure; correct usage text for "--no-daemon"
14544
14545 2005-10-25  Dan Williams  <dcbw@redhat.com>
14546
14547         * src/NetworkManagerDevice.c
14548                 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14549                         no scan results
14550                 - (free_process_scan_cb_data): unref the device when freeing results
14551                 - (nm_device_wireless_process_scan_results): free scan results a bit later
14552                         so we don't unref the device underneath ourselves
14553
14554 2005-10-25  Dan Williams  <dcbw@redhat.com>
14555
14556         * Back out 2005-10-24 commit from Tor Krill.  Patch
14557                 causes nameservers never to be removed from named.
14558
14559 2005-10-24  Dan Williams  <dcbw@redhat.com>
14560
14561         Clean up wireless scanning and wireless link probing.
14562
14563         * src/NetworkManagerDevice.c
14564                 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14565                         just see if there's an activation request on the device, and check the
14566                         current link against the activation request access point's ESSID.
14567                 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14568                 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14569                         don't call process_scan_results() on zero-length data
14570                 - (nm_device_set_wireless_scan_interval): increase the init scan interval to 
14571                         15 seconds (from 10)
14572
14573 2005-10-24  Dan Williams  <dcbw@redhat.com>
14574
14575         Cleanup some applet stuff:
14576
14577         - Animation timeouts.  If NM died while the applet was animating,
14578                 the applet would not hide itself.  This is now fixed.
14579
14580         - Remove some dead code
14581
14582         - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14583                 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14584
14585         - Track animation timeout using a gboolean rather than the timeout's
14586                 ID, since timeout IDs can legally be 0.
14587
14588 2005-10-24  Dan Williams  <dcbw@redhat.com>
14589
14590         * src/backends/interface_parser.c
14591                 - Add void to function declarations that need it
14592                         to match patch from Engin AYDOGAN
14593
14594         * src/backends/interface_parser.h
14595                 - Remove unused prototype for ifparser_interfaces()
14596
14597         Patch from Engin AYDOGAN <engin@bzzzt.biz>
14598         * src/backends/interface_parser.h:
14599                 - Compile fixes for gcc 4.0.2 (add void)
14600
14601 2005-10-24  Dan Williams  <dcbw@redhat.com>
14602
14603         Patch from Tor Krill <tor@krill.nu>
14604         * src/named-manager/nm-named-manager.c
14605                 - Write more than just the first nameserver to /etc/resolv.conf
14606                 - Write out valid /etc/resolv.conf on exit
14607
14608 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14609
14610         * gnome/applet/applet-dbus-vpn.c:
14611         Get rid of spurious newlines in debug console output
14612
14613 2005-10-21  Christopher Aillon  <caillon@redhat.com>
14614
14615         * src/backends/NetworkManagerGentoo.c:
14616         Fix path to killall.  Patch from Dave Shanker <dshanker@gmail.com>
14617
14618 2005-10-20  Robert Love  <rml@novell.com>
14619
14620         * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14621           direct comparison of floating point values, which is never correct.
14622           Also some misc. cleanup.
14623
14624 2005-10-19  Robert Love  <rml@novell.com>
14625
14626         * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14627
14628 2005-10-19  Robert Love  <rml@novell.com>
14629
14630         * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14631           sensitivity of the buttons.  Specificaly, do the right thing if
14632           there are no entries.
14633
14634 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14635
14636         * configure.in: Update check for adequate wireless-tools
14637         with an AC_TRY_COMPILE for the new symbols we use.
14638
14639 2005-10-19  Dan Williams  <dcbw@redhat.com>
14640
14641         * src/NetworkManagerDevice.c
14642                 - (process_scan_results): don't drop the last (or only)
14643                         access point we see
14644
14645 2005-10-19  Christopher Aillon  <caillon@redhat.com>
14646
14647         * src/backends/NetworkManagerSlackware.c:
14648         Patch from Nico <lordllucifer@gmail.com>
14649                 - Update the Slackware backend.
14650
14651 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14652
14653         * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14654         if we've got GLib 2.8.0
14655
14656 2005-10-18  Robert Love  <rml@novell.com>
14657
14658         * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14659           function nm_schedule_state_change_signal_broadcast() when we
14660           deactivate a device, too.
14661
14662 2005-10-18  Robert Love  <rml@novell.com>
14663
14664         * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14665           be used uninitialized.
14666
14667 2005-10-18  Christopher Aillon  <caillon@redhat.com>
14668
14669         * test/libnm_glib_test.c: Test unregistering, too.
14670
14671 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14672
14673         * configure.in: Bump to 0.5.0
14674
14675 2005-10-17  Dan Williams  <dcbw@redhat.com>
14676
14677         * NetworkManager.h
14678                 - Remove WPA-related constants so they aren't part of the
14679                         upcoming release.
14680
14681 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14682
14683         * gnome/applet/applet.c:
14684         * gnome/applet/applet.h:
14685         Desensitize the 'Connection Information' menu item when there is
14686         no active connection.
14687
14688 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14689
14690         * gnome/libnm_glib/libnm_glib.c:
14691         Make libnm_glib_unregister_callback () actually unregister the callback
14692
14693 2005-10-17  Robert Love  <rml@novell.com>
14694
14695         * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14696           two seconds -- tries is updated every 1/10 of a second, not every
14697           second..
14698
14699 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14700
14701         * gnome/applet/applet-dbus-info.c:
14702         Let D-BUS know that we haven't handled a message when we haven't.
14703
14704 2005-10-17  Robert Love  <rml@novell.com>
14705
14706         * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14707           in order to remain 64-bit clean.
14708
14709 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14710
14711         * gnome/applet/applet-dbus-info.c:
14712         Find network encryption keys asynchronously
14713
14714 2005-10-17  Robert Love  <rml@novell.com>
14715
14716         * src/backends/NetworkManagerDebian.c,
14717           src/backends/NetworkManagerRedHat,
14718           src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14719           comment delimiter.
14720
14721 2005-10-17  Robert Love  <rml@novell.com>
14722
14723         * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14724           "/etc"
14725
14726 2005-10-17  Christopher Aillon  <caillon@redhat.com>
14727
14728         * src/NetworkManagerDevice.c: (process_scan_results)
14729         Fix logic that checks to see whether we have an ESSID.
14730
14731 2005-10-15  Dan Williams  <dcbw@redhat.com>
14732
14733         Move scanning code into NetworkManager rather than use iwlib's
14734         iw_scan() function, so that we can figure out AP capabilities.
14735
14736         * NetworkManager.h
14737                 - Add AP capability bits
14738
14739         * src/NetworkManagerAP.[ch]
14740                 - Add capability field to NMAccessPoint structure
14741                 - Add WPA & RSN Information Element fields and accessor
14742                         functions to NMAccessPoint
14743
14744         * src/NetworkManagerDevice.c
14745                 - Remove usage of iw_scan
14746                 - Add scanning code to NetworkManager rather than use
14747                         iw_scan() from iwlib
14748
14749         * src/NetworkManagerUtils.[ch]
14750                 - (nm_dispose_scan_results): remove, unused
14751
14752 2005-10-14  Christopher Aillon  <caillon@redhat.com>
14753
14754         * gnome/libnm_glib/libnm_glib.c:
14755         * gnome/libnm_glib/libnm_glib.h:
14756         Use guint instead of gint for callback IDs.
14757
14758 2005-10-12  Christopher Aillon  <caillon@redhat.com>
14759
14760         * gnome/applet/applet.c:
14761         Fix icon animation smoothness issues.  nmwa_redraw_timeout gets called
14762         every 1000ms.  It will unconditionally call nmwa_update_state which
14763         kills the existing animation timeout and registers a new one with a
14764         callback to draw a new frame every 100ms.  There are 11 connecting
14765         icon frames, so the last 2 frames kept getting dropped.  Only reset
14766         the animation timeout if we aren't animating.
14767
14768 2005-10-11  Dan Williams  <dcbw@redhat.com>
14769
14770         * gnome/applet/applet-dbus-devices.c
14771                 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14772                         We want to grab the product & vendor from net.physical_dev
14773                         rather than info.parent.
14774
14775 2005-10-11  Dan Williams  <dcbw@redhat.com>
14776
14777         * src/NetworkManagerDevice.c
14778                 - Use the driver's WE version for scanning rather than
14779                         the WE version NM was compiled with.  Fixes random
14780                         crashes in iw_scan () in iwlib.
14781
14782 2005-10-10  Dan Williams  <dcbw@redhat.com>
14783
14784         * Remove nm_system_load_device_modules() from backend files
14785                 and from NetworkManager.c
14786
14787 2005-10-10  Dan Williams  <dcbw@redhat.com>
14788
14789         * src/NetworkManagerPolicy.c
14790                 - Fix some bugs introduced by the capabilities patch
14791
14792 2005-10-10  Dan Williams  <dcbw@redhat.com>
14793
14794         * gnome/applet/applet-dbus-info.c
14795                 - (nmi_dbus_get_network_key): hide the menu when putting up
14796                         the keyring dialog.  (not sure if the code is right...)
14797
14798 2005-10-09  Dan Williams  <dcbw@redhat.com>
14799
14800         Patch from Bill Moss <bmoss@clemson.edu>
14801         * src/NetworkManagerDevice.c
14802                 - (nm_device_set_user_key_for_network): don't try to set auth
14803                         mode on the AP from the allowed list if it's NULL
14804
14805 2005-10-09  Dan Williams  <dcbw@redhat.com>
14806
14807         * Replace the "driver support level" stuff with capabilities.  The
14808                 capability field is a bitfield that is more flexible than the
14809                 old driver support level thing.  It's mostly so we can easily
14810                 figure out what supports WPA and what doesn't, but should be
14811                 quite useful later.
14812
14813 2005-10-09  Dan Williams  <dcbw@redhat.com>
14814
14815         * test/nmtest.c
14816                 - Removed
14817
14818         * test/nm-tool.c
14819           test/Makefile.am
14820                 - Added new "nm-tool" tool that gives quite a bit more
14821                         information
14822
14823 2005-10-07  Robert Love  <rml@novell.com>
14824
14825         * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14826           gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14827           src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14828           test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14829           appropriate
14830
14831 2005-10-07  Robert Love  <rml@novell.com>
14832
14833         * configure.in: Change our compile flags for the betterment of mankind.
14834           Add "-Wstrict-prototypes" because we comply anyhow and missing a
14835           prototype is very bad on 64-bit platforms as types default to int but
14836           sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14837           "-Wmissing-declarations" to warn if we define an exported function
14838           but fail to put it in a header.
14839
14840 2005-10-07  Robert Love  <rml@novell.com>
14841
14842         * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14843           by the name nm_update_device_wireless_timeouts() and once tried,
14844           without success, to steal my pet turtle.
14845
14846 2005-10-07  Robert Love  <rml@novell.com>
14847
14848         * Cleanup prototypes: put some functions in header files and mark
14849           others as 'static' -- feel free to invert
14850         * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14851           nm_vpn_manager_vpn_connection_list_copy()
14852         * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14853           nm_vpn_service_get_dbus_connection()
14854         * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14855           nm_vpn_manager_vpn_connection_list_copy()
14856         * src/vpn-manager/nm-vpn-service.c: make
14857           nm_vpn_service_act_request_failed() and
14858           nm_vpn_service_stage2_daemon_wait() static
14859         * src/vpn-manager/nm-vpn-service.h: add prototype for
14860           nm_vpn_service_get_dbus_connection()
14861
14862 2005-10-06  Christopher Aillon  <caillon@redhat.com>
14863
14864         * gnome/applet/applet.c:
14865         * gnome/applet/applet.h:
14866         * gnome/applet/icons/Makefile.am:
14867         Convey information about the current connection stage in the
14868         icons themselves instead of creating a separate progress bar.
14869
14870 2005-10-04  Robert Love  <rml@novell.com>
14871
14872         * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
14873           convert an ether_addr structure's MAC into a string, because the
14874           latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
14875           versus 07:3B:04, while the former will not.
14876
14877 2005-10-04  Robert Love  <rml@novell.com>
14878
14879         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14880           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14881           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14882           default route in the 'Connection Information' dialog, send primary
14883           and secondary name servers in in "getProperties" DBUS method, add
14884           network_device_{get,set}_{primary,secondary}_dns(),  The primary and
14885           secondary domain name servers are crucial pieces of information
14886           that a user might need in debugging a network problem.
14887
14888 2005-10-04  Robert Love  <rml@novell.com>
14889
14890         * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14891           gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14892           gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14893           default route in the 'Connection Information' dialog, send default
14894           route in "getProperties" DBUS method, add network_device_set_route(),
14895           and network_device_get_route().  The Gateway is a crucial piece of
14896           connection-related information that a user might need in debugging a
14897           network problem.
14898
14899 2005-10-03  Robert Love  <rml@novell.com>
14900
14901         * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
14902           NULL.
14903
14904 2005-10-02  Dan Williams  <dcbw@redhat.com>
14905
14906         * Shorten time taken to sleep by fastpathing bits of device deactivation
14907                 necessary for sleep.
14908
14909         * Fix issue where deactivating a device might deactivate the active
14910                 VPN connection, even if the VPN was not using the device.
14911
14912 2005-10-02  Dan Williams  <dcbw@redhat.com>
14913
14914         * gnome/applet/applet.c
14915                 - Adjust signal strength -> icon mapping values slightly
14916                         (so that 51% signal doesn't show a 75% icon) by adding
14917                         5% to the values. ex: > 5% now shows 25% icon, > 30%
14918                         shows 50% icon, etc.
14919
14920 2005-09-29  Robert Love  <rml@novell.com>
14921
14922         * src/NetworkManager.c: removed unused variable.
14923
14924 2005-09-28  Dan Williams  <dcbw@redhat.com>
14925
14926         Support for named + DBus, using Red Hat DBus patches for named.  You
14927         can find those patches here, with "dbus" in the patch's filename:
14928
14929                 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
14930
14931         Don't forget the named dbus service file either.
14932
14933         Instead of writing a config file and spawing a named process, NM will
14934         use an already-running dbus-enabled named if it finds one.  NM will
14935         update named's forwarder configuration on the fly using dbus.
14936
14937         If there is no dbus-enabled named running, NM will automatically fall
14938         back to writing the most-recent DNS server information to /etc/resolv.conf
14939         and calling nm_system_update_dns() to kick the system's resolver.
14940
14941         Accordingly, all named-related configure-time options have been removed.
14942
14943 2005-09-26  Robert Love  <rml@novell.com>
14944
14945         * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
14946           ISDN support!
14947         * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
14948           bug in error path if "ASKPASSWORD" is "no".
14949
14950 2005-09-26  Robert Love  <rml@novell.com>
14951
14952         * src/named-manager/nm-named-manager.c: only '#' is officially a valid
14953           comment in /etc/resolv.conf -- ';' is not.
14954
14955 2005-09-19  Dan Williams  <dcbw@redhat.com>
14956
14957         * src/backends/NetworkManagerRedHat.c:
14958         * src/backends/NetworkManagerDebian.c:
14959         * src/backends/NetworkManagerSlackware.c:
14960         * src/backends/NetworkManagerGentoo.c:
14961         * src/backends/NetworkManagerSUSE.c:
14962         Fix invocations of "/sbin/ip address" to use short form instead
14963
14964 2005-09-19  Christopher Aillon  <caillon@redhat.com>
14965
14966         * src/nm-dbus-device.c: Don't assert when getting
14967         addresses of a not yet connected interface.
14968
14969         * gnome/applet/applet.c: Free icons if loading fails.
14970         Use translator-credits so translators can make themselves known.
14971
14972 2005-09-15  Christopher Aillon  <caillon@redhat.com>
14973
14974         * src/NetworkManagerAP.c:
14975         * src/NetworkManagerAP.h:
14976         * src/NetworkManagerDevice.c:
14977         Set a blacklist for certain common manufacturer default ESSIDs:
14978         APs with these ESSIDs are extremely likely to be completely
14979         different networks: connecting to one should not make NM
14980         auto-connect to every other AP with the same default ESSID.
14981
14982 2005-09-12  Christopher Aillon  <caillon@redhat.com>
14983
14984         * gnome/applet/wireless-applet.glade:
14985         The passphrase entry should also activate the default
14986
14987         * src/gnome-keyring-md5.c: Updated code from gnome-keyring
14988
14989         * gnome/applet/applet-dbus-devices.c:
14990         * gnome/applet/applet.c:
14991         * gnome/applet/nm-device.c:
14992         * gnome/applet/nm-device.h:
14993         * src/NetworkManagerUtils.c:
14994         * src/NetworkManagerUtils.h:
14995         * src/nm-dbus-device.c:
14996         I've got a fever, and the only cure for it is less ioctl.
14997         Make NM push IP data rather than make the applet open a socket
14998         to the device.
14999
15000 2005-09-10  Christopher Aillon  <caillon@redhat.com>
15001
15002         * gnome/applet/applet.c:
15003         * gnome/applet/applet-dbus-devices.c:
15004         * gnome/applet/applet-dbus-info.c:
15005         * gnome/applet/passphrase-dialog.c:
15006         * gnome/libnm_glib/libnm_glib.c:
15007         * gnome/vpn-properties/nm-vpn-properties.c:
15008         * src/autoip.c:
15009         * src/backends/NetworkManagerRedHat.c:
15010         * src/named-manager/nm-named-manager.c:
15011         * src/NetworkManagerAPList.c:
15012         * src/NetworkManager.c:
15013         * src/NetworkManagerDbus.c:
15014         * src/NetworkManagerDevice.c:
15015         * src/NetworkManagerPolicy.c:
15016         * src/NetworkManagerSystem.c:
15017         * src/nm-dbus-device.c:
15018         * src/nm-dbus-nm.c:
15019         * src/vpn-manager/nm-vpn-manager.c:
15020         * src/vpn-manager/nm-vpn-service.c:
15021         * test/libnm_glib_test.c:
15022         * test/nminfotest.c:
15023         * test/nmtestdevices.c:
15024         Fix a bunch of 'unused variable' compiler warnings
15025
15026         * NetworkManager.h:
15027         * gnome/applet/applet-dbus-info.c:
15028         * gnome/applet/applet-dbus-info.h:
15029         * gnome/applet/applet.c:
15030         * gnome/applet/applet.h:
15031         * src/NetworkManager.c:
15032         * src/NetworkManagerDbus.c:
15033         * src/NetworkManagerDbus.h:
15034         * src/NetworkManagerDevice.c:
15035         * src/NetworkManagerDevice.h:
15036         * src/NetworkManagerMain.h:
15037         * src/NetworkManagerWireless.c:
15038         * src/NetworkManagerWireless.h:
15039         * src/nm-dbus-nm.c:
15040         Make NetworkManager be smart about how frequently to scan
15041         based on its current state.  Remove the UI for choosing when
15042         to scan.  Scanning still may disabled completely by the user
15043         via the "Wireless Enabled" menu item.
15044
15045 2005-09-09  Christopher Aillon  <caillon@redhat.com>
15046
15047         * gnome/applet/applet.c:
15048         Also overlay the vpn connecting icons onto the wired icon,
15049         when appropriate.
15050
15051         * gnome/vpn-properties/nm-vpn-properties.glade:
15052         Clean up a few strings to use better grammar and proper casing.
15053
15054 2005-09-08  Christopher Aillon  <caillon@redhat.com>
15055
15056         * gnome/applet/vpn-connection.c:
15057         * gnome/applet/vpn-connection.h:
15058         Add nmwa_vpn_connection_is_activating ()
15059
15060         * gnome/applet/applet.c:
15061         * gnome/applet/applet.h:
15062         * gnome/applet/icons/nm-vpn-connecting*.png:
15063         Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15064         the user know something's happening between clicking the VPN item and it
15065         actually being connected.
15066
15067 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15068
15069         * gnome/applet/applet-dbus-info.c: need to free attributes in the
15070         failure case as well.
15071
15072 2005-09-07  Rodrigo Moya <rodrigo@novell.com>
15073
15074         * gnome/panel/eggtrayicon.[ch]:
15075         * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15076
15077 2005-09-07  Dan Williams  <dcbw@redhat.com>
15078
15079         Patch from Bill Moss <bmoss@clemson.edu>
15080         * src/applet-dbus.c
15081                 - (nmwa_dbus_filter): strip whitespace from beginning
15082                         and end of VPN login banner
15083
15084 2005-09-07  Dan Williams  <dcbw@redhat.com>
15085
15086         * The great VPN Manager rewrite of 2005
15087
15088 2005-09-07  Christopher Aillon  <caillon@redhat.com>
15089
15090         * gnome/applet/menu-items.c:
15091         * gnome/applet/nm-device.c:
15092         * gnome/applet/wireless-network.c:
15093         * gnome/libnm_glib/libnm_glib.c:
15094         * src/NetworkManagerDbusUtils.c:
15095         * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15096         g_malloc0 doesn't return NULL
15097
15098 2005-09-06  Dan Williams  <dcbw@redhat.com>
15099
15100         Patch from Tomislav Vujec <tvujec@redhat.com>
15101         * src/NetworkManagerDevice.c
15102                 - (nm_get_device_by_udi): don't return a device when we
15103                         actually didn't find what we were looking for
15104
15105 2005-09-06  Christopher Aillon  <caillon@redhat.com>
15106
15107         * gnome/applet/applet-dbus-devices.c:
15108         * gnome/applet/applet-dbus-devices.h:
15109         * gnome/applet/applet-dbus.c:
15110         * src/NetworkManagerDbus.c:
15111         * src/NetworkManagerDbus.h:
15112         * src/NetworkManagerDevice.c:
15113         * src/nm-dbus-device.c:
15114         Make NM push updates about active device strength when it changes,
15115         rather than having the applet poll every 2s.
15116
15117 2005-09-05  Christopher Aillon  <caillon@redhat.com>
15118
15119         * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15120         network_device_set_strength
15121
15122 2005-09-04  Dan Williams  <dcbw@redhat.com>
15123
15124         Patch from Bill Nottingham <notting@redhat.com>
15125         * src/NetworkManagerDevice.c
15126                 - (nm_device_activation_cancel): reset the quit_activation flag
15127
15128 2005-09-04  Dan Williams  <dcbw@redhat.com>
15129
15130         * src/nm-activation-request.c
15131                 - (nm_act_request_unref): actually free the structure,
15132                         which we didn't seem to be doing before
15133
15134 2005-09-04  Dan Williams  <dcbw@redhat.com>
15135
15136         Patch from John Palmieri <johnp@redhat.com>
15137         * gnome/applet/applet-dbus-devices.c
15138                 - Fix up unreffing of DBusMessage objects
15139
15140 2005-09-04  Dan Williams  <dcbw@redhat.com>
15141
15142         Patch from John Palmieri <johnp@redhat.com>
15143         * gnome/applet/nm-device.c
15144                 - (nm_device_unref): clear network_device's memory _before_ freeing it
15145
15146 2005-09-02  Christopher Aillon  <caillon@redhat.com>
15147
15148         * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15149
15150 2005-09-02  Bill Nottingham  <notting@redhat.com>
15151
15152         * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15153
15154 2005-09-01  Dan Williams  <dcbw@redhat.com>
15155
15156         * src/NetworkManager.c
15157                 - (nm_remove_device_from_list): rename to nm_remove_device
15158                 - (nm_hal_device_removed): call nm_remove_device()
15159
15160         * src/NetworkManagerDevice.c
15161                 - Change the NMWirelessScanCB member 'reschedule' which
15162                         wasn't used to 'force' to indicate that we need to
15163                         force a scan when adding a device
15164
15165         * src/nm-dbus-nm.c
15166                 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15167                         from the device list
15168                 - (nm_dbus_nm_wake): Re-add all devices to the device list
15169
15170 2005-09-01  Robert Love  <rml@novell.com>
15171
15172         * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15173           and the check "!iface" in the error case is probably never true.
15174
15175 2005-09-01  Dan Williams  <dcbw@redhat.com>
15176
15177         Patch from Bill Nottingham <notting@redhat.com>
15178         * src/backends/NetworkManagerRedHat.c
15179                 - Add initial dialup support to Red Hat/Fedora backend
15180
15181 2005-09-01  Dan Williams  <dcbw@redhat.com>
15182
15183         * gnome/applet/applet-dbus-devices.c
15184                 - Sort both wireless networks and devices again, which got
15185                         broken when removing threading
15186
15187 2005-09-01  Christopher Aillon  <caillon@redhat.com>
15188
15189         * gnome/applet/applet.c:
15190         Only show the "Stop/Start All Wireless Devices" menuitem
15191         if we actually have wireless devices.
15192
15193         * gnome/applet/applet-dbus-info.c:
15194         * gnome/applet/applet.c:
15195         * gnome/applet/other-network-dialog.c:
15196         * gnome/applet/vpn-password-dialog.c:
15197         Drop the gtk_dialog_run () calls in favor of connecting to
15198         "response" signals, needed now that the applet is not threaded.
15199
15200 2005-08-31  Dan Williams  <dcbw@redhat.com>
15201
15202         Patch from Bill Moss <bmoss@clemson.edu>
15203         * src/NetworkManagerDevice.c
15204                 - (nm_device_wireless_scan): fix scan timeout values
15205
15206 2005-08-30  Dan Williams  <dcbw@redhat.com>
15207
15208         * gnome/applet/wireless-applet.glade
15209                 - HIG-ify the Other Wireless Networks dialog a bit more
15210                 - Fix some potential segfaults in the info dialog
15211
15212 2005-08-30  Dan Williams  <dcbw@redhat.com>
15213
15214         * gnome/applet/applet-dbus-devices.c
15215                 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15216
15217 2005-08-30  Dan Williams  <dcbw@redhat.com>
15218
15219         * gnome/applet/applet-dbus.[ch]
15220                 - Remove all the nmwa_dbus_call_method_xxxx functions since
15221                         they weren't being used anyway
15222
15223 2005-08-30  Bastien Nocera  <hadess@hadess.net>
15224
15225         * test/nmtestdevices.c: (print_usage), (main):
15226         Check the number of arguments, and fix a typo
15227
15228 2005-08-29  Dan Williams  <dcbw@redhat.com>
15229
15230         Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15231         * gnome/applet/applet.c
15232                 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15233
15234 2005-08-29  Dan Williams  <dcbw@redhat.com>
15235
15236         * gnome/applet/*
15237                 - Don't use threads any more.  Anything that blocks
15238                         (like gtk_dialog_run()) will  have to get fixed up which
15239                         should happen quickly.  We really only had threads to make
15240                         the animation smooth, and when everything got converted over
15241                         to DBus Pending Calls, the need for threads kind of went away
15242
15243 2005-08-29  Christopher Aillon  <caillon@redhat.com>
15244
15245         * gnome/applet/applet.c: Draw VPN connections as radio items
15246         since we don't yet support multiple VPNs.
15247         * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15248         * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15249
15250 2005-08-29  Dan Williams  <dcbw@redhat.com>
15251
15252         Patch from j@bootlab.org
15253         - Make --without-named work
15254         - Make --with-dhcdbd work correctly
15255
15256 2005-08-27  Josep Puigdemont i Casamajó  <josep.puigdemont@gmail.com>
15257
15258         * configure.in: Added "ca" to ALL_LINGUAS.
15259
15260 2005-08-26  Christopher Aillon  <caillon@redhat.com>
15261
15262         * Fix up VPN state handling between the applet and NetworkManager,
15263                 so that the applet doesn't show a VPN as connected when one
15264                 really is not
15265                         - The applet no longer has a pointer to the active VPN's
15266                                 name, but tracks each VPNs state individually
15267                         - NM no longer has a "getActiveVPNConnection" method
15268                         - NM no longer broadcasts the "VPNConnectionChange" signal
15269                         - NM now broadcasts a "VPNConnectionStateChange" signal
15270                                 whenever the state of a VPN changes
15271
15272 2005-08-26  Dan Williams <dcbw@redhat.com>
15273
15274         * gnome/applet/applet-dbus-devices.c
15275           gnome/applet/applet-dbus-vpn.c
15276                 - Remove calls to dbus_pending_call_ref() because we already
15277                         "own" the pending call
15278                 - Remove calls to dbus_pending_call_get_completed() because
15279                         when we are in the callback, the pending call is completed
15280                         by definition
15281
15282 2005-08-22  Dan Williams <dcbw@redhat.com>
15283
15284         Patch by Bill Moss <bmoss@clemson.edu>
15285         * src/dhcp-manager/nm-dhcp-manager.c
15286                 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15287                         some time to send out a RELEASE if they like
15288
15289 2005-08-22  Dan Williams <dcbw@redhat.com>
15290
15291         Noticed by Bill Moss <bmoss@clemson.edu>
15292         * src/NetworkManagerDbus.c
15293                 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15294                         instead of just cancelling its activation
15295
15296         * src/NetworkManagerDevice.c
15297                 - (nm_device_deactivate): some small cleanups
15298                 - (nm_device_set_user_key_for_network): deactivate the device
15299                         instead of just cancelling its activation
15300
15301 2005-08-22  Dan Williams <dcbw@redhat.com>
15302
15303         Noticed by Bill Moss <bmoss@clemson.edu>
15304         * src/NetworkManagerDevice.c
15305                 - (nm_device_wireless_scan): fix scan timeout, we were
15306                         waiting way too long for scans to complete
15307
15308 2005-08-22  Dan Williams <dcbw@redhat.com>
15309
15310         Patch from j@bootlab.org:
15311         * src/backends/NetworkManagerDebian.c
15312                 - Make the Debian backend work for static IP again
15313
15314 2005-08-20  Christopher Aillon  <caillon@redhat.com>
15315
15316         * gnome/applet/other-network-dialog.c:
15317         The "Create New Network" and "Connect to Other Network"
15318         dialogs share alot of code, but shouldn't share a window
15319         title.  Give them different ones.
15320
15321         * gnome/applet/wireless-applet.glade:
15322         * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15323         Some more minor UI tweaks.
15324
15325 2005-08-19  Christopher Aillon  <caillon@redhat.com>
15326
15327         * gnome/applet/other-network-dialog.c:
15328         * gnome/applet/wireless-applet.glade:
15329         Also need mnemonic widgets, and underline enabled.
15330
15331 2005-08-19  Dan Williams <dcbw@redhat.com>
15332
15333         * vpn-daemons/vpnc/nm-vpnc-service.c
15334                 - (vpnc_watch_cb): remove no-longer-relevant comment
15335                 - (write_config_option): new function, helper to write
15336                         config options to vpnc's stdin
15337                 - (nm_vpnc_config_write): use the new helper, make the
15338                         code shorter
15339
15340 2005-08-19  Christopher Aillon <caillon@redhat.com>
15341
15342         * gnome/applet/passphrase-dialog.c:
15343         * gnome/applet/wireless-applet.glade:
15344         Make the passphrase dialog response based, and treat
15345         responses other than OK (such as Esc, [X]) as a cancel.
15346
15347 2005-08-18  Christopher Aillon <caillon@redhat.com>
15348
15349         * initscript/Gentoo/NetworkManager:
15350         * initscript/RedHat/NetworkManager:
15351         * initscript/RedHat/NetworkManagerDispatcher:
15352         * initscript/SUSE/networkmanager:
15353         CVS remove these in place of .in replacements
15354
15355         * configure.in:
15356         * initscript/Gentoo/NetworkManager.in:
15357         * initscript/RedHat/NetworkManager.in:
15358         * initscript/RedHat/NetworkManagerDispatcher.in:
15359         * initscript/SUSE/networkmanager.in:
15360         These scripts now are generated so they work still when
15361         NM is built using a bindir other than /usr/bin
15362
15363 2005-08-18  Dan Williams <dcbw@redhat.com>
15364
15365         * gnome/applet/main.c
15366                 - Revert previous change for --no-session since
15367                         --sm-disable does the same thing
15368
15369 2005-08-18  Dan Williams <dcbw@redhat.com>
15370
15371         * gnome/applet/applet-dbus-info.c
15372                 - (nmi_dbus_create_error_message): new function
15373                 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15374                         functions.  Also don't check for both device _and_ network before
15375                         asking for a user's key, because we may not have gotten all our
15376                         networks back from NM quite yet (due to the dbus pending calls
15377                         coming in later).  Fixes a hang in NM/nm-applet.
15378
15379         * src/NetworkManagerDbus.c
15380                 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15381                         slightly more sane manner, even though we are still broken for
15382                         certain other error conditions.
15383                 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15384                         to the info-daemon too
15385
15386         * src/NetworkManagerDevice.c
15387                 - Fix some debug messages to be info messages instead
15388
15389 2005-08-18  Dan Williams <dcbw@redhat.com>
15390
15391         * gnome/applet/main.c
15392                 - Add new "--no-session" parameter that disables applet
15393                         session management, ie for testing
15394
15395 2005-08-18  Christopher Aillon <caillon@redhat.com>
15396
15397         * gnome/applet/other-network-dialog.c:
15398         * gnome/applet/wireless-applet.glade: More mnemonics
15399
15400 2005-08-17  Robert Love  <rml@novell.com>
15401
15402         * initscript/SUSE/networkmanager: update
15403
15404 2005-08-17  Dan Williams  <dcbw@redhat.com>
15405
15406         * Tag NM_0_4_1_RELEASE
15407
15408 2005-08-17  Christopher Aillon  <caillon@redhat.com>
15409
15410         * gnome/applet/applet.c: More translatable string cleanup
15411
15412
15413 2005-08-17  Dan Williams  <dcbw@redhat.com>
15414
15415         * gnome/applet/applet-dbus-info.c
15416                 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15417                         from the dbus message, which tells us to unconditionally
15418                         ask the user for a new key.  Otherwise, we pull the key from
15419                         the keyring and return it.  If we fail to get the key from the
15420                         keyring, we ask the user for a new key.
15421                 - (nmi_dbus_get_network_key): new function to grab the key for
15422                         an essid from the keyring.
15423                 - (nmi_dbus_get_network_properties): don't access the keyring here.
15424                         Also, don't return any key in the dbus message.
15425
15426         * src/NetworkManagerDbus.[ch]
15427                 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15428                         indicate that we unconditionally want a new key.  This function
15429                         is now also used to get keys from the info-daemon which are
15430                         pre-stored, not just for asking the user for a new key.  The
15431                         "new_key" parameter indicates whether or not we wish to ask the
15432                         user for a new key.
15433                 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15434                         info-daemon in the return message, so use NULL instead.  The
15435                         key will be filled in at connect time by calling
15436                         nm_dbus_get_user_key_for_network()
15437
15438         * src/NetworkManagerDevice.c
15439                 - (nm_device_wireless_configure): update for "new_key" param to
15440                         nm_dbus_get_user_key_for_network().  We initially set new_key
15441                         to FALSE to see if we have a stored key in the info-daemon, but
15442                         if the connection is unsuccessful at this stage we request a
15443                         new one
15444
15445 2005-08-17  Dan Williams  <dcbw@redhat.com>
15446
15447         * gnome/applet/icons/nm-no-connection.png
15448           gnome/applet/icons/nm-device-wired.png
15449                 - Use Diana's new RJ45 connector icons
15450
15451 2005-08-17  Dan Williams  <dcbw@redhat.com>
15452
15453         * src/NetworkManagerPolicy.c
15454                 - (nm_policy_device_change_check): clarify switching rules if
15455                         both new and old devices are valid; mainly, don't switch
15456                         away from user-requested wireless connection back to a wired
15457                         one
15458
15459 2005-08-17  Dan Williams  <dcbw@redhat.com>
15460
15461         * gnome/applet/Makefile.am
15462                 - Relocate the applet to /usr/bin since it is no longer
15463                         executed by anything, but directly by the user
15464
15465 2005-08-17  Dan Williams  <dcbw@redhat.com>
15466
15467         Patch from Bill Moss <bmoss@clemson.edu>
15468
15469         * gnome/applet/applet-dbus-info.[ch]
15470                 - (nmi_save_network_info): save timestamp for network if it
15471                         was a change requested by the user
15472                 - (nmi_dbus_update_network_info): get user_requested from dbus
15473                         message and pass to nmi_save_network_info()
15474
15475         * gnome/applet/applet.c
15476                 - (nmwa_update_network_timestamp): remove
15477                 - (nmwa_menu_item_activate): don't set timestamp on networks
15478                         here, only after a successful connect in nmi_save_network_info()
15479
15480         * src/NetworkManagerDbus.[ch]
15481                 - (nm_dbus_update_network_info): pass user_requested into the 
15482                         dbus message
15483
15484         * src/NetworkManagerPolicy.c
15485                 - (nm_policy_activation_finish): pass user_requested to
15486                         nm_dbus_update_network_info()
15487
15488 2005-08-16  Robert Love  <rml@novell.com>
15489
15490         * gnome/applet/applet.c: Better "Dial Up" menu item.
15491
15492 2005-08-16  Robert Love  <rml@novell.com>
15493
15494         * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15495           "Connection Information" menu item.
15496
15497 2005-08-16  Dan Williams  <dcbw@redhat.com>
15498
15499         Patch from j@bootlab.org
15500         * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15501
15502         * configure.in: allow specifying the path to dhcdbd
15503
15504 2005-08-16  Robert Love  <rml@novell.com>
15505
15506         Patch from j@bootlab.org
15507         * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15508           src/backends/interface_parser.h: Debian dialup support.
15509
15510 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15511
15512         * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15513         * gnome/applet/applet.c: Add some mnemonics for VPNC
15514
15515         * vpn-daemons/.cvsignore: fix this up a little bit
15516
15517 2005-08-16  Robert Love  <rml@novell.com>
15518
15519         * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15520           support.
15521
15522 2005-08-16  Christopher Aillon  <caillon@redhat.com>
15523
15524         * gnome/applet/applet.c: Split markup out of translatable strings
15525         and clean up logic a little bit.  (fixes #309012)
15526
15527 2005-08-15  Christopher Aillon  <caillon@redhat.com>
15528
15529         * gnome/vpn-properties/nm-vpn-properties.c:
15530         * gnome/vpn-properties/nm-vpn-ui-interface.h:
15531         * vpn-daemons/vpnc/properties/nm-vpnc.c:
15532         Makeshift fix to remove newlines from translatable strings.
15533         Note that we now return an allocated string, so callers of
15534         get_confirmation_details () must now call g_free () on the
15535         result. (fixes #309033).
15536
15537 2005-08-12  Robert Love  <rml@novell.com>
15538
15539         * gnome/applet/applet-dbus.c: remove newlines from translatable
15540           strings--not needed here anyway. (fix b.g.o #309011)
15541         * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15542
15543 2005-08-11  Robert Love  <rml@novell.com>
15544
15545         * gnome/applet/applet.c: mark string as translatable.
15546
15547 2005-08-11  Robert Love  <rml@novell.com>
15548
15549         * initscript/SUSE/networkmanager: update.
15550
15551 2005-08-11  Dan Williams  <dcbw@redhat.com>
15552
15553         * src/nm-dhcp-manager.c
15554                 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15555                         an gateway returned from DHCP, try to use the address of the DHCP
15556                         server as the gateway instead.  Found by Ralf Ertzinger.
15557
15558 2005-08-10  Robert Love  <rml@novell.com>
15559
15560         * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15561           wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15562
15563 2005-08-10  Dan Williams  <dcbw@redhat.com>
15564
15565         Patch from Bill Moss <bmoss@clemson.edu>
15566         * Consolidate writes of access point information updates to the info daemon
15567                 so that we only do it when the connection to the access point was
15568                 successful.  Also consolidates updates to GConf in the Gnome applet.
15569
15570         * src/nm-netlink-monitor.c
15571                 - Silence compile warning when calling g_object_new()
15572
15573 2005-08-08  Dan Williams  <dcbw@redhat.com>
15574
15575         Patch from Steev <steev@steev.net>:
15576         * src/backends/NetworkManagerGentoo.c
15577                 - Stub new dialup backend functions
15578
15579 2005-08-08  Dan Williams  <dcbw@redhat.com>
15580
15581         Patch from Colin Slater:
15582         * src/backends/NetworkManagerGentoo.c
15583                 - (nm_system_update_dns): Fix exit status check for restarting
15584                         nscd
15585
15586 2005-08-05  Robert Love  <rml@novell.com>
15587
15588         * NetworkManager.h,
15589           gnome/applet/applet-dbus-devices.c,
15590           gnome/applet/applet-dbus-devices.h,
15591           gnome/applet/applet-dbus.c,
15592           gnome/applet/applet.c,
15593           gnome/applet/applet.h,
15594           src/NetworkManager.c,
15595           src/NetworkManagerMain.h,
15596           src/NetworkManagerSystem.h,
15597           src/backends/NetworkManagerRedHat.c,
15598           src/backends/NetworkManagerSuSE.c,
15599           src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15600
15601 2005-08-05  Robert Love  <rml@novell.com>
15602
15603         * gnome/applet/other-network-dialog.c: default the adhoc network to the
15604           machine's hostname to make adhoc creation idiot-proof.
15605
15606 2005-08-04  Robert Love  <rml@novell.com>
15607
15608         * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15609           freed.
15610
15611 2005-08-04  Dan Williams  <dcbw@redhat.com>
15612
15613         * gnome/applet/applet-dbus-info.c
15614           gnome/applet/applet-dbus-info.h
15615                 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15616                         to store key, key type, and auth method rather than just auth method
15617                 - (nmi_dbus_update_network_info): new function
15618                 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15619
15620         * gnome/applet/passphrase-dialog.c
15621                 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15622                         of saving the info ourselves
15623
15624         * gnome/libnm_glib/libnm_glib.c
15625                 - Remove the stupid version check for dbus
15626
15627         * src/NetworkManagerAP.c
15628           src/NetworkManagerAP.h
15629                 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15630
15631         * src/NetworkManagerDbus.c
15632           src/NetworkManagerDbus.h
15633                 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15634                         more than just the auth method
15635
15636         * src/NetworkManagerDevice.c
15637                 - Update network info at the appropriate times
15638
15639 2005-07-29  Ray Strode  <rstrode@redhat.com>
15640
15641         * src/NetworkManager.c (nm_info_handler): don't use input as format
15642         string (Spotted by Ian Jackson).
15643
15644 2005-07-27  Dan Williams  <dcbw@redhat.com>
15645
15646         * src/nm-dbus-nm.c
15647           src/nm-dbus-net.c
15648                 - Random cleanups of spacing
15649
15650         * gnome/applet/applet.h
15651           gnome/applet/other-network-dialog.c
15652           gnome/applet/passphrase-dialog.c
15653                 - Conslidate usage of NMWAEncryptionKeyTypes enum
15654
15655         Patch from Bill Moss:
15656                 - Make Other Wireless Networks work again with encryption keys
15657
15658 2005-07-26  Dan Williams  <dcbw@redhat.com>
15659
15660         Patch from Steev <steev@steev.net>:
15661         * src/backends/NetworkManagerGentoo.c
15662           src/backends/Makefile.am
15663                 - Fix up Gentoo backend
15664
15665 2005-07-26  Robert Love  <rml@novell.com>
15666
15667         * src/backends/NetworkManagerSuSE.c: misc. cleanup
15668
15669 2005-07-25  Robert Love  <rml@novell.com>
15670
15671         * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15672           in the same group as the wireless networks, since they are all
15673           mutually exclusive.
15674
15675 2005-07-24  Ray Strode  <rstrode@redhat.com>
15676
15677         * src/nm-netlink-monitor.c (nm_netlink_monitor_new): 
15678         remove unneeded NULL arg from g_object_new().  Any
15679         warnings caused by not having the extra NULL are just a
15680         result of a bug in glib 2.7.0 - 2.7.2.
15681
15682 2005-07-22  Robert Love  <rml@novell.com>
15683
15684         * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15685
15686 2005-07-22  Robert Love  <rml@novell.com>
15687
15688         * src/nm-netlink-monitor.c: g_object_new() needs at least three
15689           parameters (gcc 4.0.2 warning fix).
15690
15691 2005-07-18  Robert Love  <rml@novell.com>
15692
15693         Suggested by Aaron Bockover (abockover@novell.com)
15694         * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15695           s/Ascii/ASCII
15696         * gnome/applet/passphrase-dialog.c: ditto
15697         * gnome/applet/wireless-applet.glade: ditto
15698
15699 2005-07-13  Dan Williams  <dcbw@redhat.com>
15700
15701         Patch from Ray Strode <halfline@gmail.com>
15702         * vpn-daemons/vpnc/nm-vpnc-service.c
15703                 - Don't let vpnc daemonize, fixes some races with PID file reading
15704
15705 2005-07-13  Dan Williams  <dcbw@redhat.com>
15706
15707         Patch from Ray Strode <halfline@gmail.com>
15708         * Random cleanups for strict CFLAGS
15709
15710 2005-07-07  Dan Williams  <dcbw@redhat.com>
15711
15712         Patch from Derek Atkins <warlord@MIT.EDU>
15713         * src/nm-dbus-net.c:
15714                 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15715
15716 2005-07-07  Dan Williams  <dcbw@redhat.com>
15717
15718         Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15719         * src/backends/NetworkManagerGentoo.c
15720                 - Gentoo backend Static IP nameserver fixes
15721                 - General Gentoo backend goodness
15722
15723 2005-07-07  Dan Williams  <dcbw@redhat.com>
15724
15725         Patch from Bastien Nocera:
15726         * gnome/applet/applet.c
15727                 - Fix up error reporting when icons or glade files are missing
15728
15729 2005-07-07  Robert Love  <rml@novell.com>
15730
15731         * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15732           are not any VPN connections above it.
15733
15734 2005-07-07  Robert Love  <rml@novell.com>
15735
15736         * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15737
15738 2005-07-05  Robert Love  <rml@novell.com>
15739
15740         * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15741           zero.
15742
15743 2005-07-05  Robert Love  <rml@novell.com>
15744
15745         * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15746           on wired or unencrypted wireless.
15747
15748 2005-07-01  Robert Love  <rml@novell.com>
15749
15750         * src/NetworkManagerSystem.c: Print the error via strerror().
15751
15752 2005-06-30  Robert Love  <rml@novell.com>
15753
15754         * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15755           then exit if the glade file is not found.  currently the application
15756           just hangs.
15757
15758 2005-06-30  Robert Love  <rml@novell.com>
15759
15760         * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15761           explicitly up all interfaces on wake from sleep.
15762
15763 2005-06-30  Robert Love  <rml@novell.com>
15764
15765         * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15766           with information about the currently active connection.
15767         * gnome/applet/applet.h: (ditto)
15768         * gnome/applet/wireless-applet.glade: (ditto), new file
15769
15770 2005-06-30  Robert Love  <rml@novell.com>
15771
15772         * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15773         * src/nm-dbus-nm.c: print when we sleep and wake up.
15774         * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15775         * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15776           in /sbin unless D-BUS is, folks).
15777         * README: update to reflect nm-applet replacing NetworkManagerInfo.
15778
15779 2005-06-27  Robert Love  <rml@novell.com>
15780
15781         * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15782           case.
15783
15784 2005-06-27  Robert Love  <rml@novell.com>
15785
15786         * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15787           items radios.
15788
15789 2005-06-26  Robert Love  <rml@novell.com>
15790
15791         * src/NetworkManagerDevice.c: be specific about which device in
15792           nm_info() message.
15793
15794 2005-06-23  Adam Weinberger  <adamw@gnome.org>
15795
15796         * src/nm-netlink-monitor.c: correct spelling error.
15797
15798 2005-06-23  Robert Love  <rml@novell.com>
15799
15800         * gnome/applet/applet-dbus-info.c: gnome keyring support!
15801         * gnome/applet/passphrase-dialog.c: more of that keyring!
15802
15803 2005-06-23  Robert Love  <rml@novell.com>
15804
15805         * configure.in: remove extraneous GNOMEKEYRING directives.
15806         * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15807         * gnome/applet/applet.c: nmwa_icons_init: make style local.
15808         * gnome/applet/passphrase-dialog.c: whitespace.
15809
15810 2005-06-23  Robert Love  <rml@novell.com>
15811
15812         * src/NetworkManagerDevice.c: division in assignment was flipped.
15813
15814 2005-06-23  David Zeuthen  <david@fubar.dk>
15815
15816         * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15817         signal to the child to indicate that we got what we wanted when we
15818         see two new-lines right after each other.
15819         (nmwa_vpn_request_password): Pass a structure with several members
15820         instead of just the passwords
15821
15822 2005-06-23  Dan Williams <dcbw@redhat.com>
15823
15824         * src/NetworkManager.c
15825           src/NetworkManagerMain.h
15826                 - (nm_get_hal_ctx): new function, move Hal initialization code here
15827                 - (nm_hal_init): new function, init libhal context then add devices
15828                 - (nm_hal_deinit): new function, clean up libhal context
15829                 - (nm_data_free): Move Hal cleanup here
15830                 - (main): check whether Hal is running, and if so, get a list of
15831                         network devices from it
15832
15833         * src/NetworkManagerDbus.c
15834                 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15835                         and when it appears, get a list of network devices from it.  If
15836                         Hal goes away, clean up the libhal context
15837
15838 2005-06-22  Robert Love  <rml@novell.com>
15839
15840         * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15841           permissions of scripts before executing.
15842
15843 2005-06-21  Robert Love  <rml@novell.com>
15844
15845         * initscript/SUSE/networkmanager: update.
15846         * src/backends/NetworkManagerSuSE.c: cleanup.
15847
15848 2005-06-21  Robert Love <rml@novell.com>
15849
15850         * gnome/applet/applet.c: use menu mnemonics.
15851         * gnome/applet/menu-items.c: (ditto)
15852
15853 2005-06-21  Robert Love  <rml@novell.com>
15854
15855         * applet/applet-dbus-devices.c: mark non-static functions static.
15856         * applet/applet-dbus-vpn.c: (ditto)
15857         * applet/applet.c: (ditto)
15858         * applet/nm-device.h: (ditto)
15859         * applet/other-network-dialog.c: (ditto)
15860         * applet/passphrase-dialog.c: (ditto)
15861         * NetworkManager.c: (ditto)
15862         * NetworkManagerDbus.c: (ditto)
15863         * NetworkManagerDevice.c: (ditto)
15864         * NetworkManagerPolicy.c: (ditto)
15865         * NetworkManagerUtils.c: (ditto)
15866         * NetworkManagerWireless.c: (ditto)
15867         * NetworkManagerWireless.h: (ditto)
15868         * nm-netlink-monitor.c: (ditto)
15869         * applet/applet-dbus-info.c: (ditto), add FIXME's.
15870         * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
15871         * autoip.c: include autoip.h.
15872         * autoip.h: new file.  define get_autoip().
15873         * nm-netlink-monitor.h: define nm_netlink_close_connection().
15874         * NetworkManagerDbus.h: remove duplicate definitions.
15875
15876 2005-06-20  Robert Love  <rml@novell.com>
15877
15878         * Makefile.am: Add missing intltool-foo.in generated files to
15879           EXTRA_DIST so that 'distcheck' works.  Also add DISTCLEANFILES
15880           with the start of stuff to cleanup on 'distclea'.
15881         * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
15882           stuff right and 'distcheck' works.
15883         * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c.  If
15884           we keep it, we need to add all of examples/* to EXTRA_DIST and do
15885           Makefile.am for each.  And systray/Makefile needs to be redone.
15886
15887 2005-06-19  Dan Williams <dcbw@redhat.com>
15888
15889         * src/NetworkManagerDevice.c
15890         - (nm_device_wireless_process_scan_results): scan every 20s when
15891           disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
15892
15893 2005-06-19  Dan Williams <dcbw@redhat.com>
15894
15895         * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
15896
15897 2005-06-18  Ray Strode <rstrode@redhat.com>
15898
15899         * src/nm-netlink-monitor.c 
15900         (nm_netlink_monitor_event_handler): check for the presence
15901         of either error condition not both. 
15902         
15903         (nm_netlink_monitor_error_handler): emit error signal if
15904         error occurs.
15905
15906         (nm_netlink_monitor_event_handler),
15907         (nm_netlink_monitor_error_handler),
15908         (nm_netlink_monitor_disconnect_handler): if an 
15909         assertion fails disconnect the event handler to prevent 
15910         infinite loops.
15911
15912         * src/nm-netlink-monitor.h: add new error condition
15913         NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
15914
15915 2005-06-18  Ray Strode <rstrode@redhat.com>
15916
15917         * src/nm-netlink-monitor.c 
15918         (nm_netlink_monitor_event_handler): remove bogus < 0
15919         check on unsigned value and return early if the kernel
15920         didn't send any bytes.
15921
15922 2005-06-17  Robert Love  <rml@novell.com>
15923
15924         * initscript/SUSE/networkmanager: Change the Provides and default
15925         run levels
15926
15927 2005-06-16  Dan Williams <dcbw@redhat.com>
15928
15929         Patch from Robert Love:
15930         * gnome/applet/applet.c
15931                 - Beautify some applet menu item names
15932
15933 2005-06-17  David Zeuthen  <davidz@redhat.com>
15934
15935         * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
15936         API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
15937         Also add new methods can_export, import_file and export.
15938
15939         * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
15940         to the main UI
15941
15942         * gnome/vpn-properties/nm-vpn-properties.c:
15943         Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
15944         nm-vpn-ui-interface.h.
15945         (update_edit_del_sensitivity): Also update "Export" sensitivity
15946         (add_vpn_connection): Also add new SVC_NAME column
15947         (import_settings): New function
15948         (retrieve_data_from_selected_connection): New function
15949         (edit_cb): Use retrieve_data_from_selected_connection to simplify
15950         this function
15951         (export_cb): New function
15952         (init_app): Also setup the "export" widget
15953         (main): Support the --import-service and --import-file commandline
15954         arguments
15955
15956         * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
15957         D-BUS 0.34
15958
15959 2005-06-16  Dan Williams <dcbw@redhat.com>
15960
15961         Patch from Robert Love:
15962         * gnome/applet/menu-items.c
15963                 - (network_menu_item_new): pass -1 as wireless network
15964                         menu items height size request rather than ascent / 2
15965
15966 2005-06-16  Dan Williams <dcbw@redhat.com>
15967
15968         * Clean up wording in Wireless Scan Methods menu items and constants
15969
15970 2005-06-16  Robert Love  <rml@novell.com>
15971
15972         * po/POTFILES.in
15973                 - remove gtkcell* files
15974
15975 2005-06-15  Dan Williams <dcbw@redhat.com>
15976
15977         Patch from Robert Love: make the applet stetic
15978
15979         * gnome/applet/Makefile.am
15980                 - Don't compile the gtkcellview and gtkcellrendererprogress files
15981
15982         * gnome/applet/gtkcellview.h
15983           gnome/applet/gtkcellview.c
15984           gnome/applet/gtkcellrendererprogress.h
15985           gnome/applet/gtkcellrendererprogress.c
15986                 - Removed
15987
15988         * gnome/applet/menu-items.c
15989                 - Progress bars are 5:1 size ratio
15990                 - Use GTK progress bars rather than internal ones
15991
15992 2005-06-15  Dan Williams <dcbw@redhat.com>
15993
15994         Patch from Robert Love:
15995         * initscript/SUSE/networkmanager
15996                 - Fix typo
15997
15998 2005-06-15  Dan Williams <dcbw@redhat.com>
15999
16000         * src/backends/NetworkManagerSuSE.c
16001           src/backends/NetworkManagerRedHat.c
16002           src/backends/NetworkManagerDebian.c
16003                 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16004
16005 2005-06-15  Dan Williams <dcbw@redhat.com>
16006
16007         * src/backends/NetworkManagerDebian.c
16008                 - Add nm_system_device_get_use_dhcp() to debian backend
16009
16010         Patch from Kay Sievers:
16011         * src/backends/NetworkManagerSuSE.c
16012                 - Update debian backend for static IP nameservers
16013
16014         * src/NetworkManagerDevice.c
16015                 - Actually set the device to use static IP or DHCP rather
16016                         than always DHCP
16017
16018 2005-06-15  Dan Williams <dcbw@redhat.com>
16019
16020         Patch from Thom May:
16021         * src/backends/NetworkManagerDebian.c
16022                 - Update debian backend for static IP nameservers
16023
16024 2005-06-15  Dan Williams <dcbw@redhat.com>
16025
16026         Patches from Robert Love:
16027         * gnome/applet/wireless-applet.glade
16028                 - Tighten up wording
16029
16030         * src/NetworkManagerDevice.c
16031                 - Remove misplaced ';'
16032
16033         * configure.in
16034           initscript/Makefile.am
16035           initscript/SUSE/Makefile.am
16036           initscript/SUSE/networkmanager
16037                 - Add SUSE initscript
16038
16039 2005-06-12  David Zeuthen  <davidz@redhat.com>
16040
16041         * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16042
16043         * gnome/vpn-properties/nm-vpn-properties.glade: New file
16044
16045         * gnome/vpn-properties/nm-vpn-properties.c: New file
16046
16047         * gnome/vpn-properties/Makefile.am: New file
16048
16049         * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16050         array of passwords
16051
16052         * src/vpn-manager/nm-vpn-manager.c
16053         (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16054         instead of just a single one
16055
16056         * src/vpn-manager/nm-dbus-vpn.c:
16057         (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16058         here
16059         (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16060
16061         * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password): 
16062         Change the interface here to give a list of passwords. Also, don't
16063         require username, but do require service
16064
16065         * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16066         the binary for the auth-dialog and use that instead of putting up a
16067         dialog asking for a single password
16068
16069         * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16070         however do remember the service
16071
16072         * gnome/applet/main.c (main): Setup i18n
16073
16074         * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16075         connection to '%s'" to the tooltip if we are connected using VPN
16076         (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16077         key to determine whether we the auth-dialog needs to
16078         reprompt. Also cope with the fact that the auth-dialog now returns
16079         an array of passwords.
16080         (nmwa_menu_configure_vpn_item_activate): New handler for
16081         "Configure VPN..." menu item
16082         (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16083         (is_vpn_available): New function to determine if we got any
16084         NM-compatible VPN software installed
16085         (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16086         items only if we have NM-compatible VPN software installed
16087         (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16088         logic for detecting when VPN connections are removed
16089
16090         * gnome/applet/applet-dbus.h: Removed the prototypes for 
16091         nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16092         since these are defined elsewhere
16093
16094         * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16095         function used to keep track of whether the last attempt succeded
16096         (nmwa_dbus_filter): Update last_attempt according to whether the
16097         VPN connection could be established or not
16098
16099         * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection): 
16100         Change prototype to take an array of passwords, not just a single
16101         password
16102
16103         * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16104         update service, not user
16105         (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16106         dbus_active_vpn_name is not NULL before using it
16107         (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16108         string array instead of assuming a single password
16109
16110         * gnome/applet/applet-dbus-info.c:
16111         (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16112         user name; don't read from gconf
16113
16114         * gnome/applet/Makefile.am: Also export SYSCONFDIR and 
16115         VPN_NAME_FILES_DIR
16116
16117         * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16118
16119         * configure.in: Add checks for gmodule-2.0.
16120         Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16121         in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16122         projects under vpn-daemons now.  See vpn-daemons/vpnc/Changelog
16123         for details
16124
16125         * vpn-daemons/Makefile.am: Removed
16126
16127         * vpn-daemons/README: New file to describe extensions points for VPN
16128         software
16129
16130 2005-06-10  Dan Williams <dcbw@redhat.com>
16131
16132         * src/backends/NetworkManagerRedHat.c
16133                 - (get_current_profile_name): new function, grab current network profile name from
16134                         /etc/sysconfig/network
16135                 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16136                         update an IP4 Config structure's settings from it
16137                 - (nm_system_device_get_system_config): if we're using static IP on this device,
16138                         get DNS info from current network profile
16139
16140 2005-06-09  Dan Williams <dcbw@redhat.com>
16141
16142         Patch from Robert Love:
16143         * src/NetworkManagerDevice.c
16144           src/NetworkManagerUtils.c
16145                 - 64-bit build fixes
16146
16147 2005-06-09  Dan Williams <dcbw@redhat.com>
16148
16149         Patch from Kay Sievers and Robert Love:
16150         * configure.in
16151           src/backends/Makefile.am
16152           src/backends/NetworkManagerSuSE.c
16153                 - Add SuSE support
16154
16155 2005-06-09  Dan Williams <dcbw@redhat.com>
16156
16157         * NetworkManager.h
16158                 - Add NMWirelessScanMethod enum for scan methods
16159
16160         * gnome/applet/applet-dbus-devices.c
16161                 - (nmwa_dbus_update_scanning_enabled_cb): remove
16162                 - (nmwa_dbus_update_scanning_enabled): remove
16163                 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16164                         since it got removed
16165                 - (nmwa_dbus_enable_scanning): remove
16166
16167         * gnome/applet/applet-dbus-info.c
16168                 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16169                         update the wireless scanning method from NMI
16170                 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16171                         method value to NetworkManager
16172                 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16173
16174         * gnome/applet/applet-dbus-info.h
16175                 - Add prototype for nmi_dbus_signal_update_scan_method
16176
16177         * gnome/applet/applet.c
16178                 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16179                         Wireless Scanning menu based on current wireless scan method
16180                 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16181                         signal for Wireless Scanning menu items, tell NetworkManager the new method
16182                         and update our menu items to make sure the right one is checked
16183                 - (nmwa_set_scanning_enabled_cb): remove
16184                 - (nmwa_context_menu_update): remove references to pause_scanning_item
16185                 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16186                         Scanning menu item
16187                 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16188                         from GConf
16189                 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16190                         so we get notified of preference values too
16191                 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16192
16193         * gnome/applet/applet.h
16194                 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16195                 - Add wireless scan method member to applet data
16196                 - Remove pause_scanning_item, add Wireless Scanning submenu
16197
16198         * src/NetworkManager.c
16199                 - (nm_data_new): default to NM_SCAN_METHOD_ON
16200                 - (main): grab scanning method from NMI if we can
16201
16202         * src/NetworkManagerDbus.c
16203                 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16204                         nm_dbus_update_wireless_scan_method()
16205                 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16206                         from NMI
16207                 - (nm_dbus_nmi_is_running): redundant function, removed
16208                 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16209                         when NMI comes back
16210
16211         * src/NetworkManagerDevice.c
16212                 - (nm_device_is_activated): return TRUE if the device is activated
16213                 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16214                         and we are activated
16215
16216         * src/nm-dbus-nm.c
16217                 - (nm_dbus_nm_set_scanning_enabled): removed
16218                 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16219                 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16220
16221 2005-06-09  Dan Williams <dcbw@redhat.com>
16222
16223         * NetworkManager.h
16224           src/vpn-manager/nm-vpn-service.c
16225                 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16226
16227 2005-05-27  Dan Williams <dcbw@redhat.com>
16228
16229         * vpn-daemons/vpnc/nm-vpnc-service.c
16230                 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16231                         Should fix the bug where the VPN connection terminates the first time.
16232
16233 2005-05-20  Dan Williams <dcbw@redhat.com>
16234
16235         * NetworkManager.h
16236                 - Differentiate VPN config signals between bad VPN config options
16237                         and bad IP config
16238
16239         * gnome/applet/applet-dbus-info.h
16240                 - Add prototypes for wireless network and vpn connection update functions
16241
16242         * gnome/applet/applet-dbus.c
16243                 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16244
16245         * gnome/applet/applet.c
16246                 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16247                         error signals
16248                 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16249                         propogation to NetworkManager
16250                 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16251                         notify propogation to NetworkManager
16252
16253         * src/NetworkManagerDbus.c
16254                 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16255                         are updating so a network can be removed from it if necessary
16256
16257         * src/vpn-manager/nm-vpn-manager.c
16258                 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16259
16260         * vpn-daemons/vpnc/nm-vpnc-service.c
16261                 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16262                 - (nm_vpnc_dbus_signal_launch_failed): remove
16263                 - (nm_vpnc_dbus_signal_connect_failed): remove
16264                 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16265                 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16266                 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16267                         for new generalized error signal function, remove config file stuff
16268                 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16269                         we can write configuration options to it
16270                 - (nm_vpnc_config_file_generate): removed
16271                 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16272                 - (nm_vpnc_config_options_validate): validate the config options we receive
16273                         from NetworkManager to block potential exploits
16274                 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16275                         starting vpnc
16276                 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16277                         to NetworkManager
16278
16279 2005-05-16  Dan Williams  <dcbw@redhat.com>
16280
16281         * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16282                 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16283                         is not "connect"
16284
16285 2005-05-16  Dan Williams  <dcbw@redhat.com>
16286
16287         Patch from Tomislav Vujec <tvujec@redhat.com>
16288         * gnome/applet/applet-dbus-info.c
16289                 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16290                         GConf and pass them to NetworkManager.  New key is 'routes' under
16291                         the VPN connection, and should be a string list
16292
16293         * src/NetworkManagerSystem.c
16294                 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16295                         set them on the device when we set the rest of the VPN config.  Ensure
16296                         they are in the correct format since they are passed directly to the
16297                         command line.
16298
16299         * src/backends/NetworkManagerRedHat.c
16300           src/backends/NetworkManagerDebian.c
16301                 - (nm_system_device_add_route_via_device_with_iface): new function
16302
16303         * src/vpn-manager/nm-dbus-vpn.c
16304                 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16305
16306         * src/vpn-manager/nm-vpn-manager.c
16307                 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16308                         them into the IP4 config functions
16309
16310 2005-05-15  Dan Williams  <dcbw@redhat.com>
16311
16312         From Filip Miletic:
16313         * po/sr.po
16314           po/sr@Latn.po
16315           configure.in
16316                 - Serbian translation added
16317
16318 2005-05-15  Dan Williams  <dcbw@redhat.com>
16319
16320         * dispatcher-daemon/NetworkManagerDispatcher.c
16321                 - (main): sync arguments with NetworkManager and the applet, now use
16322                         "--no-daemon" rather than "daemon=no"
16323                 - (nmd_print_usage): Fix script path in usage message
16324
16325 2005-05-15  Dan Williams  <dcbw@redhat.com>
16326
16327         * src/NetworkManagerDevice.[ch]
16328           src/NetworkManagerPolicy.c
16329           src/NetworkManager.c
16330           src/nm-dbus-nm.c
16331                 - Remove the "just_added" parameter from nm_device_deactivate().  We no
16332                         longer send the DeviceNoLongerActive signal unconditionally, but only
16333                         when the device is actually active.
16334
16335         * dispatcher-daemon/NetworkManagerDispatcher.c
16336                 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16337                         and simplify the logic
16338                 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16339                         we free it later on
16340
16341         * initscript/RedHat/Makefile.am
16342           initscript/RedHat/NetworkManagerDispatcher
16343                 - Add initscript for NetworkManagerDispatcher
16344
16345
16346         Patch from Bill Moss:
16347         * dispatcher-daemon/NetworkManagerDispatcher.c
16348                 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16349
16350         * src/NetworkManagerDbus.c
16351                 - (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
16352                         and DeviceNowActive gets signaled, then the device has a new IP address
16353                         anyway.  There's no need for a separate signal.
16354
16355         * src/NetworkManagerDevice.c
16356                 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16357
16358         * src/NetworkManagerPolicy.c
16359                 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16360                         activates successfully.  This kind of went missing when I reworked the
16361                         activation code.
16362
16363 2005-05-15  Dan Williams  <dcbw@redhat.com>
16364
16365         * configure.in
16366                 - Check for dhcdbd and error if its not found
16367
16368         * src/dhcp-manager/Makefile.am
16369           src/dhcp-manager/nm-dhcp-manager.c
16370                 - Use path to dhcdbd that configure found
16371
16372 2005-05-14  Dan Williams  <dcbw@redhat.com>
16373
16374         * gnome/applet/nm-device.c
16375                 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16376                         sort wireless networks alphabetically
16377
16378         * gnome/applet/applet-dbus-devices.c
16379                 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16380                         before copying them over to the GUI
16381
16382 2005-05-14  Dan Williams  <dcbw@redhat.com>
16383
16384         * src/NetworkManager.c
16385                 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16386                         fixes a deadlock on shutdown with a VPN connection active.  This function locks
16387                         the device list, as does nm_get_active_device() which is called from
16388                         nm_vpn_manager_deactivate_vpn_connection().
16389
16390 2005-05-14  Dan Williams  <dcbw@redhat.com>
16391
16392         * NetworkManager.h
16393                 - Add signals for VPN Launch and Connect failures
16394
16395         * gnome/applet/applet-dbus.c
16396                 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16397
16398         * gnome/applet/applet.c
16399                 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16400                         function to handle all VPN failure messages
16401                 - (nmwa_schedule_vpn_failure_dialog): generalize old  nmwa_schedule_vpn_login_failure_dialog()
16402                         function to hanlde all VPN failure  messages
16403                 - (show_warning_dialog): work around focus-stealing prevention
16404
16405         * gnome/applet/other-network-dialog.c
16406           gnome/applet/passphrase-dialog.c
16407                 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16408                         problem where it never enabled for ASCII Key and Hex Key types
16409
16410         * gnome/applet/wireless-applet.glade
16411                 - Add window title to Other Wireless Network Dialog
16412
16413         * src/vpn-manager/nm-dbus-vpn.c
16414                 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16415                         function to handle all VPN failure messages
16416
16417         * src/vpn-manager/nm-vpn-manager.c
16418                 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16419
16420         * vpn-daemons/vpnc/nm-vpnc-service.c
16421                 - (nm_vpnc_dbus_signal_launch_failed): new function
16422                 - (nm_vpnc_dbus_signal_connect_failed): new function
16423                 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16424                 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16425                 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16426                 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16427
16428 2005-05-11  Dan Williams  <dcbw@redhat.com>
16429
16430         * vpn-daemons/vpnc/nm-vpnc-service.c
16431                 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16432                 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16433                         file exists before trying to write it out.
16434
16435 2005-05-10  Dan Williams  <dcbw@redhat.com>
16436
16437     * gnome/applet/applet-dbus-device.c
16438         - (nmwa_dbus_set_device): remove check for valid key and key type, which 
16439             prevented just entering ESSID and leaving key and key type up to
16440             NetworkManager (which should have them already cached)
16441
16442 2005-05-08  Dan Williams  <dcbw@redhat.com>
16443
16444         * src/NetworkManagerPolicy.c
16445                 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16446                 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16447                         fix a situation where NM is told to terminate and the device stops activation,
16448                         but the main thread isn't aware of that because it would never have run
16449                         nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16450                         had already quit.
16451
16452         * src/NetworkManagerDevice.c
16453                 - (nm_device_probe_wired_link_state): cosmetic fixes
16454                 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16455                         we've failed to activate or been canceled.
16456                 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16457
16458 2005-05-08  Dan Williams  <dcbw@redhat.com>
16459
16460         * src/NetworkManagerWireless.c
16461                 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16462                         value of WEXT quality structures, and add a debug message when we cannot
16463                         determine any quality % at all
16464
16465 2005-05-08  Dan Williams  <dcbw@redhat.com>
16466
16467         * src/dhcp-manager/nm-dhcp-manager.c
16468                 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16469                         it goes down.
16470
16471 2005-05-06  Dan Williams  <dcbw@redhat.com>
16472
16473         * gnome/applet/applet-dbus-device.c
16474           gnome/applet/applet-dbus-info.c
16475           gnome/applet/applet-dbus.c
16476           gnome/applet/applet.c
16477           gnome/applet/applet.h
16478                 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16479
16480         * gnome/applet/applet-dbus.c
16481                 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16482                         so we notice when wired device's carriers come back on.  Should
16483                         fix issue with wired devices being grayed out even if the cable
16484                         is in, for devices that support carrier detection.
16485
16486         * gnome/applet/applet.c
16487                 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16488                 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16489                         tooltip message
16490                 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16491                         Fix situation where applet wouldn't respond to menu selections
16492
16493         * src/NetworkManager.c
16494           src/NetworkManagerDevice.c
16495           src/NetworkManagerDbus.c
16496           src/NetworkManagerDbus.h
16497                 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16498
16499         * src/NetworkManagerDbus.c
16500                 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16501                         Remove, no longer used or relevant
16502                 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16503                 - (nm_dbus_schedule_device_status_change_signal): add
16504
16505         * src/NetworkManagerDevice.c
16506                 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16507                 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16508                         ie don't deactivate them unless explicitly told to by the user.  Also send
16509                         CARRIER_OFF / CARRIER_ON signals when link changes
16510                 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16511                         Don't print error message when device is no longer around
16512                 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16513                         not just during activation
16514
16515         * src/NetworkManagerPolicy.c
16516                 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16517                         auto-device-selection.
16518                 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16519
16520         * src/NetworkManagerSystem.c
16521                 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16522                         is no longer present (Bill Moss)
16523
16524         * src/backends/shvar.c
16525                 - (svOpenFile): Open read-only to make SELinux happy
16526
16527         * src/backends/NetworkManagerRedHat.c
16528                 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16529                         the path to the ifcfg-* files
16530
16531 2005-05-05  Dan Williams  <dcbw@redhat.com>
16532
16533         * Expose activation stages to NetworkManager clients, like the applet
16534         * Add Diana's progress icons to the applet, cued off NM activation stage
16535         * Use more descriptive tooltips, cued off NM activation stage
16536
16537 2005-05-05  Ray Strode  <rstrode@redhat.com>
16538
16539         * src/nm-netlink-monitor.c:
16540                 - Use clear_event_source instead of g_nullify_pointer() again.
16541
16542 2005-05-05  Dan Williams  <dcbw@redhat.com>
16543
16544         * gnome/applet/main.c
16545                 - Fix session management so the applet is actually managed now
16546
16547         * gnome/applet/passphrase-dialog.c
16548                 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16549
16550 2005-05-05  Dan Williams  <dcbw@redhat.com>
16551
16552         Patch from Bill Moss:
16553         * gnome/libnm_glib/libnm_glib.c
16554                 - Fix for dbus-0.33
16555
16556 2005-05-05  Dan Williams  <dcbw@redhat.com>
16557
16558         Suggestion from Bill Moss:
16559         * src/NetworkManagerSystem.c
16560                 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16561
16562
16563         * src/NetworkManager.c
16564                 - (nm_data_free): move destruction of the various managers after
16565                         release of device list, because deactivating and freeing a device
16566                         requires at least the named manager
16567                 - (nm_poll_and_update_wireless_link_state):
16568                   (nm_device_link_activated):
16569                   (nm_device_link_deactivated):
16570                         don't grab the device list lock when actually updating device
16571                         link status or strength, since nm_device_set_link_active()
16572                         needs to call nm_get_active_device(), which also locks the device list.
16573
16574         * src/NetworkManagerDevice.c
16575                 - (nm_device_set_link_active): if a device's link switches from off->on,
16576                         and it's wired, and the active device is wireless (or there is no
16577                         active device), activate the new device whose link just came on
16578                 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16579                         my only calling the link to the current ap "failed" when more than 2
16580                         consecutive link checks have failed
16581
16582 2005-05-04  Dan Williams  <dcbw@redhat.com>
16583
16584         * src/NetworkManagerDevice.c
16585                 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16586                         but let link_to_specific_ap() do the locking where it needs
16587
16588         Patch from Bill Moss:
16589         * src/NetworkManagerSystem.c
16590                 - Set MTU of VPN devices to 1412
16591
16592 2005-05-04  Dan Williams  <dcbw@redhat.com>
16593
16594         * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16595
16596         * Fix some holes in device activation and retaining the currently connected
16597                 access point
16598
16599 2005-05-03  Dan Williams  <dcbw@redhat.com>
16600
16601         * Kill dhcpcd.  We now use "dhcdbd", a dbus daemon that controls dhclient.
16602           This means that NetworkManager shouldn't have DHCP issues anymore.  It also
16603           means you need dhcdbd, which you can get here (get the latest one):
16604
16605                 http://people.redhat.com/jvdias/dhcdbd/
16606
16607           Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16608           interface as dhcdbd.
16609
16610         * Rewrite device activation to facilitate the new DHCP infrastructure and
16611           future improvements.  Its now "activation request" based, ie there is a single
16612           activation request composed of the device, access point, and other info which
16613           follows the entire activation process.  There are 5 stages of the activation
16614           process which correspond to:
16615
16616                 1) Device preparation
16617                 2) Device configuration (bring it up, set ESSID/Key/etc)
16618                 3) IP Config Start (fire off DHCP if we're using it)
16619                 4) IP Config Get (grab config from DHCP or static config files)
16620                 5) IP Config Commit (set device's IP address, DNS, etc)
16621
16622           Note that there is no longer a "scanning" step, since the access point must
16623           be known _before_ activation starts.  If the access point drops out or does
16624           not exist for some reason, the entire activation process fails and must be
16625           restarted for a different access point or device.
16626
16627         Patch from Bill Moss:
16628         * gnome/applet/applet.c
16629                 - Fix type of vpn_failure dialog -> vpn_banner dialog
16630
16631 2005-04-27  Dan Williams  <dcbw@redhat.com>
16632
16633         * gnome/applet/applet-dbus-vpn.c
16634           gnome/applet/applet.c
16635           gnome/applet/applet.h
16636                 - Fix up active VPN handling so that we reliably know when a VPN
16637                         connection has been deactivated
16638
16639         * src/vpn-manager/nm-vpn-manager.c
16640                 - Remove duplicate VPNConnectionChange signal
16641
16642 2005-04-27  Dan Williams  <dcbw@redhat.com>
16643
16644         Patch from Peter Jones:
16645         * Remove usage of varargs to fix crashes on PPC (RH #154336)
16646
16647         Patch from Bill Moss:
16648         * src/NetworkManagerSystem.c
16649                 - Fix checking of return value from ioctl()
16650
16651 2005-04-27  Dan Williams  <dcbw@redhat.com>
16652
16653         * Fix choosing of wireless networks and "Other wireless network..." from the applet
16654         * Warn and exit if icons cannot be found
16655
16656 2005-04-27  Dan Williams  <dcbw@redhat.com>
16657
16658         Patch from Tom Parker:
16659         * Update debian backend
16660
16661 2005-04-27  Dan Williams  <dcbw@redhat.com>
16662
16663         * Merge the applet and the info-daemon, and move the converged
16664                 applet under gnome/applet
16665         * Move libnm_glib to gnome/libnm_glib
16666         * Convert most dbus calls between the applet, info-daemon, and NM
16667                 into async calls
16668         * Fix a few things valgrind noticed
16669         * Make NM broadcast state more reliably
16670
16671 2005-04-22  Pawan chitrakar  <pawan@nplinux.org>
16672
16673         * configure.in: Added ne in ALL_LINGUAS
16674
16675 2005-04-15  Dan Williams  <dcbw@redhat.com>
16676
16677         * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16678                 code for dbus 0.2x versions
16679
16680 2005-04-15  Dan Williams  <dcbw@redhat.com>
16681
16682         Patches from Tom Parker:
16683         - Fix memleaks
16684         - Join with worker thread rather than polling for its exit
16685
16686         Patch from Bill Moss:
16687         - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16688
16689 2005-04-15  Dan Williams  <dcbw@redhat.com>
16690
16691         - Fixes to pass 'make distcheck'
16692
16693 2005-04-15  Dan Williams  <dcbw@redhat.com>
16694
16695         Initial VPN Support
16696                 - supports 'vpnc'
16697                 - reworks device IP configuration, backend files have changed and will need
16698                         to be updated for all distributions.  I will try to do what I can for
16699                         them, but I cannot test them.
16700
16701         - Move named directory to src/named-manager
16702         - Make backends directory self-contained
16703
16704 2005-04-06  Dan Williams  <dcbw@redhat.com>
16705
16706         Add debug code for socket/file descriptor leaks.  We register every socket
16707         that we open (except for stuff in dhcpcd/) for tracking, and print out the
16708         list of sockets that we forgot to close on shutdown.  This also consolidates
16709         about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16710
16711 2005-04-06  Dan Williams  <dcbw@redhat.com>
16712
16713         * dhcpcd/dhcpcd.c
16714                 - (dhcp_interface_free): fix a file descriptor leak that may have
16715                         caused network drivers to not unload due to refcounts > 0
16716
16717 2005-04-04  Dan Williams  <dcbw@redhat.com>
16718
16719         * panel-applet/NMWirelessAppletDbus.c
16720                 - (nmwa_dbus_call_nm_method): remove some commented code
16721
16722         * src/NetworkManagerAPList.[ch]
16723                 - (nm_ap_list_remove_ap_by_essid): new function
16724
16725         * src/NetworkManagerDevice.c
16726                 - (nm_device_wireless_force_use): remove access points from the ignore list
16727                         when the user forces them
16728
16729         * src/nm-dbus-device.c
16730                 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16731
16732 2005-04-04  Dan Williams  <dcbw@redhat.com>
16733
16734         Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16735
16736 2005-04-04  Dan Williams  <dcbw@redhat.com>
16737
16738         * src/NetworkManagerDevice.c:
16739                 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16740                         of only erroring after the second consecutive scan times out.  Also
16741                         don't exit when the card requires more time than we can give it, just
16742                         log the event and continue.
16743
16744 2005-04-01  Steve Murphy  <murf@e-tools.com>
16745
16746         * configure.in: Added "rw" to ALL_LINGUAS.
16747
16748 2005-04-01  Dan Williams <dcbw@redhat.com>
16749
16750         Perform scans during device activation, if needed.  Both activation 
16751         and scans run in the same GMainContext.  Therefore, if an access point
16752         is not found by the time the device starts activation, it will not
16753         be available until after activation.  We now try to scan during
16754         activation (in nm_wa_test) every 15s so that all available access
16755         points are more likely to be found and available for the activation
16756         procedure.
16757
16758         Also change nm_wireless_link_state_handle() to only update the "best"
16759         AP if we are not forcing a device and if we are not about to change
16760         state.  This attempts to work around a race when forcing a device,
16761         where the forced AP would get cleared out too soon by the link state
16762         checking timeout in the main thread, and the activation attempt with
16763         that AP would fail.
16764
16765 2005-04-01  Dan Williams <dcbw@redhat.com>
16766
16767         * po/POTFILES.in
16768                 - Update with new translatables
16769
16770 2005-03-31  Dan Williams <dcbw@redhat.com>
16771
16772         * panel-applet/NMWirelessAppletDbus.c
16773                 - Fix device names now that hal has changed device parenting for
16774                         network devices.
16775
16776 2005-03-31  Dan Williams <dcbw@redhat.com>
16777
16778         Tighten up handling of wireless devices that don't support wireless
16779         scanning (ie, Orinoco).  Due to restructuring of code, these devices
16780         hadn't been doing pseudo-scanning for a while either and would just
16781         spin waiting for an access point.  They are now manual devices where
16782         the user must choose the access point from the menu every time.  All
16783         "allowed" access points are listed in the applet's menu regardless
16784         of whether or not they can be seen by the card, since it can't scan
16785         anyway.
16786
16787         * src/NetworkManager.c
16788                 - (nm_wireless_link_state_handle): new function, but only update
16789                         the "best" ap for non-scanning devices when its not activating,
16790                         and when no device is being forced on the card
16791                 - (nm_link_state_monitor): split wireless link state handling out
16792                         into separate function
16793
16794         * src/NetworkManagerDevice.c
16795                 - (nm_device_copy_allowed_to_dev_list): new function
16796                 - (nm_device_new): populate non-scanning cards' AP lists with
16797                         access points from the "allowed" list
16798                 - (nm_device_new): don't start a scanning timeout for devices that
16799                         can't scan
16800                 - (nm_device_activation_schedule_finish): new parameter, should be
16801                         the AP that failed to be connected to, pass it on to the
16802                         activation finish function in NetworkManagerPolicy.c
16803                 - (nm_device_activate_wireless): don't ever try to get a new AP
16804                         for non-scanning devices, just fail.  The user must choose
16805                         a new access point manually.
16806                 - (nm_device_activate): grab the AP that failed connection and
16807                         pass it on
16808                 - (nm_device_update_best_ap): Clear the best AP if we don't have
16809                         a link to it, user must manually choose a new one
16810                 - (nm_device_do_pseudo_scan): remove function
16811                 - (nm_device_wireless_process_scan_results): remove bits for non-
16812                         scanning cards since they never get here
16813                 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16814                         and fake the scan list for test devices a bit earlier
16815
16816         * src/NetworkManagerPolicy.c
16817                 - (nm_policy_activation_finish): use the failed_ap that we get
16818                         passed rather than getting the best_ap from the card, which
16819                         may have changed since we were scheduled
16820                 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16821                         update their scan list directly from the allowed list when
16822                         we get updates to the allowed list from NetworkManagerInfo
16823
16824         * src/NetworkManagerPolicy.h
16825                 - New member for failed access point in NMActivationResult
16826
16827   -------------------------------------
16828
16829         Driver Notification patch: notifies the user when their driver
16830                 sucks.  Gives them the option to ignore further insertions
16831                 of the card that has the sucky driver.
16832
16833         * NetworkManager.h
16834                 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16835                         enum and replace it with NO_CARRIER_DETECT and
16836                         NO_WIRELESS_SCAN
16837
16838         * panel-applet/NMWirelessApplet.[ch]
16839                 - Merge essid.glade -> wireless-applet.glade
16840                 - Implement the "Your driver sucks" notification dialog
16841
16842         * panel-applet/NMWirelessAppletDbus.c
16843                 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16844                 - Grab hardware address for each device from NM too
16845                 - Check whether the driver for each device sucks or not whenever
16846                         a new device is noticed
16847
16848         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16849                 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16850
16851         * src/NetworkManager.c
16852                 - Fix a double-unref on device removal
16853
16854         * src/NetworkManagerUtils.c
16855                 - Set appropriate driver support level on a device that doesn't
16856                         support scanning or carrier detection
16857
16858         * src/nm-dbus-device.c
16859                 - New "getHWAddress" dbus method on devices
16860                 - getSupportsCarrierDetect -> getDriverSupportLevel
16861
16862 2005-03-31  Dan Williams <dcbw@redhat.com>
16863
16864         * src/NetworkManagerDevice.c
16865                 - (nm_device_wireless_scan): Fix leak of scan results in some
16866                         instances
16867
16868 2005-03-29  Dan Williams <dcbw@redhat.com>
16869
16870         * src/NetworkManager.c
16871                 - (nm_poll_and_update_wireless_link_state): make code less indented
16872
16873         Patch from Bill Moss:
16874         * src/NetworkManager.c
16875                 - (nm_device_update_link_state): Update signal strength on wireless
16876                         devices every time we update link state too.
16877
16878 2005-03-29  Dan Williams <dcbw@redhat.com>
16879
16880         * src/NetworkManagerDevice.c
16881                 - (nm_device_set_essid): Work around Orinoco cards which need
16882                         extra time after setting the ESSID
16883
16884 2005-03-29  Dan Williams <dcbw@redhat.com>
16885
16886         * src/NetworkManagerDevice.c
16887                 - Merge one more bit of Peter Jones' completion patch
16888
16889 2005-03-29  Dan Williams <dcbw@redhat.com>
16890
16891         * src/NetworkManagerDevice.c
16892                 - (nm_device_force_use): Fix possible segfault
16893
16894 2005-03-29  Dan Williams <dcbw@redhat.com>
16895
16896         * src/NetworkManagerDevice.c
16897                 - Use iw_get_ext() where we should rather than iw_set_ext()
16898
16899 2005-03-29  Dan Williams <dcbw@redhat.com>
16900
16901         * src/NetworkManagerDevice.c
16902                 - (nm_device_set_up_down): remove check for unsupported devices
16903                         that caused NM to not bring devices up when they were
16904                         added to the device list.
16905
16906 2005-03-28  Dan Williams <dcbw@redhat.com>
16907
16908         * src/NetworkManagerDevice.c
16909                 - (mdio_read): Fix two bugs that caused all devices to fail
16910                         the MII carrier detection support checks
16911
16912 2005-03-26  Dan Williams <dcbw@redhat.com>
16913
16914         * src/NetworkManagerDevice.c
16915                 - (nm_device_wireless_scan): Remove duplicated scanning code
16916
16917 2005-03-25  Dan Williams <dcbw@redhat.com>
16918
16919         * panel-applet/NMWirelessApplet.c
16920                 - (nmwa_about_cb): Add some more contributors
16921                 - (nmwa_update_state): show the applet when there's no connection
16922                 - Enable the "Stop/Resume all wireless devices" option in the
16923                         context menu
16924                 - New "no connection" icon
16925
16926         * src/NetworkManager.c
16927                 - (nm_poll_and_update_wireless_link_state): don't do anything if
16928                         wireless is disabled or we're asleep
16929
16930         * src/NetworkManagerDHCP.c
16931                 - Remove trailing "\n" on debug messages
16932
16933         * src/NetworkManagerDbus.c
16934                 - (nm_dbus_network_status_from_data): new state "asleep"
16935
16936         * src/NetworkManagerDevice.c
16937                 - Merge most of Peter Jones' "completion" patch that greatly reduces
16938                         latency and wait times for most operations
16939                 - (nm_device_wireless_scan): Don't scan when asleep
16940
16941         * src/NetworkManagerPolicy.c
16942                 - (nm_policy_get_best_device): return no device when asleep
16943                 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
16944                         for all wireless devices on update, not just active device
16945
16946         * src/NetworkManagerUtils.c
16947                 - Merge Peter Jones' "completion" patch
16948
16949         * src/nm-dbus-nm.c
16950                 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
16951                         we're told to disable them
16952                 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
16953
16954         * utils/nm-utils.h
16955                 - New variants of the warn/info/error/debug print functions that can take
16956                         variables rather than static strings
16957
16958 2005-03-24  Dan Williams <dcbw@redhat.com>
16959
16960         * src/NetworkManagerUtils.c
16961                 - (nm_get_device_driver_name): driver names are now on the parents of
16962                         "Network Interface" objects, so look for them there
16963
16964 2005-03-24  Dan Williams <dcbw@redhat.com>
16965
16966         * test/nmtest.c
16967                 - Escape some forgotten object paths before we shove them through dbus
16968
16969 2005-03-24  Dan Williams <dcbw@redhat.com>
16970
16971         * dhcpcd/dhcpcd.[ch]
16972           src/NetworkManagerDHCP.c
16973                 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
16974                         (ie, dhcp_option_record_len -> dhcp_option_element_len)
16975
16976         * src/NetworkManagerDbus.c
16977                 - spacing cleanups
16978
16979         * src/nm-dbus-dhcp.c
16980                 - Make the API suck less.  There is now only 1 type of each function,
16981                         ie only "getInteger" and no longer also "getIntegerv".  All types
16982                         are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
16983                         that will never have more than 1 element.  This should simplify
16984                         things greatly.
16985
16986         * test/nm-dhcp-opt-test.c
16987                 - Make the tool not segfault
16988                 - adapt to new DHCP Options API
16989
16990 2005-03-22  Dan Williams <dcbw@redhat.com>
16991
16992         * src/NetworkManager.c
16993                 - (nm_wired_link_deactivated): actually ignore netlink events from
16994                         wireless devices.
16995
16996 2005-03-22  Dan Williams <dcbw@redhat.com>
16997
16998         * src/NetworkManager.c
16999                 - (nm_wired_link_activated): actually ignore netlink events from
17000                         wireless devices.
17001
17002 2005-03-17  Dan Williams <dcbw@redhat.com>
17003
17004         Patch from Tom Parker:
17005         * src/nm-netlink-monitor.c
17006                 - Include unistd.h
17007         * info-daemon/NetworkManagerInfoDbus.c
17008                 - (nmi_dbus_update_network_auth_method): free GConf values
17009
17010         Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17011         * src/NetworkManagerDevice.c
17012                 - (nm_device_set_wireless_config): wait for successful
17013                         association longer for some cards (Atheros a/b/g)
17014
17015 2005-03-15  Ray Strode  <rstrode@redhat.com>
17016
17017         * src/NetworkManager.c:
17018         (sigterm_pipe_handler):
17019         remove bogus FIXME
17020
17021 2005-03-15  Ray Strode  <rstrode@redhat.com>
17022
17023         * src/NetworkManagerDbus.c:
17024         Fix some sign weirdness that gcc4 doesn't like,
17025         and add a header file so PPC can hopefully find
17026         SIGTRAP
17027
17028 2005-03-14  Ray Strode  <rstrode@redhat.com>
17029         
17030         Fourth (probably working) cut at porting to
17031         dbus 0.30 api and new hal. This cut adds
17032         some new logging macros to make debugging
17033         easier.
17034
17035         * dispatcher-daemon/NetworkManagerDispatcher.c:
17036         * info-daemon/NetworkmanagerInfo.c:
17037         * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17038         * info-daemon/NetworkManagerInfoVPN.c:
17039         * src/NetworkManager.c:
17040         * src/NetworkManagerAP.c:
17041         * src/NetworkManagerAPList.c:
17042         * src/NetworkManagerDHCP.c:
17043         * src/NetworkManagerDbus.c:
17044         * src/NetworkManagerDevice.c:
17045         * src/NetworkManagerPolicy.c:
17046         * src/NetworkManagerSystem.c:
17047         * src/NetworkManagerUtils.c:
17048         * src/NetworkManagerWireless.c:
17049         * src/autoip.c:
17050         * src/nm-dbus-nm.c:
17051         * src/backends/NetworkManagerDebian.c:
17052         * src/backends/NetworkManagerGentoo.c:
17053         * src/backends/NetworkManagerRedHat.c:
17054         * src/backends/NetworkManagerSlackware.c:
17055         use new logging macros.
17056
17057         * dispatcher-daemon/NetworkManagerDispatcher.c:
17058         (nmd_dbus_filter): s/dbus_free/g_free/
17059
17060         * info-daemon/Makefile.am: link in utils library.
17061         * info-daemon/NetworkmanagerInfo.c: use new logging 
17062         macros.
17063         (nmi_dbus_get_network): don't assume enumerations
17064         are 32-bit.
17065         (nmi_dbus_nmi_message_handler): don't free what 
17066         doesn't belong to us.
17067
17068         * libnm_glib/libnm_glib.c:
17069         (libnm_glib_get_nm_status): 
17070         (libnm_glib_init): don't free what doesn't
17071         belong to us.
17072         (libnm_glib_dbus): strdup result, so it doesn't get
17073         lost when message is unref'd.
17074
17075         * panel-applet/NMWirelessAppletDbus.c:
17076         (nmwa_dbus_update_devices): s/dbus_free/g_free/
17077
17078         * src/NetworkManager.c:
17079         (nm_monitor_wired_link_state): request initial status 
17080         dump of all cards when we start up, instead of relying
17081         on /sys/.../carrier.
17082         (nm_info_handler), (nm_set_up_log_handlers): 
17083         log handlers to specify what syslog priorites 
17084         the logging macros default to.
17085
17086         * src/NetworkManagerAPList.c: 
17087         (nm_ap_list_populate_from_nmi):
17088         s/dbus_free_string_array/g_strfreev/
17089
17090         * src/NetworkManagerDbus.c:
17091         (nm_dbus_get_network_object):
17092         validate d-bus message argument types.
17093         Advance message iterator after reading argument,
17094         prepend instead of append to GSList.
17095
17096         * src/NetworkManagerDevice.c:
17097         (nm_device_probe_wired_link_status):
17098         remove redundant /sys in /sys path. remove wrong
17099         contents == NULL means has carrier assumption.
17100
17101         * src/nm-netlink-monitor.c 
17102         (nm_netlink_monitor_request_status): implement
17103         function to ask kernel to dump interface link
17104         status over netlink socket.
17105
17106         * test/*.c: s/dbus_free/g_free/
17107
17108         * utils/nm-utils.h:
17109         (nm_print_backtrace): new macro to print backtrace.
17110         (nm_get_timestamp): new macro to get sub-second precise
17111         unix timestamp.
17112         (nm_info), (nm_debug), (nm_warning), (nm_error):
17113         new logging functions. nm_info just prints,
17114         nm_debug includes timestamp and function,
17115         nm_warning includes function, nm_error includes
17116         backtrace and sigtrap.
17117
17118 2005-03-11  Ray Strode  <rstrode@redhat.com>
17119
17120         Third (unfinished, partially working) cut at porting to 
17121         dbus 0.30 api and new hal.
17122
17123         * info-daemon/NetworkManagerInfoDbus.c:
17124                 don't free null arrays.
17125
17126         * panel-applet/NMWirelessAppletDbus.c: 
17127         * src/nm-dbus-device.c:
17128         * src/nm-dbus-net.c: 
17129         * src/NetworkManagerDbus.c: more 
17130         STRING -> OBJECT_PATH fun
17131         * src/NetworkManagerDevice.c:
17132         * src/NetworkManagerDevice.h:
17133         (rename nm_device_get_link_active): rename to 
17134         nm_device_has_active_link
17135         (nm_device_wireless_link_active): rename to
17136         nm_device_probe_wireless_link_state
17137         (nm_device_wired_link_active): rename to
17138         nm_device_probe_wired_link_state.  Rewrite to
17139         use carrier file since hal doesn't maintain
17140         link state anymore.
17141         (nm_device_update_link_active): rename to
17142         nm_device_update_link_state
17143         * src/NetworkManagerPolicy.c 
17144           (nm_policy_activation_finish): check for NULL
17145           MAC address.
17146
17147         * src/Makefile.am:
17148         * src/NetworkManagerMain.h: 
17149         * src/NetworkManager.c:
17150         * src/nm-netlink-monitor.c:
17151         * src/nm-netlink-monitor.h: New class to support
17152         monitoring wired ethernet link status, since HAL
17153         doesn't export that information anymore.
17154
17155 2005-03-09  Ray Strode  <rstrode@redhat.com>
17156
17157         Second (unfinished, unworking) cut at porting to 
17158         dbus 0.30 api.
17159
17160         * dispatcher-daemon/NetworkManagerDispatcher.c:
17161         * info-daemon/NetworkManagerInfoDbus.c:
17162         * panel-applet/NMWirelessAppletDbus.c:
17163         * src/NetworkManagerDbusUtils.c:
17164         * src/NetworkManagerDbusUtils.h:
17165         * src/nm-dbus-device.c:
17166         * src/nm-dbus-nm.c:
17167         * test/nmtest.c: support dbus "object path" type
17168
17169         * configure.in: 
17170         * Makefile.am:
17171         * info-daemon/Makefile.am:
17172         * libnm_glib/Makefile.am:
17173         * panel-applet/Makefile.am:
17174         * dispatcher-daemon/Makefile.am
17175         * src/Makefile.am:
17176         * test/Makefile.am:
17177         * utils/Makefile.am: 
17178         * utils/nm-utils.c: 
17179         * utils/nm-utils.h: new utils static lib
17180
17181 2005-03-07  Ray Strode  <rstrode@redhat.com>
17182
17183         * info-daemon/NetworkManagerInfoDbus.c:
17184         * libnm_glib/libnm_glib.c:
17185         * panel-applet/NMWirelessAppletDbus.c:
17186         * src/NetworkManager.c:
17187         * src/NetworkManagerDbus.c:
17188         * src/NetworkManagerDevice.c:
17189         * src/NetworkManagerUtils.c:
17190         * src/nm-dbus-device.c:
17191         * src/nm-dbus-dhcp.c:
17192         * src/nm-dbus-net.c:
17193         * src/nm-dbus-nm.c:
17194         * test/nminfotest.c:
17195         First (unfinished, unworking) cut at porting to dbus 0.30 api.
17196
17197 2005-03-04  Dan Williams  <dcbw@redhat.com>
17198
17199         * configure.in
17200                 - Mark HEAD as 0.4
17201
17202 2005-03-04  Dan Williams  <dcbw@redhat.com>
17203
17204         Patch from Peter Jones:
17205         - Make stuff work with gcc 4.0
17206
17207 2005-02-28  Maxim Dziumanenko <mvd@mylinux.com.ua>
17208
17209         * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17210
17211 2005-02-27  Jim Huang  <jserv@kaffe.org>
17212
17213         * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17214
17215 2005-02-27  Dan Williams  <dcbw@redhat.com>
17216
17217         Patch from Bill Moss:
17218         * panel-applet/NMWirelessAppletDbus.c
17219                 - Make sure strength for current access point is up-to-date when we
17220                         update the gui data model
17221
17222 2005-02-27  Alessio Frusciante  <algol@firenze.linux.it>
17223
17224         * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17225
17226 2005-02-27  Dan Williams  <dcbw@redhat.com>
17227
17228         * src/backends/NetworkManagerRedHat.c
17229                 - (nm_system_init): Kill any dhclient processes lying around as well
17230                         as stopping 'nifd' if its already been started.  NetworkManager
17231                         subsumes the functions of nifd (kicking mDNSResponder, autoip)
17232
17233 2005-02-27  Dan Williams  <dcbw@redhat.com>
17234
17235         * panel-applet/NMWirelessApplet.c
17236                 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17237                         dbus data model, not the GUI data model twice.
17238
17239 2005-02-27  Dan Williams  <dcbw@redhat.com>
17240
17241         * panel-applet/NMWirelessApplet.[ch]
17242           panel-applet/NMWirelessAppletDbus.[ch]
17243                 - Move to incremental network updates.  Instead of blowing away our list
17244                         of devices every time we get a signal from NetworkManager, we now
17245                         incrementally add/remove networks when NetworkManager notifies us that
17246                         a new network has appeared or disappered.  Strength updates now happen
17247                         on-the-fly for each access point as well.  There are now two copies of
17248                         data from NetworkManager: one for the dbus side, and one for the gui side.
17249                         When the dbus side data is modified, it is copied over to the gui side
17250                         so we don't have to hold the data_mutex for long periods of time (and
17251                         therefore block animation of the applet's icon).
17252                 - Clean up some memleaks too
17253
17254         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17255                 - Minor code beautification
17256
17257         * src/NetworkManagerAPList.c
17258                 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17259                         completely new and whether or not an existing one's strength was updated.
17260                         Try to fix multiple access points and signal strength by using the highest
17261                         signal strength in each scan for any given ESSID.
17262
17263         * src/NetworkManagerDbus.[ch]
17264                 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17265                         wireless networks; now we have only WirelessNetworkUpdate which includes
17266                         a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17267                 - Kill usage of DbusMessageIter
17268
17269         * src/NetworkManagerDevice.c
17270                 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17271                         in the same scan result list.  Copy ESSIDs-by-address earlier on, for each
17272                         AP rather than all-at-once.  Also don't ever remove the AP a card is
17273                         currently associated with from the network list.
17274                 - Update for new signals during scan, send out Appeared, Disappeared, or
17275                         StrengthChanged when necessary.
17276
17277 2005-02-25  Dan Williams  <dcbw@redhat.com>
17278
17279         * README
17280                 - Line break the README
17281
17282 2005-02-25  Dan Williams  <dcbw@redhat.com>
17283
17284         * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17285                 - Remove usage of gtk_window_set_default_size()
17286
17287         * panel-applet/essid.glade
17288                 - Stick default size here
17289                 - Add in random crap that current glade wants to add in now
17290
17291 2005-02-25  Dan Williams  <dcbw@redhat.com>
17292
17293         * src/backends/NetworkManagerRedHat.c
17294                 - For non-caching-nameserver/non-named case, ensure that nscd is running
17295                         and that we actually tell nscd to reload the hosts cache when it changes
17296
17297 2005-02-25  Dan Williams  <dcbw@redhat.com>
17298
17299         * info-daemon/NetworkManagerInfoDbus.c
17300                 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17301
17302         * test/nminfotest.c
17303                 - Whack usage of DbusMessageIter
17304                 - Clean up DbusError and DbusMessage handling and freeing
17305                 - Remove unused unregister handler
17306
17307         * test/nmtest.c
17308                 - Whack usage of DbusMessageIter
17309
17310         * test/nmtestdevices.c
17311                 - Whack usage of DbusMessageIter
17312
17313 2005-02-25  Dan Williams  <dcbw@redhat.com>
17314
17315         * NetworkManager.h
17316                 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17317                         signal
17318
17319 2005-02-25  Dan Williams  <dcbw@redhat.com>
17320
17321         * named/nm-named-manager.c
17322                 - Ensure that pid and watch variables for child named process get cleared out
17323                         when the child goes away.
17324
17325 2005-02-22  Dan Williams  <dcbw@redhat.com>
17326
17327         * src/NetworkManagerPolicy.c
17328                 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17329                         and NULL out data->active_device so that we have to choose another one.
17330                         This may make NetworkManager keep attempting to connect to a wired network
17331                         if it fails, but if it keeps failing the wired network has more problems than
17332                         just NetworkManager.
17333
17334         * src/backends/NetworkManagerRedHat.c
17335                 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17336                         is already running
17337
17338         * named/nm-named-manager.c
17339                 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17340                         named so that the distro can flush whatever name service caching
17341                         daemon it uses
17342
17343 2005-02-21  Dan Williams  <dcbw@redhat.com>
17344
17345         * src/NetworkManagerDHCP.[ch]
17346                 - (nm_device_dhcp_remove_timeouts): new function
17347
17348         * src/NetworkManagerDevice.c
17349                 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17350                         remove the DHCP timeouts.
17351
17352 2005-02-21  Dan Williams  <dcbw@redhat.com>
17353
17354         * panel-applet/NMWirelessApplet.[ch]
17355           panel-applet/menu-info.[ch]
17356                 - Give the panel applet some major love: menu items are no longer
17357                         subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17358                         This allows the applet to actually reflect theme changes correctly,
17359                         since themeing of subclassed items in GTK _sucks_.
17360
17361 2005-02-18  Dan Williams  <dcbw@redhat.com>
17362
17363         * libnm_glib/libnm_glib.[ch]
17364           test/libnm_glib_test.c
17365                 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17366                         and its data, and doesn't have to free the callback data anymore
17367
17368 2005-02-18  Dan Williams  <dcbw@redhat.com>
17369
17370         * panel-applet/NMWirelessApplet.c
17371                 - Revert 2005-02-18 William Jon McCann fix for standard
17372                         copyright string until it passes 'make distcheck'.
17373                         With standard copyright string, xgettext complains
17374                         about "Non-ASCII string at ...".
17375
17376 2005-02-18  Dan Williams  <dcbw@redhat.com>
17377
17378         * panel-applet/essid.glade
17379           panel-applet/NMWirelessAppletOtherNetworksDialog.c
17380                 - Correct spelling of "adaptor"->"adapter"
17381
17382 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17383
17384         * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17385         (nmwa_about_cb): Use standard copyright string.  Update comment
17386         text to reflect that it is a notification area applet.  Remove
17387         leading newline in authors list.
17388         (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17389         instead of on parent menu item activation.  Fixes #167550.
17390
17391 2005-02-18  William Jon McCann  <mccann@jhu.edu>
17392
17393         * panel-applet/essid.glade: Capitalize items as per HIG.
17394           Fixes #167632
17395
17396 2005-02-16  William Jon McCann  <mccann@jhu.edu>
17397
17398         * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17399         files for GTK 2.4 or lower, since now public in GTK 2.6.
17400
17401         * panel-applet/essid.glade: Don't specify window size.
17402         
17403 2005-02-17  Dan Williams  <dcbw@redhat.com>
17404
17405         Caught by Bill Moss:
17406         * dhcpcd/client.c
17407                 - Time remaining for DHCP transaction calculation was incorrectly
17408                         inside a #ifdef DEBUG
17409
17410 2005-02-15  Christophe Merlet  <redfox@redfoxcenter.org>
17411
17412         * configure.in: Added fr (French) to ALL_LINGUAS.
17413
17414 2005-02-14  Dan Williams  <dcbw@redhat.com>
17415
17416         * src/NetworkManagerDHCP.c
17417                 - (set_domain_searches): Fix free of invalid pointer
17418
17419 2005-02-14  Dan Williams  <dcbw@redhat.com>
17420
17421         Patch from Peter Jones:
17422         * dhcpcd/client.c
17423                 - Ensure we return RET_DHCP_CEASED everywhere we should
17424         * dhcpcd/udpipgen.c
17425                 - Use faster TOS for IP packets
17426                 - Don't set ip_id since we're UDP
17427
17428         Patch from Tomislav Vujec:
17429         * src/nm-dbus-dhcp.c
17430           test/nm-dhcp-opt-test.c
17431                 - Clean up warnings to enable cvs tree compilation.
17432
17433 2005-02-14  Tomislav Vujec  <tvujec@redhat.com>
17434
17435         * configure.in
17436           po/hr.po
17437                 - Add the Croatian locale.
17438
17439 2005-02-14  Colin Walters  <walters@verbum.org>
17440
17441         * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17442         list of domains to search.
17443         
17444         * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17445
17446 2005-02-13  Dan Williams  <dcbw@redhat.com>
17447
17448         * dhcpcd/client.c
17449                 - Debug output cleanups of DHCP option printing and parsing.
17450
17451 2005-02-13  Dan Williams  <dcbw@redhat.com>
17452
17453         Patch from Dan Reed:  DHCP options D-BUS API
17454                 Exposes the DHCP options that a device receives to clients over D-BUS.
17455
17456         * configure.in
17457                 - A few cleanups
17458
17459         * dhcpcd/client.h
17460                 - Correct names, option length, and types for DHCP options
17461
17462         * dhcpcd/dhcpcd.[ch]
17463                 - Clarify function names that access DHCP options & data
17464
17465         * src/NetworkManagerDHCP.c
17466                 - Use new DHCP data access functions
17467
17468         * src/NetworkManagerDbus.c
17469                 - Message handler for DHCP functions
17470
17471         * src/nm-dbus-dhcp.[ch] (new)
17472                 - DHCP dbus methods
17473
17474         * test/nm-dhcp-opt-test.c
17475                 - Test DHCP D-BUS API and return all present DHCP options
17476
17477 2005-02-12  Dan Williams  <dcbw@redhat.com>
17478
17479         * test/Makefile.am
17480           test/nmclienttest.c
17481           test/nmtest.c
17482                 - Move nmclienttest.c -> nmtest.c
17483
17484 2005-02-12  Dan Williams  <dcbw@redhat.com>
17485
17486         * dhcpcd/buildmsg.c
17487                 - Pad DHCP packets until they are at least 300 bytes in size.
17488
17489 2005-02-11  Dan Williams  <dcbw@redhat.com>
17490
17491         * dhcpcd/client.c
17492                 - (dhcp_init): only print out client ID and class ID if they are specified
17493
17494         * src/NetworkManagerDbus.[ch]
17495           src/nm-dbus-nm.[ch]
17496           src/nm-dbus-device.[ch]
17497           src/nm-dbus-net.[ch]
17498                 - Move NM, Device, and Net functions to separate files and use the
17499                         dbus method list stuff in NetworkManagerDbusUtils.c to do
17500                         method dispatching
17501
17502         * src/NetworkManagerDbusUtils.c
17503                 - Add new validate_method called before each dispatch (if present)
17504                         that can validate the method call
17505
17506         * src/NetworkManagerWireless.c
17507                 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17508                         levels never to be evaluated
17509
17510         Patch from j@bootlab.org
17511         * src/NetworkManagerDevice.c
17512                 - Add typedef for "u64"
17513
17514         * src/backends/NetworkManagerDebian.c
17515                 - Copy in Dave Woodhouse's fixes for IPv6
17516
17517 2005-02-11  Dan Williams  <dcbw@redhat.com>
17518
17519         Patch from Dave Woodhouse for IPv6:
17520         * src/NetworkManagerUtils.c
17521                 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17522                         and multicast addresses
17523
17524         * src/NetworkManagerDevice.c
17525                 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17526                         after bringing up a card.
17527
17528 2005-02-10  Dan Williams  <dcbw@redhat.com>
17529
17530         Patch from Dave Woodhouse:
17531         * src/NetworkManagerSystem.h
17532           src/backends/NetworkManagerDebian.c
17533           src/backends/NetworkManagerGentoo.c
17534           src/backends/NetworkManagerSlackware.c
17535                 - New nm_system_device_add_ip6_link_address() function to add link-local
17536                         address on an interface.  Stubbed in Debian, Gentoo, and Slackware.
17537
17538         * src/backends/NetworkManagerRedHat.c
17539                 - (nm_system_device_add_ip6_link_address): implement
17540                 - (nm_system_device_flush_addresses): revert to previous behavior of
17541                         flushing all addresses
17542
17543 2005-02-10  Dan Williams  <dcbw@redhat.com>
17544
17545         Patch from Tom Parker:
17546         * src/NetworkManagerDevice.c
17547                 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17548                         mii.h headers are broken, and instead use our own typedefs
17549
17550 2005-02-10  Dan Williams  <dcbw@redhat.com>
17551
17552         * dhcpcd/buildmsg.c
17553                 - (fill_host_and_class_id): only fill in client and class IDs if
17554                         they are set by callers.
17555
17556         * dhcpcd/client.c
17557                 - (class_id_setup): don't autogenerate a class ID, only use one
17558                         we're given, if any.
17559                 - (client_id_setup): don't autogenerate a client ID, only use one
17560                         we're given, if any.
17561
17562         * dhcpcd/dhcpcd.c
17563                 - (dhcp_interface_init): ensure that client options are correctly
17564                         NULL terminated
17565
17566         * src/NetworkManagerDHCP.c
17567                 - (nm_device_dhcp_request): pass hostname to dhcp library
17568
17569 2005-02-10  Dan Williams  <dcbw@redhat.com>
17570
17571         * dhcpcd/client.c
17572                 - #rh147661# Don't send kernel version in DHCP requests
17573
17574         * src/NetworkManagerSystem.h
17575           src/backends/NetworkManagerDebian.c
17576           src/backends/NetworkManagerGentoo.c
17577           src/backends/NetworkManagerRedHat.c
17578           src/backends/NetworkManagerSlackware.c
17579                 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17580                         functions, they are no longer used anyway
17581
17582         * src/backends/NetworkManagerRedHat.c
17583                 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17584                         addresses in an attempt to keep IPv6 local-scope addresses around
17585
17586 2005-02-10  Dan Williams  <dcbw@redhat.com>
17587
17588         * src/NetworkManager.c
17589                 - (nm_create_device_and_add_to_list): change the add message slightly
17590
17591         * src/NetworkManagerUtils.c
17592                 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17593                         Return driver name to calling function
17594                 - (nm_get_driver_support_level): print out the driver a device is using
17595                         during the support check
17596
17597         Patch from Dave Woodhouse:
17598         * dhcpcd/udpipgen.c
17599                 - (in_cksum): copy last byte of odd-sized packets into a
17600                         'u_short' rather than a 'u_char', should fix wrong checksums
17601                         on big-endian platforms
17602
17603 2005-02-09  Dan Williams  <dcbw@redhat.com>
17604
17605         * Clean up usage of GSList objects and looping through their members
17606         * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17607                 now.
17608         * Fix problem where even if scanning was turned off, card would still
17609                 cycle through frequencies.
17610
17611 2005-02-08  Dan Williams  <dcbw@redhat.com>
17612
17613         * panel-applet/NMWirelessApplet.c
17614                 - Fix for gtk 2.4
17615
17616 2005-02-08  Dan Williams  <dcbw@redhat.com>
17617
17618         Patch from Bill Moss
17619         * panel-applet/NMWirelessApplet.c
17620                 - Restore correct ESSID in tooltips
17621
17622 2005-02-07  Dan Williams  <dcbw@redhat.com>
17623
17624         * panel-applet/NMWirelessApplet.[ch]
17625                 - Add a context menu that contains:
17626                         Pause/Resume Wireless Scanning
17627                         Stop/Start All Wireless Devices
17628                         About...
17629                 - Grab active device strength off active device,
17630                         not its network
17631
17632         * panel-applet/NMWirelessAppletDbus.[ch]
17633                 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17634                         "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17635                 - Update active device strength every 2 seconds, not every 1 second
17636
17637         * panel-applet/menu-info.c
17638                 - Only disable wired devices in the menu when they support carrier detection,
17639                         and don't currently have a link.  Non-carrier-detect devices will always
17640                         remain choosable
17641
17642         * src/Makefile.am
17643           src/NetworkManagerDbusUtils.[ch]
17644                 - Add new new dbus utils sources
17645
17646         * src/NetworkManager.c
17647                 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17648                         with the boolean parameter
17649                 - Set scanning_enabled & wireless_enabled to TRUE
17650
17651         * src/NetworkManagerDbus.c
17652                 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17653                 - Implement scanning & wireless enable/disable calls
17654                 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17655
17656         * src/NetworkManagerDevice.c
17657                 - New link detection stuff again...
17658                         o  Create device's mainloop earlier (but don't run it earlier)
17659                         o  Hook up new carrier-detect support stuff
17660                         o  Add in the ethtool & mii support detection code
17661                 - Don't scan if scanning is disabled
17662
17663         * src/NetworkManagerPolicy.c
17664                 - Never automatically choose a device that doesn't support carrier detection
17665                 - Don't automatically choose a wireless device if wireless is disabled
17666
17667 2005-02-07  Dan Williams  <dcbw@redhat.com>
17668
17669         * libnm_glib/libnm_glib.c
17670                 - Small cleanup in element list iteration
17671
17672 2005-02-07  Dan Williams  <dcbw@redhat.com>
17673
17674         * src/NetworkManagerWireless.c
17675                 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17676                         to be in line with the WEXT quality specification
17677
17678 2005-02-02  Dan Williams  <dcbw@redhat.com>
17679
17680         Patch from Nathan Fredrickson <nathan@silverorange.com>
17681         * Fix up compile for deprecation of libgnomeui
17682                 - Switch to <glib/gi18n.h> from <libintl.h>
17683                 - Remove <libgnomeui/libgnomeui.h> includes
17684                 - Use gtk_window_set_default_icon_from_file() rather than
17685                         gnome_window_set_default_icon_from_file()
17686
17687         * named/nm-named-manager.c
17688                 - (generate_named_conf): Fix return-nothing in non-void
17689                         function
17690
17691 2005-02-02  Dan Williams  <dcbw@redhat.com>
17692
17693         * Clean up unused variables and the like
17694
17695 2005-02-02  Dan Williams  <dcbw@redhat.com>
17696
17697         * src/NetworkManagerAPList.c
17698                 - (nm_ap_list_merge_scanned_ap): merge strength too
17699
17700         * src/NetworkManagerUtils.c
17701                 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17702                         of locking issues by printing out prettier information than g_mutex_lock
17703                 - Print out names of mutexes registered with nm_register_mutex_desc()
17704                 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17705                         us to seemingly block here for too long
17706
17707         * src/NetworkManager.c
17708           src/NetworkManagerAPList.c
17709           src/NetworkManagerDevice.c
17710                 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17711                         so we get better debug information printed
17712
17713         * src/NetworkManagerDbus.c
17714                 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17715                         since it sometimes has locking side effects
17716                 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17717                         from 10s
17718                 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17719                         we don't need a switch.  This gets called often enough that we can't block
17720                         until the scan mutex is acquired, because we'll block on device activation
17721                         and a few other things, which hangs main thread for too long.
17722
17723         * src/NetworkManagerPolicy.c
17724                 - (nm_policy_auto_get_best_device): reduce the possiblity that
17725                         nm_device_need_ap_switch() will be called               
17726
17727 2005-02-02  Dan Williams  <dcbw@redhat.com>
17728
17729         * panel-applet/NMWirelessApplet.c
17730                 - Display name of wireless network we are connecting to or connected to
17731                         in the tooltip of the applet
17732
17733 2005-02-02  Dan Williams  <dcbw@redhat.com>
17734
17735         * src/NetworkManagerDHCP.c
17736                 - Hopefully fix double-default-route problem by cleaning up the default
17737                         route added by DHCP code right before the DHCP transaction begins
17738
17739 2005-02-02  Dan Williams  <dcbw@redhat.com>
17740
17741         * named/nm-named-manager.c
17742                 - Write out valid resolv.conf when we exit
17743
17744 2005-02-01  Dan Williams  <dcbw@redhat.com>
17745
17746         Patch from Colin Walters:
17747         * named/nm-named-manager.c
17748                 - Make multi-domain search options work
17749
17750 2005-01-31  Dan Williams  <dcbw@redhat.com>
17751
17752         * info-daemon/NetworkManagerInfoDbus.c
17753                 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17754
17755         * src/NetworkManagerDevice.c
17756                 - (nm_device_new): Don't store the entire range struct, use only what we need
17757                         (which is currently avg_quality, max_quality, and frequencies).  Also
17758                         zero device structure when we've free'd it to maybe expose errors down
17759                         the line.
17760                 - (nm_device_update_signal_strength): grab the scan mutex before getting
17761                         quality data from the card since quality will be useless during a scan.
17762                         Call updated wireless qual-to-percent function with values stored in
17763                         nm_device_new() earlier.
17764                 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17765                         nm_device_get_bad_crypt_packets())
17766                 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17767                         nm_device_new()
17768                 - (get_initial_auth_method): always use the Auth method that's in the allowed
17769                         list if available.  Problem was this: when the WEP key is wrong, NM will
17770                         try OS then SK modes, and then get stuck in SK mode after that.  This
17771                         should reset it.
17772                 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17773                         function
17774
17775         * src/NetworkManagerWireless.c
17776                 - (nm_wireless_qual_to_percent): try to make this function actually work and
17777                         mimic iwlib behavior.  Use card's idea of quality divided by max_qual
17778                         if that's all present, otherwise fall back to signal-to-noise ratios.
17779
17780 2005-01-29  Dan Williams  <dcbw@redhat.com>
17781
17782         * initscript/RedHat/NetworkManager
17783                 - Don't spit out sysctl stuff to console
17784
17785         * libnm_glib/libnm_glib.c
17786                 - (libnm_glib_init): call dbus_g_thread_init()
17787
17788         * panel-applet/NMWirelessAppletDbus.c
17789                 - (nmwa_dbus_worker): call dbus_g_thread_init()
17790
17791         * src/NetworkManager.c
17792                 - (main): call dbus_g_thread_init()
17793
17794         * src/NetworkManagerAPList.c
17795                 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17796                         so we can actually see what's there in a normal syslog
17797
17798         * src/NetworkManagerDevice.c
17799                 - (nm_device_activate_wireless): print out the "waiting for access point"
17800                         message only once, then say what access point we actually got after
17801                         the wait.
17802                 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17803                         function, wait until the scan is done.  Scans may change the ESSID of
17804                         the card, making this function think we need to switch access points
17805                 - (nm_device_wireless_process_scan_results): for artificial access points
17806                         don't check against the card's ESSID, but the best_ap's ESSID.  This
17807                         prevents collisions with the scanning code, which may change the card's
17808                         ESSID and cause the access point to get dropped from the device's AP
17809                         list.  Also increase the keep-around time to 2m from 60s since the max
17810                         scan interval could be 60s in some cases.
17811
17812         * src/NetworkManagerPolicy.c
17813                 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17814                 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17815                         the new properties and ESSIDs to the device's AP list.  Fixes some races
17816                         between NM and NMI.
17817
17818 2005-01-27  Dan Williams  <dcbw@redhat.com>
17819
17820         * info-daemon/NetworkManagerInfoDbus.c
17821                 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17822                         GConf, make a minimal entry for it (essid & timestamp)
17823
17824         * src/NetworkManagerAPList.c
17825                 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17826                         NetworkManagerInfo isn't running
17827
17828         * src/NetworkManagerDbus.[ch]
17829                 - (nm_dbus_nmi_is_running): new function
17830
17831         * src/NetworkManagerDevice.c
17832                 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17833                         address to garbage.
17834
17835         * src/NetworkManagerPolicy.c
17836                 - (nm_policy_activation_finish): On successful activation, make sure
17837                         the "best" AP has a MAC address, and don't tell NMI to add the
17838                         current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17839                 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17840                         access point after refreshing our allowed list if it doesn't already
17841                         have a "best" access point.
17842
17843 2005-01-25  Dan Williams  <dcbw@redhat.com>
17844
17845         * panel-applet/NMWirelessAppletDbus.c
17846                 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17847                         so we check for NM_DBUS_SERVICE rather than not for it
17848
17849         * libnm_glib/libnm_glib.c
17850                 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17851                         ServiceOwnerChanged signal
17852
17853 2005-01-25  Dan Williams  <dcbw@redhat.com>
17854
17855         * configure.in
17856                 - Check DBUS version in configure, and set the C macros
17857                         DBUS_VERSION_[MAJOR,MINOR,MICRO]
17858
17859         * info-daemon/NetworkManagerInfoDbus.c
17860                 - Remove #if 0-d section of code that quit NMI if NM went away.
17861
17862         * panel-applet/NMWirelessAppletDbus.c
17863                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17864
17865         * src/NetworkManager.c
17866           src/NetworkManagerMain.h
17867           src/NetworkManagerDbus.c
17868                 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17869                 - Make updating of our Allowed Wireless Network lists from NMI
17870                         an idle function in the main thread now, with a high priority.
17871
17872 2005-01-24  Dan Williams  <dcbw@redhat.com>
17873
17874         * panel-applet/gtkcellview.[ch]
17875           panel-applet/menu-info.c
17876                 - Fix GTK version checks to be <= rather than <
17877
17878         * test/Makefile.am
17879                 - Include the libtool archive of libnm_glib rather than
17880                         trying to pull in the .so
17881
17882 2005-01-24  Dan Williams  <dcbw@redhat.com>
17883
17884         * src/NetworkManagerDevice.c
17885           src/NetworkManagerDevicePrivate.h
17886                 - Block nm_device_new() until our device's worker thread has had a
17887                         chance to start up.  Fixes a race between main thread and worker
17888                         thread starting that caused activation requests to get lost.
17889
17890 2005-01-24  Dan Williams  <dcbw@redhat.com>
17891
17892         * initscript/RedHat/NetworkManager
17893                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17894                         to add the NM startup script at priority 50, which was
17895                         way too early
17896
17897 2005-01-24  Colin Walters  <walters@redhat.com>
17898
17899         * named/named.conf: Use any port for query source instead of
17900         restricting to port 53.
17901
17902 2005-01-24  Dan Williams  <dcbw@redhat.com>
17903
17904         * initscript/RedHat/NetworkManager
17905                 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17906                         to add the NM startup script at priority 50, which was
17907                         way too early
17908
17909 2005-01-24  Dan Williams  <dcbw@redhat.com>
17910
17911         Patch from Tom Parker <palfrey@tevp.net>
17912         * Fix up compile warnings & errors in the wireless applet
17913
17914 2005-01-24  Dan Williams  <dcbw@redhat.com>
17915
17916         * panel-applet/NMWirelessApplet.c
17917                 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
17918
17919 2005-01-24  Dan Williams  <dcbw@redhat.com>
17920
17921         * panel-applet/gtkcellview.[ch]
17922                 - Only compile these files for GTK 2.4 or lower, since 
17923                         GtkCellView is now public in GTK 2.6.  Fixes crasher
17924                         when choosing "Other Wireless Networks" from the panel
17925                         applet menu
17926
17927 2005-01-21  Dan Williams  <dcbw@redhat.com>
17928
17929         * src/NetworkManager.c
17930                 - Daemonize earlier so that glib doesn't get confused (?)
17931
17932 2005-01-21  Dan Williams  <dcbw@redhat.com>
17933
17934         * panel-applet/NMWirelessApplet.[ch]
17935           panel-applet/NMWirelessAppletDbus.c
17936           panel-applet/menu-info.c
17937           src/NetworkManagerDevice.c
17938                 - Disable wired devices in the menu when they have no link.
17939
17940 2005-01-21  Dan Williams  <dcbw@redhat.com>
17941
17942         * Cache last-known-good wireless authentication method in
17943                 NetworkManagerInfo, and use that method first during
17944                 wireless device activation.  Should speed up devices that
17945                 need Shared Key authentication method since Open System is
17946                 now the default.
17947
17948         * Remove the hack to not do full activation on wired connections
17949                 that are active when we launch, it causes too many problems
17950                 with name resolution and was a hack in the first place.
17951
17952         * Re-work wireless device activation again somewhat to have a
17953                 clearer chain of events and to use last-known-good
17954                 authentication method of the access point.  Also provide
17955                 better status throughout activation to ensure the applet
17956                 can tell the user exactly what's going on.
17957
17958         * Remove the "find wireless network" code and now simply attempt
17959                 to activate with that access point.  This reduces the delay
17960                 between selecting "Other wireless Network" and actually
17961                 connecting to that network.
17962
17963         * Correctly stop the device's worker thread when its removed.
17964
17965 2005-01-21  Dan Williams  <dcbw@redhat.com>
17966
17967         * dhcpcd/client.c
17968                 - Clean up some of the debug messages
17969
17970 2005-01-21  Dan Williams  <dcbw@redhat.com>
17971
17972         * Add new icons, more frames of animation
17973         * Remove some hacks to get the panel applet to display correct
17974                 status, an NM update will soon follow that will fix the
17975                 real issue.
17976
17977 2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>
17978
17979         * panel-applet/NMWirelessApplet.c: #include <config.h> must be
17980         the first include for working i18n. Also, don't include it in .h files
17981         * panel-applet/NMWirelessApplet.h: Same
17982         * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
17983         * panel-applet/menu-info.c: Same
17984
17985 2005-01-18  Dan Williams <dcbw@redhat.com>
17986
17987         * dhcpcd/client.c
17988                 - Remove some debug messages
17989                 - Wrap others in #ifdef DEBUG/#endif
17990
17991         * src/NetworkManager.c
17992                 - Remove some debug messages
17993                 - Clarify some debug messages
17994                 - Remove code related to old single-thread wireless scanning
17995
17996         * src/NetworkManagerAP.[ch]
17997                 - New AP property "last_seen" to track how recently an AP was
17998                         found in a scan
17999                 - Start using 'const' more in function arguments
18000
18001         * src/NetworkManagerAPList.[ch]
18002                 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18003                         of an AP found in an AP list from a source AP, or if not found
18004                         in the list add the source AP
18005                 - (nm_ap_list_combine): remove, no longer needed
18006
18007         * src/NetworkManagerDevice.c
18008                 - Each device now has a "worker" thread from start to end of its life.
18009                         Scanning for wireless devices now happens in that thread,
18010                         not in a single "wireless scanning thread" for all devices as
18011                         previously.  Activation consists of adding an idle handler to the
18012                         thread's main loop/context, which gets run at the next available
18013                         opportunity.
18014                 - Wireless scanning is also simplified, there is now only one list of
18015                         access points per wireless device, and APs older than 60s are
18016                         removed from the list.  Previously, we kept results for the last
18017                         3 scans and merged whole lists, which was complicated.
18018                 - Cleaned up activation debug messages.
18019                 - Wireless activation and access-point search routines now use Open System
18020                         authentication before trying Shared Key.
18021                 - Removed some code in nm_device_update_best_ap() that could cause cards
18022                         to loose their link to the access point.
18023                 - Scanning now uses a backoff algorithm, where the inverval becomes
18024                         progressively longer between scans when the list of scanned access
18025                         points doesn't change.  A change will revert to the shortest scan
18026                         interval (20s).
18027
18028         * src/NetworkManagerWireless.[ch]
18029                 - Remove code related to old single-thread wireless scanning
18030
18031 2005-01-18  Colin Walters  <walters@redhat.com>
18032
18033         * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18034         of older nameservers.
18035
18036 2005-01-18  Colin Walters  <walters@redhat.com>
18037
18038         * named/nm-named-manager.c (generate_named_conf): Many fixes
18039         to config file generation.
18040         (safer_kill): Remove, was too much trouble for little gain.
18041         (nm_named_manager_start): Run named as NM_NAMED_USER.
18042
18043         * configure.in: Add option --with-named-user.
18044
18045 2005-01-14  Colin Walters  <walters@redhat.com>
18046
18047         Patch from ed@catmur.co.uk (Ed Catmur)
18048
18049         * named/nm-named-manager.c: Add "context" property.
18050         Use it to add child watch source in specific GMainContext.
18051
18052         * src/NetworkManager.c (nm_data_new): Initialize
18053         named with correct main context.  Start named only
18054         after forking.
18055
18056 2005-01-14  Colin Walters  <walters@redhat.com>
18057
18058         * named/nm-named-manager.c (generate_named_conf): Write config
18059         and pid files into NM_NAMED_DATA_DIR; this allows things to
18060         work better with FC3 named SELinux policy.  Also fix up silly
18061         format error.
18062
18063         * configure.in: Add --with-named-dir option.
18064
18065 2005-01-14  Colin Walters  <walters@redhat.com>
18066
18067         * configure.in: Make named support require passing --with-named.
18068
18069         * named/nm-named-manager.c: Support writing resolv.conf directly
18070         without running named.
18071
18072 2005-01-13  Dan Williams <dcbw@redhat.com>
18073
18074         * named/nm-named-manager.c
18075                 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18076
18077         * src/NetworkManagerDevice.c
18078                 - Rework wireless link detection code to be more reliable
18079
18080 2005-01-12  Dan Williams <dcbw@redhat.com>
18081
18082         * initscripts/RedHat/NetworkManager
18083                 - Change initial level to "-" rather than "345" so that
18084                         we don't activate ourselves by default on install
18085
18086 2005-01-12  Dan Williams <dcbw@redhat.com>
18087
18088         * libnm_glib/
18089                 - Client library for applications using glib
18090
18091         * configure.in
18092           various Makefiles
18093                 - Split NM_CFLAGS and NM_LIBS into separate variables
18094                         like DBUS_*, HAL_* and GLIB_*
18095
18096         * src/NetworkManager.c
18097           src/NetworkManagerMain.h
18098                 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18099                         broadcast a status changed signal over DBUS from the main thread.
18100                         Still unused anywhere for the moment.
18101
18102         Patch from j@bootlab.org
18103         * panel_applet/NMWirelessAppletDbus.c
18104           src/NetworkManagerDbus.c
18105                 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18106                         for the "getMode" method call
18107
18108 2005-01-10  Dan Williams <dcbw@redhat.com>
18109
18110         * src/NetworkManagerDevice.c
18111                 - Minor fixups & corrections to "auto" frequency mode, make it
18112                         less chatty with syslog
18113
18114 2005-01-10  Dan Williams <dcbw@redhat.com>
18115
18116         * src/NetworkManagerDevice.c
18117                 - Implement "auto" frequency/channel support, since cards like Atheros
18118                         can't use other frequencies at all when you've told it to use a
18119                         specific one, even for scanning.
18120                 - Grab the scan mutex around places where we can't tolerate wireless
18121                         settings changing underneath us, like nm_device_wireless_network_exists()
18122                         and nm_device_activate_wireless()
18123
18124         * src/NetworkManagerWireless.c
18125                 - Back scan interval off to 20s instead of 14s
18126
18127 2005-01-09  Dan Williams <dcbw@redhat.com>
18128
18129         * src/NetworkManagerDevice.c
18130                 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18131                         already set.  Stops some drivers like Atmel from continually
18132                         reloading the firmware, which they do upon every configuration
18133                         change.
18134
18135 2005-01-09  Dan Williams <dcbw@redhat.com>
18136
18137         * dhcpcd/client.c
18138                 - Use correct timeout value
18139
18140         * info-daemon/NetworkManagerInfoDbus.c
18141           src/NetworkManagerDbus.c
18142                 - Consolidate communication between NM and NMI by doing only 1 dbus
18143                         method call to get Wireless Network info from NMI instead of 6
18144
18145         * src/NetworkManager.c
18146                 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18147                         when we didn't have an AP to use, we'd wait for one forever without
18148                         quitting
18149
18150         * src/NetworkManagerDevice.c
18151                 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18152                         activation, dhcp might not have started yet but we don't quit activation
18153                         before starting it, so the quit signal gets lost
18154
18155 2005-01-07  Dan Williams <dcbw@redhat.com>
18156
18157         * dhcpcd/client.c
18158                 - Rework the DHCP client code to be much less chatty when
18159                         it receives non-DHCP UDP packets during the DHCP run
18160                         (reported by and preliminary patches from Bill Moss)
18161
18162         * Move wireless scanning to a separate thread.  This thread forwards the
18163                 results to the main thread when done where they are integrated into
18164                 the device's access point lists.  This keeps the main thread (which
18165                 does all the DBUS communication) from being blocked for long periods
18166                 of time by wireless scanning.
18167
18168         * Make state modification an idle routine in the main loop, and trigger
18169                 state changes rather than polling for them.
18170
18171         * src/backends/NetworkManagerGentoo.c
18172                 - Fix up invalid C90 code (reported by Christoph Ruessler)
18173
18174         * src/NetworkManagerDevice.c
18175                 - Revert IPv6 patch for wired devices from 2004-12-22 for
18176                         router advertisements, causing problems and infinite loop
18177                         during "best" device determination due to link going up/down
18178                         (reported by Bill Moss)
18179
18180         Apply patch from Peter Jones
18181         * src/NetworkManagerDevice.c
18182                 - Shortcut for link-checking for ipw2x00 cards
18183                 - Split out association check into separate routine
18184
18185 2004-01-05  Colin Walters  <walters@redhat.com>
18186
18187         * named/named.conf: Add PID_FILE.
18188
18189         * named/nm-named-manager.c: Always generate a pid
18190         file, since older BIND versions don't support
18191         "pid-file none".
18192
18193 2005-01-01  Satoru SATOH <ss@gnome.gr.jp>
18194
18195         * configure.in (ALL_LINGUAS): Added ja (Japanese).
18196
18197 2004-12-22  Dan Williams <dcbw@redhat.com>
18198
18199         * src/NetworkManagerDevice.c
18200                 - Silently fail when setting bitrate doesn't work
18201
18202
18203         Patches from j@bootlab.org:
18204         * src/backends/NetworkManagerDebian
18205                 - Update backend to match functionality in RedHat backend
18206         * src/NetworkManagerDevice.c
18207                 - Take down then bring up wired devices after connection so
18208                 they send out ipv6 router advertisements
18209
18210 2004-12-21  Colin Walters  <walters@verbum.org>
18211
18212         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18213         test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18214
18215 2004-12-21  Colin Walters  <walters@redhat.com>
18216
18217         * configure.in: Correct named detection.
18218
18219 2004-12-21  Colin Walters  <walters@redhat.com>
18220
18221         * src/NetworkManager.c (nm_data_new): Initialize named.
18222         Also, set up a signal handler for SIGINT/SIGTERM, and exit
18223         the mainloop when these signals are received.
18224         (nm_data_free): Unref named.
18225         (sigterm_handler, sigterm_pipe_handler): New functions for
18226         exiting mainloop.
18227         
18228         * src/NetworkManagerMain.h (NMData): Add signal handling and
18229         nameserver bits.
18230
18231         * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18232         unref.
18233
18234         * src/NetworkManagerDHCP.c (set_nameservers): New function;
18235         set nameservers from DHCP response data.
18236         (set_domain_search): Set domain search from DHCP response.
18237         (nm_device_dhcp_configure): Invoke them.
18238
18239         * src/NetworkManagerSystem.c
18240         (nm_system_device_update_resolv_conf): Delete.  Deleting
18241         code is totally sweet.
18242
18243         * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18244
18245         * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18246         implements an object which controls a nameserver.  Currently
18247         uses bind 9.
18248
18249         * configure.in: Check for named.
18250
18251         * Makefile.am (SUBDIRS): Add named dir.
18252
18253         * named/named.conf: New template config file.
18254
18255 2004-12-20  Colin Walters  <walters@redhat.com>
18256
18257         * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18258         instead of '='.
18259
18260 2004-12-17  Dan Williams  <dcbw@redhat.com>
18261
18262         * Ad Ad-Hoc networking mode support.  In Ad-Hoc mode, we only try to get
18263                 link-local addresses instead of doing DHCP.
18264
18265         * In the panel applet, there's a new "Create new Wireless Network..." item
18266
18267         * The panel applet also sticks around now even if NetworkManager dies, but
18268                 it doesn't hide its icon when NM isn't around.  Not hiding the icon is
18269                 a bug, I'll fix that later.
18270
18271         * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18272                 lookups after a switch rather than actually doing them.
18273
18274         * Clean up some of those warnings in nm_ap_list_* functions
18275
18276         * Delay between scans changed to 15s instead of 10s
18277
18278 2004-12-15  Dan Williams  <dcbw@redhat.com>
18279
18280         Patch from Tom Parker
18281         * Add autoip/Link Local Addressing support when we fail to get a DHCP
18282                 address
18283
18284         * Longer pause after setting ESSID on cards that support a larger number
18285                 of channels to give the card time to find the right channel
18286
18287         * Add system hook to restart mDNSResponder (or whatever the local implementation
18288                 of Multicast DNS is) when we activate interfaces
18289
18290 2004-12-15  Dan Williams  <dcbw@redhat.com>
18291
18292         * Rework the DHCP code again to revert to sending full ethernet frames
18293                 rather then relying on the kernel to do the right thing with our
18294                 packets.
18295
18296 2004-12-06  Dan Williams  <dcbw@redhat.com>
18297
18298         * dhcpcd/client.c
18299                 - Fix some minor errors in dhcp_handle_transaction() that caused
18300                         unexpected early timeouts of DHCP transactions
18301
18302         * dhcpcd/client.h
18303                 - DHCP retransmit time from 4s -> 5s
18304
18305 2004-12-05  Dan Williams  <dcbw@redhat.com>
18306
18307         * Major rework of the DHCP code, taking some cues from pump.  We don't
18308                 write raw Ethernet packets anymore, which simplifies the code quite
18309                 a bit.  The new code should be more robust, not hang in recvfrom()
18310                 as much, and generally work better.  This also means that we need
18311                 to force HAL/dbus to use a created GMainContext rather than the
18312                 default context, since having the DHCP renew/rebind thread using
18313                 its own GMainContext seemed to give dbus a fit.  There is also more
18314                 debugging information printed from the DHCP loop to help with future
18315                 problems.
18316
18317         * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18318                 assume that the default gateway should be the DHCP server.
18319
18320         Patch from Matthew Schick <matt oss-institute org>
18321         * src/backends/NetworkManagerGentoo.c
18322                 - Fix compilation error due to missing "ip4_broadcast"
18323
18324 2004-12-03  Dan Williams  <dcbw@redhat.com>
18325
18326         * initscript/Makefile.am
18327         * initscript/Debian/NetworkManager
18328         * initscript/Gentoo/NetworkManager
18329         * initscript/RedHat/NetworkManager
18330         * initscript/NMLaunchHelper.c
18331                 - Remove NMLaunchHelper, if you need to wait until the network
18332                         comes up, use the dead code from CVS.
18333
18334 2004-12-01  Colin Walters  <walters@redhat.com>
18335         
18336         * configure.in: Suck in gcc warnings code from Rhythmbox,
18337         but use fewer default flags, and in particular add -Wno-unused,
18338         since the codebase has a lot of unused variables.
18339
18340         * test/nmtestdevices.c (create_device): 
18341         * test/nminfotest.c (get_network_string_property) 
18342         (get_networks_of_type): 
18343         * test/nmclienttest.c (main): 
18344         * src/NetworkManagerDbus.c (nm_dbus_create_error_message): 
18345         * initscript/NMLaunchHelper.c (get_nm_status): 
18346         * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb): 
18347         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message): 
18348         Fix declarations after statements.
18349
18350 2004-12-01  Colin Walters  <walters@redhat.com>
18351
18352         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18353         (nmi_dbus_get_vpn_userpass): New method.
18354         (nmi_dbus_nmi_message_handler): Invoke it.
18355
18356         * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18357
18358         * info-daemon/NetworkManagerInfoVPN.h,
18359         info-daemon/NetworkManagerInfoVPN.c: New files; responds
18360         to requests for VPN passwords.
18361
18362         * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18363
18364 2004-12-01  Colin Walters  <walters@redhat.com>
18365
18366         * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18367         includes.
18368
18369 2004-12-01  Colin Walters  <walters@redhat.com>
18370
18371         * panel-applet/NMWirelessAppletDbus.c
18372         (nmwa_dbus_update_active_device_strength): Fix missing
18373         return value.
18374
18375 2004-12-01  Colin Walters  <walters@redhat.com>
18376
18377         * panel-applet/NMWirelessApplet.c: Add missing include.
18378
18379 2004-12-01  Colin Walters  <walters@redhat.com>
18380
18381         * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18382         Remove useless CLAMP (); the value is unsigned, and the case tests
18383         qual->qual < 100, so the value must always be between 0 and 100.
18384
18385 2004-12-01  Colin Walters  <walters@redhat.com>
18386
18387         * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18388
18389 2004-11-22  Colin Walters  <walters@verbum.org>
18390
18391         * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18392         "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18393         which is essentially a noop since nscd caches hosts on disk too.
18394         
18395 2004-11-22  Colin Walters  <walters@redhat.com>
18396
18397         * src/Makefile.am (NetworkManager_SOURCES): Add
18398         NetworkManagerDevicePrivate.h.
18399
18400 2004-11-22  Dan Williams <dcbw@redhat.com>
18401
18402         * src/NetworkManagerDevicePrivate.h
18403                 - Split out the NMDevice struct to a different file so that stuff like
18404                         NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18405
18406         * dhcpcd/client.c
18407                 - fprintf->syslog
18408                 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18409                         need to cancel the dhcp request during the send and recv
18410
18411         * dhcpcd/client.h
18412                 - Move the DHCP option enum to dhcpcd.h
18413
18414         * src/NetworkManagerDHCP.c
18415                 - Split out the actual IP/netmask/etc setting code
18416                 - New Renew/Rebind functions
18417                 - New timer setup function for renew/rebind operations
18418
18419         * src/NetworkManagerDevice.c
18420                 - For device activation, if we are using DHCP then keep the activation thread
18421                         alive until device deactivation.  We need to renew/rebind the DHCP address
18422                         after the T1 (renew) and T2 (rebind) times have expired.
18423                 - Increase some timeouts after bringing wireless cards up/down
18424
18425 2004-11-17  Dan Williams <dcbw@redhat.com>
18426
18427         * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18428                 connected to them.  Then, after a scan, match up non-ESSID-broadcasting access
18429                 points with any cached MAC addresses from NetworkManagerInfo.  Allows us to
18430                 show known access points that don't broadcast their ESSID in the menus without
18431                 any user intervention whatsoever.
18432
18433         * info-daemon/NetworkManagerInfoDbus.c
18434                 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18435                         for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18436
18437         * src/NetworkManagerAP.[ch]
18438                 - Add a "user_addresses" data member to the NMAccessPoint structure
18439                 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18440                         the user_addresses data member
18441
18442         * src/NetworkManagerAPList.c
18443                 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18444                         the AP's reported address
18445                 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18446
18447         * src/NetworkManagerDHCP.c
18448                 - Increase DHCP timeout from 25s -> 30s
18449
18450         * src/NetworkManagerDbus.[ch]
18451                 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18452                         user addresses
18453
18454         * src/NetworkManagerDevice.c
18455                 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18456                         wait 2s, then configure it.  Sometimes Prism54 cards will freeze up with
18457                         "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18458                         So, we take the card down to clear it out.
18459                 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18460                         too, since that's where the user_addresses are
18461
18462         * src/NetworkManagerPolicy.c
18463                 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18464                         that wireless networks' user_addresses list upon successful activation
18465
18466 2004-11-16  Dan Williams <dcbw@redhat.com>
18467
18468         * src/NetworkManagerDevice.[ch]
18469                 - (nm_device_clear_activation_fail): new function
18470
18471         * src/NetworkManagerPolicy.c
18472                 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18473                         when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18474
18475 2004-11-16  Dan Williams <dcbw@redhat.com>
18476
18477         * src/NetworkManagerDevice.c
18478                 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18479                         leak the structure, better updating of now_scanning status
18480                 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18481
18482 2004-11-15  Dan Williams <dcbw@redhat.com>
18483
18484         Major rework of link detection code.  We now use DHCP
18485         as part of the link detection which proves to be much more robust,
18486         and also supports Open System authentication for wireless networks.
18487
18488         We no longer use external DHCP client programs.  Instead, we use 
18489         our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18490         which was written by:
18491                 Yoichi Hariguchi <yoichi@fore.com>
18492                 Sergei Viznyuk <sv@phystech.com>
18493                 http://www.phystech.com/download/
18494         It resides in the "dhcpcd" directory and was refactored into a general
18495         purpose DHCP client library by me.
18496
18497         Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18498         move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18499
18500 2004-11-15  Dan Williams <dcbw@redhat.com>
18501
18502         Patch from Tom Parker <palfrey@tevp.net>:
18503
18504         * src/NetworkManagerDevice.c
18505                 - Less output to console when no access
18506                         points are found during a scan
18507
18508 2004-11-15  Dan Williams <dcbw@redhat.com>
18509
18510         Patch from Tom Parker <palfrey@tevp.net>:
18511
18512         * src/backends/interface_parser.c
18513                 - Use g_strdup ()
18514                 - Check for inp == NULL
18515                 - use syslog ()
18516
18517 2004-11-13  Colin Walters  <walters@redhat.com>
18518
18519         Patch from Tom Parker <palfrey@tevp.net>:
18520
18521         * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18522         
18523         * src/backends/NetworkManagerRedHat.c: Switch to
18524         including shvar.h instead of shvar.c.
18525
18526         * src/backends/NetworkManagerDebian.c: Don't include
18527         interface_parser.c in source file.
18528
18529         (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18530         and interface_parser.[ch].
18531         * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18532         Include shvar.c and shvar.h here.
18533         (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18534         interface_parser.c and interface_parser.h here.
18535
18536 2004-11-12  Colin Walters  <walters@redhat.com>
18537
18538         * configure.in: Strip out TARGET_DISTRO and
18539         SYSTEM_BACKEND_FILE variables.  Switch to Automake
18540         conditionals.
18541
18542         * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18543         (libnmbackend_la_SOURCES): Use Automake conditionals
18544         to add distro-specific files.
18545
18546         * initscript/Makefile.am (SUBDIRS): Update to
18547         use conditionals.
18548
18549 2004-11-12  Colin Walters  <walters@redhat.com>
18550
18551         Patches from j bootlab org
18552
18553         * src/Makefile.am (EXTRA_NetworkManager_SOURCES): 
18554         Add interface_parser.[ch].
18555
18556         * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18557         dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18558
18559 2004-11-12  Colin Walters  <walters@redhat.com>
18560
18561         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18562         call to nmi_dbus_is_running too, not necessary anymore.
18563         * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18564         pick up exit().
18565
18566 2004-11-11  Colin Walters  <walters@verbum.org>
18567
18568         * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18569         Delete.
18570         (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18571         the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18572         then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18573         This avoids a race condition that made it pretty easily
18574         possible to get two NetworkManagerInfo daemons running.
18575
18576 2004-11-11  Colin Walters  <walters@verbum.org>
18577         
18578         * src/NetworkManager.c (main): Use daemon(3).
18579
18580         * info-daemon/NetworkManagerInfo.c (main): Ditto.
18581
18582         * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18583
18584 2004-11-10 Dan Williams <dcbw@redhat.com>
18585
18586         Patches from j bootlab org
18587         * src/NetworkManagerDevice.c
18588                 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18589                         whether the card has a link or not, some cards are slow
18590                 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18591
18592         * info-daemon/NetworkManagerInfoPassphraseDialog.c
18593                 - Disable the "Login" button on the passphrase dialog until the user
18594                         enters a valid passphrase or key
18595
18596         Patches from Tom Parker <palfrey tevp net>
18597         * src/backends/NetworkManagerDebian.c
18598                 - Add static IP support to the debian backend
18599
18600         * src/backends/interface_parser.[ch]
18601                 - Parse debian interface config files
18602
18603 2004-11-08 Dan Williams <dcbw@redhat.com>
18604
18605         * src/NetworkManagerDevice.c
18606                 - Some random fprintf->syslog conversions
18607                 - (nm_device_wireless_network_exists): double-check for network
18608                 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18609
18610         * src/NetworkManagerWireless.[ch]
18611                 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18612                         so that the binary->ascii conversion works (if unsigned, the bitshift
18613                         will fill with zeros, which is what's required).  Also mask bitshift
18614                         result with 0xF for futher assurance.
18615
18616 2004-11-06 Dan Williams <dcbw@redhat.com>
18617
18618         * src/NetworkManagerUtils.c
18619                 - (nm_get_wireless_driver_support_level): default to
18620                         FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18621                         flip this when changing from whitelist->blacklist of
18622                         wireless drivers
18623
18624 2004-11-05 Dan Williams <dcbw@redhat.com>
18625
18626         Patch from Robert Paskowitz:
18627         * src/backends/NetworkManagerGentoo.c
18628                 - Update static IP config code
18629
18630 2004-11-05 Dan Williams <dcbw@redhat.com>
18631
18632         * info-daemon/NetworkManagerInfoDbus.c
18633           src/NetworkManagerDbus.[ch]
18634           src/NetworkManagerDevice.c
18635                 - Keep track of the # of attempts to get the WEP key
18636                         from the user and pass that along to the info daemon
18637
18638 2004-11-05 Dan Williams <dcbw@redhat.com>
18639
18640         * src/NetworkManagerUtils.c
18641                 - Blacklist wireless cards rather than whitelisting them.
18642                 - Grab driver name from HAL rather than trying to find it
18643                         ourselves.
18644
18645 2004-11-03 Dan Williams <dcbw@redhat.com>
18646
18647         * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18648                 - Disable OK button until valid data is entered
18649                         for encryption stuff too
18650
18651         * panel-applet/NMWirelessApplet.c
18652                 - Report card strength for current AP if the card
18653                         doesn't report strength data for scanned access
18654                         points
18655
18656         * src/NetworkManagerDevice.c
18657                 - Smooth out cards reported quality, Atmel card was
18658                         intermittently reporting no quality data but soon
18659                         recovers
18660
18661         * src/NetworkManagerWireless.c
18662                 - Better quality data percentage calculation.  Atmel
18663                         cards (mine at least) seem to report the quality
18664                         in percentage format already, so honor that
18665
18666         Patch from <j@bootlab.org>
18667         * NetworkManager.h
18668           info-daemon/NetworkManagerInfoPassphraseDialog.c
18669           info-daemon/passphrase.glade
18670           panel-applet/NMWirelessAppletOtherNetworkDialog.c
18671           panel-applet/essid.glade
18672           src/NetworkManagerAP.c
18673           src/NetworkManagerDevice.c
18674           src/NetworkManagerWireless.[ch]
18675                 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18676
18677 2004-11-03 Dan Williams <dcbw@redhat.com>
18678
18679         * src/NetworkManagerDevice.[ch]
18680                 - (nm_device_set_enc_key): Add parameter to set Authentication
18681                         Mode (Open System, Shared Key, or None).  We're still using
18682                         Shared Key for now though.
18683
18684 2004-11-02  Bryan Clark  <clarkbw@cvs.gnome.org>
18685
18686         * panel-applet/menu-info.c: change from bold text to light
18687         colored, may cause problems with some themes, i've tested a lot
18688         and they seem fine. 
18689
18690         * panel-applet/NMWirelessApplet.c: fix strength tooltip
18691
18692 2004-11-01  Colin Walters  <walters@verbum.org>
18693
18694         * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18695         (nm_wireless_128bit_key_from_passphrase): Add const.
18696
18697         * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18698         (nm_ap_set_enc_key_source): Add const.
18699         
18700 2004-11-01  Colin Walters  <walters@verbum.org>
18701
18702         * .cvsignore: Update.
18703
18704 2004-10-29 Dan Williams <dcbw@redhat.com>
18705
18706         * src/NetworkManagerDevice.c
18707                 - (nm_device_wireless_network_exists): Actually use the encryption
18708                         key we got from the applet when attempting to find a wireless network
18709                 - Don't bring devices down so much since on some cards it triggers
18710                         firmware hotplugs each time
18711
18712         * src/NetworkManagerDbus.c
18713                 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18714                         from the caller
18715
18716 2004-10-29 Dan Williams <dcbw@redhat.com>
18717
18718         * src/NetworkManager.c
18719                 - (nm_hal_device_property_modified): unlock a locked active
18720                         wireless device when a wired connection gets a link.
18721                         (Means you'll switch to wired whenever you plug in no
18722                         matter what).
18723
18724 2004-10-29 Dan Williams <dcbw@redhat.com>
18725
18726         * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18727                 - New files, implement the "Other wireless network" dialog
18728
18729         * panel-applet/NMWirelessApplet.c
18730                 - Move "other wireless network" dialog to separate file
18731
18732         * panel-applet/NMWirelessAppletDbus.[ch]
18733                 - Take key and key_type paramaters for the set_device function
18734
18735         * panel-applet/essid.glade
18736                 - Add UI bits for encryption settings
18737
18738         * src/NetworkManagerDbus.c
18739                 - Retrieve key and key_type params for "setActiveDevice" method call
18740                         and pass them on
18741                 - unref AP returned from nm_device_get_best_ap() when needed
18742
18743         * src/NetworkManagerDevice.c
18744                 - (nm_device_get_best_ap): ref the ap before returning it
18745                 - unref AP returned from nm_device_get_best_ap() when needed
18746                 - (nm_device_activate_wireless): add "ap" parameter so we don't
18747                         need to call nm_device_get_best_ap() here, it was pretty much
18748                         redundant anyway
18749                 - (AP_NEED_KEY): break second link check condition out into separate
18750                         function, and fix segfault when ap->enc_key_source was NULL
18751                 - (nm_device_find_and_use_essid): take key and key_type parameters and
18752                         pass them along to nm_device_wireless_network_exists().  If the
18753                         network does exist, set the passed-in key+key_type on the AP
18754
18755         * src/NetworkManagerPolicy.c
18756                 - unref AP returned from nm_device_get_best_ap() when needed
18757
18758 2004-10-28 Dan Williams <dcbw@redhat.com>
18759
18760         * src/NetworkManagerUtils.c
18761                 - (nm_spawn_process): Fix a potential dereference of NULL
18762
18763         Patches from Peter Jones:
18764
18765         * src/NetworkManagerDevice.c
18766                 - (nm_device_test_wireless_extensions): Better check for
18767                         wireless devices
18768
18769         * src/NetworkManagerUtils.c
18770                 - (nm_spawn_process): Pass in valid stdout and stderr so
18771                         executed programs don't randomly SIGPIPE and fail
18772                 - (nm_get_wired_driver_support_level): quash hal warning
18773                         when checking for USB ethernet device
18774
18775 2004-10-27 Dan Williams <dcbw@redhat.com>
18776
18777         * info-daemon/NetworkManagerInfo.c
18778           info-daemon/NetworkManagerInfoDbus.c
18779           info-daemon/NetworkManagerInfoPassphraseDialog.c
18780           panel-applet/NMWirelessApplet.c
18781                 - Properly escape gconf keys
18782
18783         * src/NetworkManager.c
18784                 - remove unused variables
18785
18786         * src/NetworkManagerAP.c
18787                 - (nm_ap_new_from_ap): Don't redundantly set new APs
18788                         refcount since it got set in nm_ap_new()
18789
18790         * src/NetworkManagerAPList.c
18791                 - (nm_ap_list_combine): Give up ownership of newly created
18792                         access points to the ap list, fixes memleak
18793
18794         * src/NetworkManagerDevice.c
18795                 - Remove cached_ap_list4 member since its not really needed
18796                 - (nm_device_wireless_network_exists): Try to get correct
18797                         encryption status of a found AP if its already in our
18798                         device list
18799                 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18800                         memory allocs/deallocs a bit clearer and shorter-lived
18801
18802 2004-10-26 Ray Strode <rstrode@redhat.com>
18803
18804         * panel-applet/NMWirelessApplet.c:
18805           (custom_essid_item_selected):  kill some compiler
18806         warnings 
18807
18808 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18809
18810         * info-daemon/NetworkManagerInfoDbus.c
18811                 - (nmi_dbus_is_running): New function for determining if nmi is already running
18812                 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18813
18814 2004-10-23 Dan Williams <dcbw@redhat.com>
18815
18816         * info-daemon/NetworkManagerInfoDbus.c
18817                 - Trap the "DeviceActivationFailed" signal
18818
18819         * docs/NetworkManager DBUS API.txt
18820                 - Add "DeviceActivationFailed" signal
18821
18822         * panel-applet/NMWirelessAppletDbus.c
18823                 - Quash the "NetworkManager service not available" message
18824
18825         * src/NetworkManagerDbus.[ch]
18826                 - Add the "DeviceActivationFailed" signal
18827
18828         * src/NetworkManagerDevice.c
18829                 - Add support for activation_failed flag
18830                 - Fix deadlock where activation thread didn't clean itself up, making
18831                         main thread still believe it was alive forever (didn't reset activation
18832                         flags like activating, just_activated, etc when IP configuration
18833                         failed)
18834
18835         * src/NetworkManagerPolicy.c
18836                 - Implement logic for DeviceActivationFailed signal, and when activation fails
18837                         for wireless networks, try to fall back to some other access point
18838
18839 2004-10-23 Dan Williams <dcbw@redhat.com>
18840
18841         * panel-applet/NMWirelessApplet.[ch]
18842                 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18843                         to the applet object, so we can get tooltips
18844                 - Add tooltips (RH #136866)
18845
18846         * src/NetworkManagerDevice.c
18847                 - When trying to find a wireless network, try to connect with encryption
18848                         turned on first, so that we can more accurately detect whether or not
18849                         we need to use encryption for the actual association later on
18850
18851 2004-10-21 Dan Williams <dcbw@redhat.com>
18852
18853         * Add some support for telling NetworkManagerInfo to tell the user
18854                 that they are using a device that's not fully supported
18855
18856         * Fix some assertions in debug messages due to null access point args
18857
18858 2004-10-21 Dan Williams <dcbw@redhat.com>
18859
18860         * src/NetworkManagerDevice.c
18861                 - Don't try to activate/bring up/down unsupported
18862                         devices
18863
18864         * src/NetworkManagerUtils.c
18865                 - Fix case of PCI ID checks for driver support levels
18866
18867 2004-10-21 Dan Williams <dcbw@redhat.com>
18868
18869         * NetworkManager.h
18870                 - New file, now contains commonly used structures and bits
18871                         for the dbus API of NetworkManager
18872
18873         * Makefile.am
18874                 - Deliver NetworkManager.h to ${includedir}/NetworkManager
18875
18876         * src/NetworkManager.h
18877                 - Rename -> src/NetworkManagerMain.c
18878
18879         * Various fixups all around to use NetworkManager.h and new
18880                 src/NetworkManagerMain.h, remove redundant bits that got
18881                 moved into NetworkManager.h
18882
18883         * src/NetworkManagerDevice.[ch]
18884           src/NetworkManagerUtils.[ch]
18885           src/NetworkManagerPolicy.c
18886           src/NetworkManagerDbus.c
18887                 - Whitelist wireless drivers, and blacklist some wired
18888                         drivers.  Also blacklist cipsec and ethernet-over-usb
18889                         devices at this time (RH #135722, RH #135648)
18890                 - Don't leak unsupported devices out over dbus, or allow
18891                         them to be set as the active device.  Skip over them
18892                         during automatic device picking
18893
18894         * test/nmclienttest.c
18895                 - Clean up the dbus code a lot
18896
18897 Tue Oct 19 14:20:29 2004  Jonathan Blandford  <jrb@redhat.com>
18898
18899         * configure.in: post release bump.
18900
18901 Tue Oct 19 14:19:24 2004  Jonathan Blandford  <jrb@redhat.com>
18902
18903         * configure.in:
18904         * NEWS: Released NetworkManager-0.3.1
18905
18906 2004-10-18 Dan Williams <dcbw@redhat.com>
18907
18908         Patches from Thom May:
18909         * test/nmtestdevices.c
18910                 - Include <string.h>
18911         * src/backends/NetworkManagerDebian.c:
18912                 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
18913                         (nm_system_device_flush_routes, nm_system_device_flush_addresses)
18914                         Move to using g_strdup_printf rather than arbitrary buffers
18915                 - (nm_system_device_setup_static_ip4_config) Implement function.
18916                 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
18917
18918 2004-10-17 Dan Williams <dcbw@redhat.com>
18919
18920         * info-daemon/NetworkManagerInfoDbus.c
18921                 - Display name of network in the "network not found" dialog
18922
18923         * panel-applet/NMWirelessAppletDbus.c
18924                 - (nmwa_dbus_call_nm_method): new function replaces all other
18925                         nmwa_dbus_get_[string|string_array|int|boolean] methods
18926                 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
18927                         consolidated into nmwa_dbus_get_object_name()
18928
18929 2004-10-15 Dan Williams <dcbw@redhat.com>
18930
18931         * src/NetworkManagerDbus.c
18932           info-daemon/NetworkManagerInfoDbus.c
18933                 - Display an error dialog when the user tries to use an
18934                         "Other wireless network" that's not found.
18935
18936 2004-10-15 Dan Williams <dcbw@redhat.com>
18937
18938         * panel-applet/NMWirelessApplet.[ch]
18939                 - Fix up corner cases in applet state, making it
18940                         look more responsive.  Change state to "connecting" when
18941                         the user is forcing a device too.
18942
18943 2004-10-15 Dan Williams <dcbw@redhat.com>
18944
18945         * src/NetworkManagerAPList.c
18946                 - (nm_ap_list_update_network): Disown AP after the list takes ownership
18947
18948         * src/NetworkManagerDbus.c
18949                 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
18950
18951         * src/NetworkManagerDevice.c
18952                 - Disown APs after the device's AP list takes ownership
18953
18954 2004-10-15 Dan Williams <dcbw@redhat.com>
18955
18956         * panel-applet/NMWirelessApplet.c
18957                 - Update our applet state from the GUI thread
18958
18959         * panel-applet/NMWirelessAppletDbus.c
18960                 - Greatly simplify the locking to make the GUI thread
18961                         smoother.  Update a private copy of the device list
18962                         and active device and only when done talking to
18963                         NetworkManager turn it over to the GUI thread.
18964
18965 2004-10-15 Dan Williams <dcbw@redhat.com>
18966
18967         * src/NetworkManagerAP.[ch]
18968                 - Add "artificial" get/set functions, set for APs that
18969                         aren't discovered as part of a scan but instead
18970                         discovered by force-setting the ESSID
18971
18972         * src/NetworkManagerDevice.[ch]
18973                 - (nm_device_wireless_network_exists): pass back whether
18974                         or not the discovered AP was encrypted.  Also, try
18975                         falling back to encrypted mode on the card if unencrypted
18976                         association doesn't work
18977                 - (nm_device_find_and_use_essid): If the network requested
18978                         did in fact exists, but it wasn't in our scan list, add
18979                         an "artificial" entry for it.  Some Cisco cards don't
18980                         see non-ESSID-broadcasting APs in their scan but can still
18981                         associate with them if you know the ESSID, this works around
18982                         that behavior
18983                 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
18984                         to scan if the card is currently associated with that AP
18985
18986 2004-10-15 Dan Williams <dcbw@redhat.com>
18987
18988         ---- We have a website ----
18989         http://people.redhat.com/dcbw/NetworkManager
18990
18991         Patch from Robert Paskowitz:
18992         * src/NetworkManager.c
18993                 - (main): Make sure we are run as root
18994         * src/NetworkManagerDevice.c
18995                 - Fix type in ad-hoc setting function
18996
18997         Patch from Thom May:
18998         * src/backends/NetworkManagerDebian.c
18999                 - Make Debian backend compile again
19000
19001 2004-10-14 Dan Williams <dcbw@redhat.com>
19002
19003         * Tagged NetworkManager-0_3
19004
19005 2004-10-14 Dan Williams <dcbw@redhat.com>
19006
19007         Patch from Robert Paskowitz:
19008         * NEWS
19009           src/NetworkManagerDevice.[ch]
19010           src/backends/NetworkManagerDebian.c
19011           src/backends/NetworkManagerGentoo.c
19012           src/backends/NetworkManagerRedHat.c
19013           src/backends/NetworkManagerSlackware.c
19014                 - Add support for grabbing and using a broadcast address
19015                         from system config files
19016                 - Some Gentoo backend fixes for grabbing network config
19017                 - Fix LOG_WARN->LOG_WARNING
19018
19019 2004-10-14 Dan Williams <dcbw@redhat.com>
19020
19021         * NEWS: a few small fixes in the credits
19022
19023 Thu Oct 14 19:12:58 2004  Jonathan Blandford  <jrb@redhat.com>
19024
19025         * NEWS: prep for release.
19026
19027 Thu Oct 14 16:47:12 2004  Jonathan Blandford  <jrb@redhat.com>
19028
19029         * panel-applet/NMWirelessAppletDbus.c
19030         (nmwa_dbus_update_device_wireless_networks): remove warnings.
19031
19032 Thu Oct 14 16:40:39 2004  Jonathan Blandford  <jrb@redhat.com>
19033
19034         * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19035         applet->state == APPLET_STATE_NO_NM animation.
19036
19037         * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19038         set the text correctly.
19039
19040 2004-10-14 Dan Williams <dcbw@redhat.com>
19041
19042         * src/NetworkManager.c
19043                 - Only accept and manager 802.3 and 802.11 devices
19044
19045         * src/NetworkManagerDbus.[ch]
19046                 - (nm_dbus_nm_set_active_device): move most of the actual activation
19047                         logic into NetworkManagerDevice.c
19048                 - (nm_dbus_network_status_from_data): new function
19049                 - (nm_dbus_signal_network_status_change): new function, unused for now
19050                 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19051
19052         * src/NetworkManagerDevice.[ch]
19053                 - (nm_device_find_and_use_essid): new function.  Search for, and if found use,
19054                         a random ESSID.
19055
19056 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19057
19058         * info-daemon/NetworkManagerInfo.c 
19059                 - (main): Added session management
19060
19061 2004-10-14 Dan Williams <dcbw@redhat.com>
19062
19063         * panel-applet/NMWirelessAppletDbus.[ch]
19064                 - Expose network_device_[un]ref()
19065                 - Expose wireless_network_[un]ref()
19066                 - (wireless_network_new_with_essid): new function, create and return
19067                         a wireless network with a particular essid
19068
19069         * panel-applet/NMWirelessApplet.c
19070                 - Hook up the "other network" dialog to do something
19071
19072 Wed Oct 13 19:31:53 2004  Jonathan Blandford  <jrb@redhat.com>
19073
19074         * panel-applet/NMWirelessApplet.c: Add an essid dialog.  It
19075         doesn't work yet, but it looks okay.
19076
19077         * panel-applet/icons/*png: Resize to 22x22 and install in the
19078         right place.
19079
19080 2004-10-13 Dan Williams <dcbw@redhat.com>
19081
19082         * panel-applet/NMWirelessApplet.c
19083                 - Add function to print out applet_state in a readable
19084                         manner
19085
19086         * src/NetworkManager.c
19087                 - (main): Don't segfault when nm_dbus_init() fails, we had
19088                         a left-over call to hal_shutdown() into which we passed NULL
19089
19090         * src/NetworkManagerAP.c
19091                 - (nm_ap_set_essid): Allow NULL essids
19092
19093         * src/NetworkManagerAPList.[ch]
19094                 - More use of nm_ap_list_[un]lock ()
19095                 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19096                         network/essid, just return nothing.  Also skip over NULL
19097                         essid access points in the list when searching
19098                 - (nm_ap_list_get_ap_by_address): new function
19099                 - (nm_ap_list_update_network): set the access point's key source to
19100                         NULL when the key returned from NetworkManagerInfo is NULL or
19101                         of 0 length
19102                 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19103                         copy timestamp over too
19104                 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19105                         find the correct ESSID for a blank-essid access point by searching
19106                         through another list and matching access point MAC addresses
19107                 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19108
19109         * src/NetworkManagerDbus.c
19110                 - (nm_dbus_nm_set_active_device): deal with random networks the user
19111                         may specify.  This is mainly for access points that don't
19112                         broadcast their essid.  So if the user tells us to associate with
19113                         some random ESSID that's not in our access point list, we find
19114                         out if the access point does in fact exist (by attempting association
19115                         and then matching that access point's MAC address with the essid the
19116                         user gave us) and then we switch to it.
19117                 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19118                         to the returned list of networks for the "getNetworks" method
19119
19120         * src/NetworkManagerDevice.[ch]
19121                 - Extra debugging info for link detection
19122                 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19123                         based on MAC address
19124                 - (nm_device_get_path_for_ap): ignore blank-essid access points
19125                 - (nm_device_wireless_network_exists): new function, find out whether
19126                         a random ESSID exists by attempting to associate with it
19127                 - (nm_device_do_normal_scan): allow blank-essid access points in our
19128                         device list as long as they have an AP MAC address we can use.
19129                         Also send WirelessNetwork[Dis]Appeared signals for non-active
19130                         devices too.  Lets the applet update more frequently.
19131
19132         * src/backends/NetworkManagerGentoo.c
19133                 - Patch from: Robert Paskowitz
19134                         - Update backend code for Gentoo
19135                         - Implement nm_system_device_update_config_info ()
19136
19137         * test/nmclienttest.c
19138                 - (set_network_device): new function, takes a command-line argument
19139                         and tells NetworkManager to use that wireless network
19140
19141 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19142
19143         * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19144         if the notification icon crashes 5 times within 5 seconds of each respawn 
19145
19146 Tue Oct 12 22:53:04 2004  Jonathan Blandford  <jrb@redhat.com>
19147
19148         * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19149         g_print.
19150
19151 Tue Oct 12 22:44:15 2004  Jonathan Blandford  <jrb@redhat.com>
19152
19153         * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19154
19155         * panel-applet/NMWirelessApplet.c: (animation_timeout),
19156         (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19157         (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19158         Change the name of the icons.
19159
19160         * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19161         (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19162         (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19163         (nm_menu_wireless_expose_event): Really bad hack to get the style
19164         to draw in the right color.
19165
19166 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19167
19168         * info-daemon/NetworkManagerInfo.c (main):  Add child watch to respawn
19169         Notification if it crashes
19170
19171 Fri Oct  8 07:19:55 2004  Jonathan Blandford  <jrb@redhat.com>
19172
19173         * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double): 
19174         (nmwa_dbus_get_string): remove unused functions
19175
19176         * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19177         (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19178         remove unused functions
19179
19180         * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19181
19182 2004-10-12 Dan Williams <dcbw@redhat.com>
19183
19184         * panel-applet/NMWirelessAppletDbus.c
19185                 - New functions:
19186                         wireless_network_new
19187                         wireless_network_copy
19188                         network_device_new
19189                         network_device_copy
19190
19191         * src/NetworkManagerDevice.[ch]
19192                 - New functions:
19193                         nm_device_set_mode_managed
19194                         nm_device_set_mode_adhoc
19195                 - Use these functions where appropriate
19196                 - When creating a new wireless device, force the card
19197                         to managed/Infrastructure mode as soon as possible
19198
19199 2004-10-12 Dan Williams <dcbw@redhat.com>
19200
19201         * src/NetworkManagerDevice.c
19202                 - Force wireless cards into Infrastructure mode before we use them
19203
19204 2004-10-12 Dan Williams <dcbw@redhat.com>
19205
19206         * TODO
19207                 - Remove bit about static IP address support
19208
19209         * src/NetworkManagerUtils.c
19210                 - (nm_spawn_process): Add some error reporting
19211
19212         * src/NetworkManagerDevice.c
19213                 - (nm_device_activation_configure_ip): hook up to the static config
19214                         routines in the backends
19215
19216         * src/backends/NetworkManagerRedHat.c
19217                 - (nm_system_device_update_config_info): use shvar.c routines to
19218                         parse the config file iformation, not our own
19219                 - (nm_system_device_setup_static_ip4_config): new function, based
19220                         heavily on 'ifup' script and 'ipcalc' tool code.  Set up a device
19221                         with a static IP address and gateway
19222
19223         * src/backends/shvar.[ch]
19224                 - Parser (filched from initscripts package) for ifcfg-* files
19225
19226         * src/backends/NetworkManagerSystem.h
19227           src/backends/NetworkManagerGentoo.c
19228           src/backends/NetworkManagerDebian.c
19229           src/backends/NetworkManagerSlackware.c
19230                 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19231
19232 2004-10-11 Dan Williams <dcbw@redhat.com>
19233
19234         * TODO
19235                 - Remove bit about more robust AP diffing since I just implemented it
19236
19237 2004-10-11 Dan Williams <dcbw@redhat.com>
19238
19239         * src/NetworkManagerAP.c
19240                 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19241                         enough RAM to allocate new AP structures, but return NULL instead
19242
19243         * src/NetworkManagerAPList.[ch]
19244                 - (nm_ap_list_is_empty): new function
19245                 - (nm_ap_list_combine): new function, combine two access point lists
19246                 - (nm_ap_list_copy_keys): new function, copy keys from one list
19247                         into another
19248
19249         * src/NetworkManagerDevice.[ch]
19250                 - Rename some functions to be clearer:
19251                         nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19252                         nm_device_just_activated     -> nm_device_is_just_activated
19253                         nm_device_activating         -> nm_device_is_activating
19254                         nm_device_now_scanning       -> nm_device_is_scanning
19255                 - Cache the last 4 scans so that the access point list is more stable.
19256                         We combine the lastest two scans and use that as the AP list,
19257                         and diff that combined list against the combination of the earliest
19258                         two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19259
19260 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19261
19262         * info-daemon/NWManagerInfo.h
19263                 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19264
19265         * info-daemon/NWManagerInfoDbus.c
19266                 - (shutdown_callback): new function
19267                 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19268                         if NetworkManager goes away.  Kill the timeout
19269                         if NetworkManager restarts before the 30 seconds
19270                         are up.
19271                 - (nmi_dbus_service_init): 
19272                         - call gtk_main_quit if NetworkManager is not running
19273                         - add filters to monitor dbus service creations and
19274                                 deletions
19275         
19276 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19277
19278         * panel-applet/NMWirelessApplet.c
19279                 - (nmwa_update_state): Hide notification icon if we are only
19280                         showing one wired card and no wireless interfaces 
19281                         (Red Hat Bug #134895)
19282
19283         * panel-applet/NMWirelessAppletDbus.c
19284                 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19285
19286         * info-daemon/NWManagerInfo.c
19287                 - (main): Terminated the notification_icon_cmd array with a NULL
19288
19289 2004-10-08  Hendrik Brandt  <hebra@cvs.gnome.org>
19290
19291         * configure.in (ALL_LINGUAS): Added de (German).
19292
19293 2004-10-08 Dan Williams <dcbw@redaht.com>
19294
19295         * src/NetworkManagerDevice.c
19296                 - Be a bit more robust about link checking, ie make sure that
19297                         the WEP key we were given actually has some data in it
19298
19299 2004-10-08 Dan Williams <dcbw@redhat.com>
19300
19301         * info-daemon/NetworkManagerInfo.c (main):
19302                 - Initialize GError object to NULL
19303
19304 2004-10-08 Dan Williams <dcbw@redhat.com>
19305
19306         * panel-applet/NMWirelessAppletDbus.c
19307                 - Die if NetworkManagerInfo dies, since it manages our lifetime
19308
19309 2004-10-08 Dan Williams <dcbw@redhat.com>
19310
19311         * info-daemon/NetworkManagerInfo.[ch]
19312           info-dameon/NetworkManagerInfoDbus.[ch]
19313           info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19314                 - Preserve original label text in the passphrase dialog so that
19315                         it actually gets updated with the new network name the next
19316                         time around.  Previously, we were overwriting it so you'd get
19317                         the wrong network name to enter a key for
19318                 - Add a "Key Type" combo to the passphrase dialog, user selects
19319                         encryption key type now, type is stored in GConf too
19320                 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19321
19322         * src/NetworkManagerAP.[ch]
19323                 - Remove all the encyption method magic.  It's now set by the user
19324                         and NetworkManager retrieves the type of encryption key from
19325                         NetworkManagerInfo
19326
19327         * src/NetworkManagerAPList.[ch]
19328           src/NetworkManagerDbus.[ch]
19329                 - Adjust to new way of setting encryption key and method
19330                 - Pull encryption method down from NMI along with key
19331
19332         * src/NetworkManagerDevice.[ch]
19333                 - Removed encryption method fallback magic as the method is now
19334                         determined by the user.  This greatly simplifies the connection
19335                         logic.
19336                 - More robust connection/link logic.  Besides removing the encryption
19337                         method fallback magic, check whether or not the card is receiving
19338                         invalidly encrypted packets, which usually indicates that we have
19339                         a bad WEP key set.
19340                 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19341
19342         * test/nminfotest.c
19343                 - Test out new "Key Type" stuff in the NMI passphrase dialog
19344
19345 2004-10-07 Dan Williams <dcbw@redhat.com>
19346
19347         * info-daemon/NetworkManagerInfo.conf
19348                 - Allow root user to run NMI too
19349
19350 2004-10-06 Dan Williams <dcbw@redhat.com>
19351
19352         * src/NetworkManagerDevice.[ch]
19353           src/NetworkManagerDbus.c
19354           doc/NetworkManager DBUS API.txt
19355                 - Add a new status tag "scanning", which is set when there
19356                         is no active network connection, but NetworkManager is
19357                         looking for an access point to associate with
19358
19359         * panel-applet/main.c
19360                 - Cast the applet appropriately for gtk_widget_show_all ()
19361
19362 Mon Oct  4 12:55:41 2004  Jonathan Blandford  <jrb@redhat.com>
19363
19364         * panel-applet/eggtrayicon.[ch]:
19365         * panel-applet/main.c: Add missing file
19366
19367 2004-10-04 Dan Williams <dcbw@redhat.com>
19368
19369         * src/NetworkManagerDevice.[ch]
19370                 - Add a slightly more robust method of determining if the WEP key
19371                         is correct or not, by checking the WEP-discarded packet count
19372                         on the card
19373
19374         * info-daemon/NetworkManagerInfo.c
19375                 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19376                         un-escape values we pull out rather than escaping them
19377
19378 2004-10-03  Marcel Telka  <marcel@telka.sk>
19379
19380         * configure.in (ALL_LINGUAS): Added sk.
19381
19382 Fri Oct  1 18:26:03 2004  Jonathan Blandford  <jrb@redhat.com>
19383
19384         * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19385         and feel.  We should be back to working, and have a good, clean
19386         look.
19387
19388 2004-09-30 Dan Williams <dcbw@redhat.com>
19389
19390         * info-daemon/NetworkManagerInfo.c
19391           info-daemon/NetworkManagerInfoDbus.c
19392           test/nminfotest.c
19393                 - Escape ESSIDs in gconf
19394
19395         * src/NetworkManagerDevice.c
19396                 - Fix pseudo-scanning to use netowrk list from info daemon
19397
19398 Wed Sep 29 18:18:24 2004  Jonathan Blandford  <jrb@redhat.com>
19399
19400         * configure.in: Add a temporary --enable-notification-icon.  This
19401         will prolly go away.
19402
19403         * info-daemon/Makefile.am:
19404         * info-daemon/NetworkManagerInfo.c:
19405         * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19406
19407         * panel-applet/Makefile.am:
19408         * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19409         * panel-applet/NMWirelessApplet.h:
19410
19411 Tue Sep 28 16:35:20 2004  Jonathan Blandford  <jrb@redhat.com>
19412
19413         * panel-applet/NMWirelessApplet.c: Fix deadlock.  Add a separator
19414         before 'select custom ESSID'.
19415
19416         * panel-applet/menu-info.c: Start rewrite for better headers.  Not
19417         fully complete, but syncing in prep for merge.
19418
19419         * panel-applet/icons/*png: New images
19420
19421 2004-09-28 Dan Williams <dcbw@redhat.com>
19422
19423         * src/NetworkManager.c
19424           src/NetworkManagerDevice.c
19425           src/NetworkManagerPolicy.c
19426                 - Don't blow away an active wired connection on startup
19427
19428 2004-09-28  Bryan Clark  <clarkbw@cvs.gnome.org>
19429
19430         Changes from J5
19431         
19432         * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19433
19434         * info-daemon/NetworkManagerInfoDbus.c: added service name to
19435         syslog output
19436
19437 Wed Sep 22 14:19:48 2004  Jonathan Blandford  <jrb@redhat.com>
19438
19439         * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19440         have a wireless card.
19441
19442 Wed Sep 22 14:05:48 2004  Jonathan Blandford  <jrb@redhat.com>
19443
19444         * panel-applet/NMWirelessApplet.c: move the custom essid item.
19445         Also, get the right device strings.
19446
19447 Wed Sep 22 13:51:45 2004  Jonathan Blandford  <jrb@redhat.com>
19448
19449         * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19450         the logic to make this right.
19451
19452         * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19453         devices so that wired networks are always first.
19454
19455 2004-09-22    <clarkbw@cvs.gnome.org>
19456
19457         * initscript/Debian/.cvsignore:
19458         * initscript/Slackware/.cvsignore:
19459         Added new cvsignores for Makefile, Makefile.in
19460         
19461         * test/.cvsignore:
19462         Added nmtestdevices
19463         
19464         * src/NetworkManagerDevice.c: 
19465         * src/NetworkManager.c: 
19466         Updated the wireless/wired HAL device strings from net.ethernet to
19467         net.80203 or net.80211 depending on wired or wireless respectively
19468         
19469         * examples/python/NetworkManager.py: 
19470         s/Quality/Strength/
19471
19472         * examples/python/systray/network_tray.py:
19473         Lots of little changes and fixes.  been rotting for a while so I
19474         figured I'd finally sync them all with CVS
19475
19476 Tue Sep 21 18:05:34 2004  Jonathan Blandford  <jrb@redhat.com>
19477
19478         * configure.in: Add graphics
19479
19480         * panel-applet/Makefile.am: Add graphics
19481
19482         * panel-applet/icons/*: Add graphics
19483
19484         * panel-applet/NMWirelessApplet.c: Use new menu times to display
19485         the icons fully lined up.
19486
19487         * panel-applet/menu-info.c: 
19488         * panel-applet/menu-info.h: Add another menu type.
19489
19490 Fri Sep 17 14:04:34 2004  Jonathan Blandford  <jrb@redhat.com>
19491
19492         * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19493
19494         * panel-applet/menu-item.[ch]: Wireless menu item.
19495
19496 2004-09-15  John (J5) Palmieri <johnp@redhat.com>
19497
19498         * info-daemon/NetworkManagerInfo.conf
19499                 - Created a more robust security policy for the DBus service
19500                         - everything is denied by default
19501                         - root can own and send to the service
19502                         - users logged in at the console can send to the service
19503
19504 2004-09-13  Dan Williams <dcbw@redhat.com>
19505
19506         * src/NetworkManagerDevice.c
19507                 - (nm_device_get_essid): use iw_get_basic_config() rather than
19508                         iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19509                         the latter
19510
19511 2004-09-13  Dan Williams <dcbw@redhat.com>
19512
19513         * TODO: fix typo
19514
19515         * docs/NetworkManager DBUS API.txt
19516                 - Update for new signal strength changes
19517
19518         * panel-applet/NMWirelessApplet.c
19519                 - Make panel icon show strength of the current connection
19520                 - Cleanups and memleak fixes
19521
19522         * panel-applet/NMWirelessApplet.h
19523                 - Add data members for signal strength on devices and networks
19524
19525         * panel-applet/NMWirelessAppletDbus.c
19526                 - Free more DBusErrors
19527                 - Update for new signal strength changes
19528                 - Make devices and networks more like real objects, use ref/unref methods
19529                 - Actually unlock the mutex when updating the active device
19530
19531         * src/NetworkManagerAP.c
19532                 - Change AP functions and data members from "quality"->"strength"
19533
19534         * src/NetworkManagerDbus.c
19535                 - Kill "getMaxQuality" and "getQuality" methods
19536                 - Add "getStrength" methods for Networks and Devices
19537
19538         * src/NetworkManagerDevice.[ch]
19539                 - Add accessors for device strength
19540                 - Add functions to update strength for a device.  Note that not all drivers
19541                         actually support signal strength for scanned access points (Atmel drivers
19542                         being one)
19543                 - Calculate signal strength for each AP during scan
19544
19545         * src/NetworkManagerWireless.[ch]
19546                 - Add function to return signal strength % from a device and a raw quality struct
19547
19548         * test/nmclienttest.c
19549                 - Update for new signal strength changes
19550
19551 2004-09-11  Dan Williams <dcbw@redhat.com>
19552
19553         * src/NetworkManager.c
19554                 - Fix race condition between initscripts and NM on card insertion
19555                         which could cause a card to keep an IP address and routes around
19556                         even when it was not the active device
19557
19558         * src/NetworkManagerDbus.c
19559                 - Fix compile errors, free more DBusErrors
19560
19561 2004-09-11  Dan Williams <dcbw@redhat.com>
19562
19563         * docs/NetworkManager DBUS API.txt
19564                 - Add an explanation of NM's API
19565
19566         * src/NetworkManagerDbus.c
19567                 - Free some more DBusErrors if needed
19568
19569 2004-09-11  Dan Williams <dcbw@redhat.com>
19570
19571         * panel-applet/NMWirelessApplet.c
19572           panel-applet/NMWirelessAppletDbus.c
19573                 - Start using NetworkDevice/WirelessNetwork structures in more places
19574                 - Update for unified device/network forcing in NetworkManager
19575
19576         * src/NetworkManager.c
19577                 - some code consolidation
19578
19579         * src/NetworkManagerDbus.c
19580                 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19581                         or two arguments:  the first is the NM ID of the device to switch to,
19582                         and the second (optional) argument is the ESSID of a wireless network
19583                         to use as well.
19584                 - Get rid of "setNetwork" method due to above change
19585
19586         * src/NetworkManagerDevice.c
19587                 - (nm_device_new): perform scan and update best AP on device creation
19588                 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19589                 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19590                         spin waiting for cancellation to finish before returning
19591
19592         * src/NetworkManagerPolicy.c
19593                 - Changes here clarify the situations in which a device switch occurs, and 
19594                         make sure to keep using a forced device and network if the user gives
19595                         us one
19596                 - Remove old unused code
19597
19598 2004-09-11  Martin Willemoes Hansen  <mwh@sysrq.dk>
19599
19600         * configure.in: Added Danish (da) to ALL_LINGUAS.
19601
19602 2004-09-09  Dan Williams <dcbw@redhat.com>
19603
19604         * panel-applet/NMWirelessAppletDbus.c
19605                 - Pull fresh devices and networks from NM when wireless networks
19606                         change.  Provides faster feedback of a forced wireless network
19607
19608         * src/NetworkManagerDbus.c
19609                 - Return error when "getMaxQuality" is called on a wired device
19610                 - Make best_ap freezing actually work again, and signal cancellation
19611                         of activation if there's already a device activation when the user
19612                         freezes the best_ap
19613
19614         * src/NetworkManagerDevice.c
19615                 - Don't clear out the best_ap for wireless devices when the link goes
19616                         down, that's done elsewhere
19617                 - Kill any dhcp daemons when cancelling device activation since they
19618                         may be stuck waiting for a DHCP address, and since we're cancelling
19619                         activation we don't care about that anymore
19620
19621         * src/NetworkManagerPolicy.c
19622                 - Make sure to unref the device we ref earlier (we refed it to make sure
19623                         it stuck around during device activation and such)
19624                 - If we were going to change the best device, but its activating currently
19625                         (and therefore the change didn't occur due to the check earlier)
19626                         we mark the state changed to we come back to it later when device
19627                         activation has canceled and its no longer activating
19628
19629         * src/backends/NetworkManagerRedHat.c
19630                 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19631
19632 2004-09-09  Bryan Clark  <clarkbw@cvs.gnome.org>
19633
19634         * info-daemon/passphrase.glade: 
19635         set passphrase input to activates_default : True
19636
19637         * examples/python/systray/network_tray.py
19638         (network_tray.sort_networks):
19639
19640         Added support for having wireless always scanning
19641
19642 2004-09-09  Dan Williams <dcbw@redhat.com>
19643
19644         NOTE: this commit changes the behavior of wireless devices in
19645         NetworkManager.  They are now up all the time, scanning all
19646         the time.  Only the active device has an IP address and routing
19647         information set up however.  Also, NetworkManager will no longer
19648         opportunistically switch wireless networks when a better one
19649         comes in range, it will remain associated with one wireless network
19650         until that one drops out.
19651
19652         * panel-applet/NMWirelessApplet.c
19653           panel-applet/NMWirelessAppletDbus.c
19654                 - List all wireless cards and their respective networks
19655
19656         * src/NMLoadModules
19657                 - Use full path to /sbin/ip
19658
19659         * src/NetworkManager.c
19660                 - Keep wireless devices up all the time so they can scan
19661
19662         * src/NetworkManagerDbus.c
19663                 - On a WirelessNetworkUpdate signal from NMI, don't update
19664                         the "best" AP
19665
19666         * src/NetworkManagerDevice.c
19667                 - (nm_device_set_link_active): clear out the best ap for
19668                         wireless devices when the link is set to FALSE
19669                 - Scan on all wireless cards, all the time
19670                 - (nm_device_activation_worker): split out the wireless card
19671                         link-waiting code to a separate function
19672                 - Keep wireless cards up even if device activation fails
19673                 - Don't update the "best" ap as much
19674
19675         * src/NetworkManagerPolicy.c
19676                 - Don't update the best ap when checking if its frozen,
19677                         let link checking clear out a frozen best ap for us
19678
19679         * src/NetworkManagerWireless.c
19680                 - Scan on all wireless cards, all the time
19681
19682 2004-09-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
19683
19684         * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19685
19686 2004-09-09  Ankit Patel <ankit@redhat.com>
19687
19688         * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19689
19690 2004-09-09  Pablo Saratxaga  <pablo@mandrakesoft.com>
19691
19692         * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19693
19694 2004-09-08  Bryan Clark  <clarkbw@cvs.gnome.org>
19695
19696         * examples/python/NetworkManager.py: 
19697         added CONNECTED, CONNECTING, and DISCONNECTED states
19698         added methods to return number of devices of a single type
19699
19700         * examples/python/systray/network_tray.py: 
19701         did some tweaks to get the menu looking near what it is supposed
19702         to look like.  Also did a Airo card hack to make it show the
19703         correct AP quality
19704
19705 2004-09-08  Dan Williams <dcbw@redhat.com>
19706
19707         * panel-applet/no-networkmanager.png
19708           panel-applet/Makefile.am
19709           panel-applet/NMWirelessApplet.c
19710                 - Add a "NetworkManager not running" icon and use it
19711                 - Use new consolidated GConf keys rather than Preferred/Trusted
19712
19713         * TODO: update
19714
19715         * info-daemon/NetworkManagerInfo.c
19716           info-daemon/NetworkManagerInfoDbus.[ch]
19717           info-daemon/NetworkManagerInfoPassphraseDialog.c
19718                 - There are now no longer two separate lists of wireless networks,
19719                         but one list where each network is "trusted" or not trusted
19720                 - Add a "getNetworkTrusted" dbus method
19721                 - "WirelessNetworkUpdate" signal now sent rather than
19722                         "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19723                 - Start freeing some dbus errors (not completed yet)
19724
19725         * info-daemon/passphrase.glade
19726                 - Remove the "don't show" hints for pager and taskbar
19727                 - Add a title since its going to be in the taskbar
19728
19729         * src/NetworkManager.[ch]
19730           src/NetworkManagerAPList.[ch]
19731                 - There are now no longer two separate lists of wireless networks,
19732                         but one list where each network is "trusted" or not trusted
19733
19734         * src/NetworkManagerAP.[ch]
19735                 - Add get/set "trusted" accessors and data bit
19736
19737         * src/NetworkManagerDbus.[ch]
19738                 - Add function to get "trusted" status of a network from NetworkManagerInfo
19739                 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19740
19741         * src/NetworkManagerDevice.[ch]
19742                 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19743                 - (nm_device_new): Get device config from backend when initializing devices
19744                 - (nm_device_activation_worker): Split out device configuration on
19745                         activation to deal with static/dynamic IP differences, and try encryption
19746                         fallbacks on a device if the encryption method for the best AP is not good
19747                 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19748                         NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19749
19750         * src/NetworkManagerWireless.c
19751                 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19752
19753         * src/backends/NetworkManagerRedHat.c
19754           src/backends/NetworkManagerSystem.h
19755                 - (nm_system_device_update_config_info): Add function to get device configuration
19756                         from system data in ifcfg-* files
19757
19758         * src/backends/NetworkManagerDebian.c
19759           src/backends/NetworkManagerGentoo.c
19760           src/backends/NetworkManagerSlackware.c
19761                 - Add stub functions for getting device configuration
19762
19763 2004-09-07  Dan Williams <dcbw@redhat.com>
19764
19765         * src/backends/NetworkManagerRedhat.c
19766           src/backends/NetworkManagerSlackware.c
19767                 - Use full path to /sbin/ip everywhere
19768
19769 2004-09-07  Dan Williams <dcbw@redhat.com>
19770
19771         Patch from: Narayan Newton <narayan_newton@yahoo.com>
19772
19773         * configure.in
19774           initscript/Makefile.am
19775           initscript/Slackware/Makfile.am
19776           initscript/Slackware/rc.networkmanager
19777           src/Makefile.am
19778           src/backends/NetworkManagerSlackware.c
19779                 - Add Slackware support
19780
19781 2004-09-07  Dan Williams <dcbw@redhat.com>
19782
19783         Patches below from:
19784                 <j@bootlab.org>
19785                 Mark Roach <mrroach@okmaybe.com>
19786                 Thom May <thom@debian.org>
19787
19788         * configure.in
19789           initscript/Debian/NetworkManager
19790           initscript/Debian/Makefile.am
19791                 - Initscript for Debian
19792
19793         * src/backends/NetworkManagerDebian.c
19794                 - Add missing system init function to allow compilation
19795                         on Debian
19796
19797 2004-09-03  Raphael Higino <raphaelh@cvs.gnome.org>
19798
19799         * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19800
19801 2004-09-03  Akagic Amila <bono@linux.org.ba>
19802
19803         * configure.in: Added 'bs' to ALL_LINGUAS.
19804
19805 2004-09-02  Colin Walters  <walters@verbum.org>
19806
19807         * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19808         (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19809         g_strdup_printf instead of arbitrarily sized buffers.
19810
19811 2004-09-01  Colin Walters  <walters@verbum.org>
19812
19813         * NetworkManager.pc.in: New file.
19814
19815         * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19816
19817 2004-09-01  Amanpreet Singh Alam  <aalam@redhat.com>
19818         
19819         * configure.in: Punjabi(pa) is added to po/.
19820
19821 2004-08-31  Dan Williams <dcbw@redhat.com>
19822
19823         * Remove 'debug' extern global from all files since we now
19824                 use syslog()
19825
19826         * src/NetworkManager.[ch]
19827                 - Break out routine that get the net.interface property from HAL,
19828                         removing that logic from nm_create_device_and_add_to_list()
19829                 - (nm_create_device_and_add_to_list): make this a bit more general so
19830                         it doesn't do the talking to HAL.  Also add arguments to facilitate
19831                         the create of test devices.
19832                 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19833                 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19834                         which makes NetworkManager listen for dbus commands to create test
19835                         devices, which have no backing hardware.  Use when you're on a plane
19836                         for example, and/or forgot your wireless card at home.  Test devices
19837                         _cannot_ be created unless NM is started with --enable-test-devices.
19838
19839         * src/NetworkManagerDbus.[ch]
19840                 - New "getLinkActive" method for devices
19841                 - New "setLinkActive" method for devices (only works on test devices)
19842                 - New "createTestDevice" method on NetworkManager object to create a test
19843                         device of a specified type (ie wired, wireless).  UDI is created from
19844                         scratch, as is the interface name.  Only works when NM is started with
19845                         --enable-test-devices switch.
19846                 - New "removeTestDevice" method on NetworkManager object which removes a
19847                         test device.  Only works when NM is started with --enable-test-devices
19848
19849         * src/NetworkManagerDevice.[ch]
19850                 - Logic to facilitate test devices.  Add variables to NMDevice struct to indicate
19851                         whether a device is a test device or not, and what its link status is.
19852                 - Deal with test devices in most functions.  For those that work directly on hardware
19853                         special-case test devices.
19854                 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19855                         command-line.
19856                 - (nm_device_update_link_active): split out logic for wired and wireless device link
19857                         checking to separate functions to facilitate test device link checking.
19858                 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
19859                         don't make a distinction between System Authentication and Encryption
19860                         (namely Cisco aironet), we use Open System auth when setting a WEP key
19861                         on the card.  We don't deal with Shared Key auth yet.
19862                 - (nm_device_activation_worker): split the activation cancel check logic out into
19863                         a separate routine nm_device_activation_cancel_if_needed()
19864                 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
19865                 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
19866                         a list of fake access points that they can "see"
19867                 - (nm_device_is_test_device): return whether or not a device is a test device
19868
19869         * src/NetworkManagerPolicy.c
19870                 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
19871                         previously if you "locked"/forced NM to use a wireless device but then
19872                         selected a wireless network for NM to use, it would switch to a wired device.
19873                         So, if the active device is wireless and it has a "forced" best AP, use it
19874                         if the "forced" best AP is still valid
19875                 - (nm_state_modification_monitor): deal with NULL best devices, for example
19876                         there were no usable network devices, or the last one was removed
19877
19878         * src/backends/NetworkManager*.c
19879                 - Deal with test devices, mostly just return success for operations like getting
19880                         a DHCP address
19881
19882         * test/nmtestdevices.c
19883                 - Test tool to create/remove/link-switch test devices
19884
19885 2004-08-30  Bryan Clark  <clarkbw@cvs.gnome.org>
19886
19887         * examples/python/NetworkManager.py: 
19888         added convience functions has_wired_device and has_wireless_device
19889
19890         * examples/python/systray/network_tray.py: 
19891         cleaned up a bunch of cruft, added support for listing wireless
19892         networks just like the real applet.  This is probably all I'm
19893         going to work on this applet from now on.
19894         TODO: add support for actually changing networks and devices
19895
19896         * examples/python/NetworkManager.py (NetworkManager.get_device): 
19897         changed "nm.networks" into a dict from a list so I can store all
19898         the cool information about networks in there
19899
19900         * examples/python/systray/network_tray.py: 
19901         Added nice message when you try to run without running make first
19902
19903         * examples/python/NetworkManager.py: 
19904         Bug fixes to the code so we get all the device information
19905         that we need in get_device()
19906         
19907         * examples/python/NMTester.py: 
19908         Fixed _print_device_list to print_device_list
19909
19910 2004-08-29  Seth Nickell  <seth@gnome.org>
19911
19912         * configure.in:
19913
19914         Actually properly setup the Debian backend in configure.
19915         
19916 2004-08-29  Colin Walters  <walters@verbum.org>
19917
19918         * test/nminfotest.c: Include string.h and stdlib.h.
19919         (get_network_string_property, get_networks_of_type): Return NULL.
19920
19921         * test/nmclienttest.c (get_device_name, get_active_device): Return
19922         NULL.
19923
19924         * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
19925         use strlen, fgets always NULL-terminates the string.
19926
19927         * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
19928         dbus_message_get_member): Remove /* in comment.
19929
19930         * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
19931
19932         * src/NetworkManager.c (quit): Unused, delete.
19933         (nm_data_free): Cast arg to GFunc.
19934
19935         * panel-applet/NMWirelessAppletDbus.c: Need to include
19936         string.h, and dbus-glib-lowlevel.h (the latter is needed
19937         for dbus_connection_setup_with_g_main at present).
19938         (nmwa_dbus_update_wireless_network_list): Parenthesize
19939         assignment in conditional.
19940         (nmwa_dbus_worker): Return NULL.
19941
19942         * panel-applet/NMWirelessApplet.c (nmwa_redraw)
19943         (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
19944         (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
19945         (nmwa_populate_menu): Return NULL on failure, instead of just
19946         return;
19947
19948         * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
19949
19950         * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
19951         variables.
19952
19953         * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
19954         delete.
19955         
19956 2004-08-29  Colin Walters  <walters@verbum.org>
19957
19958         * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
19959         a GTimeVal instead of time_t.  This is easier to work with,
19960         since time_t may be a long or double, we don't know.
19961
19962         * src/NetworkManagerDbus.h: Update prototype.
19963         
19964         * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
19965         instead of time_t.
19966         (nm_ap_get_timestamp): Update to return GTimeVal.
19967         (nm_ap_set_timestamp): Update to take GTimeVal.
19968         
19969         * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
19970         to handle GTimeVal.
19971
19972         * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
19973         GTimeVal change.
19974         (nm_ap_list_print_members): Fix warnings in printf format.
19975
19976 2004-08-29  Colin Walters  <walters@verbum.org>
19977         
19978         * panel-applet/NMWirelessApplet.c: Include config.h.
19979
19980 2004-08-29  Colin Walters  <walters@verbum.org>
19981
19982         * configure.in: Generate config.h.
19983
19984         * configure.in: Dump dependency on OpenSSL; we can't
19985         use it since this package is GPL:
19986         http://www.gnome.org/~markmc/openssl-and-the-gpl.html
19987         Instead, check for libgcrypt, use it if available,
19988         otherwise use included MD5 code.
19989
19990         * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
19991         Suck in from gnome-keyring, munge a bit.
19992         
19993         * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
19994         gnome-keyring-md5.h gnome-keyring-md5.c.
19995         (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
19996
19997         * src/NetworkManagerWireless.c (nm_md5): New function, uses
19998         libgcrypt or included gnome-keyring md5 bits.
19999         (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20000
20001 2004-08-28  Kjartan Maraas  <kmaraas@gnome.org>
20002
20003         * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20004
20005 2004-08-27  Bryan Clark  <bclark@redhat.com>
20006
20007         * examples/python/systray/Makefile: 
20008
20009         Updated the clean section
20010         
20011         * examples/python/systray/trayiconmodule.c: 
20012         * examples/python/systray/trayicon.override: 
20013         * examples/python/systray/network_tray.py: 
20014         * examples/python/systray/eggtrayicon.h: 
20015         * examples/python/systray/eggtrayicon.c: 
20016         * examples/python/systray/Makefile: 
20017         * examples/python/README: 
20018         * examples/python/NetworkManager.py: 
20019         * examples/python/NMTester.py: 
20020
20021         Initial commit of these python example files
20022
20023 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20024
20025         * panel-applet/NMWirelessApplet.c
20026                 - Make current device bold
20027                 - Show more user-friendly device name if we got one from hal
20028
20029         * panel-applet/NMWirelessAppletDbus.c
20030                 - Grab "info.product" key from hal for network devices
20031                 - Cache the current active device
20032
20033 2004-08-27  Adam Weinberger  <adamw@gnome.org>
20034
20035         * configure.in: Added en_CA to ALL_LINGUAS.
20036
20037 2004-08-27  Christian Rose  <menthos@menthos.com>
20038
20039         * configure.in: Added "sv" to ALL_LINGUAS.
20040
20041 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20042
20043         * Tag NetworkManager-0.2
20044
20045 Thu Aug 26 17:23:16 2004  Jonathan Blandford  <jrb@redhat.com>
20046
20047         * initscripts/Makefile.am
20048         * configure.in: Make pass distcheck
20049
20050         * po/ChangeLog: added
20051
20052 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20053
20054         * panel-applet/NMWirelessApplet.c
20055                 - Remove debugging code
20056                 - Enable device switching from menus
20057
20058         * panel-applet/NMWirelessAppletDbus.[ch]
20059                 - Method for asking NM to switch devices
20060
20061         * src/NetworkManagerDevice.c
20062                 - Set dev->activating earlier, avoids race between
20063                         the dbus signal of "DeviceActivating" and setting
20064                         dev->activating (which is what NM's "status" method call
20065                         looks at)
20066
20067 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20068
20069         * panel-applet/NMWirelessApplet.[ch]
20070                 - Rework menu code to add devices to menu, and to show
20071                         signal strength for each access point.  Code cleanups
20072                         too.
20073
20074         * panel-applet/NMWirelessAppletDbus.c
20075                 - Grab network devices from NetworkManager too
20076                 - Grab quality information from NM for wireless networks
20077
20078         * src/NetworkManagerDbus.[ch]
20079                 - Add dbus methods for getting the HAL UDI from a device and
20080                         for getting its base quality, if its wireless
20081                 - Consolidate some functions (wireless network notifications,
20082                         device notifications)
20083                 - Add method for requesting NM to use a particular device
20084
20085         * src/NetworkManager.c
20086                 - Change for function consolidations from NetworkManagerDbus.c
20087                 - Implement active device locking and user-requested devices
20088                         (ie, tell NM to use a particular device instead of the one
20089                         it autochose)
20090
20091         * src/NetworkManagerDevice.c
20092                 - Add method for getting the base quality of a device, if its
20093                         wireless
20094                 - Grab device base quailty info from iwlib during scans
20095
20096         * src/NetworkManagerPolicy.c
20097                 - Use a user-requested device rather than the auto-chosen device
20098                         if we are told to
20099
20100 Thu Aug 26 15:12:36 2004  Jonathan Blandford  <jrb@redhat.com>
20101
20102         * Makefile.am: add po as a supdir
20103
20104         * autogen.sh: use gnome-autogen.sh
20105
20106         * initscript/Gentoo/.cvsignore:
20107         * initscript/RedHat/.cvsignore: Shut up cvs
20108
20109         * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20110
20111         * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20112         (nmwa_fill): Use gettext.
20113
20114         * configure.in: add gettext support
20115         * po/.cvsignore:
20116         * po/NetworkManager.pot:
20117         * po/POTFILES.in:
20118
20119 2004-08-26  Seth Nickell  <seth@gnome.org>
20120
20121         * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20122         (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20123         (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20124         (nmwa_dispose_menu_items), (nmwa_populate_menu),
20125         (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20126         * panel-applet/NMWirelessApplet.h:
20127
20128         Use a menu bar instead of a button for the main clickable
20129         thingy.
20130         
20131 2004-08-25  Dan Williams <dcbw@redhat.com>
20132
20133         * src/NetworkManagerDevice.c
20134                 - (nm_device_set_enc_key): always set device to "open" mode instead of
20135                         turning encryption off, because the Cisco driver doesn't associate
20136                         with WEP-enabled access points unless we are in "open"
20137
20138 2004-08-25  Dan Williams <dcbw@redhat.com>
20139
20140         * src/NetworkManagerWireless.c
20141                 - Don't try to defererence blank passphrases
20142
20143 2004-08-25  Dan Williams <dcbw@redhat.com>
20144
20145         * panel-applet/NMWirelessApplet.c
20146                 - Rebuild the menu whenever a user clicks
20147
20148 2004-08-25  Dan Williams <dcbw@redhat.com>
20149
20150         * panel-applet/NMWirelessApplet.c
20151                 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20152                         when NM isn't around or when its not connected
20153
20154         * src/NetworkManagerDevice.c
20155                 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20156                         canceled.
20157
20158 2004-08-25  Dan Williams <dcbw@redhat.com>
20159
20160         * panel-applet/NMWirelessAppletDbus.c
20161                 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20162                         for getting encryption, and don't stop on "val" once we've gotten it
20163                         from NetworkManager.  Short form:  encryption should now show up.
20164
20165 2004-08-25  Dan Williams <dcbw@redhat.com>
20166
20167         * panel-applet/NMWirelessApplet.c
20168                 - Set ESSID on a gconf trusted network too when force-setting the wireless
20169                         network to associate with
20170
20171 2004-08-25  Dan Williams <dcbw@redhat.com>
20172
20173         * panel-applet/*
20174                 - Rework the panel applet to do all DBUS communication in a separate
20175                         thread
20176
20177 2004-08-25  Dan Williams <dcbw@redhat.com>
20178
20179         * info-daemon/NetworkManagerInfo.[ch]
20180                 - Remove "get_next_priority" function
20181
20182         * info-daemon/NetworkManagerInfoDbus.[ch]
20183                 - Convert "priority" functions to "timestamp"
20184
20185 2004-08-25  Dan Williams <dcbw@redhat.com>
20186
20187         * src/NetworkManagerAP.[ch]
20188                 - Add a "enc_method_good" member and accessors to an Access Point
20189                         to signal when we've found the correct encryption method
20190                         for an access point
20191                 - Add a "timestamp" member and accessors, remove "priority" member
20192                         and accessors (use timestamps instead)
20193                 - Rename "wep_key"->"enc_key"
20194                 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20195                         for a specified encryption method using the access points
20196                         source encryption key/passphrase
20197
20198         * src/NetworkManagerAPList.c
20199                 - When updating a network with dbus, grab timestamp now instead of
20200                         priority
20201
20202         * src/NetworkManagerDBus.[ch]
20203                 - Add signal for "DeviceActivating"
20204                 - Switch priority->timestamp
20205
20206         * src/NetworkManagerDevice.c
20207                 - Change references of "wep_key" -> "enc_key" or "key"
20208                 - Signal DeviceActivating when starting activation
20209                 - When activating a wireless device, if the access point we are connecting
20210                         to is encrypted, and we have a source key, try to generate a mangled
20211                         key and use that (ie, generate real WEP key from a passphrase)
20212                 - Rework device activation to fallback to other encryption methods if
20213                         a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20214                         first, then if that doesn't work fall back to direct hex key).
20215                 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20216                         priority.  We now prefer the latest access point used, rather than using
20217                         a priority scheme
20218                 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20219                         points we've just discovered, and merge in correct info from the global
20220                         access point lists
20221
20222 2004-08-25  Seth Nickell  <seth@gnome.org>
20223
20224         Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20225         Debian support.
20226         
20227         * src/Makefile.am:
20228         * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20229         (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20230         (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20231         (nm_system_delete_default_route),
20232         (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20233         (nm_system_load_device_modules):
20234
20235 2004-08-24  Dan Willemsen <dan@willemsen.us>
20236
20237         * src/NetworkManager.c
20238           src/backends/NetworkManagerGentoo.c
20239           src/backends/NetworkManagerRedHat.c
20240           src/backends/NetworkManagerSystem.h
20241                 - Implement preliminary Gentoo support, adding a
20242                         nm_system_init function to the backend specification
20243
20244         * configure.in
20245                 - Distribution auto-detection, lowercase any user-fed
20246                         distribution names
20247
20248         * initscript/.cvsignore
20249           initscript/Makefile.am
20250           initscript/RedHat/Makefile.am
20251           initscript/RedHat/NetworkManager
20252           initscript/Gentoo/Makefile.am
20253           initscript/Gentoo/NetworkManager
20254                 - Refactored initscript code separately for each
20255                         distribution
20256
20257 2004-08-23  Dan Williams <dcbw@redhat.com>
20258
20259         * configure.in
20260           src/Makefile.am
20261           src/NetworkManagerDevice.c
20262           src/NetworkManager.c
20263           src/NetworkManagerUtils.[ch]
20264           src/backends/NetworkManagerSystem.h
20265           src/backends/NetworkManagerRedHat.c
20266           src/backends/NetworkManagerGentoo.c
20267                 - Refactor system-specific code into separate backends for
20268                         each distribution
20269
20270 2004-08-23  Dan Willemsen <dan@willemsen.us>
20271
20272         * dispatcher-daemon/NetworkManagerDispatcher.c
20273           info-daemon/NetworkManagerInfo.[ch]
20274           info-daemon/NetworkManagerInfoDbus.c
20275           info-daemon/NetworkManagerInfoPassphraseDialog.c
20276           src/NetworkManager.c
20277           src/NetworkManagerAP.c
20278           src/NetworkManagerAPList.c
20279           src/NetworkManagerDbus.c
20280           src/NetworkManagerDevice.c
20281           src/NetworkManagerPolicy.c
20282           src/NetworkManagerUtils.[ch]
20283           src/NetworkManagerWireless.c
20284                 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20285
20286         * src/NetworkManager.c
20287                 - Fixed usage wording for --no-daemon
20288
20289 2004-08-23  Dan Williams <dcbw@redhat.com>
20290
20291         * panel-applet/NMWirelessApplet.c
20292                 - Update our state every second to get more responsive panel icon
20293                 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20294                         was causing our marching ants status blips to never move when
20295                         looking for a wireless network
20296
20297         * src/NetworkManagerDevice.c
20298                 - (nm_device_activation_begin): return if activation has already begun
20299                 - (nm_device_do_normal_scan): merge WEP key and priority from the
20300                         trusted/preferred network into the device's access point when the
20301                         scan list is processed
20302
20303 2004-08-23  Dan Williams <dcbw@redhat.com>
20304
20305         * initscript/NetworkManager
20306                 - Use NMLaunchHelper rather than sleeping
20307
20308         * initscript/NMLaunchHelper.c
20309           Makefile.am
20310                 - Add helper program that exits only when NM activates a device,
20311                         or 10 seconds have passed, whichever happens first.  This
20312                         stops the boot processes until we have a network connection,
20313                         which NM can't do because it daemonizes and brings the connection
20314                         up in the background.  Allows stuff like NFS to not die.
20315
20316 2004-08-20  Dan Williams <dcbw@redhat.com>
20317
20318         * info-daemon/NetworkManagerInfoPassphraseDialog.c
20319                 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20320                         for a network, set the essid as well since it may not exist yet
20321                 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20322                         since WEP keys/passphrases are long and prone to entry-error
20323
20324         * panel-applet/Makefile.am
20325           panel-applet/wired.png
20326                 - Add (pulled from system-config-network temporarily)
20327
20328         * panel-applet/NMWirelessApplet.[ch]
20329                 - Show wired picture when a wired connection is used
20330                 - Rename wireless icon enums, adding WIRELESS
20331
20332         * src/NetworkManagerDevice.c
20333                 - (nm_device_activate_wireless): unset encryption before bringing
20334                         down the card and setting the essid
20335                 - (nm_device_activatin_worker): request a key from the user if the
20336                         AP we are connecting to is encrypted but we don't have a key
20337                         for it yet
20338                 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20339                         strcmp() that prevented a user-entered key from actually getting
20340                         used
20341
20342 2004-08-16  Dan Williams <dcbw@redhat.com>
20343
20344         * initscript/NetworkManager
20345                 - Check for /sbin/ip
20346                 - Do sysctl magic that network service does
20347                 - sleep 4s after start to allow network time to come up [hack]
20348
20349         * src/Makefile.am
20350           src/NMLoadModules
20351                 - Load all network device kernel modules (hal doesn't know devices
20352                         are ethernet until the module is loaded, and therefore we don't know)
20353
20354         * src/NetworkManager.c
20355                 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20356                         network devices, and bring up the loopback device explicitly
20357
20358         * src/NetworkManagerUtils.[ch]
20359                 - (nm_enable_loopback): new function
20360
20361 2004-08-13  Dan Williams <dcbw@redhat.com>
20362
20363         * configure.in
20364           panel-applet/Makefile.am
20365                 - Fix up cleanfiles and server_DATA/server_in_files
20366
20367         * README
20368                 - Update with some comments on theory of operation
20369
20370         * CONTRIBUTING
20371           Makefile.am
20372                 - Add CONTRIBUTING
20373
20374 2004-08-12  Dan Williams <dcbw@redhat.com>
20375
20376         * info-daemon/passphrase.glade
20377                 - Set window title to " "
20378
20379         * panel-applet/Makefile.am
20380           panel-applet/keyring.png
20381                 - Deliver to correct place
20382
20383         * panel-applet/NMWirelessApplet.[ch]
20384                 - Add comments
20385                 - Remove applet->have_active_device as its no longer used
20386                 - (nmwa_load_theme): load keyring.png too
20387                 - (error_dialog): remove
20388                 - (show_warning_dialog): subsume functionality of error dialog too
20389                 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20390                 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20391                         the networks menu
20392                 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20393                 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20394                         and when we get broadcasts of changed wireless access points only, not when the
20395                         user clicks on the button to display the menu (too long of a wait)
20396                 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20397                         networks that are encrypted
20398                 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20399                         menu item with g_object_set_data()
20400
20401         * panel-applet/NMWirelessAppletDbus.[ch]
20402                 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20403                 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20404                 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20405                 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20406                 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20407                         activation/deactivation signals and rebuild the menu when they happen
20408
20409         * src/NetworkManager.c
20410                 - (main): use new nm_spawn_process() rather than system()
20411
20412         * src/NetworkManagerDbus.c
20413                 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20414                         instead.  Since we can now force best_aps to stick around, the AP structure to which
20415                         dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20416                         if a scan has happened since the best_ap was frozen.  Also add "setNetwork" method
20417                         to freeze the best_ap.
20418
20419         * src/NetworkManagerDevice.[ch]
20420                 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20421                 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20422                         the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20423                         ap list
20424
20425         * src/NetworkManagerUtils.[ch]
20426                 - (nm_spawn_process): add replacement for system() usage
20427
20428 2004-08-11  Dan Williams <dcbw@redhat.com>
20429
20430         * panel-applet/NMWirelessApplet.[ch]
20431                 - Fix up copyright and credits to include Bastien and Eskil,
20432                         who created the gnome-applets wireless applet, from whose
20433                         skeleton this one was created
20434                 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20435                         pixmap to draw is computed during nmwa_update_state()
20436                 - Applet now shows itself all the time due to panel packing issues
20437                         which caused the applet to previously never come back after hiding.
20438                         When a wired device is the active device, the applet shows "not connected"
20439
20440         * panel-applet/NMWirelessAppletDbus.[ch]
20441                 - Clean up error messages and show what function they are from
20442                 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20443                 - Add new device type getters, and a status getter
20444
20445         * src/NetworkManagerDbus.c
20446                 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20447                         network is actually in the device's ap list
20448                 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20449
20450         * src/NetworkManagerDevice.c
20451                 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20452                         card
20453
20454         * test/nmclienttest.c
20455                 - Report status of NetworkManager too
20456
20457 2004-08-11  Dan Williams <dcbw@redhat.com>
20458
20459         * info-daemon/NetworkManagerInfo.c:
20460                 - (main): clean up Seth's code style
20461
20462         * info-daemon/NetworkManagerInfoDbus.c:
20463                 - Use the more aptly-named path/service/interface constants from NetworkManager
20464                 - Don't return empty strings ("") as object paths ever, instead return errors
20465
20466         * panel-applet/NMWirelessApplet.c:
20467                 - Clean up Seth's code style
20468
20469         * src/NetworkManager.[ch]
20470                 - (nm_remove_device_from_list): remove anything having to do with pending_device
20471                 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20472
20473         * src/NetworkManagerAPList.[ch]
20474                 - Move Iter struct right above the iter functions to preserve opacity
20475                 - (nm_ap_list_remove_ap): implement
20476                 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20477                         remove AP if NetworkManagerInfo doesn't know anything about it
20478                 - (nm_ap_list_diff): user NMAPList iterators
20479                 - (nm_ap_list_print_members): implement debugging function
20480
20481         * src/NetworkManagerDbus.[ch]
20482                 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20483                 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20484                         and move the actual key setting stuff into NetworkManagerDevice.c
20485                 - (nm_dbus_get_network_priority): return -1 now on errors
20486                 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20487                         get lost, and force the active device to update its "best" ap when AP lists change
20488                 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20489                         method call due to pending_device member removal
20490
20491         * src/NetworkManagerDevice.[ch]
20492                 - Move NMDevice structure to the top
20493                 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20494                 - Remove Pending Action stuff from everywhere
20495                 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20496                         activation for us.  This thread blocks until all conditions for activation have
20497                         been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20498                         then setup up the interface and runs dhclient.  We have to do this because there
20499                         is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20500                         run our main loop and respond to dbus method calls or HAL device removals/inserts
20501                 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20502                         can tell nm_device_activation_worker() that we've got a key
20503                 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20504                 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20505                         diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20506                 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20507
20508         * src/NetworkManagerPolicy.c
20509                 - Remove anything to do with pending_device
20510                 - Adjust device activation to deal with activation-in-worker-thread
20511
20512         * src/NetworkManagerUtils.c
20513                 - Clean up locking debugging a bit
20514
20515         * src/NetworkManagerWireless.[ch]
20516                 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap().  This function
20517                         was badly named and is better as a device function
20518
20519         * panel-applet/.cvsignore: add
20520
20521 2004-08-09  Seth Nickell  <seth@gnome.org>
20522
20523         * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20524         (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20525         (nmwa_new):
20526         * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20527
20528         Don't load the menus until clicked on (also removes a call outside
20529         normal code paths at first load).
20530
20531         Hide applet when NM is not present.
20532         
20533         Improve printf debugging stuff.
20534         
20535 2004-08-09  Dan Williams <dcbw@redhat.com>
20536
20537         * dispatcher-daemon/NetworkManagerDispatcher.c:
20538                 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20539                 - Use constants for NetworkManager interface, service, and path
20540
20541 2004-08-09  Dan Williams <dcbw@redhat.com>
20542
20543         * src/NetworkManagerDbus.c:
20544                 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20545                         instead return an error message
20546                 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20547                         on a wired device.  Also never return an empty object path, instead return an error message
20548
20549 2004-08-06  Seth Nickell  <seth@gnome.org>
20550
20551         * panel-applet/NMWirelessApplet.c: (nmwa_new):
20552
20553         Check the error code when getting a connection.
20554         
20555         * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20556
20557         Check if the NM service exists when initializing (rather than
20558         assuming it does not).
20559         
20560         * src/NetworkManagerDbus.c: (nm_dbus_init):
20561
20562         Don't acquire the well-known service name until we have
20563         registered object/path handlers and can actually receive
20564         calls.
20565         
20566 2004-08-06  Dan Williams <dcbw@redhat.com>
20567
20568         * panel-applet/*
20569                 - Add panel applet
20570
20571         * src/NetworkManagerPolicy.c
20572           src/NetworkManager.c
20573                 - Get access point lists from NetworkManagerInfo on-demand,
20574                         and look for ServiceCreate/ServiceDeleted signals to see when
20575                         we should query NMI for lists
20576         * src/NetworkManagerAPList.c
20577                 - Make sure to init the list's mutex
20578                 - Convert traversals of the list over to the list iter functions
20579
20580         * src/NetworkManagerDbus.[ch]
20581                 - Use more aptly-named path/service/interface constants
20582                 - Treat both active and pending devices the same for "getActiveDevice"
20583                 - Add a "status" method returning "connected", "connecting", or "disconnected"
20584
20585         * src/NetworkManagerDevice.c
20586                 - Honor "ignored" network list when picking best ap to use
20587
20588 2004-08-06  Seth Nickell  <seth@gnome.org>
20589
20590         * aclocal.m4:
20591
20592         Autogenerated, remove from CVS.
20593         
20594         * autogen.sh:
20595
20596         Don't hardcode automake version.
20597         
20598         * configure.in:
20599         * info-daemon/Makefile.am:
20600         * info-daemon/NetworkManagerInfo.c: (main):
20601
20602         Use GnomeProgram et al. for doing session management.
20603         Use popt stuff for argument parsing rather than doing
20604         it manugally.
20605         
20606 2004-08-05  Dan Williams <dcbw@redhat.com>
20607
20608         * test/nminfotest.c
20609                 - Update to new NMI dbus API, check different network types
20610
20611         * info-daemon/NetworkManagerInfoDbus.c
20612                 - Update to new NM dbus API, ie network type sent in query message
20613
20614 2004-08-05  Dan Williams <dcbw@redhat.com>
20615
20616         * An assload of changes
20617
20618 2004-08-02  Dan Williams <dcbw@redhat.com>
20619
20620         * TODO
20621                 - new task: proper logging support
20622
20623         * info-daemon/NetworkManagerInfo.c
20624                 - Correct spelling of "canceled"
20625                 - Correct casting of objects for g_signal_connect()
20626
20627         * info-daemon/NetworkManagerInfoDbus.c
20628                 - Add defines for NetworkManager namespace and object path, and use them
20629                 - Add filter function to trap new signals from NetworkManager:
20630                         WirelessNetworkAppeared, WirelessNetworkDisappeared
20631
20632         * info-daemon/passphrase.glade
20633                 - Change name of "ok" button to "Login to Network..."
20634                 - Mark invisible
20635
20636         * src/NetworkManager.c
20637                 - Code and debug message cleanups
20638                 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20639                 - (nm_add_initial_devices) Check returned string array of devices
20640                         and don't try to add devices if array is NULL
20641                 - (main) Initialize libhal a bit later, make code a bit clearer
20642
20643         * src/NetworkManagerAP.[ch]
20644                 - New accessor and data member "matched": used to speed up AP list
20645                         diffing
20646                 - New accessor and data member "enc_method": will be used during key
20647                         fallback to cache which passphrase->key conversion actually works
20648                         so we don't have to do it every time
20649
20650         * src/NetworkManagerAPList.[ch]
20651                 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20652                 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20653                         between them, and send WirelessNetworkAppeared/Disappeared signals over
20654                         dbus in response to those differences
20655
20656         * src/NetworkManagerDbus.[ch]
20657                 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20658                         make an object path for that access point (NOTE that we don't yet check to
20659                         make sure that access point is actually in the device's AP list yet)
20660                 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20661                 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20662                         New: signal appearance/disappearance of wireless networks
20663                 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20664                         key entry
20665
20666         * src/NetworkManagerDevice.[ch]
20667                 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20668                 - (nm_device_ap_list_get) New: return the AP list (static function)
20669                 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20670                         new one resulting from the scan with the old one
20671
20672         * src/NetworkManagerWireless.c
20673                 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20674
20675         * test/nminfotest.c
20676                 - #define object paths and namespaces and use the #defines rather than static strings
20677                 - Test out user-key functionality of NetworkManagerInfo too
20678
20679 2004-07-29  Dan Williams <dcbw@redhat.com>
20680
20681         * info-daemon/NetworkManagerInfoDbus.c
20682           src/NetworkManagerDbus.c
20683                 - Update to current DBus (ie don't use decomposed paths when registering
20684                         object paths/fallbacks)
20685
20686 2004-07-27  Dan Williams <dcbw@redhat.com>
20687
20688         * Remove various Makefile.in files
20689
20690         * TODO
20691                 - Add some more items
20692
20693         * configure.in
20694                 - Add checks for OpenSSL/md5 headers and libs
20695
20696         * src/Makefile.am
20697                 - Use OpenSSL CFLAGS
20698
20699         * src/NetworkManagerAP.[ch]
20700                 - Remove 'stamp' functions, replace with 'invalid' functions
20701                         to support user cancelling WEP key entry
20702
20703         * src/NetworkManagerDbus.c
20704                 - Remove 'stamp' return functions
20705                 - Treat returned user key as a passphrase and convert to a WEP key,
20706                         but don't actually use the WEP key yet.  We use the returned user
20707                         key as a hexadecimal WEP key until we can figure out a UI for
20708                         passphrase-vs-hex key
20709
20710         * src/NetworkManagerWireless.[ch]
20711                 - Add passphrase-to-128bit-key function
20712
20713 2004-07-27  Dan Williams <dcbw@redhat.com>
20714
20715         * TODO
20716                 - Add a couple of items
20717
20718 2004-07-27  Dan Williams <dcbw@redhat.com>
20719
20720         * info-daemon/NetworkManagerInfo.c
20721                 - Update allowed network's GConf key when user enters a WEP key explicitly
20722
20723         * info-daemon/NetworkManagerDbus.c
20724                 - Fix some comments
20725                 - nmi_dbus_get_allowed_networks(): kill warning
20726
20727 2004-07-27  Dan Williams <dcbw@redhat.com>
20728
20729         * initscript/Makefile.in
20730                 - Remove
20731
20732         * initscript/Makefile.am
20733                 - Add correct rules to install the init.d initscript
20734
20735         * info-daemon/NetworkManagerInfoDbus.c
20736                 - Remove debug fprintf
20737
20738         * src/NetworkManagerDbus.[ch]
20739                 - Remove debug fprintfs
20740                 - Add macros for NetworkManagerInfo object path/namespace
20741                 - Use said macros instead of constant strings
20742
20743 2004-07-27  Dan Williams <dcbw@redhat.com>
20744
20745         * initscript/.cvsignore
20746                 - Add
20747
20748         * info-daemon/Makefile.am
20749                 - Install .glade files and keyring.png
20750                 - Fix stupid omission of a \ that caused half the flags not to be
20751                         passed to gcc
20752
20753         * info-daemon/NetworkManagerInfo.c
20754                 - gtk_signal_connect->g_signal_connect
20755                 - Alert NetworkManagerInfo to new glade file location
20756
20757 2004-07-27  Dan Williams <dcbw@redhat.com>
20758
20759         * test/nmclienttest.c
20760           test/nminfotest.c
20761                 - Add missing <dbus/dbus.h> headers
20762                 - Add GPL message at top
20763
20764 2004-07-27  Dan Williams <dcbw@redhat.com>
20765
20766         * src/NetworkManagerAPList.[ch]
20767           src/Makefile.am
20768                 - Add.  Deal with allowed network list additions, deletions, and updates
20769
20770         * dispatcher-daemon/NetworkManagerDispatcher.c
20771                 - Add missing <dbus/dbus.h> header
20772
20773         * info-daemon/NetworkManagerInfo.[ch]
20774                 - Add missing <dbus/dbus.h> header
20775                 - Implement the GConf notify callback to signal NetworkManager of an allowed
20776                         network change
20777                 - Better error checking
20778
20779         * info-daemon/NetworkManagerInfoDbus.[ch]
20780                 - Add missing <dbus/dbus.h> header
20781                 - Convert to using dbus_message_append_args/dbus_message_get_args
20782                 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20783                         that an allowed network changed.  We don't want to signal on individual
20784                         keys _inside_ an allowed network really, just want NM to query the info
20785                         daemon for updated info on all keys.
20786                 - Better error checking
20787
20788         * src/NetworkManager.[ch]
20789                 - Add missing <dbus/dbus.h> header
20790                 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20791                 - Zero out NMData structure on free
20792                 - No longer use a thread for allowed_ap_list updating, instead its now done
20793                         through dbus queries against NetworkManagerInfo
20794                 - Populate allowed_ap_list initially before adding existing network devices
20795                         to the device list, so wireless devices can get their "best" AP
20796
20797         * src/NetworkManagerDbus.[ch]
20798                 - Convert to using dbus_message_append_args/dbus_message_get_args
20799                 - Better error checking
20800                 - Implement Allowed Network info functions to request allowed network
20801                         info from NetworkManagerInfo
20802                 - Implement the filter function to process signals from NetworkManagerInfo
20803                         about changing allowed networks
20804
20805         * src/NetworkManagerDevice.c
20806                 - Fix file descriptor leak in nm_device_update_ip4_address()
20807
20808 2004-07-27  Dan Williams <dcbw@redhat.com>
20809
20810         * .cvsignore
20811           src/.cvsignore
20812           test/.cvsignore
20813           dispatcher-daemon/.cvsignore
20814           info-daemon/.cvsignore
20815                 - Add .cvsignore files to reduce noise when diffing
20816
20817 2004-07-24  Dan Williams <dcbw@redhat.com>
20818
20819         * src/NetworkManager.[ch]
20820           src/NetworkManagerDbus.[ch]
20821           src/NetworkManagerDevice.[ch]
20822           src/NetworkManagerPolicy.c
20823           src/NetworkManagerWireless.[ch]
20824                 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20825                 - Pass the NMData application data structure through all calls
20826                         that need it so we can get rid of nm_get_global_data()
20827                 - Change deallocation of the allowed_ap_list GSList in preparation
20828                         for not completely clearing it every time we get an update,
20829                         but instead getting incremental updates via GConf/dbus
20830
20831 2004-07-22  Dan Williams <dcbw@redhat.com>
20832
20833         * configure.in
20834                 - Add checks for GConf libs & headers & flags
20835
20836         * info-daemon/Makefile.am
20837                 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20838
20839         * info-daemon/NetworkManagerInfo.[ch]
20840                 - Don't use gquarks for data storage, just use normal data storage
20841                 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20842
20843         * info-daemon/NetworkManagerDbus.[ch]
20844                 - Add method call for getting allowed networks
20845                 - Add method calls for getting an allowed network's essid, priority, and key
20846                 - Hook the method calls up to GConf
20847                 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20848                 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20849                 
20850         * src/NetworkManagerDbus.[ch]
20851                 - Switch for enumeration of networks to using essid instead
20852
20853         * test/Makefile.am
20854           test/nminfotest.c
20855                 - Add test program for NetworkManagerInfo
20856
20857 2004-07-19  Dan Williams <dcbw@redhat.com>
20858
20859         * src/NetworkManagerDbus.c
20860                 - Switch from indexed device paths to names.  Less code, more efficient.
20861                         ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
20862
20863 2004-07-19  Dan Williams <dcbw@redhat.com>
20864
20865         * dispatcher-daemon/NetworkManagerDispatcher.c
20866                 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
20867
20868 2004-07-19  Dan Williams <dcbw@redhat.com>
20869
20870         * Makefile.am
20871                 - Add info-daemon directory
20872
20873         * configure.in
20874                 - Check for glade libs and headers
20875                 - Add info-daemon directory
20876
20877         * src/NetworkManagerAP.c
20878                 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
20879                         copied over to the new AP.
20880
20881         * src/NetworkManagerDbus.c
20882           src/NetworkManagerDbus.h
20883                 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
20884                 - Remove nm_dbus_signal_need_key_for_network()
20885                 - Add disabled code for asynchronous user wep key callbacks
20886                 - Add functions for getting, setting, and cancelling user key operations
20887                 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
20888                 - Add "setKeyForNetwork" dbus method call on NetworkManager object
20889
20890         * src/NetworkManagerDevice.c
20891           src/NetworkManagerDevice.h
20892                 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
20893                         logic is in device activation now
20894                 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
20895                         key is wrong) trigger get-user-key pending action
20896                 - Implement get-user-key pending action stuff, tie to dbus messages
20897                 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
20898                 - Add nm_device_ap_list_get_ap_by_essid()
20899                 - Instead of copying "best" access points, ref them instead so that the key we set
20900                         sticks around
20901
20902         * src/NetworkManagerPolicy.c
20903                 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
20904                 - Don't cancel pending actions on a device if its the same device as last iteration
20905                 - Only promote pending_device->active_device if activation was successfull
20906
20907         * src/Makefile.am
20908                 - Rename nmclienttest->nmtest
20909
20910         * info-daemon/Makefile.am
20911           info-daemon/NetworkManagerInfo.c
20912           info-daemon/NetworkManagerInfo.h
20913           info-daemon/NetworkManagerInfoDbus.c
20914           info-daemon/NetworkManagerInfoDbus.h
20915           info-daemon/passphrase.glade
20916           info-daemon/NetworkManagerInfo.conf
20917           info-daemon/keyring.png
20918                 - Import sources for info-daemon, which pops up dialog for passphrase/key when
20919                         NetworkManager asks for it, and also will (soon) provide "allowed" access point
20920                         lists to NetworkManager by proxying user's GConf
20921           
20922
20923 2004-07-15  Dan Williams <dcbw@redhat.com>
20924
20925         * src/Makefile.am
20926                 - Turn on warnings
20927
20928         * src/NetworkManager.c
20929                 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
20930                         that doing the deactivation ourselves
20931                 - Cancel an pending actions on a device if its being removed
20932                 - Break up link state checking a bit, make non-active wireless cards
20933                         deactivated to save power
20934                 - Remove unused variables
20935
20936         * src/NetworkManager.h
20937                 - Add support for "pending" device
20938
20939         * src/NetworkManagerAP.h
20940           src/NetworkManagerAP.c
20941                 - Add support for determining whether and AP has encryption enabled or not
20942                 - AP address is now "struct ether_addr" rather than a string
20943
20944         * src/NetworkManagerDbus.h
20945           src/NetworkManagerDbus.c
20946                 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
20947                 - Changes for AP address from struct ether_addr->string
20948
20949         * src/NetworkManagerDevice.h
20950           src/NetworkManagerDevice.c
20951                 - Remove unused variables, fix warnings
20952                 - Add support for Pending Actions (things that block a device from being "active"
20953                         until they are completed).
20954                 - First pending action:  Get a WEP key from the user
20955                 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
20956                 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
20957                 - Update wireless link checking to try to determine if the AP we are associated
20958                         with is correct, but the WEP key we are using is just wrong.  If its wrong,
20959                         trigger the GetUserKey pending action on the device
20960                 - If dhclient can't get an IP address, it brings the device down.  Bring it back
20961                         up in that case, otherwise we can't scan or link-check on it
20962                 - Add IP address change notifications at appropriate points (still needs some work)
20963                 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
20964
20965         * src/NetworkManagerPolicy.h
20966           src/NetworkManagerPolicy.c
20967                 - Split out "best" access point determiniation into separate function
20968                 - Make device activation 2-stage:  first the device is pending, then
20969                         in the next iteration through it becomes "active" unless it has
20970                         pending actions
20971
20972         * src/NetworkManagerUtils.h
20973           src/NetworkManagerUtils.c
20974                 - Clean up unused variables and warnings
20975                 - Wrap our debug macros in {} to prevent possible confusion
20976
20977         * src/NetworkManagerWireless.c
20978                 - Forgot to return current best priority, which lead to last available AP always
20979                         being chosen no matter what its priority was.  Corrected.
20980
20981 2004-07-15  Dan Williams <dcbw@redhat.com>
20982
20983         * dispatcher-daemon/Makefile.am
20984                 - Turn on warnings
20985
20986         * dispatcher-daemon/NetworkManagerDispatcher.c
20987                 - Remove unused variables due to warnings
20988                 - Fix some comments
20989                 - Print message on receipt of NeedKeyForNetwork signal (testing only)
20990
20991 2004-07-06  Dan Williams <dcbw@redhat.com>
20992
20993         * src/NetworkManager.c
20994                 - Add IPv4 address update for active device during link state check
20995                 - Don't allow wireless cards to be powered up when they are not the
20996                         active device
20997
20998         * src/NetworkManagerDbus.c
20999           src/NetworkManagerDbus.h
21000                 - Add DBUS IPv4 address change signal
21001                 - Add DBUS IPv4 address get method for devices
21002
21003         * src/NetworkManagerDevice.c
21004                 - Make setting the WEP key actually work
21005                 - Move IP address get/set/update stuff here, per-device
21006                 - Power down/bring down wireless device when deactivated
21007                 - For scanning wireless devices, if first scan returned ENODATA, try again
21008
21009         * src/NetworkManagerPolicy.c
21010                 - Only set the WEP key for an allowed access point if there is one.
21011                         We were setting it to be blank if one wasn't specified.
21012
21013         * src/NetworkManagerUtils.h
21014           src/NetworkManagerUtils.c
21015                 - Move the IP address stuff to NetworkManagerDevice.c
21016
21017         * dispatcher-daemon/NetworkManagerDispatcher.c
21018                 - Add device IPv4 address change notification stuff
21019
21020 2004-07-05  Dan Williams <dcbw@redhat.com>
21021
21022         * dispatcher-daemon/NetworkManagerDispatcher.c
21023                 - A bit more descriptive state message
21024                 - Don't segfault when reading directory
21025
21026         * src/NetworkManager.h
21027                 - Remove NMData desired_ap member, its now
21028                         per-device rather than global
21029
21030         * src/NetworkManager.c
21031                 - Remove references to desired_ap
21032                 - Move the allowed AP list refresh stuff into a thread
21033
21034         * src/NetworkManagerDevice.c
21035           src/NetworkManagerDevice.h
21036                 - Each wireless device now has a "best ap"
21037                 - Make device activate/deactivate functions per-device
21038                 - Make wireless scanning per-device
21039                 - Add IPv4 address discover functions, stub IPv6 ones
21040                 - Move ethernet address validation functions to NetworkManagerUtils.c
21041                 - Add wireless access point accessor function
21042                 - Get/Set functions for "best ap"
21043
21044         * src/NetworkManagerPolicy.c
21045                 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21046                 - Deal with per-device "best ap" rather than data->desired_apa
21047                 - Implement allowed access point worker thread
21048                 - Add nm_policy_essid_is_allowed() function
21049
21050         * src/NetworkManagerUtils.c
21051           src/NetworkManagerUtils.h
21052                 - Add nm_ethernet_address_is_valid() function
21053                 - Add IPv4/IPv6 address get functions
21054
21055         * src/NetworkManagerWireless.c
21056           src/NetworkManagerWireless.h
21057                 - Move scanning stuff into NetworkManagerDevice.c, per-device
21058
21059 2004-06-29  Dan Williams <dcbw@redhat.com>
21060
21061         * dispatcher-daemon/NetworkManagerDispatcher.c
21062                 - Implement script callout functionality
21063
21064 2004-06-24  Dan Williams <dcbw@redhat.com>
21065
21066         * NetworkManager.c
21067             - Spacing cleanups
21068             - Flush device routes and ip addresses when added to the device list
21069
21070         * NetworkManagerDbus.c
21071             - Spacing cleanups
21072             - Add missing returns in the two signal functions
21073         
21074         * NetworkManagerPolicy.c
21075             - Spacing and variable cleanups
21076
21077 2004-06-24  Dan Williams <dcbw@redhat.com>
21078
21079         * Makefile.am
21080           Makefile.in
21081           configure.in
21082           dispatcher-daemon/Makefile.am
21083           dispatcher-daemon/Makefile.in
21084           dispatcher-daemon/NetworkManagerDispatcher.c
21085             - Add a daemon that receives signals from NetworkManager
21086                         and will (eventually) call scripts in /etc/somewhere
21087                         when devices go up or down.
21088         
21089         * NetworkManager.c
21090             - Spacing cleanups
21091             - Flush device routes and ip addresses when added to the device list
21092
21093         * NetworkManagerDbus.c
21094             - Spacing cleanups
21095             - Add missing returns in the two signal functions
21096         
21097         * NetworkManagerPolicy.c
21098             - Spacing and variable cleanups
21099             - Rename nm_policy_switch_interface->nm_policy_switch_device
21100             - nm_policy_switch_device():
21101                                 Use kill (pid) instead of system ("kill <pid>")
21102             - nm_state_modification_monitor():
21103                                 Add wireless essid to output of debug statements
21104                                 Correct typo in device compare to switch or not (should be !=)
21105                                 Don't sleep after sending "no longer active" signal, was useless
21106
21107 2004-06-24  Dan Williams <dcbw@redhat.com>
21108
21109         * Initial import